cancel
Showing results for 
Search instead for 
Did you mean: 

customizing the message

Former Member
0 Kudos

Hi ,

I am using the following code :

com.sap.tc.webdynpro.services.sal.um.api.WDClientUser.forceLogoffClientUser(null);

i have written the code in onaction method of a buttton,once if i click on the method it is giving the following message :

Web Dynpro application terminated. Good bye!

i want to customise the meaasge like " your session is closed".

how can i do that.pls suggest .

Regards,

Pavani

Accepted Solutions (0)

Answers (2)

Answers (2)

monalisa_biswal
Contributor
0 Kudos

hi,

Create your own custom logoff html page.

Modify the runtime parameter logoffURL to fetch custom page.

Please go through following link for more information.

[Configure Web Dynpro Runtime Environment|http://help.sap.com/saphelp_nw04/helpdata/en/7d/fdc99ab37a8d42892e0d39bbd23be8/frameset.htm]

Former Member
0 Kudos

Hi ,

i ahve created my own .html page to place it in the visual admin.what will will be the path of the html page.do i need to keep that html page in my application under src->mimes->mycomponents->html page?

pls let me know the correct path where can keep the html page and upload it to the visual admin in place of standrad sap log off url page.

Regards,

Pavani

susmita_panigrahi
Active Participant
0 Kudos

Hi

If you don't want to show the default message, you can pass some URL in the ForceLogoffClientUser instead of mentioning null.

Refer the below link

1.http://help.sap.com/saphelp_nw70/helpdata/en/65/18fc3f9ec4e669e10000000a155106/frameset.htm

2.http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID0457434450DB10052685841602510466End?blog=/pub/wlg/7065

3.http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID0457434450DB10052685841602510466End?blog=/pub/wlg/3630

Thanks

Susmita