Skip to Content
author's profile photo Former Member
Former Member

Custom Operations in SAP XI

Hi,

is it possible to create our custom defined operations to operate on the received messages ?

For example, consider this scenario:

- For all messages received into SAP XI, I want to log the Message Interface name and Sender Service name in a database table.

Can someone suggest some creative ideas how this could be accomplished in XI ? Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 11, 2005 at 02:39 PM

    Hi,

    Its possible to retrieve all the following values:

    CONVERSATION_ID

    DIRECTION

    DIRECTION_FAULT

    DIRECTION_REQUEST

    DIRECTION_RESPONSE

    INTERFACE

    INTERFACE_NAMESPACE

    MAPPING_TRACE

    MESSAGE_CLASS

    MESSAGE_ID

    PROCESSING_MODE

    RECEIVER_NAME

    RECEIVER_NAMESPACE

    RECEIVER_PARTY

    RECEIVER_PARTY_AGENCY

    RECEIVER_PARTY_SCHEME

    RECEIVER_SERVICE

    RECEIVER_SYSTEM

    REF_TO_MESSAGE_ID

    SENDER_NAME

    SENDER_NAMESPACE

    SENDER_SERVICE

    SENDER_SYSTEM

    TIME_SENT

    VERSION_MAJOR

    VERSION_MINOR

    using the following packages:

    import com.sap.aii.mapping.api.StreamTransformation;

    import com.sap.aii.mapping.api.StreamTransformationConstants;

    import com.sap.aii.mapping.api.StreamTransformationException;

    You can write a Java mapping to retrieve and utilize these values.

    Regards,

    Sridhar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Consider the scenario where you want to Log the following:

      - sender of the message

      - message interface name

      - timestamp

      This has to be done for every message received into XI.

      The intent is to conduct "certain processing" on every message received into the system.

      How can we do such a processing on every received message into XI ?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.