Show TOC

Customer Exits in RemodelingLocate this document in the navigation structure

Context

In remodeling, you can use a customer exit to fill added or replaced characteristics and key figures with initial values.

Procedure

  1. To implement a user-specific class, in the SAP Easy Access menu, choose Start of the navigation path Tools Next navigation step ABAP Workbench Next navigation step Development Next navigation step Class Builder End of the navigation path.
  2. Enter a name for your implementation and choose Create.
  3. Select Class as the object type.
  4. Enter a description and select the following options:
    • Instantiation: Public

    • Usual ABAP Class

    • Final

    Save your entries. The Class Builder appears.

  5. Use the IF_RSCNV_EXIT interface. This has the EXIT method with the following parameters:

    Parameter

    Description

    I_CNVTABNM

    Name of the remodeled table.

    You require this parameter if you want to use the same customer exit for more than one remodeling rule.

    I_R_OLD

    Structure of the table before remodeling

    C_R_NEWFIELD

    Result of the routine, which is assigned to the new field

    1. Implement your class and save your entries.

Results

All classes that implement the IF_RSCNV_EXIT interface are available in remodeling. They are listed in the input help for the customer exit.