2009 Jan 26 5:17 PM
Hi,
I've created a user exit for the transaction fb60 that is triggered when the user clics save. The exit is working just fine but the problem is that because im sending an Error message every field in the screen gets blocked and it does not allowed to correct their values. So you just have to cancel and reenter all the information again.
My question is how to avoid that, is there maybe a way to send just an information message and stoping the transaction so that the document wont be saved?
Regards,
Roberto
2009 Jan 26 6:40 PM
Generally, edits and their error messaging are done in the PAI section.
The system would "unlock" for input any field listed in the CHAIN/ENDCHAIN block.
Not sure if you can do that from your exit or not, but it's the only solution I can think of off hand.
Hi,
I've created a user exit for the transaction fb60 that is triggered when the user clics save. The exit is working just fine but the problem is that because im sending an Error message every field in the screen gets blocked and it does not allowed to correct their values. So you just have to cancel and reenter all the information again.
My question is how to avoid that, is there maybe a way to send just an information message and stoping the transaction so that the document wont be saved?
Regards,
Roberto
2009 Jan 26 6:40 PM
Generally, edits and their error messaging are done in the PAI section.
The system would "unlock" for input any field listed in the CHAIN/ENDCHAIN block.
Not sure if you can do that from your exit or not, but it's the only solution I can think of off hand.
2009 Jan 26 6:48 PM
when I had a similar problem I went for a BADI I used a raise error message exception....
BADI's for ur Tr.
FAGL_AUTHORITY_CHECK
FAGL_PERIOD_CHECK
2009 Jan 26 8:23 PM
Thanks for your answers. I used OB28 and solved the problem
Regards,
Roberto
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |