Showing results for 
Search instead for 
Did you mean: 

Purchase Order is getting Created from APOwithout invoicing party

Former Member
0 Kudos


We have business requirement to prevent PO creation if no invoicing party is availble in Partners tab at the time of PO saving. For this, we have changed configuration for Field selection group for PO doc type and ahve changed settings for Invoicing Party from optional to required. It is working absolutely fine when we create Purchase order in ECC. It is giving error: "Enter Invoicing Party" and not allowing to save PO. But when we create PO from APO, Purchase order is getting generated without invoicing party. Is there any standard settings that we need to do to consider same configuration while PO generation is happening from APO? We do not want APO to generate PO if invoicing party is not maintained.

<removed by moderator>



Message was edited by: Jürgen L

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tushar,

Can't it be maintained as Mandatory in APO while creating PO thru APO?

First of all there would be a difference in PO created in ECC directly and PO created from APO. I have faced the same scenario in PO created from SRM. There the Created by ID is always SRMRFC user, we have put the condition for SRMRFC user, condition is that if user ID is equal to SRMRFC then trigger the code.

you can write the condition in user exit/BAdI at the time of PO saving that if invoicing party is not maintained then do not post/create the PO.