SAP Function /SDF/S_TCC_TABLE_READ - Read content of various tables generically

Parameter Reference Type Length Default Optional Text
COUNT STRING g 0 X
ORDER_FIELDS /SDF/STRING_TABLE h 255 X Table of Strings
ORDER_FIELDS_CSV STRING g 0 X String with comma separated fieldnames for order
SEL_FIELDS /SDF/STRING_TABLE h 255 X Table of Strings (empty list returns all fields)
SEL_FIELDS_CSV STRING g 0 X String with comma separated fieldnames for selection
TABNAME TABNAME C 30 Table Name
TARGET_COUNT STRING g 0 'INITIAL' X Expected table count
WHERE_CLAUSE /SDF/STRING_TABLE h 255 X generic where clause (empty clause returns all records)

Parameter Reference Type Length Text
NUM_OF_RECORDS STRING g 0 Number of records
RECORDS /SDF/STCC_TABLE_RECORDS h 20 Records of a generic table read
REC_COUNT INT4 I 4 Natural number

Parameter Reference Length Optional Text
RETURN BAPIRET2 548 Return Parameter