Skip to Content
avatar image
Former Member

customer exit to stop transferring PIR from APO to ERP based on material plant specific status

Hi,

Presently whenever there is a PIR created in APO using SDP94 it is transferring immediately to ERP and creating planned order. But for the orders which material is having material plant specific plant status is 01(blocked) the planner order creation is getting failed and the outbound CIF que is getting error .

So now we would like to stop transferring those PIRs to ECC. So that there will be no error in Outbound que in APO. To achieve this I found the RFC fm CIF_ORDER_INBOUND_30A in ERP which will create planned order in ERP. Could you please let me know the user exit / badi to achieve this ? Can I use the exit EXIT_SAPLCORD_005 ?Any sample solution for this to achieve this?

Thank you.

Praveen Chitturi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 16, 2016 at 08:33 AM

    Hi ,

    I managed to complete this. I used the user exit EXIT_SAPLCORD_005. In that there two table parameters IT_APOORD and IT_APOOUT. In that tables there is material no, plant, procurement type. So I am checking the material plant specific status and if it is '01 then deleting the corresponding records from those two table parameters so that no planned order is creating and no blocked que also as well in CIF.

    Thank you.

    Praveen.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 25, 2016 at 06:48 AM

    Hi Praveen,

    It's so kind of you to share your own findings, thank you! Best regards/Tiemin

    Add comment
    10|10000 characters needed characters exceeded