cancel
Showing results for 
Search instead for 
Did you mean: 

Error messages on Web Dynpro ABAP

Former Member
0 Kudos

Hi all!!

I have created a Web Dynpro ABAP which consumes 2 Web Services from XI through Proxy classes.

When a method of a Proxy class from a WS gives an exception, an error screen is automatically displayed, How could I handle this exception and personalize the error message??

Thanks and regards,

Manuel Míguez.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

here's the documentation on <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/05a5421935c511e10000000a1550b0/frameset.htm">error pages</a>

For information on messages, see

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d8/2a934259a5cb6ae10000000a155106/frameset.htm">here</a>

Regards, Heidi

Former Member
0 Kudos

Hi Heidi,

Your response has been very useful to me, but I still have a doubt,

Is possible to display a error message when an exception of a Web Service is raised? I think is not possible, I must configure another error page, isn´t it?

Thanks and regards,

Manuel.

Former Member
0 Kudos

Hi Manuel,

now I'm confused. Either you want to have an error page (via sicf) or an error message (via the message handling and try catch phrases).

Regards, Heidi

Former Member
0 Kudos

Hi Heidi,

Sorry for the confussion,

I have not clear what I want to do , but I think I prefer to display an error message for each exception occured on the process.

I hope this clarify you.

Thanks and regards,

Manuel.

Former Member
0 Kudos

Hi,

in that case, see my previous link on messages and the examples in the system in components WDR_TEST_MSG_AREA and WDR_TEST_INPUT.

Regards, Heidi

Former Member
0 Kudos

Hey Heidi,

Your replies are really helpful man.

Thanks for answering my unasked query.

Regards

<i><b>Raja Sekhar</b></i>

Answers (1)

Answers (1)

baskaran00
Active Participant
0 Kudos

Hi Experts,

My requirement is to use custom error messages.

1.How can I define custom error messages?

2.How can I use it in the program.

Sample Code will b useful

Experts suggestion pls.

Answers will b rewarded.

Thanks,

Router