Show TOC

Create Document Info Records via Batch Input

Description

You can use this report to transfer document info records from an external system to your SAP System. The program can create up to eleven language-dependent descriptions, object links, and classification data for each document. Transfer of long texts is also supported.

The program reads the sequential file you enter and processes the data in this file.

The sequential file can be on your SAP application server, the presentation server, or an external application server. If the file is on an external application server, you need to enter the server name. You can display the possible entries and select an application server.

If you set the "create session" report parameter to "X", the program creates one or more batch input sessions, which you can process manually later. If the "create session" report parameter has its initial value, all document info records are created online. In this case, only the document info records where errors occurred when they were created are collected in batch input sessins. You can process these sessions later.

Requirement

Before you can start this report, you must extract the document data you want to transfer from the source system and write it to a sequential file. To do this, you need to write a program in the source system which collects the data in the format required and generates the file.

You must define a logical name for the sequential file in the customizing functions. This logical name is the reference to the physical name. You can maintain the logical name when you start the report, by calling online help (F1) on the Logical file name field.

The sequential file containing the BOM data should have the following format:

The session header contains general administrative data on the batch input session to be created. All other records in the sequential file are allocated to the current session, until the next session header occurs.
The document header record contains data describing the document info record.
You can send record of types 2, 4, and 5 in any order. You can also omit one or all of these record types. Records of type 3 must always be preceded by a record of type Typ 2. Records of type 6 must alwaays be preceded by a record of type 5. All type 3 records are allocated to the previous type 2 record. This means that it is important which type 3 records you put between which type 2 record. The same goes for records of types 5 and 6.

Note

When you create your sequential file, please note the following points:

Procedure

1. Extract the data to be transferred from the source system using the program written for this purpose, and write your data to a sequential file.
2. Start the transfer program in the SAP System.
3. The result log for data transfer shows you which sessions, if any, were created.
4. Process the sessions to transfer the document info records to the system or to process the document info records with errors again.

Output

At the end of the data transfer program, a log is output. This contains a list of all the errors which occurred during processing and a list of the document info records which were transferred successfully. The log also shows you which sessions have been created to be processed again later, if any.

Example

You can use report RCVBI005 to create a test file.