CMP_REASON SAP (Customizing for Complaints Reasons) Table details

Dictionary Type: Table
Description: Customizing for Complaints Reasons




ABAP Code to SELECT data from CMP_REASON
Related tables to CMP_REASON
Access table CMP_REASON




Table field list including key, data, relationships and ABAP select examples

CMP_REASON is a standard SAP Table which is used to store Customizing for Complaints Reasons data and is available within R/3 SAP systems depending on the version and release level.

The CMP_REASON table consists of various fields, each holding specific information or linking keys about Customizing for Complaints Reasons data available in SAP. These include COMPREAS (Abbreviation for Complaints Reason), AUART1 (Sales Document Type), FKART1 (Billing Type), PSTYV1 (Sales document item category).. 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. .

Delivery Class: G - Customising table which is protected against SAP Update
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)

Text table = CMP_REASON_TXT


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

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
COMPREASAbbreviation for Complaints Reason CMP_COMPREASCHAR4CMP_COMPREAS
AUART1Sales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
FKART1Billing Type FKARTCHAR4TVFKFKART
PSTYV1Sales document item category PSTYVCHAR4TVPTPSTYV
CHGFLAG1Item in Complaints Processing Can Be Changed CMP_CHANGECHAR1XFELD
CHKFLAG1Check Quantities in Complaints Processing CMP_CHKFLAGCHAR1XFELD
RETOURE1Returns Flag RET_FLAGCHAR1XFELD
AUART2Sales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
FKART2Billing Type FKARTCHAR4TVFKFKART
PSTYV2Sales document item category PSTYVCHAR4TVPTPSTYV
CHGFLAG2Item in Complaints Processing Can Be Changed CMP_CHANGECHAR1XFELD
CHKFLAG2Check Quantities in Complaints Processing CMP_CHKFLAGCHAR1XFELD
RETOURE2Returns Flag RET_FLAGCHAR1XFELD
MASSFLAGIndicator for Complaints Reason for Mass Maintenance CMP_MASSCHAR1XFELD

Key field Non-key field



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

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

SELECT SINGLE *
FROM CMP_REASON
INTO CORRESPONDING FIELDS OF WA_CMP_REASON
WHERE...

How to access SAP table CMP_REASON

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

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!