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

unit conversion issue in BOM

Former Member
0 Likes
849

I am exploring the BOM using the FM below FM. The issue is in tables parameter internal tal table lt_stpox_tmp has both qty in base unit of measure (qty in base unit of measure MNGLG) &qty in component unit of measure (qty in comunit of measure MNGKO). mnglg value = 1 in Gallons (GLL - base unit of measure) MNGKO value is 4.32 in millileters

(ML in component unit of measure). In CS12 transaction wea are finding the value as one GLL which is ok. But the qty in component unit of measure the value 4.32 is not ok bcz onge ggallon = 3745 omilliliters.(approximately). Could you pls tell me how to correct the mngko value. thanks in adavance.

CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'

EXPORTING

capid = 'PP01'

datuv = <fs_mast>-tdate "sy-datum

ehndl = '1'

mbwls = '1'

mehrs = 'X'

mmory = '1'

mtnrv = <fs_mast>-matnr

stlal = <fs_mast>-stlal

werks = <fs_mast>-werks

TABLES

stb = lt_stpox_tmp

EXCEPTIONS

alt_not_found = 1

call_invalid = 2

material_not_found = 3

missing_authorization = 4

no_bom_found = 5

no_plant_data = 6

no_suitable_bom_found = 7

conversion_error = 8

OTHERS = 9.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
629

Hi,

Please check the configuration for the required material in MM03.

In the additional tab, u can find the relation between Base UOM and Alt UOM. check the defined ration here.

Regards,

Santhosh.

1 REPLY 1
Read only

Former Member
0 Likes
630

Hi,

Please check the configuration for the required material in MM03.

In the additional tab, u can find the relation between Base UOM and Alt UOM. check the defined ration here.

Regards,

Santhosh.