‎2010 Apr 21 7:11 AM
Hi,
I am using the user exit 'EXIT_SAPLF051_002' ( park/simulate and save for FB60 transaction) to display error message (type E) when a supplier has no banking data .
the error message is displayed as required, but all the fields are grey and the user cannot modify the input data in the standard FB60 screen .
How to display a blocking message in this case (user exit) and allow the user to change and correct the input field .
PS: i dont want the types messages 'I' or 'W 'because they are not blocking messages .
Any Help
Many thanks
‎2010 Apr 21 7:29 AM
Hi,
You may display a popup message to the user.
Regards,
Jayesh
‎2010 Apr 21 7:32 AM
Use function module POPUP_DISPLAY_MESSAGE to display the message in a popup.
Regards,
Jayesh
‎2010 Apr 21 7:34 AM
Hi,
You can make use of the below type of code.
MESSAGE < your message> TYPE "S" DISPLAY LIKE "E".
OR
MESSAGE S<message no.> WITH <message text element> DISPLAY LIKE "E".
After the message , please check that particular input field for further process.
Code for the check will be like below.
CHECK <banking data field>.
So make sure to use both the message part and check part.
Hope this may help you.
Regards,
Smart Varghese
‎2010 Apr 21 7:41 AM
‎2010 Apr 21 10:56 AM
thanks for your helps:
I have tested all the solutions you had proposed, but it's still not working.
in fact, with your solutions i can display the error message , the screen is not grey (its ok), but the invoice can be saved or parked (it's not ok), the requirement is to display error message, to block saving or parking and allow the user to change input data.
best regards
‎2010 Apr 21 12:07 PM
Hi,
That is why I pin pointed you to use the CHECK <field name>. ( This will stop the further process unless not initial )
Why because the SUCEES message will proceed the program , So after the message, Check the required field for validation or initiality.
In the first reply I documented the omportance of the use of CHECK after the message. I think you missed out that part.
Please read my first reply fully.
Regards,
Smart Varghese
‎2010 Apr 21 12:27 PM
Hi,
How about using *MICK_MESSAGE_ADD' thsi Functuion module?
Regards,
Pravin