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: 

pop up message

Former Member
0 Kudos

hai,

I need to create popup message based on values while saving the document in TC : IW41.

After entering the Order no in IW41 and pop up message should come with multiple values( i.e 5 check boxes should come for 5 values) with having SAVE button.

If user click on SAVE button then only document will save.

Can any body help me regarding this above issue ?

Regards,

Rajesh Kumar Satpathy

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Try this FM C14A_POPUP_SAVE

5 REPLIES 5

Former Member
0 Kudos

Hi,

Try this FM C14A_POPUP_SAVE

Former Member
0 Kudos

Hi,

There is function module called POPUP_TO_CONFIRM which you can use to give pop up message.

Please go through the function module documentation for help.

Example:

*--Popup to confirm the changes.

CALL FUNCTION 'POPUP_TO_CONFIRM'

EXPORTING

text_question = p_qtext

text_button_1 = text-026

text_button_2 = text-027

default_button = '1'

display_cancel_button = 'X'

IMPORTING

answer = ans

EXCEPTIONS

text_not_found = 1

OTHERS = 2.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

********************************************************

p_qtext is the question.

text-026 is Yes.

text-027 is No.

ans will be based on the input from the user.

*******************************************************

IF ans = '1'.

PERFORM proceed_to_save.

ELSEIF ans = '2'.

PERFORM free_and_backto_100.

ELSE.

SET SCREEN '200'.

LEAVE SCREEN.

ENDIF.

Thanks,

Ramya.R

Former Member
0 Kudos

Dear Rajesh,

Please refer this link it will help u

Regards,

Flavya

Former Member
0 Kudos

Hi,

You can create a screen with 5 checkboxes and Button and call that screen.

Tou can also use FM REUSE_ALV_POPUP_TO_SELECT .

Hope this may be helpful.

Regards,

Sravanthi

Former Member
0 Kudos

In this case you need to design and call your own screen as popup.

Regards

Karthik D