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

Former Member
0 Likes
5,717

Hi All,

Need an Urgent Help. I am working on BAPI's for the first time. So have very little knowledge in that field. We have an issue while creating PO using BAPI_PO_CREATE1. The error says "No instance of object type PurchaseOrder has been created. External reference:;Purchase order still contains faulty items;Item 00010: No season found for material 74806-0002 (->see longtext).;Season 191/1130/US01 not valid for grid value 32 -, category 1". Though i can see season maintained still I am getting this error. Could Somebody help me out. This is something urgent!!!

1 ACCEPTED SOLUTION
Read only

vijy_mukunthan
Active Contributor
0 Likes
4,940

Hi Soundaraya

The message is clearly saying there is a faulty item in the structure. Please take the data of the structure and analyse on that. These type of error are most common if you don't add leading zero's for the vendor, company code, material group, WBS elements, cost center. Its purely the data your are passing. Please check the data.

Thanks and Regards

Vijay

7 REPLIES 7
Read only

VeselinaPeykova
Active Contributor
4,940

Urgent might get you a few down-votes here, especially when it is not clear from your post that any troubleshooting attempt was made. #justsaying

Anyways, as a first step try to find the exact error message (message class and number) so that you can read the long text in SE91 and try to figure out what it means.

You can try to search in Google and in SAP notes by specifying the message class and number.

You can also try to ask a functional consultant from your company for help to understand what the error means and what other data and configuration needs to be checked.

You can also try to create a purchase order manually via ME21N with the same data as in the BAPI and see if you encounter an error there.

You can also try debugging, you are a developer, right? Even if you are a functional consultant, you can still try debugging, maybe with the help of a colleague from your development team.

Read only

Abinathsiva
Active Contributor
0 Likes
4,940

Try creating the PO manually using the same material and vendor and check

Read only

Sandra_Rossi
Active Contributor
4,940

Sorry for you if you are in a hurry!!!

Read only

Former Member
0 Likes
4,940

We are able to create PO manually. But not through the BAPI

Read only

former_member703998
Participant
0 Likes
4,940

Hi Soundariya,

Please follow the link given below and i think that will solve your issues

BAPI_PO_CREATE1

Material PO using Bapi PO Create

Read only

vijy_mukunthan
Active Contributor
0 Likes
4,941

Hi Soundaraya

The message is clearly saying there is a faulty item in the structure. Please take the data of the structure and analyse on that. These type of error are most common if you don't add leading zero's for the vendor, company code, material group, WBS elements, cost center. Its purely the data your are passing. Please check the data.

Thanks and Regards

Vijay

Read only

0 Likes
4,940

Thank you all for your sugesstion. As everyone mentioned it is an issue with the data and i solved it by manipulating it