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 methods GET_OBJECT and CONVERSION_EXIT with the following parameters:

    For GET_OBJECT:

    Parameter

    Description

    I_IPRONM

    Name of InfoProvider

    I_RRNM

    Name of Remodeling Rule

    I_CONVERSION_ID

    Conversion ID

    R_R_RSCNV_EXIT

    Reference to customer exit instance

    For CONVERSION_EXIT:

    Parameter

    Description

    I_CONVERSION_ID

    Conversion ID

    I_R_NEW_FIELD

    Reference to field in new table

    I_R_OLD_DATA_ROW

    Reference to row of old table

    E_T_MSG

    Messages in case of error

    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.