Show TOC

Procedure documentationStoring ABAP Code Locate this document in the navigation structure

 

You can write your own ABAP code and assign it to the SAP target fields.

Prerequisites

To change ABAP code, you require the relevant developer authorization. For authorization object S_DEVELOP, at least activity 02 and any values for the other authorization fields must be selected.

Procedure

  1. From the list of steps, choose Maintain Field Mapping and Conversion Rules. A dialog box is displayed.

  2. Position the cursor on the appropriate SAP field.

  3. Choose Insert Rule. A dialog box appears.

  4. Set a flag under ABAP Code. Choose Continue to confirm. You enter the editor mode where you can store your own code.

    Note Note

    Note that a maximum of 24 lines can be displayed. To display the other lines, double-click.

    End of the note.
  5. Afterwards, choose Check. An error message is issued if your code contains any errors.

Result

Your ABAP code has been stored.

Caution Caution

Conversion rules already assigned will be deleted as soon as you enter your own code in the editor.

End of the caution.