You are on page 1of 16

http://www.scmfocus.

com/sapplanning/2008/01/05/gatp/

http://hyderabadsys.com/sap-apo-online-training/

https://www.youtube.com/watch?v=m6BtY0qSOc4

https://help.sap.com/saphelp_scm50/helpdata/en/15/91b07b22ad11d5b4010050dadf0791/frames
et.htm

CIF
Transfer
: Sales
Order
(SD)
key
completi
on of
Sales
order>
Delivery
stat
G'day Team,
Client is using SCM7.0 & ECC6... Using Standard SD
functionality we have Sales orders (ATP Categ: BM)
CIF transferred from ECC to APO. When the Sales
order status is changed to Delivery (VL10g / VL01N)
the Sales order disappears from MD04 and the
Delivery status is viewed.
The Delivery is CIF transferred to APO via the CIF
(ATP: BR) and the delivery is found in APO Product
View (/n/SAPAPO/RRP3).
Further info is that we have a Ztable to control the
SDorders coming in for specific Sales Orgs (so there is
no volume of hist sales)...
Is it standard APO behaviour for the Sales order to
remain in APO with "0" qty in the Sales order & the
subsequent delivery has a qty i.e: "100".. The key
information is that ONLY the delivery is found in
Interactive Demand Planning (/n/SAPAPO/SDP94).
Has any other SDN colleague had a similar issue.
Have not yet created an OSS as wanted to understand
standard APO RRP3 behaviour.
Please advise as soonest,
Andy Goz
SAPAPO Consultant

Andrew Gosling
November 15, 2011 at 16:51 PM
0 Likes
Not what you were looking for? View
more on this topic or Ask a question

4 replies

srinivas sribhashyam replied


May 14, 2010 at 15:12 PM
Dear Andy,
After the delivery is created the order should not be
there in product view and when the sales order is
created you will see it in demand planning as sales
order .
please run CCR and also check in tcode WUF if the
order is there and run the report
/SAPAPO/SDORDER_DEL.
Regards,
Srinivas.s
0 likes

Andrew Gosling replied


April 11, 2011 at 12:04 PM
G'day Srinivas,
Thanks for your prompt info. I have worked in CIF for
10+ years & familiar witht he deletion tools CCR & the
/sapapo/SDorder_del.
Further to last point of unprocessed queues; the ques
are full process & nothing in error.
Can you pease advise why the root cause of Delivery
PGI (VL03N) is removed from ECC6 and not APO.
Standard behaviour would remove from RRP3 /
SDP94.
Client usess batch splits for the deliveries direct off line
& these loc / prods are consistantly in the CCR error
list "Not In R/3".
Your prompt feedback is appreciated, binus awrded &
client go-live is 2 weeks,
Many thanks,
Andy Goz
0 likes

Shivaditya Singh replied


November 15, 2011 at 16:51 PM
Hi Andrew,
Did you find a solution to this? I am also facing a
similar issue- only one of the the countires for our
client uses batch splits in deliveires and these are
always getting stuck in CCR. All other countries go
through smoothly.

CIF SD Orders and GATP Filter


This question is answered
Hello Guru´s,
My client has this situation: In one specific center,
it receives Customer Orders from huge clients and
really small clients.
The GATP must run only for the Orders from the
big clients, whereas the small clients must run
simple ECC ATP check.
Is there anyway of filtering the orders that goes to
APO to perform ATP? Any EXIT or BADI? And
theses filtered orders, perform the ECC check?

You mean even if you have defined MRP Area(eg.


storage location S001) , the system is doing ATP
against the Plant (all of the storage locations).
some thing is missing..
Please find below the steps
1.First activate the MRP for MRP areas
(Customizing IMG activity "Activate MRP for MRP
areas") and create MRP areas (Customizing IMG
activity "Define MRP areas").
2.In the Customizing IMG activity "Define MRP
areas", you then define the MRP area including
the type and to which plant it belongs. For storage
location MRP areas(02 type), you can define a
receiving storage location. You complete the
definition of the storage location MRP areas by
assigning one or more storage locations.
3.The materials that are to be planned in different
areas to the plant MRP area, must be assigned to
these MRP areas by creating the corresponding
MRP area segment in the material master in the
view "MRP 1".
4. CIF MRP Area to APO.
5.Populate storage location (eg. S001) at the line
item in sales order.
APOKZ blank but ECC-SCM integration works OK!
Hi Gurus,
I am surprised by this system behaviour in ECC 6
& SCM 7.02 where in I just deleted all models and
created/ generated new models, activated them
and did the consistency check after activation...all
was good.
Out of curiosity, I checked the APOKZ field in
MARC, to my surprise all materials had blank.
Executed the RAPOKZFX report which came back
with Error: APOKZ not set for material/ plant.
Tested my GATP scenarios by creating sales
order, executing GATP check, then checked the
result both in ECC & SCM was all good. Plant
substitution had happened and GATP check on
available stocks was done. Sales order was in
SCM.
Questions: Why is 3 not set on APOKZ although
my material & site combinations seem to be in an
active model? and why does RAPOKZFX return
with error when I try to set APOKZ indicator.
Small observation: After generating Material, ATP,
Stock models (before activating them), during
each of these steps consistency check had failed
with warnings like material master and plant not in
model. Although, after activating each of these the
consistency check returned with no errors.
Just FYI - followed the following sequence still the
same result:
RAPOKZFX - Program for Adjusting Field MARC-
APOKZ With Integration Models
RCFUPDCR - Reorganization of superfluous CIF
update counters
RCFORDCH - Check for Inconsistencies in Table
CIFORDMAP
RCIFIMAX - Generate and reconcile the runtime
version of active models
RCIFIMDL - Deletion of superfluous filter object
keys in CIF_IM* tables
RCIFMTDE - Program for Maintaining the
Materials Deactivated in CIF
RDELALOG - Delete Application Log Entries

Sales Order availibility check not


triggering GATP in APO
Hi Gurus,
We intend to use GATP in APO. When Sales Person enters any SO and presses for availibility
check, it should trigger availibility check in APO. in APO we intend to use RBA with Location
substituation rule.
Following are the settings done:-
1) Integration Model for Plant.material and SO are created and activated
2 Created Integration Model for ATP check and ATP customizing
3) Created Check Instruction in APO for check Mode : 050 and Business event : A
4) Created Check Control with ATP Group : 2 and Business Event : A
5) Created all necessary configuration for Location substituation under RBA configuration.
Currently when we create a sales order and selects the item for availibility check , it does a local
ATP check in ECC , but it does not trigger GATP in APO.
Am i missing any configuration or master data setting?? Any help will be appreciated.
thanks,
Jaideep

HP Functional
April 29, 2014 at 16:48 PM
1 Likes

Not what you were looking for? View more on this topic or Ask a question

9 replies

Swetha A replied
January 25, 2012 at 08:42 AM

Hello,
Please check the following:
The setup for ATP functionality consists of :
->Checking (ATP) Group
->Check rule
-> Check Control
->Scope of Check
0 likes

Michael Thinschmidt replied


January 25, 2012 at 08:56 AM

Hi sandeep,
When the ATP check is done in ECC you have not activated an integration model (IMO) for the
product/location combination ! Please goto transaction CFM5 and search for an ACTIVE IMO
with "ATP check" flag for your product/location combination. Afterwards check that the APOKZ is
set in table MARC for the same combination.
If the APOKZ = 1 or 2, the system should trigger the ATP check in APO.
best regards,
Michael
Edited by: Michael Thinschmidt on Jan 25, 2012 8:56 AM
Edited by: Michael Thinschmidt on Jan 25, 2012 8:56 AM
0 likes

HP Functional replied
January 25, 2012 at 11:29 AM

Hi Michael,
Thanks for your reply. Found out that APOKZ value is 3 for the selected material location
combination. Can you please suggest what setting i need to do or how can i change it to 1 or 2.
Thanks for your help.
0 likes

