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

Pop up message

Former Member
0 Likes
1,370

Hi,

I want to display one success pop up message.

I have two para meters like User_name and ID.

Both parameters has some value like sam and 100.

Now i want to display the message like :

"Your user_name is : sam and ID is : 100 "

Its possible or not?

Thanks.

Hi,

I want to display one success pop up message.

I have two para meters like User_name and ID.

Both parameters has some value like sam and 100.

Now i want to display the message like :

"Your user_name is : sam and ID is : 100 "

Its possible or not?

Thanks.

9 REPLIES 9
Read only

Former Member
0 Likes
1,341

YOu can do this provided maintain the values in the information text message with & .

Message i001(XX).

In the text elements of message pass the values with & & .

refer this thread

https://www.sdn.sap.com/irj/sdn/profile?userid=2501727

Vijay

Read only

Former Member
0 Likes
1,341

yes ...you can do it with the call screen statement..

CALL SCREEN dynnr

[STARTING AT col1 lin1

[ENDING AT col2 lin2]].

regards,

venkat.

Read only

Former Member
0 Likes
1,341

Hi,

It is possible to give the success message. Create message class in se91 then give the message whatever you want then store it by type as 'S'. and give the same message number in your program.

Thanks

Sarada

Read only

Former Member
0 Likes
1,341

You should be able to use the function POPUP_TO_INFORM. Build your text message and pass it as one of the parms available.

Read only

0 Likes
1,341

Hi,

Thanks for all replies.

But i dont want message id. With out message id and SE91 I need to display the message with two parameters.

Thanks.

Read only

0 Likes
1,341
data str type string.
concatenate 'Your user_name is :'  user_name 'and ID is : '  ID seperated by space.
CALL FUNCTION 'POPUP_TO_INFORM'
           EXPORTING
                titel = 'Test'
                txt2  = space
                txt1  = str.

G@urav.

Read only

1,341

this works


DATA: txtmsg(80),
      wdate(10).

write sy-datum to wdate MM/DD/YYYY.
CONCATENATE 'Your user_name is :' sy-uname 'and today is :' wdate
  INTO txtmsg
  SEPARATED BY space.

CALL FUNCTION 'POPUP_TO_INFORM'
  EXPORTING
    titel         = 'The title'
    txt1          = txtmsg
    txt2          = ' '.

Read only

Former Member
0 Likes
1,341

Hi ,

Check this link , may be useful.

https://www.sdn.sap.com/irj/sdn/profile?userid=2501727

Regards,

Muneesh Gitta.

Read only

Former Member
0 Likes
1,341

Hi Jasmine,

message with number.

Message I001('zr') with number.

its text name: ID &.

It is used for message for FM--> POPUP_TO_INFORM

Reward if useful,

Regards,

S.Suresh.