12-19-2006 1:46 PM
Hi,
I had setup a FI validation exit. In the source code of this validation, I raise an error message, if any. For example:
LOOP AT t_messages_return.
MESSAGE ID t_messages_return-id TYPE t_messages_return-type
NUMBER t_messages_return-number
WITH t_messages_return-message_v1
t_messages_return-message_v2
t_messages_return-message_v3
t_messages_return-message_v4.
ENDLOOP.
The validation is working fine, and it's not allowing user to continue document posts while error exists. The problem is that between my custom message error display and system come back to input screen, there's a popup raised by standard code:
"Correct the error reported before on the next screen".
User doesn't want this message being displayed, since it's an Information Message (like i000). Is there any way to disable this message ? It's raised by standard code just after my custom message code...
Thanks
Rodrigo
12-19-2006 4:16 PM
Hi Andreas, thanks for your reply. But making the messages type S, altough really avoids the information message to appear, allows user to move to next screen without correcting what's causing the error. Unfortunatly I need to keep user on the current screen as error message does, but without displaying the standard information message.
12-19-2006 2:41 PM
12-19-2006 4:16 PM
Hi Andreas, thanks for your reply. But making the messages type S, altough really avoids the information message to appear, allows user to move to next screen without correcting what's causing the error. Unfortunatly I need to keep user on the current screen as error message does, but without displaying the standard information message.
12-19-2006 7:54 PM
Is the user exit used in defining validation step in Tx:GGB0?
It's not good practice to issue error message in validation user exits, because document postig transactions are used in BDC sessions by SAP standard FI programs.
Instead of raising error in user exit, set B_RESULT = B_FALSE and issue generic message in message part of validation.
Check the validation definition in GGB0, message you are gettinin might be defined in the validation, removing it might not show the message.
Regards
Sridhar