Application Development 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: 

create sd with a item with alternative UoM

0 Kudos

Hi,

I create SD via FM 'SD_SALESDOCUMENT_CREATE'. Fill it_order_items_in-SALES_UNIT and it_order_items_inx-SALES_UNIT:

SHIFT it_intern-value LEFT DELETING LEADING space.
 CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
 EXPORTING
 INPUT = it_intern-value
 IMPORTING
 OUTPUT = it_order_items_in-SALES_UNIT.
 it_order_items_inx-SALES_UNIT = 'X'.

but the sd is still created with the base UoM. i tried to fill S_UNIT_ISO with iso number of UoM but sales unit is still the base UoM.

Thank you in advance!

0 REPLIES 0