2006 Nov 07 8:08 PM
HI,
by using user exit i validate the values which is entered by enduser.
when user press SAVE button .. user exit triggers and validate the values, if condition fails show a error message in status bar.
the problem is when user press BACK button ... user exit triggers, if condition fails.. a popup error coming instead of in statusbar. in popup only exit button is there... when exit then out of t-code.
can anyone help.. how can we solve this popup problem by back button.
even when user press 'EXIT' button then error comes in status bar.
Regards
Hi, in your user exit, make sure to check the SY-UCOMM value before doing your validations. You will need to find out what the fcodes are for the BACK, EXIT, and CANCEL buttons in the gui status of of the screen.
check sy-ucomm <> 'BACK'.Regards,
Rich Heilman
2006 Nov 07 8:12 PM
2006 Nov 07 9:14 PM
hi,
end user can press back, exit, cancel buttons also... not only save button.
even user press back button i need a error message in status bar only not as popup....
when we press back button somewhere it changes the message type ... and popup coming.
Regards
2006 Nov 07 9:19 PM
2006 Nov 07 9:29 PM
yes, i want this message...
the thing is...
if i press back button (first button) then it showing in popup.
if i press first exit button ( condition fails... error in status bar).. edit values... then i press back button.. error comes in status bar.
dont know where it is triggering the popup option.
Regards
2006 Nov 08 12:04 AM
go into debugging mode (/h) and then do breakpoints-breakpoint at->statement-> and enter 'Message'. This should show you the difference between the two options and maybe help you to code round it.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |