2007 Apr 19 7:42 AM
Hi,
I have a selection screen which was (Object Oriented program ) defined through Function Group and calling via Function Module. when the transaction Starts with selection Screen and we have few buttons on the selection screen, when we enter data and we need to press F9 we are validating the data and we need to give an error message, i am doing same, but the error message was coming as pop-up, once i click on the pop-up it is getting out of the selection screen. but actual requirement was it has to stay
back on the selection screen.
Is there any way to give the error message as status message instead of
pop-up.
Thanks In Advance.
Regards
Nags
Hi,
I have a selection screen which was (Object Oriented program ) defined through Function Group and calling via Function Module. when the transaction Starts with selection Screen and we have few buttons on the selection screen, when we enter data and we need to press F9 we are validating the data and we need to give an error message, i am doing same, but the error message was coming as pop-up, once i click on the pop-up it is getting out of the selection screen. but actual requirement was it has to stay
back on the selection screen.
Is there any way to give the error message as status message instead of
pop-up.
Thanks In Advance.
Regards
Nags
2007 Apr 19 7:49 AM
GIve an information message exit and write an exit immediately after the statement.
At selection-screen.
if sy-subrc <> 0.
message i001(zz) with 'Error has Occured'.
exit.
endif.
Regards,
Ravi
2007 Apr 19 7:55 AM
Hi Ravi,
As i mentioned it is not an Report program, it is typically an OO Concepts , which i am getting the validation in the middle of the methods.that's what the reason we are getting an error message as pop-up. but actually i need to give it in the same selection screen with a status message.
Regards
Nags
2007 Apr 19 7:49 AM
Is it a custom or standard error message, if standard then check wether the message type is I or E.
If it is I change it to E.
Regards,
Amit
Reward all helpful replies.
2007 Apr 19 7:57 AM
Hi Amit,
it is custom message, based on validation we are defining the error message.
regards
Nags
2007 Apr 19 7:50 AM
Hi,
We have an option to set this, the last button of the menu(button will be in multiple colors) , press that and select the settings, a pop up will open, there in one of the tab, you can select the option to display the mesage in the status bar
Regards
Sudheer
2007 Apr 19 7:59 AM
Sudheeer,
we can not define it with the menu control, i can understand what you are saying, but it is still unchecked ( Error message a dialog ).
Regards
Nags
2007 Apr 19 7:51 AM
hi,
Try
message S008(MSG) 'Your maessage content'. .
MSG is message class.
Rewards point if helpful.
Regards
Santosh.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |