Test: Inbound Processing: Modified Outbound File 

Use

This program converts an outbound file with IDocs to a correct inbound file and sends the new file for inbound processing. The outbound file is not modified and can therefore be used more than once. The port type here must be set to "File".

Prerequisites

You need a correct outbound file, for example, a file which is generated by the test tool or via standard outbound processing. In this case, a port of the type "File" must be specified in the partner profile for the IDoc interface, so that the IDoc(s) can be written to a file.

The sender port must be recognized by the receiving system. The port must therefore be maintained as a port of type "File" in the port definition for the IDoc interface. The entry for the inbound file must also be given here.

Features

The program imports sender and recipient data as input parameters from the user. The program reads the IDoc file and changes the corresponding entries in the IDoc control record. The changed data is written to a second IDoc file at the operating system level.

Standard inbound processing is then triggered;

Activities

Set the test program from the initial node of the IDoc interface by selecting Test ® Inb. mod. outb. file.

Set the sender and recipient data, as well as the outbound file and the inbound file to be generated (path and name). Your entries for the inbound file overwrite the default values which you have stored in IDoc administration .

The recipient in this case is the R/3 System. The port is used for identification purposes.

The default values for the partner are: