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

Pop-up Window.

hi.

i want to create one dynamic pop-up window only for displaying message.

how can i create?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 05:22 AM

    Hi,

    By using FM 'POPUP_TO_CONFIRM'.

    Cheers,

    Bujji

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2006 at 05:25 AM

    use the FM "POPUP_TO_CONFIRM_WITH_MESSAGE"

    Regards,

    Wasim ahmed

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2006 at 05:26 AM

    you can just use the 'message' statement with an I type:

    eg, MESSAGE i000(zz) WITH '&' '&' '&' '&'.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 05:28 AM

    Hi,

    Try FM POPUP_TO_INFORM.

    CALL FUNCTION 'POPUP_TO_INFORM'

    EXPORTING

    TITEL = 'ERROR'

    TXT1 = 'Enter the message using the input lines at the bottom'.

    check these FMs also:

    POPUP_FOR_INTERACTION

    POPUP_TO_CONFIRM

    Reward point if helpful.

    Regards.

    Prakashsingh

    Message was edited by: Prakashsingh Mehra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 05:29 AM

    Hi dashmantha,

    1. If u just want to dislay a simple message

    with some title (in dialog box)

    Max 3 lines of text

    and one simple continue button,

    2. then use this FM

    POPUP_TO_DISPLAY_TEXT_LO

    regards,

    amit m.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 08:04 AM

    Hai go through the following Code

    Create Dialog Test with the Name Passed at DIAGNOSE_OBJECT Parameter in Exporting 'ZDIALOG_TEXT'

    go to Tcode SE61

    give Dialog Text Name as : ZDIALOG_TEXT

    click on create Button give &name& in the Text Editor

    after that go through the following Code

    here Name should allow bellow 75 characters only

    data parameters like spar occurs 0 with header line.

    data Name(75) type c.

    name = ' '.

    DATA: L_SVAR(1).

    concatenate

    '1'

    '2'

    '3'

    into Name separated by space.

    move Name to parameters-value.

    move 'NAME' to parameters-param.

    append parameters.

    CALL FUNCTION 'POPUP_TO_CONFIRM'

    EXPORTING

    TITLEBAR = 'Hai'

    DIAGNOSE_OBJECT = 'ZDIALOG_TEXT'

    TEXT_QUESTION = 'Hello'

    DEFAULT_BUTTON = '1'

    IMPORTING

    ANSWER = L_SVAR

    TABLES

    PARAMETER = parameters

    EXCEPTIONS

    TEXT_NOT_FOUND = 1

    OTHERS = 2.

    if sy-subrc <> 0.

    L_SVAR = 'A'.

    else.

    case L_SVAR.

    when '1'.

    L_SVAR = 'J'.

    when '2'.

    L_SVAR = 'N'.

    when others.

    L_SVAR = 'A'.

    endcase.

    endif.

    *write : L_SVAR.

    Thanks & regards

    Sreenivasulu P

    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.