Ansicht
Dokumentation

SAPF121 - Create Recurring Documents from Recurring Documents

SAPF121 - Create Recurring Documents from Recurring Documents

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You can use the present program SAPF121 as part of a currency changeover. In combination with program SAPF122, it is used to convert any recurring entry original documents using a soon-to-be-obsolete currency into new recurring entry original documents. By doing so, you ensure that documents from recurring entry original documents that, at the end of the dual currency phase, you are no longer allowed to post in the old currency, are posted in the new currency.

Integration

The following list shows the sequence in which other programs follow on from the present program SAPF121:

  1. If necessary, you start program SAPF121G to generate the present program SAPF121. For more information, see the documentation on program SAPF121G.
  2. You start the present program SAPF121 to create the new recurring entry original documents.
  3. You process the generated batch input session to actually post these documents.
  4. You start program SAPF122 to complete the old and new recurring entry original documents. For more information, see the documentation on program SAPF122.
  5. If necessary, you start program RFDAUB00 to check the documents and the individual steps of the conversion. For more information, see the documentation on program RFDAUB00.
  6. You start program SAPF120 in the usual way to create the individual posting documents on the basis of the new recurring entry original documents. For more information, see the documentation on program SAPF120.

Prerequisites

You have made the following settings in Customizing for SAP NetWeaver under General Settings -> Currencies -> Expiring Currencies:

In this activity, you assign the expiring currencies and the follow-on currencies to the expiry reasons.
In this activity, you specify on which date and for which process the old transaction currency is converted automatically into the new transaction currency. Recurring entry original documents have the following process ID: SAPF121

Features

The present program converts the currency key into the new currency key on the basis of the configuration (transaction OEXC) and converts the amounts into the new transaction currency.

Note the following special feature, which applies if you have not set the Set Recurring Entry Documents to Completed indicator in the present program: The follow-on program SAPF122 sets this indicator automatically. To exclude the risk of duplicate postings, you need to run program SAPF122 before you run program SAPF120, which generates the individual posting documents.

If the program terminates prematurely, the following rules apply:

  • If you have not set the Set Recurring Entry Documents to Completed indicator, the program does not make any changes to the database and can be repeated.
  • If you have set the Set Recurring Entry Documents to Completed, you need to make manual changes before you can repeat the program run; this is because the program has marked for deletion the old recurring entry original documents. You need to undo the deletion flags manually before you can run the deletion and reorganization programs.

Selection

In addition to the selection criteria for the program run, you can also make specifications for how the batch input session is processed. This relates to the following data:

  • User name for authorization checks
  • Lock date in cases when the batch input session must not be processed immediately.

Standard Variants

Output

Creation of a batch input session

The program selects all recurring entry original documents for which the next execution date falls on or after the date that applies to follow-on process SAPF121 according to the setting made in Customizing (transaction OEXP). It creates a batch input session with the new recurring entry original documents that have been converted into the follow-on currency (transaction FBD1). The new recurring entry original documents contain SAPF121 in the Document Header Text field so that they are initially not entered by program SAPF120. The document number of the old recurring entry original document is placed in the reference of the document header.

Processing the Batch Input Session

The purpose of the batch input session is to assist with entering the new recurring entry original documents. While the session is processed visibly, you can still make corrections to the documents. If, for example, rounding differences occur, you need to correct them manually. Currency exchange rates that were entered at the document header level or in the data on the tax screen are not transferred to the new documents. If you have set the relevant indicator in the document header, however, the program transfers the local currency amounts and displays a list of the affected predecessor documents. Check that these new documents contain the correct amounts in the transaction currency and local currency.

Activities

Example






Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 6418 Date: 20240531 Time: 080809     sap01-206 ( 121 ms )