Programme SAP CMP_MASS - Mass Complaints Processing

Purpose
Mass Complaints Processing

Features

Generating Complaints due to Customer Change
You can change the customer number in a selected set of billingdocuments. The program creates credit memos or credit memo requests forthe previous customer and debit memos or debit memo requests for the newcustomer.

Generating Complaints due to Change in Unit of Measure
You can change the unit of measure in a selected set of billing documentitems. The program creates credit memos or credit memo requests for theprevious price and debit memos or debit memo requests for the new price.

Generating Complaints due to Price Change
You can change the price for an article in a selected set of billingdocument items. The program creates credits or credit memos for theprevious price and debits or debit memos for the new price.

Generating Complaints to Create Returns Orders
You can create returns orders for a selected set of billing documentitems (for recall actions, for example).

Selection

Program Flow
After calling the transaction, the user can enter the required valuesfor finding billing documents on a selection screen.
The exception status provides the following information:

  • The exception status for this line is YELLOW:

  • There are already complaints for one or more of the documents (or items)found.
    • The exception status for this line is GREEN:

    • There are no complaints for one or more of the documents (or items)found.
      • There is no RED exception status.

      • The internal table that results from the selection is displayed in anoutput list.
        You can use the BAdI BAdI_CMP_ADD_FIELDS to extend the field catalog ofthe output list by your own fields.
        After the selection, there are two options for further processing thedata:
        • Customer number has been specified

        • The billing documents selected using the selection criteria are readfrom table VBRK and displayed in the list.
          • Change of price, unit of measure and returns

          • Billing documents are only permitted for mass processing if thefollowing criteria are met:
            The posting document is created (RFBSK is C)
            The billing document is not cancelled (FKSTO is BLANK)
            The sales document type is not an invoice cancellation (VBTYP is N
            )
            The billing documents selected using the selection criteria are readfrom table VBRK.
            If billing documents have been found, the item data with the materialnumber from the selection is read from table VBRP.
            If you have specified a condition type, the program reads the relevantconditions from table KONV.
            Before the data is transferred line by line to the output list, theprogram checks if there is already a complaint regarding this item. Ifthere is, the system creates a warning message with the status YELLOW.

            Standard_variants
            You can double-click a line in the output list to go to the master datatransaction for displaying billing documents.
            You have the following options for processing the data displayed in theoutput list:

            • Execute processing in the foreground:

            • Function modules CMP_MASS and CMP_MASS_CREATE process the data. Thecorresponding messages are displayed in the list after processing, andwritten to table CMP_VBFS_EXT by function module CMP_MASS.
              • Execute processing in the background:

              • If you set the indicator for background processing, function moduleCMP_MASS is called with the instruction 'CALL FUNCTION CMP_MASS inbackground task'. The data is processed and CMP_MASS_CREATE is called inexactly the same way as in 'Execute processing in the foreground'.
                The created messages are stored in CMP_VBFS_EXT and can be displayedusing transaction WCMP_RESULT.