Code: Alles auswählen.
SELECT DISTINCT t~mandt t~tcode u~object u~field u~low AS val_from u~high AS val_to d~create_usr d~create_dat d~create_tim d~change_usr d~change_dat d~change_tim
FROM ( ( agr_tcodes AS t INNER JOIN usobt_c AS u ON t~tcode = u~name ) INNER JOIN agr_define AS d ON d~agr_name = t~agr_name )
INTO CORRESPONDING FIELDS OF TABLE itab_output_faobj
WHERE t~agr_name = role AND u~low <> '$%'
ORDER BY t~tcode ASCENDING u~field ASCENDING.