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.
Showing results for 
Search instead for 
Did you mean: 

Quantity in FM 'BAPI_PO_CREATE1' is rounding off to minimum lot from MARC-BSTRF


Hi everyone,

I don't want the quantity field in the PO to be rounded off to rounding value of the material based on the receiving plant/receiving location.

I am using 'BAPI_PO_CREATE1' to create the POs.

Generally when we create through me21N, we can give custom quantity and it works, so user wants to be able to do that using the program as well, wherein this functional module is being used.


po_item-quantity = '15.000'.

po_itemx-quantity = 'X'.

Then calling the BAPI_PO_CREATE1 and passing the table po_item

When checking the PO created in ME23n, the quantity is rounded off to 60 (the round of value for my plant BE04 and material in MARC)

I also checked the functional module import parameters to understand if there is any parameter to enable or disable the rounding off but there wasn't any.

My question is:

Is it possible to disable the quantity round off while creating PO using BAPI_PO_CREATE1? and get the exact quantity as passed in the PO_ITEM internal table to BAPI_PO_CREATE1. If yes, pls enlighten on how?


Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with our Q&A Tutorial:, as it provides tips for preparing questions that draw responses from our members. Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond:
Many thanks!

Keep in mind, when you receive an answer that was helpful to you, accept it as best answer.

Join or subscribe to SAP Community Groups to stay up-to-date, including SAP TechEd Group.

0 Kudos

Any answers?

0 Kudos

Hi, I have the same issues, I voted positively the question, as I cannot find answers in the blog.
Did you solve the issue in the meantime?