Michael Thinschmidt replied


January 25, 2012 at 11:39 AM

Hi,
Sorry, the standard in MARC-APOKZ seems to be 3 ! So if it is 3 then its fine. You might run the
report RAPOKZFX once to check the consistency of the APOKZ.
In this case the ATP check in APO should be triggered. Are you sure that you see not the APO
delivery proposal screen ?
best regards,
Michael
PS: Otherwise I can just recommend to raise a message for SAP support on component SCM-
APO-ATP. I have to check your settings on the system then. Sorry.
Edited by: Michael Thinschmidt on Jan 25, 2012 11:37 AM
0 likes

Privacy Privacy replied


January 25, 2012 at 14:01 PM

Jaideep,
APOKZ is only set when the Material Master is transferred to APO. It is not directly related to
ATP.
What did you find when you checked CFM5, per expert Michael's very explicit instructions?
Best Regards,
DB49
1 likes
HP Functional replied
January 27, 2012 at 08:14 AM

Hi Gurus,
CFM5 for ATP check for the required material location says there is an active intregration model.
It is fine i guess.
I have run the inconsistency report for APOKZ feild. Says no inconsistency.
Need your guidence what all things can wrong or what all should i check for triggering ATP check
to APO??
Thanks for your help in advance.
0 likes

Michael Thinschmidt replied


January 27, 2012 at 08:31 AM

HI,
Please confirm that you see the ECC Delivery Proposal Screen when you press the ATP check
button. I can just imagine that the RFC connection is not working correctly yet or the ATP check
is not triggered at all.
Please recheck the RFC connection and confirm the ATP delivery proposal screen.
best regards,
Michael
1 likes

Privacy Privacy replied


January 27, 2012 at 12:42 PM

Jaideep,
Assuming you are only using outbound queues, check for blocked or otherwise unprocessed
queues. SMQ1 in ERP. SMQ1 shoould have zero entries
You must also have a Sales order Integration model activated, which can also be displayed in
CFM5. You should be able to see existing sales orders in APO in //RRP3.
I will assume this is a new implementation, and you have never gotten a successful APO ATP in
this system. You should Delete any inactive ATP or Sales order Integration models that contain
this material/plant. You should inactivate any duplicate IMs, so that there is only one ATP IM
and only one Sales Order IM active for this material/plant, at least until you have solved this
problem.
New development also means that some of your developmental trials may have caused the CIF
to become inconsistent. You can run program RCFORDCH to clean up CIFORDMAP
inconsistencies. You can regenerate the runtime by executing RCIFIMAX using 'generate'. You
should delete all your unused T_ATPCHK and T_SLS filter objects with program RCIFIMDL
In general, there are many other helpful tips found in
https://service.sap.com/sap/support/notes/563806 and in the other notes called out in this note.
If there is nothing in the queue, and assuming that you have an active ATP Integration model
working, and assuming that all data in ERP is consistent, then there is probably an enhancement
interfering with the process. Consult your SD developers to discover which one of the ERP
enhancements is stopping APO GATP.
Best Regards,
DB49
3 likes

M Manimaran replied
April 29, 2014 at 13:04 PM

Hi,
I know it is an old thread. But wanted to share my experience with the similar issue, that may be
helpful for someone refers this thread for this issue.
After checking all the above solutions discussed in this thread, we found the GATP is still not
called from the sales order.
Then we found that the following configuration for "Online transfer using BTE" is not activated for
the applications ND-APO and NDI.
ECC SPRO: Integration with Other SAP Components\Advanced Planning and
Optimization\Basic Settings for Data Transfer\Change Transfer\
Change Transfer for Transaction Data\Activate Online Transfer via BTE

Once we activated the above settings, the GATP is called from sales order.

