Entering content frame

Procedure documentation Creating a Substitution Locate the document in its SAP Library structure

Use

In Turkey, when you post more than one bill of exchange in a single document (see Posting a Bill of Exchange Receivable), the system has to calculate the baseline date as the average due dates of all the bills that you have entered. The system uses this date when you adjust the bills for inflation.

In order for the system to be able to calculate the baseline date, you have to create a substitution that performs this calculation by means of a user exit.

Prerequisites

You have copied user exit U103 from the standard form pool RGGBS0TR to your own form pool (see Structure link User Exits in Validations/Substitutions/Rules, in particular the last two paragraphs).

Procedure

  1. Create a new substitution for accounting documents, as described under Structure link Creating a Substitution. As you work through each step, use the information below:

Step

Additional information

1

Once you have accessed the main Customizing menu using the path given, choose Application Area/Time  ® Financial Accounting  ® Complete Document.

6

Create one step only for the substitution. When the dialog box appears, select Only exit. This means that you want to insert a user exit.

8

Ignore this step – you do not need to define any prerequisites.

9

Enter the name of the user exit. It will only appear in the list of possible entries for the field if you have copied the user exit as specified under Prerequisites above.

  1. Once you have created the substitution, activate it as described under Structure link Activating a Substitution in FI-SL. As you work through each step, use the information below:

Step

Additional information

1

Do not use the menu path given, which is for the special purpose ledger only. Instead, in Customizing for Financial Accounting, choose Financial Accounting Global Settings ® Document ® Document Header ® Substitution in Accounting Documents.

4

Set the callup point to 3 (Complete document) and the activation level to 1 (Active, no batch input).

Leaving content frame