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 again!

madan_ullasa
Contributor
0 Likes
687

Hi frnds,

I am using BAPI_PO_CHANGE. I am passing the line item with the net price. But when i check the table after the execution of the BAPI (before commit) i find that the values of net price is 0, but other values for the line item are present. I have even checked the field in POITEMX for net price. This looks weird.

Points assured to all replies.

Regards,

Madan.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
667

are you passing all the items of PO in POITEM and POITEMX??

Hi frnds,

I am using BAPI_PO_CHANGE. I am passing the line item with the net price. But when i check the table after the execution of the BAPI (before commit) i find that the values of net price is 0, but other values for the line item are present. I have even checked the field in POITEMX for net price. This looks weird.

Points assured to all replies.

Regards,

Madan.

5 REPLIES 5
Read only

Former Member
0 Likes
668

are you passing all the items of PO in POITEM and POITEMX??

Read only

0 Likes
667

HI,

Yes. All the required values are passed. These values are vsibile. But the values of Net Price is 0.

Regards,

Madan.

Read only

0 Likes
667

i'v tried it in my report.. same thing happended my code.. i'm not able to get the net price..

so i have calculated net price based on the quanity and price...

Read only

0 Likes
667

does your values get updated in the PO ??? I have another problem. My PO takes the net price value from the agreement no. The agreement no. gives a wrong net price. My program passes this agreement no. to the BAPI, and then on this agreement no. the value for net price is picked. But i want the value i pass frm the program to be updated. But the BAPI returns an error due to the errored value being picked because of the agreement no.

Regards,

Madan.

Read only

0 Likes
667

while passing the net price.. you calculate it manually.. and then pass it to the BAPI