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

regarding messages

Former Member
0 Likes
542

Hi,

I have used the function module AQ_INT_SHOW_MESSAGE_AS_POPUP as follows:

CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'

EXPORTING

POPUP_POS_X = 1

POPUP_POS_Y = 1

MESSAGE_CLASS = 'ZF'

MESSAGE_NUMBER = '000' "&&&&

MESSAGE_TYPE = 'W'

MESSAGE_VAR1 = 'Line Item Interval Not in '

MESSAGE_VAR2 = 'Sequence-Create New PO'

EXCEPTIONS

INTERNAL_ERROR = 1

MESSAGE_DOES_NOT_EXIST = 2

OTHERS = 3

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

I want to display dynamically the EBELN field from the table EKKO along with the warning message. Can you all please help me how to implement this.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
457

When UR passing value to MESSAGE_VAR2 in the FM ..

pass a variable ...concatenating 'Sequence-Create New PO'

and EBELN field from the table EKKO

concatenate 'Sequence-Create New PO' ekko-ebeln into v_var2.

now pass this var2 to the FM ..

Hi,

I have used the function module AQ_INT_SHOW_MESSAGE_AS_POPUP as follows:

CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'

EXPORTING

POPUP_POS_X = 1

POPUP_POS_Y = 1

MESSAGE_CLASS = 'ZF'

MESSAGE_NUMBER = '000' "&&&&

MESSAGE_TYPE = 'W'

MESSAGE_VAR1 = 'Line Item Interval Not in '

MESSAGE_VAR2 = 'Sequence-Create New PO'

EXCEPTIONS

INTERNAL_ERROR = 1

MESSAGE_DOES_NOT_EXIST = 2

OTHERS = 3

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

I want to display dynamically the EBELN field from the table EKKO along with the warning message. Can you all please help me how to implement this.

1 REPLY 1
Read only

Former Member
0 Likes
458

When UR passing value to MESSAGE_VAR2 in the FM ..

pass a variable ...concatenating 'Sequence-Create New PO'

and EBELN field from the table EKKO

concatenate 'Sequence-Create New PO' ekko-ebeln into v_var2.

now pass this var2 to the FM ..