‎2008 Feb 29 12:58 PM
Hi,
I am using one User Exit. That exit will call the function module 'RV_INVOICE_CREATE'. In this FM there is XVBFS table for error message.
In my exit I m doing one validation. So I need to catch the error message into the XVBFS table of FM.
But in that exit the table XVBFS or VBFS is not active.
Is there any Function Module which will populate the error message into VBFS table.....?
Pleease guide me on the same as early as possible.
Thanx..,
Jay
‎2008 Mar 01 2:14 PM
Hi,
I am not sure of populating message into VBFS or XVBFS tables.
But if ur requirement is to display the message while doing the transaction then u can use the FM like below after doing ur validation in the user exit.
CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'
EXPORTING
popup_pos_x = lc_10
popup_pos_y = lc_10
message_class = lc_msgclass
message_number = lc_msgno
message_type = lc_msgtype
message_var1 = lw_msgv1
message_var2 = lw_msgv2
EXCEPTIONS
internal_error = 1
message_does_not_exist = 2
OTHERS = 3.
Give message class, ID, Type as per ur requirement.
message_var1 and message_var2 are optional.
Thanks,
Vinod.