Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_PO_CREATE1 Memory Uncomplete

danilo_cardoso
Participant
0 Likes
2,312

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

5 REPLIES 5
Read only

former_member191735
Active Contributor
0 Likes
1,184

>

> 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.

Read only

0 Likes
1,184

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

Read only

0 Likes
1,184

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

Read only

danilo_cardoso
Participant
0 Likes
1,184

Yes.

I'm trying to do it works.

When I fix it (if I can ... lol), I'll post the solution.

Regards

Read only

0 Likes
1,184

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.