cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_POEC_CREATE how to create held PO

0 Kudos

Hi all,

I'm using BAPI_POEC_CREATE to create a PO but i need it to have status "held" (I1009) or other than "Complete" (I1038) because i do not want it to be sent to SUS immediately.

The problem is that the parameters for the BAPI do not allow importing status info or parking the PO, any other ideas?

Thank you in advance,

Pedro.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

That function is quite different from the BAPI which would mean having to change a lot of code.

So instead I added a small enhancement at the beginning of function BBP_PD_PO_CREATE which imports a parameter from memory and changes the relevant input fields (i_save and i_park) accordingly.

Thank you for your help.

Edited by: PBS PBS Team on Dec 12, 2008 1:09 PM

Former Member
0 Kudos

Use the function BBP_PD_PO_CREATE & pass I_PARK = 'X' and I_SAVE = ' '. Then the document can be parked.

Regards

Kathirvel