Storing ABAP Code
You can write your own ABAP code and assign it to the SAP target fields.
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.
...
1.
From the list of
steps, choose Maintain field mapping and conversion
rules.
A screen appears.
2. Position the cursor on the corresponding SAP field.
3.
Choose Insert
rule.
A dialog box appears.
4.
Set a flag under
ABAP Code.
Confirm with Continue.
You enter the editor mode where you can store your own code.

Note that a maximum of 24 lines can be displayed. To display the other lines, double-click.
5.
Afterwards,
choose Check.
An error message is issued if
your code contains any errors.
Your ABAP code has been stored.

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