2010 Mar 04 10:50 AM
Hi All,
I have created a screen enhancement for payment document WZR1.its in additional data tab under header details.
Here i should populate a error message when user save the payment document without entering values to custom screen fields.It works fine with Function exit LWZRE017 . It populated the msg and the screen is disabled but after when i press enter button the document is saved and created.
please let me know how to stop saving the document without entering values in custom fields.
Thanks,
Arun kumaran.
Edited by: Arun Kumaran on Mar 4, 2010 12:09 PM
Edited by: Arun Kumaran on Mar 4, 2010 3:26 PM
Edited by: Arun Kumaran on Mar 4, 2010 3:43 PM
Hi All,
I have created a screen enhancement for payment document WZR1.its in additional data tab under header details.
Here i should populate a error message when user save the payment document without entering values to custom screen fields.It works fine with Function exit LWZRE017 . It populated the msg and the screen is disabled but after when i press enter button the document is saved and created.
please let me know how to stop saving the document without entering values in custom fields.
Thanks,
Arun kumaran.
Edited by: Arun Kumaran on Mar 4, 2010 12:09 PM
Edited by: Arun Kumaran on Mar 4, 2010 3:26 PM
Edited by: Arun Kumaran on Mar 4, 2010 3:43 PM
2010 Mar 04 2:55 PM
Raise an ERROR MESSAGE / WARNING message first.
After that SET SCREEN TO SY-DYNNR. LEAVE SCREEN.
In this way we can avoid saving the doc. when error occurs.
2010 Mar 05 11:11 AM
I found the fcode when enter is 'ENT1' it is from standard screen program.
I populated the same message when UCOMM = 'ENT1' still not working.
ARUN KUMARAN.
Edited by: Arun Kumaran on Mar 5, 2010 1:36 PM
Edited by: Arun Kumaran on Mar 5, 2010 2:11 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |