05-10-2011 7:14 AM
In the modulepool , after some validation error message is displaying, But while doubleclick/ enter on screen it is going out of transaction to sap initial screen
please let me know if any one can help me in this regard.
Thanks in Advance
05-10-2011 7:22 AM
Check if the function type is assigned as 'E' - Exit command for those actions / function codes. In such case the validations will be bypassed.
If not, the message should re-appear even after hitting enter button.
Regards,
Shyam
05-10-2011 7:22 AM
Check if the function type is assigned as 'E' - Exit command for those actions / function codes. In such case the validations will be bypassed.
If not, the message should re-appear even after hitting enter button.
Regards,
Shyam
05-10-2011 7:22 AM
Hi,
Check the position at which the error message is triggered. Might be you can try calling the status message as error.
MESSAGE s899(v1) DISPLAY LIKE 'E'
WITH msg1
msg2
msg3
msg4.
Regards,
Harish
05-10-2011 7:46 AM
The system behavior after the message depends on the message type and on the place where the message is called. For example - the message type W will behave differently in the PAI module and the START-OF-SELECTION block.
So, in you case it may be the problem with message behavior in the given context.
The details about the messages behavior in various contexts:
[http://help.sap.com/saphelp_46c/helpdata/en/9f/dbaae335c111d1829f0000e829fbfe/content.htm]
05-10-2011 7:59 AM
Hi,
Execute the program using '/h' in debugging mode, then in the debugging mode goto menu Breakpoints->Breakpoint at->Breakpoint at Statement->enter 'message' and press 'Enter'. Now Breakpoint will be set at all messages. Press 'F8' and reach the place where the error message is triggering and do the analysis
Regards
Dande
05-10-2011 8:07 AM
thanks all for your quick responce ....
@ Harish/Sham : probelm is the error message is called from standerd Function module
@Dande : Even though i am trying in debugger mode it is comming out.