Code: Alles auswählen.
data : begin of it_info occurs 0,
line_type(21),
line_value(59).
data : end of it_info.
* IT_INFO muss Tabelle mit Kopfzeile sein !
CALL 'SAPCORE' ID 'ID' FIELD 'VERSION'
ID 'TABLE' FIELD it_info-*SYS*.
loop at it_info.
write : / it_info-Line_type, it_info-line_value.
endloop.
* node name = Applikationsserver
* database host = DB-Server
Code: Alles auswählen.
call function 'DB_DBHOST'
importing dbhost = <database_host>.