11-01-2007 12:03 PM
Hi All,
I'd the requirement of giving a warning message for transaction VA01 if user enters some specific order type.
So I'd created a field exit for AUART for this screen. But i am able to give error message only and found out that warning & info messages can't be given in a field exit.
Please help me out. Is there any way I can give a warning message in field exit or suggest some other sol. for it.
Thanks,
Manu
11-01-2007 1:22 PM
You can't use the warning message in the field exit.
So, I would suggest you to use the one of the available user exists. You can find them in the MV45AFZZ. According to your field you can use one of the USEREXIT_MOVE_FIELD_TO* performs.
Like: if you want to trigger the message for the field on the item screen (VBAP), you can use the USEREXIT_MOVE_FIELD_TO_VBAP.
Regards,
Naimesh Patel
11-01-2007 4:02 PM
Hi,
You can not give warning messages in the field exits. But rather you can try using some function module popup_to_confirm or some other popup function module to give the message.
Reward if it is useful.
Thanks,
Srinivas
11-02-2007 7:48 AM
Hi,
Thanks f or your answers, but the issue is that i need to give this message as User enters the details on VA01 screen & presses enters.SO i can't use user exit like move_field_to_Vbak & others.
Also, using a FM to give pop up message will ultimately make use of statement CALL SCREEN which is not allowed in field exit, i also tried FMs which displays messages normally means not in pop up screen, but again through it also i can only give error messages.
Please suggets if there is any other option.
Thanks,
Manu Parihar