ā2013 Nov 14 8:01 AM
Hi,
kwmeng field of table vbap is not updating while creating inquiry using the bapi BAPI_INQUIRY_CREATEFROMDATA
.And I am passing this values to the bapi
ā2013 Nov 14 8:26 AM
Hi,
I think you have to pass the BAPIITEMIN-req_qty.
REQ_QTY WMENGC NUMC 13 0 Order qty in sales units - 00009001 corresponds to 9.001
Thanks,
Kiran.
ā2013 Nov 14 8:35 AM
HI,
ya I am passing the target quantity into the BAPIITEMIN-req_qty.How to solve this issue??
ā2013 Nov 14 9:03 AM
ā2013 Nov 14 9:10 AM
ā2013 Nov 14 9:24 AM
You can check the documentation of KWMENG
Rounded quantity of the required quantity in the schedule line in the sales order.
The system rounds the quantity using the rounding profiles from the customer-material info record or the material master record. The profile can be switched on for each customer.
If you change the rounded quantity, the system automatically performs an availability check and/or delivery scheduling and updates the confirmed quantity. The rounded quantity is cumulated in the total order quantity of the item. The required order quantity remains as the original quantity (before rounding) in the schedule line.
If the system does not round the quantity, the rounded quantity of the required order quantity in the schedule line is valid.
ā2013 Nov 15 4:22 AM
Hi,
Thanks kiran.
How to disable rounding profile in bapi BAPI_INQUIRY_CREATEFROMDATA?
ā2013 Nov 15 5:53 AM
Hi Kiran,
Just give me an example. what you are passing the quantity and how it is updating in the table.
So that I can check it more!
ā2013 Nov 15 6:25 AM
Hi,
If I pass value in req_qty = 5.000(in the bapi)
then in vbap table is updating like .005(kwmeng field)
ā2013 Nov 15 6:27 AM
lets say LV_QTY has quanity value 5.000
Use write lv_qty to req_qty unit (Pass her the unit of measure) it will automatically work
ā2013 Nov 15 7:09 AM
Hi,
Better to use the FM MATERIAL_UNIT_CONVERSION.
If you want to check the usage of KWMENG, check the FM OI0_MCS_ORDER_QTY_IN_COND_UOM.
other wise directly you can directly multiply KWMENG * 1000 and pass the value to the bapi.