12-31-2012 7:49 AM
Dear All,
I am stuck due to a very small issue in TMG events.
Using TMG event 01, I need to do some validation and display some error messages.
But these error messages are coming on to the next screen and if I press 'Enter', it navigates back to same screen with data.
Requirement is:
Following is the screenshot of the error message on next screen:
Looking for a solution. Kindly help.
-
Regards
Deepak Batra
12-31-2012 8:22 AM
12-31-2012 8:51 AM
Dear Gagan,
I tried but it's still same except that icon changes.
I have also tried :
-call transaction and skip first screen.
-leave list-processing AND RETURN TO SCREEN 0001.
-return.
But no results.
12-31-2012 8:53 AM
I did something to meet exactly your kind of requirement long back but have to check the code..
meanwhile could you please confirm if u are displaying teh message as
MESSAGE ' Err blah blah' TYPE 'E' DISPLAY LIKE 'S'.
12-31-2012 9:02 AM
Dear Prasenjit,
Ya if u can check your logic, it will be helpful.
I have tried this way, but of no use.
Now am using message class.
11-28-2013 8:26 AM
Hi deepak ,
Did you solved the issue.. Please let Us know ..
Facing the same here
12-11-2013 7:38 AM
Hi Deepak,
I am having the same problem right now. Please tell me the required process to solve this problem.
Regards,
Nooruddin
12-11-2013 9:50 AM
try
message s display like 'e'.
LEAVE LIST-PROCESSING.
For me it worked.
12-11-2013 11:32 AM
Hi Deepak,
Try below given code.
MESSAGE e398(00) WITH 'Error:Number range should not overlap!' DISPLAY LIKE 'S'.
LEAVE TO LIST-PROCESSING.
Regards,
Ramiz.
02-20-2014 4:11 AM
Hi,
I had the same problem but none of the above solution seemed to work for me.
Finally i put the validations in PAI module of the screen.
PROCESS AFTER INPUT.
MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
MODULE LISTE_BEFORE_LOOP.
LOOP AT EXTRACT.
MODULE LISTE_INIT_WORKAREA.
CHAIN.
FIELD ZMPP_WND_BOOTH_V-BOOTHID .
FIELD ZMPP_WND_BOOTH_V-BOOTHSTAT .
FIELD ZMPP_WND_BOOTH_V-BOOTH_DESC .
MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
ENDCHAIN.
FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
"added by me for validations
FIELD ZMPP_WND_BOOTH_V-BOOTHID MODULE check_booth_assignment.
CHAIN.
FIELD ZMPP_WND_BOOTH_V-BOOTHID .
MODULE LISTE_UPDATE_LISTE.
ENDCHAIN.
ENDLOOP.
MODULE LISTE_AFTER_LOOP.
add your validations in the module created by you.
Regards,
Ninad Joshi.
01-05-2015 6:03 AM
01-05-2015 9:18 AM
Hello,
If the Message is triggered before the START-Of-SELECTION event,
Display message of type 'S' but display like 'E'.
Also, set a error flag.
Then, in START-OF-SELECTION,
IF the error flag is set, LEAVE LIST-PROCESSING.