- MACRO: DEFINE_TABLE Definition of internal table
- MACRO: DEFINE_STRUCT Definition of structure
- MACRO: GET_FIELD_POS Get offset and length of field
Example: Get the offset and length of the field ROLLNAME in structure DD03L:
DATA: OFFSET LIKE SYST-FDPOS.
DATA: LENGTH LIKE SYST-FDPOS.
TABLES: DD03L.
GET_FIELD_POS DD03L ROLLNAME OFFSET LENGTH.
- MACRO: RANGE_DEF Definition of a range
defines a 'low' and 'high' like tbatg-object or tbatg-tabname
DEFINE RANGE_DEF.
DATA: BEGIN OF &1_&2_RANGE,
SIGN(1),
OPTION(2),
LOW LIKE &1-&2,
HIGH LIKE &1-&2,
END OF &1_&2_RANGE.
END-OF-DEFINITION.
- MACRO: NAME_LEN Provides the length of names of DD objects if input







