cancel
Showing results for 
Search instead for 
Did you mean: 

While creating a quotation through FM bapi_quotation_createfromdata2 then UOM conversion not happen

sanjay82
Discoverer
0 Kudos

While creating a quotation through FM bapi_quotation_createfromdata2 then UOM conversion not happen, Pls advise for same.

Coming this way

But when we creating quotation manually then

Pls advise , what fields are missing in the FM for UOM conversion.

Jelena
Active Contributor
0 Kudos

This is not an SD but rather ABAP question. But you need to post the actual ABAP code if expecting serious answers.

Also post what have you tried so far to resolve this. The answer might be as simple as fixed point arithmetic switched off in the report attributes.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member194575
Active Participant
0 Kudos

Can you check is there any conversion maintained in alternative unit of measure tab in material master? If there is a conversion maintained, it should get populated automatically whether quotation is being created manually or through BAPI.

Also, please populate ISO code for unit of measurement in the item segment in BAPI.

sanjay82
Discoverer
0 Kudos

I have checked, there is no alternate unit of measure maintained.

As per your advise, I have maintained the ISC Code , but still conversion is not coming,

Kindly advise , this is correct field in Item Bapi

former_member194575
Active Participant
0 Kudos

Dear Sanjay,

There is no alternative UOM maintained in material master but the conversion is getting populated as 99,999 M <=> 23,468 TO in Quotation when you manually create it. It means that there should be some custom code which does this. Generally, alt UOM conversion will be copied to sales documents from material master (if it is maintained) for manual creation or through BAPI/IDOC.

Please check to see where is the custom logic which makes to populate the conversion in quotation. The same logic we need to put in when you call BAPI and pass the UMVKN (Numerator) and UMVKZ (Denominator) values to FM.