Transferring Data Using Data Files 

To transfer data to the SAP System from another system using a data file, proceed as follows:

  1. In the SAP R/3 System, create the rebate arrangements that you wish to provide with data from your non-SAP or legacy system or take over complete.
  2. In your system, define a structure that is identical with the interface structure of the SAP System.
  3. From within your non-SAP or legacy system, supply the communication structures for subsequent settlement with the relevant business volume data for a condition record of your non-SAP or legacy system.
  4. Assign the condition type of the SAP System to your condition record and specify the performance date.
  5. To enable your condition record to be linked to that of the SAP System, fill the communication structure for price determination with the data for which you created your condition in the SAP System.
  6. Then you can assign an external description to this data record for identification purposes.

  7. Save your data in a data file.
  8. Ensure that when you generate your external data file the interface definition corresponds to that of the SAP System. For details of how to generate the external data, refer to the model program RWMBONF1.

  9. Load the data file on the application server of your SAP System or your front end and run the program for external data transfer.
  10. Enter the name of the data file. You can choose whether to load the data file from your front end or from the application server (Unix file).
  11. To verify whether or not all data has been transferred correctly, you can carry out a check run for the relevant rebate arrangement. If data has been has not been created correctly or is incomplete, the system issues an error log. Furthermore, you can take a look at the external data file in advance, and check it for correctness.

If the check run is completed without errors, you can store the data under a test version in the LIS statistics in order to test which data has been updated.

If the data is consistent, you can either import it into version 000 with the aid of the LIS tools or carry out the same run for version 000.

If an update has been duplicated or carried out with the wrong data, you can also cancel the update by setting the appropriate switch on the selection screen.

You can simulate how the external data file is to be filled using the test program RWMBONF1. This program creates all the external data for an existing rebate arrangement in the SAP System that is necessary for correct data transfer. You will find the sub-programs in the SIMULATION routine.

In addition to the mandatory data, further data is automatically supplied by the system.

All data required for updating and for condition determination is checked for consistency. The checks are carried out via function modules. The fields to be checked are defined via a check structure. If special previously unchecked fields are to be checked, please create a new function module with the name MM_ARRANG_EXTERNAL_CHECK_.... using the modules in the function group WNF0 as a template. Create an appropriate function group within the customer name range. Replace the last dots with the name of the field you wish to check. If you insert new fields, these should lie within the customer name range. Then add this field to the structure MCKONACUSR. The system then carries out the field check automatically in accordance with the fields of the communication structure in the program for external data transfer.

All list displays and the standard analysis are also possible for external data transfer. The only exception to this is the detailed statement, since there is no link between the external data and the original documents.