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: 

concatenate message

Former Member
0 Kudos

Hi All,

In my input screen I have two fields time1 and time2 where the condition is time1 should always be less than time2. if I enter 50 and 30 then I need to display message in status bar as "50 greater than 30".  I need to display the values in the message. How to capture the values into message? Do I need to use concatenate statement? Please help.

Thanks,

Venkata.

Moderator message: very basic, please search for information before posting.

Message was edited by: Thomas Zloch

1 REPLY 1

Former Member
0 Kudos

Hi Venkata B,

                      You can do some R&D and can post questions. Anyway I will give the answer below.

IF time1 > time2.

     CONCATENATE time1 'is greater than' time2 INTO lv_message SEPARATED BY SPACE.

     MESSAGE lv_message TYPE 'E'.

ENDIF.

                         Hope this will help you.

Cheers,

Dineshwar Singh Eswar.