cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

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.

Answers (1)

Answers (1)

former_member197994
Active Contributor
0 Kudos

Hi Praveen,

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