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

Problem with BAPI_PO_CREATE1.

ronaldo_aparecido
Contributor
0 Likes
5,044

Hi Guys.

I am using the bapi : BAPI_PO_CREATE1 and i´m receiving this messages:

BAPI                 001 No instance of object type PurchaseOrde PurchaseOrder has been created. External reference:

MEPO                 000 Purchase order still contains faulty items

ME                   062 Account assignment mandatory for material 7322-0000-0 (enter acc. ass. cat.)

M3                   351 Material 7322-0000-0 not maintained intained in plant W001

MEPO                 043 Please enter an order quantity

Anybody can help me?

Thanks

1 ACCEPTED SOLUTION
Read only

venkateswaran_k
Active Contributor
0 Likes
2,991

Dear Ronaldo

Please correct as follows:

ME                   062 Account assignment mandatory for material 7322-0000-0 (enter acc. ***. cat.)

Enter GL_ACCOUNT for the item (in POACCOUNT)

M3                   351 Material 7322-0000-0 not maintained intained in plant W001

Please extend your material to the plant W001

MEPO                 043 Please enter an order quantity

In BAPI - make sure you pass the value for Quantity 

POITEM, POITEMX

6 REPLIES 6
Read only

venkat_aileni
Contributor
0 Likes
2,991

Hi-

Check your Material in 'MARC' table with plant 'W001' looks like material is not maintained in plant 'W001'.

-Venkat

Read only

Former Member
0 Likes
2,991

Hello Ronaldo,

Error says that you didnot given quantity for the PO

and 2nd thing is there is some issue with aterial which you are using in your PO.

Try to get these solved.

Please post if you still get any further issues.

Thanks,

bhaskar

Read only

Former Member
0 Likes
2,991

Hi Ronaldo,

This would work perfectly if you pass the data correctly to BAPI parameters..

Refer/search for some sample codes in SCN..

http://scn.sap.com/thread/793849

Regards,

MA

Read only

venkateswaran_k
Active Contributor
0 Likes
2,992

Dear Ronaldo

Please correct as follows:

ME                   062 Account assignment mandatory for material 7322-0000-0 (enter acc. ***. cat.)

Enter GL_ACCOUNT for the item (in POACCOUNT)

M3                   351 Material 7322-0000-0 not maintained intained in plant W001

Please extend your material to the plant W001

MEPO                 043 Please enter an order quantity

In BAPI - make sure you pass the value for Quantity 

POITEM, POITEMX

Read only

0 Likes
2,991

Hi Mr. Venkateswaran

How i can?:

Please extend your material to the plant W001

Read only

ronaldo_aparecido
Contributor
0 Likes
2,991

Ok Guys I extend with mm01.

Thanks Guys.