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_CREATE problem

Former Member
0 Likes
365

dear all

I have a problem with BAPI_PO_CREATE is that

1- when i pass a value to the net price (BAPIEKPOC-NET_PRICE) in the material details every time it take the price in the material master not the value

which I pass in the bapi.

2-Also the price unit field in the material details (BAPIEKPOC-PRICE_UNIT) take 1 (one) as default value and doesn't take the value which I pass in the bapi.

those two fields are in the table of PO_ITEMS in the bapi are NET_PRICE and PRICE_UNIT.

please can any one help me to fix those two problem.

1 ACCEPTED SOLUTION
Read only

0 Likes
319

Please check the code below which is working fine and populating netprice and price unit also.

<removed by moderator>

Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.

Edited by: Thomas Zloch on Apr 12, 2011 6:30 PM

1 REPLY 1
Read only

0 Likes
320

Please check the code below which is working fine and populating netprice and price unit also.

<removed by moderator>

Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.

Edited by: Thomas Zloch on Apr 12, 2011 6:30 PM