Testing Inbound Processing

Prerequisites

You must have completed the required steps for inbound processing in:

Procedure

  1. You should use the inbound test tool , as IDocs of the relevant type can be edited directly. Select the following as test templates:

    · An outbound IDoc, if you have configured and tested outbound processing for your IDoc type. You must then exchange the sender and recipient entries and enter 2 as the direction in the control record.

    · Your new IDoc type, if you do not yet have any IDocs of the new type (extended or new basic type). In this case, you must also maintain the segment fields with application data.

    In direct ALE inbound processing, you can access the function module directly and in debugging mode from the test tool. This can be very helpful if new developments are involved. In inbound processing via workflow test your processing, for example, in the ABAP Workbench.

  2. Check the current status of the new IDoc using the IDoc Display function. If the application has accepted the document, the current IDoc status is set to 53 ("application document posted"). Otherwise, the current status is 51 ("application document not posted"). You can display the errors which have been written to the status records by the application by clicking on the records.
  3. Check whether the application has written the IDoc data to the correct tables.

If the test tool displays an error message (for example, "IDoc could not or should not be processed"), you can jump from this message to the IDoc display directly.

In the example, you should make the following entries in the control record:

Recipient:

Port SAPC11, partner number C11CLNT < current client >, partner type LS (logical system), leave the partner function blank

Sender:

Port TESTPORT, partner number TESTCUST, partner type KU (customer) , partner function AG (SP)

If you have extended the basic type ORDERS01:

IDoc type

ORDERS01

Extension

Z1ORDERS

Message type

ORDERS

If you have defined the new basic type TESTER01:

IDoc type

TESTER01

Message type

TESTER