DATA: g_domain TYPE dd07l-domname.
DATA: g_value TYPE dd07l-domvalue_l.
DATA: g_subrc TYPE sy-subrc,
gwa_tab TYPE dd07v.
g_domain = 'PSTYP_EDI'.
g_value = '5'.
CALL FUNCTION 'DD_DOMVALUE_TEXT_GET'
EXPORTING
domname = g_domain
value = g_value
IMPORTING
dd07v_wa = gwa_tab
rc = g_subrc.
IF g_subrc = 0.
WRITE:/ 'Domain',12 'Fix.Value',22 'Short Text'.
WRITE:/ sy-uline(43).
WRITE:/ gwa_tab-domname,12 gwa_tab-domvalue_l,22 gwa_tab-ddtext.
ENDIF.
Serkan AKKAVAK
Computer Engineer BSc
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com
0 Comments