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

Problem with BAPI_PO_CREATE1

Former Member
0 Likes
1,700

Hello,

I have some problem with this Bapi.

I want to force the quantity in each item but during the creation the system applies the rounding rules. I have put BAPIMEPOITEM-NO_ROUNDING = 'X' (I dont' know if it's the correct field...) but nothing happened....

I'm putting:

bapimepoitem-quantity = quantity.

bapimepoitemx-quantity = 'X'.

bapimepoitem-no_rounding = 'X'.

bapimepoitemx-no_rounding = 'X'.

And the same quantity in bapimeposchedule.

For example if in MM03 or ME13 there is a fixed quantity of 100 and I put 1 in bapimepoitem-quantity, my po is created with the value 100.

How can avoid this?

Best Regards,

Tiago

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,128

Hi Tiago,

That is the correct field. Probably you might have missed either sloc or corresponding itemx fields.

I did a test and it works as expected.


Ravi

4 REPLIES 4
Read only

Former Member
0 Likes
1,128

hello,

you need to declare the data element of quantity as type p or like the same data element.

or

check with your functional guy, it may be caused by the rounding rule defined for the material.

best regards,

swanand

Read only

Former Member
0 Likes
1,129

Hi Tiago,

That is the correct field. Probably you might have missed either sloc or corresponding itemx fields.

I did a test and it works as expected.


Ravi

Read only

0 Likes
1,128

Hello Tiago,

Pls check the following notes and I hope your issue will be resolved with them.

1487790 - Bapi: Bapi_po_create1 no_rounding flag ignored on creation

930526 - Rounding changes interface supply

552189 - Technical fields are available

1441189 - Rounding Prevention..

Shravan

Read only

0 Likes
1,128

Hello  Shravan,

The SAP Note 1487790 - Bapi: Bapi_po_create1 no_rounding flag ignored on creation resolve my problem.

Thank you.

Tiago,