Application Development 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: 

Issues while using FM - BAPI_PO_CREATE1

Former Member
0 Kudos

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

shishupalreddy
Active Contributor
0 Kudos

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

former_member585865
Contributor
0 Kudos

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?

0 Kudos

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

0 Kudos

Please close the thread if u r problem solved

0 Kudos

Solved on my own