cancel
Showing results for 
Search instead for 
Did you mean: 

Entire Payload in Alert

Former Member
0 Kudos

Hi Experts,

I have a requirement where i want the entire message payload in the alert when the message fails due to structural incompatibilities, I have got dynamic fields based on Michal blog, but i was keen to find out if its possible to send the entire payload .

Regards,

RK

Edited by: Rupash Krishna on Mar 23, 2009 12:26 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi please go throug the below link..

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

here he is using the UDF to send the alert..

here u need to create ur won container variable and map the payload to this container veriable ..

and in alert category use this container variable in long text.....

alert from payload is very much possible....

regards, navneet

Former Member
0 Kudos

Hi Summit,

I had one doubt, The container variable that i create in BPM can be linked to only field in editor right?..

I wanted the entire message

Former Member
0 Kudos

hi rupesh...

using BPM i think u wont be able to send entire payload as alert...

for this please try it woth UDF , here u able to create a string with entire playload that can ne mapped with value parameter ....

if u r using BPM can u try to appand the diff field value in one container and than use that container in long text.. i am not sure that it ll work or not..

regards,

navneet

Former Member
0 Kudos

Hi Joel,

The dynamic fields from michal blog make BM rudimentary, I am using bpm..just stck at how i can get the entire message in the exception block..ne suggestions?

Regards,

RK

Former Member
0 Kudos

hi rupesh,

i think u can use the rfc RFC SALERT_CREATE to do so...

this FM having the following parameter,,,

IP_CAT:- give ur alert category name

ELEMENT u2013 name of the container variable.

ELEMLENGTH u2013 Length of the Element

TYPE u2013 Type of the Container variable

VALUEu2013 Value to be passed.

here in value element please try to pass ur entire payload...

regards, navneet.....

JoelTrinidade
Active Contributor
0 Kudos

Hi,

when trying to trigger alerts without a BPM , the only data that can be passed dynamically are those that are available in this link,

http://help.sap.com/saphelp_nw04/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm

Unfortunately, data from the payload cannot be used in alerts without BPM.

Regards

joel