2009 Aug 19 6:20 AM
Dear expert,
Our requirment is that:
We want to display a modal dialog screen for user input some other detail data when click 'Post' in MIRO, and update these data to a an add-on table. There will be a 'CHECK' button on the dialog box for checking the data which user input.
We found the customer function EXIT_SAPLMRMP_010 can do the job. we create our dialog screen, and call it in EXIT_SAPLMRMP_010.
We write some code like " MESSAGE 'xx is a required field' type 'E' '' in PAI modoule of dialog screen.
but when the program reach the code 'Message XX', no any error message pop-up, the modal dialog screen automatically closed and back to MIRO screen. the error message can be found when click button 'MESSAGE' on MIRO screen.
it seems that the sytem prevent the error messages raised, and collect them into the "message box" of MIRO screen.
But the we want to display the error message directly in the dialog window or pop-up the message without dialog window close.
is there any one how to do that?
thanks very much
Dear expert,
Our requirment is that:
We want to display a modal dialog screen for user input some other detail data when click 'Post' in MIRO, and update these data to a an add-on table. There will be a 'CHECK' button on the dialog box for checking the data which user input.
We found the customer function EXIT_SAPLMRMP_010 can do the job. we create our dialog screen, and call it in EXIT_SAPLMRMP_010.
We write some code like " MESSAGE 'xx is a required field' type 'E' '' in PAI modoule of dialog screen.
but when the program reach the code 'Message XX', no any error message pop-up, the modal dialog screen automatically closed and back to MIRO screen. the error message can be found when click button 'MESSAGE' on MIRO screen.
it seems that the sytem prevent the error messages raised, and collect them into the "message box" of MIRO screen.
But the we want to display the error message directly in the dialog window or pop-up the message without dialog window close.
is there any one how to do that?
thanks very much
2009 Aug 22 11:09 PM
Hi Vinny ..
Messages of type E dont give a pop-up screen it just describes error on the status bar .
I think in order to solve your problem you need to follow view approach i.e create a window screen ,append it to the view .
A good discussion on the this approah is done on the below link .
Hope this gives you some light on the solution.
Thanks and Regards
Aditi Wason
2009 Aug 23 7:47 AM
Hi Vinny,
Have you defined a PF-STATUS for your dialog screen.
define a PF-STATUS and a message class.
as per the condition display the error message..
Eg MESSAGE E001(ZMSG).
this should give a error message on your dialog screen.
Hope you got this.
Regards,
Ranjith N
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |