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

Add Variant to Message

Former Member
0 Likes
531

Hi,

Is that possible to add a variant to a message?

For example, an information message has to be pop up when can not find a Report ID, is that possible to add the exactly Report ID number in the message? Like : "Report ID 001 is not exist.", and the number of Report ID is a variant that depend on the running of the program.

Thanks a lot.

Best Regards,

Stephanie.HE

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
496

hiii

Variant is only a select-option values..or parameter values

so you can give an error message by using

MESSAGE i010 WITH wa_matnr 'Does' 'Not' 'Exist'

regards

twinkal

Hi,

Is that possible to add a variant to a message?

For example, an information message has to be pop up when can not find a Report ID, is that possible to add the exactly Report ID number in the message? Like : "Report ID 001 is not exist.", and the number of Report ID is a variant that depend on the running of the program.

Thanks a lot.

Best Regards,

Stephanie.HE

2 REPLIES 2
Read only

Former Member
0 Likes
496

Hi,

yes you can,

CONCATENATE 'Delivery Qty' i_lfimg 'is more than Order Qty' i_orqty1 'in item no' I_LIPS-POSNR INTO V_TEXT separated by SPACE.

MESSAGE V_TEXT TYPE 'A'.

Rgds,

Paras

Read only

Former Member
0 Likes
497

hiii

Variant is only a select-option values..or parameter values

so you can give an error message by using

MESSAGE i010 WITH wa_matnr 'Does' 'Not' 'Exist'

regards

twinkal