cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to pull dynamic variable from XML SOAP Header?

susan_pfab
Participant
0 Kudos

I'm inside a BAPI called when an alert is triggered in PI. I'm trying to pull the Dynamic Configuration variables from the XML SOAP Header into the BAPI in order to use the values. I have the Message ID of the message. How can I obtain these variables from the SOAP Header?

Accepted Solutions (0)

Answers (3)

Answers (3)

susan_pfab
Participant
0 Kudos

Use FM SXMB_READ_MESSAGE_VERSION_RAW.

susan_pfab
Participant
0 Kudos

Sorry, I should be more specific. I meant BADI, not BAPI. We are using the alert framework in PI. When an alert is triggered, a BADI is called. Within that BADI code, I need to pull in the dynamic configuration variables from the message. I have the message ID, but that is all I have. How do I get these variables (with values) from the message ID through the ABAP code.

Former Member
0 Kudos

May be you could access the values in a UDF having a graphical mapping and then pass it to the BAPI

http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/frameset.htm

check the code written at the end at this link