Code: Alles auswählen.
data: wtab type BDSEL_STAT occurs 0 with header line.
data hname(5) value '''LH'''.
concatenate 'CARRID =' hname into wtab-zeile separated by space.
append wtab.
CALL FUNCTION 'TABLE_ENTRIES_GET_VIA_RFC'
destination dest
EXPORTING
LANGU = SY-LANGU
TABNAME = 'SPFLI'
TABLES
SEL_TAB = wtab
TABENTRY = itab
EXCEPTIONS
INTERNAL_ERROR = 1
TABLE_HAS_NO_FIELDS = 2
TABLE_NOT_ACTIV = 3
NOT_AUTHORIZED = 4
OTHERS = 5 .