Skip to Content
author's profile photo Former Member
Former Member

pop up message

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 11:31 AM

    Hi,

    Try this FM C14A_POPUP_SAVE

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 11:33 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 11:35 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 11:37 AM

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

    Regards

    Karthik D

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 11:35 AM

    Dear Rajesh,

    Please refer this link it will help u pop-up-message

    Regards,

    Flavya

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.