Skip to Content
0
Aug 04 at 03:00 AM

Restrict UoM conversion in BAPI_PO_CHANGE

64 Views

Hi experts,

We are doing an enhancement by adding PO item automatically. The PO quality and UoM to be added is stored in custom table. This is used to get the PO qty and UoM.

BAPI_PO_CHANGE we are using to do changes and it will validate certain parameters plant, document type and reads the custom table to add PO item quantity automatically.

The issue we are facing right now is if the Material has Ordering unit different than the Unit maintained in the custom table.

Example:

PO Ordering unit BAG

1 BAG = 10 Kg (defined as alternative unit with unit conversion)

when we try to create a PO for 1 Kg using BAPI system default converting into 10kg which is the least quantity as per unit conversion.

If there a way to restrict this happening in BAPI_PO_CHANGE without removing the ordering unit.

thanks, any inputs is much appreciated.

Regards

Varatha