Code: Alles auswählen.
DATA:
...
wa_logsys type table
of bbp_backend_dest.
...
call function 'BBP_LOGICAL_SYSTEM_BY_TYPE'
EXPORTING
IV_SYSTYPE = 'R/3_4.6C'
TABLES
ET_LOGSYS = wa_logsys.
...
wa_test-logical_system = wa_logsys.
...
Code: Alles auswählen.
DATA: it_logsys TYPE TABLE OF bbp_backend_dest,
wa_logsys LIKE LINE OF it_logsys.
Code: Alles auswählen.
READ TABLE it_logsys INTO wa_logsys INDEX 1.
IF sy-subrc = 0.
wa_test-logical_system = wa_logsys-feld1.
ENDIF.