Prerequisites
You must have completed the required steps for inbound processing in:
Procedure
·
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.
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 |