CMP_MASS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Mass Complaints Processing You can change the customer number in a selected set of billing documents...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter CMP_MASS into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WCMP_MASS - Mass Complaints Processing
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: R_VKORG = Sales Org.
Selection Text: R_VBELN = Billing Documents
Selection Text: R_KUNRG = Payer
Selection Text: R_KUNAG = Sold-to Party
Selection Text: R_FKDAT = Billing Document Date
Selection Text: R_FKART = Billing Type
Selection Text: P_WAEH = Currency
Selection Text: P_RE2400 = Reason for Complaint
Selection Text: P_RE2300 = Reason for Complaint
Selection Text: P_RE2200 = Reason for Complaint
Selection Text: P_RE2100 = Reason for Complaint
Selection Text: P_PR_NEU = New Price
Selection Text: P_PR_ALT = Old Price
Selection Text: P_ME_NEU = New Unit of Measure
Selection Text: P_ME_ALT = Old Unit of Measure
Selection Text: P_MA2400 = Material
Selection Text: P_MA2300 = Material
Selection Text: P_MA2200 = Material
Selection Text: P_KUNAG = Sold-to Party
Selection Text: P_KON = Condition Type
Title: Mass Complaints Processing
Text Symbol: 064 = New Customer Number
Text Symbol: 063 = Are there complaints for the billing document?
Text Symbol: 062 = Status
Text Symbol: 061 = UoM
Text Symbol: 060 = Billed Quantity
Text Symbol: 059 = Item in Billing Document
Text Symbol: 058 = Material
Text Symbol: 057 = Customer Complaints Exist
Text Symbol: 056 = Currency
Text Symbol: 055 = Billing Doc.Total
Text Symbol: 054 = Payer
Text Symbol: 053 = Sold-to Party
Text Symbol: 052 = Billing Date
Text Symbol: 051 = Billing Type
Text Symbol: 050 = Billing Documents
Text Symbol: 011 = Change Criteria
Text Symbol: 005 = Item Found
INCLUDE CMP_MASS_TOP.
INCLUDE CMP_MASS_SELKRIT.
No SAP DATABASE tables are accessed within this REPORT code!
No SAP FUNCTION MODULES are executed within this report code!
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.