* http://www.kodyaz.com/sap-abap/list-of-namespaces-used-in-sap-from-abap-table.aspx
* ty_it_namespaces hat alle Spalten aus beiden includierten Strukturen
TYPES: BEGIN OF ty_it_namespaces.
INCLUDE TYPE trnspacet.
TYPES: spras TYPE trnspacett-spras,
descriptn TYPE trnspacett-descriptn,
owner TYPE trnspacett-owner.
TYPES: END OF ty_it_namespaces.
DATA: it_namespaces TYPE STANDARD TABLE OF ty_it_namespaces WITH DEFAULT KEY.
SELECT T~*, " SL: Namensräume (transportierbar)
TT~* " SL: Textanteil (sprachabhängig) zu Namensraumtabelle
INTO CORRESPONDING FIELDS OF TABLE @it_namespaces
FROM trnspacet AS t
INNER JOIN trnspacett AS tt ON t~namespace = tt~namespace.
* Objekt hinzufügen
cl_demo_output=>write_data( it_namespaces ).
* HTML-Code vom Demo-Output holen
DATA(lv_html) = cl_demo_output=>get( ).
* Daten im Inline-Browser im SAP-Fenster anzeigen
cl_abap_browser=>show_html( EXPORTING
title = 'Daten'
html_string = lv_html
container = cl_gui_container=>default_screen ).
* cl_gui_container=>default_screen erzwingen
WRITE: space.