SAP Program RWRF_ADDI_ANALYSIS_OF_CHANGES - Additionals: Selection of Price Changes

Purpose
The SP Change Analysis report is used to analyze price changes in thearea of additionals.
In the first step, you restrict the data to be checked by enteringvarious selection criteria on the selection screen. You can restrict thedata by materials or various additionals IDoc data.
For the materials in the selected IDocs, the system determines thecurrent conditions and compares these with the conditions at the time ofIDoc creation. The conditions are compared using a checksum calculatedon the basis of the conditions.
The system only flags a position for further processing in an internaltable if it finds condition variances, i.e. a subsequent change.
In a second step, the system displays this data stored temporarily inthe internal table in the form of an ALV grid. By double clicking on oneof the items, you can go from this display to the additionals monitor.In the additional monitor, only the data for this current item isdisplayed, as a result of the transfer of the data for that item. Youcreate a new IDoc with the current conditions.

Prerequisites
You must have at least display authorization for this report. The sameauthorization object used for the additionals monitor is also used asthe basis for this authorization check.

Selection
For data selection, you can specify material data, but also additionalsdata. The selected criteria are logically linked with AND.
An entry is required in field Insert Date.
In the selection screen in the Processing Mode group box, you candefine whether you want to process the selected data immediately or at alater date. There is a transaction for each setting.

  • Create Work Data for Price Changes (transaction: WRF_WTAD_CA1):

  • You decide to process the data at a later date. The selected data isstored temporarily in a database table. The system always saves only thedata from the last Save operation; previously saved data is deleted.
    Data is saved on a user-dependent basis.
    The report remains in the selection screen.
    • Process Work Data for Price Changes (transaction: WRF_WTAD_CA2):

    • The system reads the saved data - which was selected at an earlier pointin time - from the database and displays it in an ALV grid for furtherprocessing. You can only process the data saved for your ID. The systemdoes not check whether a new IDoc was created in the meantime and thusprocessing is no longer required.
      The report switches to the ALV grid.
      • Direct Processing of Price Changes (transaction: WRF_WTAD_CA3):

      • The system transfers the selected data directly to the ALV grid anddisplays it for further processing. The data is NOT saved.
        The report switches to the ALV grid.
        You can change the selected data with BAdI WRF_WTAD_PREPARE_AD. There isa default implementation in which the selected data is reduced to itemswith changed conditions. The default implementation remains active untilyou activate a new implementation.

        Standard_variants

        • Transaction WRF_WTAD_CA1 works with standard variant SAP&WTAD_CA1.

        • The selection button is preset accordingly and is merely displayed.
          • Transaction WRF_WTAD_CA2 is a parameter transaction.

          • Here, the selection screen is skipped and the system goes directly tothe ALV grid.
            • Transaction WRF_WTAD_CA3 works with standard variant SAP&WTAD_CA3.

            • The selection button is preset accordingly and is merely displayed.

              Output
              You can change the data to be output with BAdI WRF_WTAD_CA_REPORT.