Show TOC

Queue Name RulesLocate this document in the navigation structure

Use

If you want to ensure that IDocs sent are posted in the same sequence in the recipient system as they were sent, you can specify that a particular message type is sent, with qRFC (queued RFC), in the partner profile (transaction WE 20). When you send by qRFC, die IDocs are first put in an outbound queue in the sending system, and then in an inbound queue in the recipient system. You can assign IDocs to various queues and specify queue name rules.

Prerequisites

You have a function module which creates queue names.

Process

To define a queue name rule:

  1. Choose Start of the navigation path Tools Next navigation step ALE Next navigation step ALE Administration Next navigation step Services Next navigation step Serialization Next navigation step Sequence with qRFC Next navigation step Define Rules for qRFC End of the navigation path (transaction WE85).

  2. Switch to change mode ( Display -> Change pushbutton).

  3. Choose New Entries.

  4. Specify a name and the associated function module for each rule.

  5. Save your entries.

Example
Example

The function modules IDOC_QUEUE_CONST_EDIQUEUE and IDOC_QUEUE_NAME_MESTYP, which are delivered by SAP with the transaction WE85, are simplified examples of queue names:

  • IDOC_QUEUE_CONST_EDIQUEUE is a specified queue name constant.

  • IDOC_QUEUE_NAME_MESTYP creates the queue names from part of the logical message type name.

This examples have been kept simple deliberately and can be used as a template for creating your own function modules.