2012-12-18
CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = LANGUAGE = SY-LANGU IMPORTING * LONG_TEXT = OUTPUT = * SHORT_TEXT = * EXCEPTIONS * UNIT_NOT_FOUND = 1 * OTHERS = 2 . IF sy-subrc <> 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF.