cancel
Showing results for 
Search instead for 
Did you mean: 

get AdditionalText from PI

carlos_rodriguez4
Active Participant
0 Kudos

Hi Gurus,

I´m working with abap proxy and I need to get some text from de message that PI returns.

Currently if there is an exception when calling abap proxy (CX_AI_SYSTEM_FAULT) program displays the exception text, however such text is too much general, so I need to display additional information, I have found that the error detail (is from Oracle in this case) comes in tag <SAP:AdditionalText> in the response message.So basically my questions are:

How can I get an specific tag information?

I guess I need first the message ID, how can I get it?

Then how can I get the text of an additional tag?

This is mi first experience with abap proxy so sorry if question is too simple,,, but after researching I did not get much

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi.

I guess I need first the message ID, how can I get it?

_You can use a UDF

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm

http://wiki.sdn.sap.com/wiki/display/Snippets/UDFtoReadMessageIDofaPIMessage

Then how can I get the text of an additional tag?

Why do you want to get this info?