‎2011 Apr 07 3:31 PM
Hey Experts, how you doing?
I need some help, please.
I'm trying to create a PO using BAPI_PO_CREATE1 with parameter MEMORY_UNCOMPLETE filled, but, the BAPI is not creating the PO. In the documentation of this BAPi said that it would must to create the document as 'Hold Incorrect Purchase Orders'.
Anybody already have this problem with this BAPI?
Thanks in advance.
Danilo Cardoso
‎2011 Apr 07 5:49 PM
>
> Hey Experts, how you doing?
>
> I need some help, please.
>
> I'm trying to create a PO using BAPI_PO_CREATE1 with parameter MEMORY_UNCOMPLETE filled, but, the BAPI is not creating the PO. In the documentation of this BAPi said that it would must to create the document as 'Hold Incorrect Purchase Orders'.
>
> Anybody already have this problem with this BAPI?
>
> Thanks in advance.
>
> Danilo Cardoso
Just a reminder about commit work or bapi commit after the PO bapi....
What is the return parameter filed with? Put a break point after the BAPI call and check the return table for any errors or warnings... if no errors or warnings... Check if you actually have a commit work bapi.. if you have commit work bapi, you should have the document number in return table in one of the success message.
if everything is right... check the following criteria for the parameter you have mentioned.
The system proceeds according to the following logic:
MEMORY_UNCOMPLETE PARK_UNCOMPLETE System Behavior
X Empty Document is put on hold
X X Document is parked, if possible, and put on hold if not
Empty X Document is parked, if possible, and not saved if not
Empty Empty Document is not saved.
The system proceeds according to the following logic:
PARK_COMPLETE MEMORY_COMPLETE System Behavior
X Empty Correct document is parked
X X Correct document is parked
Empty X Correct document is put on hold
Empty Empty Correct document is saved
Note
You can control how the BAPI behaves in the case of an incorrect or incomplete purchase order by using the <DS:FU.BAPI_PO_CREATE1 PARK_UNCOMPLETE>PARK_UNCOMPLETE parameter.
For more info, read the help for the above parameters.
‎2011 Apr 07 7:55 PM
Hi SK, thanks for your answer.
But it will not works 'cuz my SAP ABAP Release is 700 and the parameter PARK_UNCOMPLETE exists in SAP ABAP Release 701 and higher.
Anyway, thanks for everything.
Regards.
Danilo Cardoso
‎2011 Apr 07 8:06 PM
unfortunately, i dont have 700 system. However, try the ones that i have mentioned and post the results here. Might be useful for others.
Good luck
‎2011 Apr 07 10:30 PM
Yes.
I'm trying to do it works.
When I fix it (if I can ... lol), I'll post the solution.
Regards
‎2011 Apr 15 3:29 PM
So ... it's not possible fix it cuz' the release 700 does not have the actualized BAPI Version.
The way was fullfill the BAPI to create the complete document.
Regards.