2008 Jul 28 7:18 AM
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
2008 Jul 28 7:29 AM
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
2008 Jul 28 7:28 AM
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
2008 Jul 28 7:29 AM
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