GATP Tcode
GATP Tcode
/sapapo/ccr
/sapapo/sdrqcr21
/sapapo/sdorder_del
Usage:
In background, test mode only. But possible to save the results so that they can be quickly reloaded in foreground
and then the fixing of the inconsistencies can be manually done.
Iteration functionality allows to quickly recheck that the reported inconsistencies are still inconsistent or repaired
It only checks transaction data used in APO (production orders, planned orders, sales orders, stocks and so on).
Sometimes, depending on system settings in APO, data changes made in APO are not being transferred synchronously to
R/3 (for instance the VMI orders you transfer to R/3). As a result, "false" inconsistencies were being reported (change
This report corrects incorrect sales order and delivery (requirements) in SAP R/3 / ECC and SAP APO/SCM.
doesn't check inactive integration models. Therefore, it is not a perfect substitute for
/SAPAPO/CIF_DELTAREPORT3
schedule the report /SAPAPO/SDRQCR21 on a weekly basis
can't be run during operation hours, its long runtime might be a bottleneck
The only side effect can be that not all records which are obsolete are removed because they are processed by
it is recommended to run this report using different variants due to performance reason
Concerning Product Allocation deletion, please note the importance of the field date (until to)
/SAPAPO/SDORDER_DEL only deletes data from tables in the SCM system. The R/3 system is not cleaned up.
First tab :
This first tab is used to delete obsolete data in the APO database. The purpose of this deletion is to prevent the tables from
growing too big which would slow down the APO system. The report should be scheduled on a regular basis typically once a
week for Selective deletion and once a month for Adjust ATP tables with /sapapo/posmapn and Delete obsolete
records in the /sapapo/posmapn table .
Second tab:
The 2nd tab should not be used in combination with the 1st tab.
The 2nd tab should be used in exceptional cases when you want to delete live data (still in Livecache) which you cannot
delete by other means (such as the deltareport or the /sapapo/sdrqcr21 report). This deletes both the Livecache data and
the database tables data.
Third tab:
This deletes all data from the database without any check !!!
Backorder Processing
Batch BOP
In Batch Backorder Processing (or backorder processing in the background), items are selected according to specific key
fields (using filters) and brought into a processing sequence for the availability check (by means of the sort). The previously
confirmed quantities are rejected and an ATP check is carried out for all selected items in the defined sequence. A new date
can thereby be determined. The results are always held in a buffer. Depending on the execution mode, the results can be
updated afterwards, processed, or rejected later.
BOP Performance
There are many BOP entries for items that have been ran by BOP either simulation or update.
Delete as many as possible BOP runs existing in the system. This will eliminate the entries in tables: /SAPAPO/BOP
This you can perform in transaction: /SAPAPO/BOP_DELETE:
use it to delete BOP results older than 7 days; if necessary the date can be set even closer to the current date
to delete BOP results in status 'U' this status has to be selected explicitely
/SAPAPO/BOP_RESULT performance
The 'Original Requirements/Confirmation Situation' variant displays the ATP situation BEFORE and AFTER the bop. This
situation is stored on the data base table and will never change.
The 'Current Requirements/Confirmation Situation' display version will select the AFTER values from another set of data
base tables (the passive ATP trees) and compare it to what is currently in Live cache.
SAP recommend to use the BOP_RESULT display variant 'original requirement/confirmation situation' for two reasons:
1.) It is much faster since it reads directly from the data base and does not recalculate the change in the confirmation
situation item per item
2.) It is more comphrehensible since it always displays the same situation BEFORE and AFTER the BOP
ATP log
The availability check process can be logged by activating the ATP application log for error analysis by technically oriented
users, developers or consultants.
It collects information about customizing settings, the technical and time aspects of the check as well as warnings and errors
that occurred.
The ATP log should only be switched on for a short time (considerable performance decrease of the system!) and only for
specific users.
Transactions:
Create ATP log for a user: /SAPAPO/ATPLOG
Display the ATP log: /SAPAPO/ATPLOG_DSP
Delete ATP Log: /SAPAPO/ATPLOG_DEL
Application classes:
BAP: BAPI interface of the APO
PRD: Production
Capable-To-Promise (CTP)
You can configure if Production Planning and Detailed Scheduling is called automatically when a product is not completely
available.
If the former product availability check fails, GATP can trigger production directly.
In this case corresponding method in PP/DS will be called which creates planned orders for all ressources in PPM and also
checks the availability of the components.
The result will be transferred to ATP which makes the neccesery changes in the sales order (after accept the delivery
proposal).
APO makes changing in ATP time series and PP/DS transfers the simulated planned order to R/3.
Correlation
Added by Tibor Nagy, last edited by Tibor Nagy on Jul 26, 2011
Correlation
The correlation is about gathering results from lower level objects to a higher level object in the ATP object structure stored
in the memory.
This can be done from component groups to the finished product level, and e.g. from substitutions to main item level.
Propagation is the other way round, it takes the results of a higher level objects, and updates the related lower level objects'
results to correspond to the higher level.
Correlation Services:
The Correlation Service provides correlation functionality for delivery groups and sales BOMs. Normally this is done during
the availability check, but if the caller application needs only new correlation, it can call the Correlation Service.
Example:
In the Extended Warehouse Management the picking of a KIT fails. One product has less quantity in the warehouse than the
needed, so less KIT can be transported. This case the EWM calls the Correlation Service to determine the reduced
quantities for the other components.
CTP
Added by Anjali Butley, last edited by Anjali Butley on Jul 27, 2007
Capable to Promise (CTP) : is a GATP method calling PP/DS during ATP check.
Added by Tibor Nagy, last edited by Tibor Nagy on May 19, 2011 (view change)
EDQA
System should be able to react instantly on positive changes in the stock/requirements situation by distributing
the free quantity to backordered sales items waiting to be confirmed.
Depending on the events mentioned above, the system has to distribute the quantity according to particular rules:
Range of order items that have to be confirmed
If all waiting sales orders are confirmed, the still available quantity may have to be deployed to other facilities via
push deployment
Supporting different Goods receipt status
Uses Order Due Lists (ODL) where backorders are stored and filtering and sorting of the sales order items is
possible
EDQA triggers via a workflow event an ODL based backorder (BOP) processing
Transactions:
Forecast Check
You execute a check against the forecast if you want to know if enough planned independent requirements are available for
the incoming sales orders.
Added by Anjali Butley, last edited by Anjali Butley on Jul 23, 2007 (view change)
Building Block
S57 ATP for Product Allocation
http://help.sap.com/bp_scmv150/BBLibrary/documentation/S57_BB_ConfigGuide_EN_DE.doc
Building Block
S59 Demand Planning for Product Allocation
http://help.sap.com/bp_scmv150/BBLibrary/documentation/S59_BB_ConfigGuide_EN_DE.doc
Help :
Product Allocation Settings:
http://help.sap.com/saphelp_scm50/helpdata/en/26/c2d63b18bc7e7fe10000000a114084/frameset.htm
Product Allocations Settings
Purpose
You make all the relevant settings to carry out product allocations in APO.
Process
Before you make the settings for product allocations, you must first analyze the business process on which this check is
based. You should ask the following questions:
1.
2.
Do unused quantities from earlier periods, which could be used in an availability check for the current period,
exist?
If yes, how long is the consumption period? How many past and future periods should be included in the current product
allocations check?
3.
Periodicit
Consumption period
STEP 1
Monthly
from -1 to +3 (12/97-4/98)
STEP 2
Weekly
from -2 to +5 (50/97-6/98)
Calculation Example For which period should the allocation be active?For example,
STEP 3
Daily
from -4 to +4
(27.12.97-
allocation groups. Planning areas may be more detailed, but not rougher in structure than
05.01.98)
MATP
Added by Anjali Butley, last edited by Anjali Butley on Jul 23, 2007 (view change)
Link of the Building Block of the Multi Level ATP is as below:
http://help.sap.com/bp_scmv150/BBLibrary/documentation/S31_BB_ConfigGuide_EN_DE.doc
Help Doc of Multi level ATP :
http://help.sap.com/saphelp_scm50/helpdata/en/26/c2d63b18bc7e7fe10000000a114084/frameset.htmhttp://help.sap.com/sa
phelp_scm50/helpdata/en/26/c2d63b18bc7e7fe10000000a114084/frameset.htm
Added by Tibor Nagy, last edited by Tibor Nagy on Nov 05, 2009 (view change)
Transactions
/SAPAPO/RRP_ATP2PPDS: Conversion of ATP tree structures to receipt elements
Transactions:
Further informations
http://help.sap.com/saphelp_scm70/helpdata/en/45/8e2c9855de40c0e10000000a1553f7/frameset.htm
Product Allocation
With PAL you can allocate products for specific customers or regions depending on the period.
If you use product allocations in situations in which a product is in short supply, you can avoid allocating the entire available
quantity to the first customer, which either delays the confirmation of subsequent sales orders, or makes confirmation
impossible.
In Product Allocation delivery dates and quantities will be checked against the allocation quantities in certain periods.
If delivery proposal will be accepted, the corresponding allocation quantities will be reduced with the delivery quantity.
Transactions
/n/SAPAPO/AC42
to get overview of Product Allocation Situation (needs: product, location, PAL group, PAL object)
/n/SAPAPO/ATPCQ_CHECK
Cumulation (/SAPAPO/V_ATP01-ONVBA)
where to customize: ATP group (spro: APO > gATP > PAC > Maintain ATP Group)
Check control
various customizing:
o
o
consider past receipts? (use receipts with due dates in the past for confirmation?)
check horizon? (any amount can be procured after a certain amount of days?)
check sublocation or batches? (how detailed a check should be)
o
o
where to customize: ATP group (spro: APO > gATP > PAC > Maintain Check Control)
"characteristic evaluation"
whether to create internal deltas/TQAs (/SAPAPO/V_ATP00-ACENQ)
whether to create temporary quantity assignments (TQAs) to keep track of requirements in a sales order
RBA
Added by Anjali Butley, last edited by Sudhir Gulati on Oct 17, 2008 (view change)
Rule based ATP Check: ATP Check based on Rule set by user as per the business processes to select the alternate
product, location
1.
2.
a.
i.
ATP-GATP : http://help.sap.com/bp_scmv150/BBLibrary/HTML/ATP_EN_DE.htm
3.
Possible steps:
Transactions
Sales Integration
Sales Integartion deals with:
Transactions
/n/SAPAPO/SDRQCR21 to check and fix sales documents requirements inconsistencies between R/3 and APO.
/n/SAPAPO/CCR - external consistency check for requirement inconsistencies between R/3 and APO Livecache.
Frequent problem:
Documents with number "<unknown>" in ATP are always temporary quantity assignments. If the order number was known at
the time of running the ATP check, the TQA carries the order number,
otherwise it carries <unknown>. The TQA carries order number <unknown> until either the item is converted or a new ATP
check is executed.
The system behaviour should be fine after the deletion of the hanging TQA's
Deletion of TQA-s:
You can delete the old assignements with the report /SAPAPO/om_delta_remove_older (via SE38).
Alternatively you can delete the TQA's manually. Use transaction /SAPAPO/AC06.
You must be careful not to delete quantity assignments that are still required. These vary
Transactions
/SAPAPO/TPOP_POREL
The first is for the activities(and dates) what are carried out in the location-from.
The second is for activity what is carried out during the transportation.
The third is for the activities(and dates) what are carried out in the location-to.
From SCM 4.0:
The calendar of the transportation lane(or route) is used for the 2. phase.
Transactions
Attachments:1
Added by Somnath Manna, last edited by Wilian Segatto on Feb 16, 2012 (view change)
Purpose
The purpose of this page is to present the Frequently Asked Questions (FAQ) in the Core Interface (CIF) Area (SCM-APOINT*).
Can I schedule a job to update my Integration Models and transfer new data?
Which operations of a routing or recipe in R/3 or ERP are transferred to APO PPMs?
How can transaction data be reconciled with APO from R/3 or ERP side?
Material/Plant information
Sales Orders
Stocks
Batches
You should generate Integration Models for all data you want to be present in the SCM system.
Depending on the volume of data, you might have to split your Integration Models.
Name your Integration Model (e.g. "EMEA Data") and its Application (e.g "Sales Orders", "Prod. Orders").
Select the data you want to send. Maintain additional information in the right panels (Material, Plant, etc.).
You might have to click the right arrow to expand specific panels for each option.
Enter your Integration Model data (Logical System and Model name is enough)
Execute
Press "Start"
Enter your full Integration Model data (Model name, Logical System and Application)
Enter RIMODACT (/CFM2). In the next screen, click on the red "X" of the first entry (just created).
Hit save.
If you do this procedure in two steps (deactivate old model, save, activate new model, save), you will be doing an initial
transfer one more time, which can lead to high volumes of data being transferred again.
Can I schedule a job to update my Integration Models and transfer new data?
Yes, you can!
It's recommended that you also create a job for report RIMODDEL. There is no need create a variant to execute it. This job will c
Inactive IMs in Table CIF_IMOD
Which operations of a routing or recipe in R/3 or ERP are transferred to APO PPMs?
When PPMs are created in APO from Receipes in R/3 only those phases containing non-zero machine times are brought
over. Other phases having only labour (resource category 003) or machine time (resource category 001) = 0 does not come
through.
How can transaction data be reconciled with APO from R/3 or ERP side?
Program RCIFORDT can be used to reconcile transaction data form R/3 side. Refer 733110 - as a long term solution
implement this BADI on APO side
OSS Notes 627630, 804034 on R/3 side and with the BADI OSS note 800286 to be applied
Added by Sankar M, last edited by Michel Bohn on Feb 14, 2012 (view change)
/SAPAPO/AMON1 - Alert Monitor
/SAPAPO/AMON3 - Alert Overview by Objects
/SAPAPO/AMONMSG_SEND - Send Alerts
/SAPAPO/AMONMSG_SEND - Send Alerts
/SCMB/ANOT_PROF - Create/Change Alert Notification Profile (User)
/SCMB/ANOT_PROF - Create/Change Alert Notification Profile (User)
/SCMB/ANOTMP - Create/Change Message Profile
/SCMB/ANOTMP - Create/Change Message Profile
/SCMB/ANOTMP - Create/Change Message Profile
/SAPAPO/PE_LOG_DISP - Display PSM Application Log
/SAPAPO/PE_SEL - Define Selections
/SAPAPO/PE_SEL - Define Selections
/SCMB/TDL_BO_COPY - Define Service Profile for Copying Time Series
CCMS Related
RZ20 - CCMS Monitor Sets
RZ23N - Central Performance History (CPH)
RZ03 - Control Panel
SM66 - Global Process Overview
SM49 - Execute External Commands
Database:
ST04N - Activity
DB01 - Exclusive Locks
DB02 - Tables/Indexes
DB03 - Parameter Changes
SM21 - System Log
ST22 - ABAP Runtime Errors
AL11 - SAP Directories
SM50 - Process Overview
SM66 - Global Process Overview
SM51 - SAP Instances
SM04 - Local Users
AL08 - Global Users
RZ10 - System Profile
SMLG - Logon Groups
SM69 - Display/Change External Commands
DB Admin:
DB12 - Backup Logs
DB13 - Local
DB13C - Central
DB14 - Operations Monitor
DB20 - Create Statistics
DB21 - Configuration
print related:
SP01 - Output Controller
SPAD - Spool Administration
SE73 - Font Maintenance
SP11 - TemSe Contents
SP12 - TemSe Administration
background Processing:
SM37 - Jobs - Overview and Administration
RZ01 - Job Scheduling Monitor
*Process
Process Chain relatedChain related Transaction codes: Transaction codes:*
RSPC - Process Chain Maintenance
RSPC - Process Chain Maintenance
RSPC_RESTART - Restart Process Chain Run
RSPC1 - Process Chain Display
RSPC1_NOLOG - Process Chain Maintenance
RSPC2 - Process Chain via Process
RSPCM - Monitor daily process chains
RSPCP - Process Log
RSPC_RESTART - Restart Process Chain Run
RSPC1 - Process Chain Display
RSPC1_NOLOG - Process Chain Maintenance
RSPC2 - Process Chain via Process
RSPCM - Monitor daily process chains
RSPCP - Process Log
RSIMPCUST : regularly synchronize the Factory Calendars between ECC and APO by using program RSIMPCUST
in APO.
The timestreams can be regularly updated using program /SAPAPO/TIMESTREAM_UPDATE
Batch Job
SM50
You can also check the ST06 --Detail analysis --> compare recent day --> CPU load. Are the CPU utilisation fine
Check ST03N to find out what is causing the problem
- You can run the performance trace by ST05
SM65 .. Goto ... Additional Tests
note #48400:
RSPO0041 (or RSPO1041), RSBTCDEL: To delete old TemSe objects
RSPO1043 and RSTS0020 for the consistency check.