cancel
Showing results for 
Search instead for 
Did you mean: 

Catch Back Button event from ECC in WD Application

former_member197475
Active Contributor
0 Kudos

Hi Experts,

I have created a WD Application and assigned it to a T-Code.

As you all aware that, we have a back button in ECC. Now I prefers that, if the user selects back button, I need to confirm with a Pop Up message in the same screen.

But I wonder like how I can get the ECC event within my Web Dynpro application.

Is it possible? Please highlights your valuable ideas.

With Regards,

Ramakrishnan M.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ramakrishnan,

yes it is possible to handle it .

In webdynpro the WDDOEXIT  method of Component contrioller gets executed when you click on back button in SAP GUI.

You can add what ever code you want in that place.

Thanks

Phani

former_member197475
Active Contributor
0 Kudos

Hi Phani,

Thanks for your reply.

Yes, you are exactly right. WDDOEXIT method is called on pressing back button

The problem is, am trying to create a POPUP message, but it is not triggering. Any suggestion??

BR,

RAM.

former_member197475
Active Contributor
0 Kudos

Phani,

One more thing. I just tried for debugging, the code stops once it gets the window reference in WDDOEXIT method.

BR,

RAM.

former_member197475
Active Contributor
0 Kudos

Hi Experts,

Any ideas please.

With Regards,

Ram.