function module to get data dict for attribute
CALL FUNCTION 'RSD_DTELNM_GET_FOR_IOBJ'
EXPORTING
i_iobjnm = l_attrinm
IMPORTING
e_dtelnm = <l_s_attr_field>-dtel
EXCEPTIONS
name_error = 1
OTHERS = 2.
function module to get the details of a info object
CALL FUNCTION 'DDIF_DTEL_GET'
EXPORTING
name = <l_s_attr_field>-dtel
IMPORTING
dd04v_wa = l_s_dd04v
EXCEPTIONS
illegal_input = 1
OTHERS = 2.
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter