HI all,
i need to call this Fm for 5 times,
my question is instead of calling to the Fm 5 times one by one there is way to do
that better (nicer) ,i don't want to use perform.
e.g.
lv_domain_name = 'DATFM'.
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
tabname = iv_table_name
langu = sy-langu
lfieldname = iv_domain_name
TABLES
fixed_values = lt_domain_values
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
Implement suitable error handling here
ENDIF.
lv_domain_name = 'DCPFM'.
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
tabname = iv_table_name
langu = sy-langu
lfieldname = iv_domain_name
TABLES
fixed_values = lt_domain_values
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
Implement suitable error handling here
ENDIF.
and so on...for 5 times
Best Regards
Nina