
External Data Transfer Of Master Data For Internal Orders, With Transaction
Use
Instead of using batch input, you can transfer internal orders automatically from external systems to the SAP R/3 System. The system enters data from the external files into the data fields of the SAP-R/3 internal orders.
The easier way of transferring external data from master data is to use a BAPI.
For more information on external data transfer of master data for internal orders using a BAPI, see

To transfer actual data from internal orders, use the following transactions:
Prerequisites
You are in the KO09 transaction: Sender structure maintenance for orders: Master data
Features
The system enters data from the external files into the data fields of the SAP-R/3 internal orders that you wish to create. The procedure for is the same as for creating orders from the application.
To transfer data, you can use the receiver structure OREXT (external order) in the SAP R/3 System. This receiver structure (for transferring data from the external system) consists of the fields in the order master data, and up to three distribution rules. A corresponding sender structure must exist in the external system. All the orders that you want to create in the SAP System must exist in an external file in the format of the sender structure. The external file must contain exactly one complete sender structure for each order (including up to three
See also:
Example of a Completed Sender StructureOrder Settlement
The KONTY_n field determines the settlement receiver (n=1,2,3). You can settle to the following receivers if you fill KONTY_n as follows:
Settlement Receivers
Receiver |
KONTY_n |
Conversion Exit |
Asset |
AN |
ALPHA |
Cost center |
KS |
|
Cost object |
HP |
ALPHA |
Networks |
NP |
ALPHA |
Order |
OR |
ALPHA |
Sales order |
VB |
ALPHA |
Project/WBS element |
PR |
KONPR |
G/L account |
SK |
ALPHA |
If you want to use fewer than three distribution rules, leave the KONTY_n fields blank that you do not need.
The (BUKRS) field in the distribution rule is needed for future releases, and is currently not included. Therefore you need to leave it blank.
The SCOPE field (object class) is two characters long in the OREXT. Entries there are not language dependent, for example, OC for overhead costs. For the purposes of the screen display, the system determines the language-dependent field contents from the domain table for the SCOPE data element. The system uses five-characters, for example, GKOST for overhead costs.
For order types whose old order status management is active, you can use the ASTNR field to set the initial status. Otherwise, the system uses the default status.
The same consistency checks are made for the automatic creation of internal orders when you create or maintain internal orders in SAP R/3 transactions. This means you must fill the same fields. The field names in the sender structure must be the same as the screen field names.

Name on the screen: |
Plant |
Screen field name: |
WERKS |
Field name in sender structure: |
WERKS |
You can display used field names on a screen by positioning the cursor on that field, then choosing F1 and Technical information. In the data element field, you can see the technical name of the corresponding field.
Maintaining Order Types and Dependent Objects
Many of the attributes of the order to be created are derived from the order type (for example, whether revenue postings are allowed or not). You need to specify the order type in the appropriate field in the sender structure. The data you transfer using the sender structure must fit the definitions of the corresponding order type in the SAP R/3 system.
If you require a
settlement rule, you need to enter a settlement profile in the order type. If you want to transfer a source assignment, you must maintain the source structure.The R/3 System must be able to recognize all the organizational units, settlement receivers, and so on. If you want to settle one of the orders you want to create to a different order, you cannot create this in the same run as the order you want to settle. It must already exist in the system.

In contrast to the creation of orders in the application, you cannot use
Activities
If the sender and receiver structures are the same, proceed as follows:
Defining The Sender Structure
Processing Transfer Rules
If the sender and receiver structures are not the same, see the implementation guide (IMG) for information on settings that you can make, under Enterprise Controlling ® Executive Information System and Business Planning ® Data Transfer.
Example For A Data Transfer
The RKOFILET report is available as an example of data transfer from an external system. You can use this report to create sender records on the hard drive of your presentation server for testing purposes.
Proceed as follows:
Activities
Transferring Old and External DataYou can also:
For more information on data transfer, see the SAP Library, under Financials ® Enterprise Controlling ® Executive Information System and Business Planning ® Data Collection ®
Data Transfer Methods.