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

Issues while using FM - BAPI_PO_CREATE1

Former Member
0 Likes
561

Hi,

While uploading PO using FM - BAPI_PO_CREATE1, I face 2 issues.

1. Though I give different item numbers ( 50, 100, 150, 220) it creates PO with item numbers as 10, 20,

30, 40.

2. I give netprice value to the FM still it takes the value from Conditions.

Please advice to fix these issues...

Thanks

Mohan

5 REPLIES 5
Read only

shishupalreddy
Active Contributor
0 Likes
514

Hello,

Check the field item_intvl of bapimepoheader Structure , I think it is always defaulted to 10 hence starting from 10 , just make it '0000' and check .

Regards

Read only

Former Member
0 Likes
514

Hi MohanKumar,

how you are passing the line item no are you hardcode or you have done any calcuations or just getting from excel to internal table.

if you creating PO with further process you have write your own logic for this line item calcuations.

for your second query just paste the bapi passing part and bapi so that we can check where you went wrong?

Read only

0 Likes
514

Thanks for fixing my Point 1.

For Point 2 :

I am not doing any calculations for the pricing. Am just passing whatever I get from Excel.

For material that has Pricing condition zero, the function module says - 'net price adopted form last document '.

How could this be solved.

Regards

Mohan

Read only

0 Likes
514

Please close the thread if u r problem solved

Read only

0 Likes
514

Solved on my own