Use
Technical context objects enable you to access message header fields:
· Sender and receiver information for all imported RFC and IDoc interfaces
· Information about the send step of an integration process that is assigned an abstract message interface
Features
Technical Context Objects for Interfaces in the Integration Repository
Repository Object Type | Context Object | Set By | |
Namespace | Name | ||
RFC request | urn:sap-com:document:sap:rfc:functions | Destination | RFC Adapter |
IDoc | urn:sap-com:document:sap:idoc:messages | SNDPRN | IDoc Adapter |
SNDPRT | |||
SNDPFC | |||
RCVPRN | |||
RCVPRT | |||
RCVPFC | |||
MESTYP | |||
MESCOD | |||
MESFCT | |||
Request message of abstract message interfaces | http://sap.com/xi/XI/System
| ProcessStep
| Business Process Engine |
Technical Context Objects for Message Header Fields
The following technical context objects all have the same namespace http://sap.com/xi/XI/System.
Technical Context Objects for Message Header Fields
Path in Header | Context Object Name (ABAP Name) | Meaning |
Main/MessageClass | MessageClass | Classification of message. Possible values: · ApplicationMessage: · ApplicationResponse: · SystemAck, ApplicationAck, SystemError, ApplicationError: |
Main/@versionMajor | VersionMajor | XI message protocol version. Example: For the XI 3.0 message protocol VERSION_MAJOR = 3 and VERSION_MINOR = 0. |
Main/@versionMinor | VersionMinor | |
Main/ProcessingMode | ProcessingMode | The mode of a message can be synchronous or asynchronous. Correspondingly, these constants can have the value synchronous or asynchronous. |
Main/MessageId | MessageId | The message ID. It can change during communication: Response messages get a new message ID. If new messages result from a message (the message is copied at multiple receivers), the new messages get new message IDs. |
Main/RefToMessageId | RefToMessageId | The ID of a referenced message that belongs semantically to this message. For example, a response message uses this field to note which request message it belongs to. |
Main/ConversationId | ConversationId | This field is not mandatory in the message. It enables an ID to be used to group messages that belong together. This field is not intended to be used for message serialization and has nothing to do with the serialization context (see context object QueueId). |
Main/TimeSent | TimeSent | Time stamp specifying when the message was sent by the sender. The format of the time stamp is as follows: YYYY-MM-DDTHH:MM:SSZ The letter ‘T’ separates the date and the time, which is generally specified in UTC. If it is a local time, the closing ‘Z’ is omitted. |
Main/Interface | Interface | Sender interface name. |
Main/Interface/@namespace | InterfaceNamespace | Sender interface namespace. |
Main/Sender/Party | SenderParty | Communication party that sent the message. |
Main/Sender/Party/@agency | SenderPartyAgency | Issuing agency for the message sender. |
Main/Sender/Party/@scheme | SenderPartyScheme | Identification scheme used by the sender |
Main/Sender/Service | SenderService | Service on the sender side that sent the message. For example, the name of a business system. |
Main/Receiver/Party | ReceiverParty | Communication party to receive the message. |
Main/Receiver/Party/@agency | ReceiverPartyAgency | Issuing agency for the message receiver. |
Main/Receiver/Party/@scheme | ReceiverPartyScheme | Identification scheme used by the receiver. |
Main/Receiver/Service | ReceiverService | Service on the receiver side that receives the message. For example, the name of a business system.
|
ReliableMessaging/QualityOfService | QualityOfService | Specifies the quality of service used to process the message. Possible values are BestEffort, ExactlyOnce, or ExactlyOnceInOrder. |
ReliableMessaging/QueueId | QueueId | Only relevant for QualityOfService=”ExactlyOnceInOrder”. The value in this field corresponds to the serialization context that a sender uses to bundle related asynchronous messages (see also: ABAP runtime, Java proxy runtime). |
You can query most of the message header fields during a mapping. See also: Container Object (message mappings), Java Mapping, XSLT Mapping.
The following message header fields are only relevant for MessageClass=”ApplicationMessage” and ProcessingMode=”asynchronous”(see above). They can have the Boolean value true or false. See also: Acknowledgments.
Technical Context Objects for Message Header Fields for Acknowledgments
Path in Header | Context Object Name (ABAP Name) | Meaning |
ReliableMessaging/@SystemAckRequested | SystemAckRequested | If the value of this field is true, the sender requested a positive system acknowledgment. |
ReliableMessaging/@SystemErrorAckRequested | SystemErrorAckRequested | If the value of this field is true, the sender requested a negative system acknowledgment. |
ReliableMessaging/@ApplicationAckRequested | ApplicationAckRequested | If the value of this field is true, the sender requested a positive application acknowledgment. |
ReliableMessaging/@ApplicationErrorAckRequested | ApplicationErrorAckRequested |
No comments:
Post a Comment