Funktionsbaustein FORMAT MESSAGE

Aus SAP-Wiki
Wechseln zu: Navigation, Suche

Dieser Funktionsbaustein FORMAT_MESSAGE

CALL FUNCTION 'FORMAT_MESSAGE'
" EXPORTING
"   ID              = SY-MSGID
"   LANG            = '-D'
"   NO              = SY-MSGNO
"   V1              = SY-MSGV1
"   V2              = SY-MSGV2
"   V3              = SY-MSGV3
"   V4              = SY-MSGV4
" IMPORTING
"   MSG             =
" EXCEPTIONS
"   NOT_FOUND       = 1
"   OTHERS          = 2
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur