Application Development 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: 

Display message with runtime value

Former Member
0 Kudos

Hello Friends

How can I display message with runtime value ?

message e001 with 'Minimum Delivery Quantity is &lv_qty&' .

This &lv_qty& is caluculated at runtime.

Regards,

1 ACCEPTED SOLUTION

Former Member
0 Kudos
message e001 with 'Minimum Delivery Quantity is'  lv_qty .

This will display the value.

Check the message 001 in the message class contains minimum two & &.

5 REPLIES 5

0 Kudos

HI,

Yes you can do that you need to provide place holder for your runtime values. So in the message class when you define message you need to provide place holder usig the &1 &2 etc.

Example.

001 This &1 is invalid.

Then call

DATA: param1 type string.

MESSAGE E001(MSG) WITH parm1.

Regards,

Sesh

Former Member
0 Kudos

Hi,

You need to create the Message 'Minimum Delivery Quantity is &.

And in the Report,

message E001 with LV_QTY.

Regards

Sudheer

Former Member
0 Kudos

swati,

just write...

message e001 with 'Minimum Delivery Quantity is ' with lv_qty.

pls check the message no(001), whether it holds minimum of one &.

here & is the place holder.

regds,

kiran

Former Member
0 Kudos
message e001 with 'Minimum Delivery Quantity is'  lv_qty .

This will display the value.

Check the message 001 in the message class contains minimum two & &.

Former Member
0 Kudos

Selvi

It worked

Thanks