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

How to read xi header like namespace, message type from java mapping ?

Hi,

I would like to read xi header from java mapping, such as namespace, message type etc,

Please advise

Thank You and best regards

Fernand

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 03:53 AM

    Hi Fernand,

    you can use the Runtime Constants to read the fields of Message Header.

    For JavaMapping you need to implement the method setParameter to access the runtime constants.

    Check this example :

    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm

    regards

    Ganga

    Add a comment
    10|10000 characters needed characters exceeded

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.