SAP TREB_DEF_MAP_IM Billing Document Determination Rebate: Mapping Table data and field list

TREB_DEF_MAP_IM is a standard SAP Table which is used to store Billing Document Determination Rebate: Mapping data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The TREB_DEF_MAP_IM table consists of various fields, each holding specific information or linking keys about Billing Document Determination Rebate: Mapping data available in SAP. These include DOC_LEVEL (Rebate Mapping at Header or Item Level), FIELD (Name of the condition field), FUNCTION (Functions for Mapping Access Fields), ORIGIN_TAB (Table name, 16 characters)... See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

TREB_DEF_MAP_IM table Technical Details:

Delivery Class: S - System table, maint. only by SAP, change = modification
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)


SAP TREB_DEF_MAP_IM table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the TREB_DEF_MAP_IM table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3Assigned to domainMANDT
DOC_LEVELRebate Mapping at Header or Item Level REBATE_MAP_LEVELCHAR1REBATE_MAP_LEVEL
FIELDName of the condition field KFDNACHAR30Assigned to domainFDNAME
FUNCTIONFunctions for Mapping Access Fields REBATE_MAP_FUNCTIONSCHAR1REBATE_MAP_FUNCTIONS
ORIGIN_TABTable name, 16 characters TABNAME16CHAR16DBOBJ_NAMEDTBDD_DBTB_16
ORIGIN_FIELDName of the condition field KFDNACHAR30Assigned to domainFDNAME
ORIGIN_TAB2Table name, 16 characters TABNAME16CHAR16DBOBJ_NAMEDTBDD_DBTB_16
ORIGIN_FIELD2Name of the condition field KFDNACHAR30Assigned to domainFDNAME
CONDComment CHAR50CHAR50TEXT50

Key field Non-key field



How do I retrieve data from SAP table TREB_DEF_MAP_IM using ABAP code

The following ABAP code Example will allow you to do a basic selection on TREB_DEF_MAP_IM to SELECT all data from the table
DATA: WA_TREB_DEF_MAP_IM TYPE TREB_DEF_MAP_IM.

SELECT SINGLE *
FROM TREB_DEF_MAP_IM
INTO CORRESPONDING FIELDS OF WA_TREB_DEF_MAP_IM
WHERE...

How to access SAP table TREB_DEF_MAP_IM

Within an ECC or HANA version of SAP you can also view further information about TREB_DEF_MAP_IM and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).