Skip to Content
avatar image
Former Member

How to change distribution key in Planned Order coming from APO to ECC?

Hi All,

I am an ABAP Programmer dealing with APO and ECC Development.

Requirement is to change the Distribution Key in Planned Order coming from APO to ECC.

There is Enhancement CIFORD03 which has User exit EXIT_SAPLCORD_005 I am referring but GR Processing Time and Distribution key field is not available in any table -structure of importing parameter of exit.

I have tried below things (Which doesn't seem working/Not Found):

1. Tried to Find CIF Inbound Exit which can process Distribution Key in ECC.

2. Tried to control flow by setting break-point in MD_PLORD_CHANGE as it has PLAF component as changing parameter.

Question is:

1. Is it feasible to change Distribution Key in CIF Exit ( If not above, please suggest relevant)

2. Is there any other exit/BAdI I can refer?

3. How safe is it to use BAPI in enhancement?

Thank you in Advance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 14, 2017 at 12:08 PM

    Hello Guys,

    I have resolved the issue.

    I am not sure why BREAK-POINT didn't stop at BAdI MD_PLORD_CHANGE's implementation.

    Then I debugged standard code of CIF Exit and after this control came to Exit Handler of BAdI MD_PLORD_CHANGE. There it went to implementation of MD_PLORD_CHANGE. and I wrote my logic in the BAdI's implementation.

    It worked as expected.


    Some fields of Planned Orders which are not available in APO System can not be part of CIF Import-Export Parameter. It should be available at Application level in ECC or Any Destination System.

    Instead of writing of code in CIF Exit, we should look for relevant BAdI or Exit in destination system.

    I hope it will help any ABAP developer in the future!


    Add comment
    10|10000 characters needed characters exceeded