09-07-2018 10:54 AM
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!