Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Module

Former Member
0 Likes
358

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

1 REPLY 1
Read only

vinod_vemuru2
Active Contributor
0 Likes
262

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.