Technical Integration
Purpose
SAP Supply Chain Management (SAP SCM) is able to work in
heterogeneous system environments. For this, it is important to differentiate
between two different integration concepts:
1. The connection to one or more SAP R/3, SAP R/3 Enterprise, or SAP
ERP Central Component (SAP ECC). For cases where it is not
explicitly necessary to make a distinction, these systems are grouped
under the common term ERP systems in the following section.
The standardized interface solution required for this is called the SAP
APO Core Interface (CIF). The features of this interface are explained
below.
2. The connection to non-SAP and legacy OLTP systems.
The interfaces required for this are Business Application Programming
Interfaces (BAPIs).
 For more information about BAPIs, see the Internet Business
Framework (http://service.sap.com/ibf) under Developer´s
Zone  BAPIs.
 For SCM-specific information about BAPIs, on the SAP Easy
Access screen for SAP SCM, choose Tools  Business
Framework  BAPI Explorer (transaction BAPI) or see the
Interface Repository.
Implementation Considerations
As of SAP ECC 6.0, CIF is an integrated part of the system.
If you use SAP SCM 5.0 with ERP systems up to SAP ECC 5.0, you
receive CIF via the relevant SAP R/3 Plug-In. The SAP R/3 Plug-In is a
combined Plug-In used to link SAP components such as SAP SCM or SAP
CRM to the ERP system up to and including SAP ECC 5.0.
If you need an SAP R/3 Plug-In, we recommend that you familiarize
yourself with the specific maintenance strategy used for this Plug-In before
you import it. For more information, see SAP R/3 Plug-In and the SAP
Service Marketplace at http://service.sap.com/r3-plug-in.

Integration of Master Data and Transaction Data


This section describes how master data and transaction data behave during the transfer between
SAP APO and SAP R/3 and shows which areas you should pay particular attention to.

Under Integration of Master Data you can find:

 General information about master data

 Location

 Product

 Classes and characteristics


 Batches

 Resource

 Production process model (PPM)

 Production data structure (PDS)

 Supply chain model

 Planning version

 External procurement relationships such as purchasing info records, contracts, and scheduling
agreements.

 Sales scheduling agreements (see Prerequisites)

Under Integration of Transaction Data you can find:

 Orders

 Sales documents

 Stocks

 Inspection lots

 Maintenance orders

 Project orders/networks

 Stock transfer processes

You can find information on the technical functions of the central interface between SAP APO and
SAP R/3 (the SAP APO Core Interface) in the section Technical Integration.

echnical Integration
Purpose
SAP Supply Chain Management (SAP SCM) is able to work in heterogeneous system environments.
For this, it is important to differentiate between two different integration concepts:

1. The connection to one or more SAP R/3, SAP R/3 Enterprise, or SAP ERP Central
Component (SAP ECC). For cases where it is not explicitly necessary to make a distinction,
these systems are grouped under the common term ERP systems in the following section.

The standardized interface solution required for this is called the SAP APO Core Interface
(CIF). The features of this interface are explained below.

2. The connection to non-SAP and legacy OLTP systems.

The interfaces required for this are Business Application Programming Interfaces (BAPIs).

 For more information about BAPIs, see the Internet Business Framework
(http://service.sap.com/ibf) under Developer´s Zone  BAPIs.
 For SCM-specific information about BAPIs, on the SAP Easy Access screen for SAP
SCM, choose Tools Business Framework  BAPI Explorer (transaction BAPI) or see
the Interface Repository.

Implementation Considerations
As of SAP ECC 6.0, CIF is an integrated part of the system.

If you use SAP SCM 5.0 with ERP systems up to SAP ECC 5.0, you receive CIF via the relevant SAP
R/3 Plug-In. The SAP R/3 Plug-In is a combined Plug-In used to link SAP components such as SAP
SCM or SAP CRM to the ERP system up to and including SAP ECC 5.0.

If you need an SAP R/3 Plug-In, we recommend that you familiarize yourself with the specific
maintenance strategy used for this Plug-In before you import it. For more information, see SAP R/3
Plug-In and the SAP Service Marketplace at http://service.sap.com/r3-plug-in.

https://www.tutorialspoint.com/sap_apo/sap_apo_core_interface.htm

You might also like