Show TOC

Testing Inbound ProcessingLocate this document in the navigation structure

Use

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

Activities
  1. For testing, use the inbound test tool as this allows you to edit IDocs of the relevant type 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.

    Note

    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.

    Note

    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.

    Example

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

    Receiver:

    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

    Enhancement

    Z1ORDERS

    Message type

    ORDERS

    If you have defined the new basic type TESTER01:

    IDoc type

    TESTER01

    Message type

    TESTER