on 06-07-2010 9:49 PM
Dear experts,
I was looking for answers about how to fitler SO and Deliveries from R/3 to APO when transferring data via CIF.
I've found the user exit: APOCF010, but there are two things that I could not identify.
1. Is it possible to debug an implementation in EXIT_/SAPAPO/SAPLCIF_SLS_001?
How can I do that?
2. If I want to remove Sales Orders or Deliveries from APO at this moment, what do I need to do?
I could not find any documentation and as I could not debug yet, I did not understand how to filter.
Thanks!
Thiago
Thiago,
You can find all the relevant Exits here:
http://help.sap.com/saphelp_scm50/helpdata/EN/8f/987337e68ae526e10000009b38f889/content.htm
For debugging queues you have to set the debugging mode in your CIF settings for YOUR USER ID. You can do that from /SAPAPO?C4 and setting the Debugging Mode to "Debugging On".
Hope this helps.
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Apart from the valuable suggestions given above for debugging I am giving process we followed:
We used to put a break-point in the code of the user exit for testing in QA system.
Then there would be a queue blocked inbound of APO. We then used to process this is debugging mode.
Regards
Datta
Thiago,
Debugging a CIF exit is difficult.
To filter certain order type, you need to find out ATP category of that order type.
For instance, SD scheduling agreements have ATPCAT as BN. Following code shows how to filter out (restrict) them:
LOOP AT IT_SL_DOC.
IF IT_SL_DOC-ATPCAT = 'BN'.
DELETE IT_SL_DOC_X WHERE DOC_NUMBER = IT_SL_DOC-DOC_NUMBER.
DELETE IT_SL_GID WHERE DOC_NUMBER = IT_SL_DOC-DOC_NUMBER.
DELETE IT_SL_DOC.
ENDIF.
ENDLOOP.
Regards,
SB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.