Assigning Basic Types to Message Types

The business background is established by assigning the IDoc type to one (or more) messages(s). For example, the “logical message type” ORDERS is usually used for the purchase order in outbound processing and for the order in inbound processing.

Since an IDoc type can be assigned to several logical message types and vice versa, you should only create a new message if none of the existing messages adequately describes your new business process.

Procedure

Creating a new message type (“logical message”) (optional)

...

       1.      Choose SAP Menu ® Tools ® IDoc Interface/ALE ® Development ® IDoc ® Generate ALE Interface ® Logical Messages (WE81). Select and then New Entries.

       2.      Enter the new message type with a short description and save your entries. When saving the message, place this development object in your change request for your basic type definition.

Assigning basic types to message types (required)

 

       1.      Choose SAP Menu ® Tools ® IDoc Interface/ALE ® Development ® IDoc ® Generate ALE Interface ® Message IDoc Type (WE82).

       2.      Select and then New Entries.

       3.      Enter your message type and the basic type in the corresponding columns. Enter the SAP release. Use your change request for the basic type definition again when you save the data.

You can also define these assignments from the Environment menu in the IDoc type editor.

Result

You have now assigned a logical message, and therefore a business significance, to the IDoc type. The functional significance is implemented in the processing using a function module or using a workflow.

Make the following entries for the example:

Message type (logical message)

TESTER

Basic type

TESTER01