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

How can to access to Context Objects fields like MessageId in BPM?

Hi!

I've read topic "Alerts in BPM - using variables is not working" (root thread posted on: Sep 14, 2005 4:54 AM, by user: Dirk Meinhard)

It is very good solution if we use own fields defined in our XSD-schema. However, how can to access to Context Objects fields like MessageId?

I've tried to apply your examples in the topic "Alerts in BPM - using variables is not working" for retrieving MessageId for alert notification, but BPM did not fill my variable.

May be anybody know how to get access to Context Object in BPM? I think that this problem can be resolved out of standard way (probably with user-defined function in program mapping) but it is last chance.

Best regards.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 12:06 PM

    Hi Maxim,

    OK here goes it is quite easy. You do not need to do anything in BPM.

    In transaction ALRTCATDEF, you will have defined your alert category already. Edit this category.

    Goto to the Container tab

    Click on the create icon to add an expression.

    In the pop-up add the element SXMS_MSG_GUID with a name XI_MESSAGE_ID. The radio button for ABAP Data Dictionary type should be selected and the type name is SXMSMGUIDC.

    Accept this by clicking the green tick.

    On the properties tab of the alert category you should also make sure the checkbox dynamic text is unticked otherwise the alert will be expected to be filled by BPM.

    We are using this in certain cases and it works ok.

    If you wish to add other standard ones, the list is avaiable in the help under Alert Management for XI.

    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

    Please award the points if this helps.

    Cheers

    Colin.

    Message was edited by: Colin Bickell

    Message was edited by: Colin Bickell

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2005 at 12:12 PM

    Have you checked Michal's Blog ?

    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm

    regards

    Shravan

    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.