Skip to Content
avatar image
Former Member

APO CIF PPM debug

Hello friends,

I am facing the following issue in SCM APO.

Through Tcode /sapapo/rrp3, I am trying to convert SNP Planned Order into a PPDS planned order.

Now what happens is once I click the "Convert SNP Orderts to PPDS Orders" button, the orders are getting converted to a PPDS planned order.

Also as per process the PPDS planned order which gets created should have components same as that of the PPDS PPM to which it refers.

Initially (before hitting the save button in /sapapo/rrp3) the components of the newly created PPDS planned order are proper and as per the PPDS PPM.

Once I press the save button in Tcode /sapapo/rrp3, the PPDS planned Orders data is sent to R3 vis the CIF and also some data is returned back from R3 to APO which is the Planned Order number.

Now while the data is returned back from R3 to APO, the components of the PPM are changed and not in sync with that of the PPDS PPM in APO.

I beleive that I need to debug the CIF exits (when data is flowing from R3 to APO) Correct me if I am wrong

Can anyone please suggest me how to debug this CIF while the data is flowing from R3 to APO.

Thanks and regards

Ramesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • avatar image
    Former Member
    Jan 05, 2010 at 11:59 AM

    Hi Ramesh,

    1) Check the maintain object specific settings and publication settings in

    APO customisation under Integration with SAP components

    2) Run /SAPAPO/CCR for planned orders and check

    3) Check PPM consistency check for a single location product PPM

    using transaction /sapapo/scc03

    Regards

    R. Senthil mareeswaran.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2010 at 04:53 PM

    HI,

    You may want to check first if the PPM is in sink with R/3 or not. Try to simulate issue in your sandbox environment with the help of functional team member (if you are a developer) then you can do that following if you still have the issue.

    Write a infinite loop in one of the user exit on APO side so that you can check the data which is coming from R/3 in t-code SM50(APO side).

    Hope this helps.

    Thanks,

    Ramesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2010 at 05:33 PM

    You can refer to this article for CIF Debugging:

    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0d1265d-db32-2b10-79ba-ccf6fe2c161d

    cheers

    Aveek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 06, 2010 at 10:50 AM

    Hi All,

    Thank your for the replies.

    Senthil,

    u have mentioned that

    1) Check the maintain object specific settings and publication settings in

    APO customisation under Integration with SAP components

    I am not able to locate this in SPRO. Can u pls specify the exact path.

    Ramesh,

    the PPM is correct and in sync with R3.... there is no problem over there.....

    also I am in a sandbox system itself so I am able change the code wherever required.

    I am aware of this infinite loop technique.

    What I did is applied a hard Break point at some of the exits and executed the Tcode. But it still didnt stop there.

    May be those exits are not part of the execution.

    I have also gone through that CIF debug docu mentioned below, but that not working for me...

    What I beleive is that once I hit the save button (in the APO Tcode /sapapo/rrp3) after the SNP planned Order is converted to a PPDS planned Order, the deteils are sent to R3 and some data is fetched from R3 and brought back to APO.

    Now when it brings the data from R3 to APO, thats when the problem occurs and somehow its changing the components of the newly created PPDS PPM.

    Can someone pls list out the exits/badi's that may be used for this CIF process.

    Also can u please let me know how to debug the CIF in this particular scenerio.

    regards

    Ramesh

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      Please try implement the infinite loop in this BAdI Def: /SAPAPO/CL_EX_CIF_IP.

      Let me know if this works or not.

      P.S : Check if the same thing is happening for all materials or any specific materials. This could be a master data issue.

      Thanks,

      Ramesh

      Edited by: Ramesh Mahankali on Jan 6, 2010 8:57 PM

  • avatar image
    Former Member
    Jan 06, 2010 at 11:35 AM

    Hi Ramesh,

    The menu path is required by you.

    APO spro > SAP implementation guide > Integration with SAP

    components > Integration via CIF > Basic setting for data

    transfer > Publication

    Please check and confirm

    Regards

    R. Senthil Mareeswaran.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 09, 2010 at 08:42 AM

    Hi,

    1.Check whether this happening for all materials.

    2. Both R/3 and APO master data is in sink

    3.Check setting for heuristic for conversion from SNP to PPDS whether setting to determine source of supply is from SNP PPM or independent of SNP PPM.

    regards,

    Siddharth.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 09, 2010 at 08:45 AM

    Hi,

    1.Check whether this happening for all materials.

    2. Both R/3 and APO master data is in sink

    3.Check setting for heuristic for conversion from SNP to PPDS whether setting to determine source of supply is from SNP PPM or independent of SNP PPM.

    regards,

    Siddharth.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 12, 2012 at 12:19 PM

    Sidhharth

    This blog will help you . You need to put BP on both side ( R/3 and APO ) userexit to get data changes if any before and after CIF.

    http://scn.sap.com/people/anant.nimbalkar2/blog/2012/04/11/debug-in-remote-system-eg-apo-srm-crm-when-did-some-action-in-ecc-and-vice-versa

    Rewards points if helpful.

    Regards

    Anant

    Add comment
    10|10000 characters needed characters exceeded