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

Sales Unit conversion

Former Member
0 Likes
1,010

Document has a sales unit of BT, but SAP stores it as BOT. The report shows BT, but when passed to BAPI_SALESORDER_SIMULATE, it doesn't return desired value because BOT is being passed. I am not able to find BOT on any tables (T006 related) and tried the CONVERSION_EXIT_CUNIT_INPUT bapi, but it also did not recognize BOT and returned message that BOT is not EN (because it is attempting to match against table T006a).

In BAPI_SALESORDER_SIMULATE, it is going against pricing condition that specifies BT and isn't being found because it is attempting to find BOT.

Thanks,

Document has a sales unit of BT, but SAP stores it as BOT. The report shows BT, but when passed to BAPI_SALESORDER_SIMULATE, it doesn't return desired value because BOT is being passed. I am not able to find BOT on any tables (T006 related) and tried the CONVERSION_EXIT_CUNIT_INPUT bapi, but it also did not recognize BOT and returned message that BOT is not EN (because it is attempting to match against table T006a).

In BAPI_SALESORDER_SIMULATE, it is going against pricing condition that specifies BT and isn't being found because it is attempting to find BOT.

Thanks,

3 REPLIES 3
Read only

Former Member
0 Likes
819

have u checked the table T006B?

Read only

0 Likes
819

Thank you for the response, but as I stated, the values I was trying to obtain could not be location on the T006 series, which would include B.

Read only

Former Member
0 Likes
819

To obtain the desired values use the CONVERSION_EXIT_CUNIT_OUTPUT BAPI, not the ...INPUT BAPI.