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

POPUP_TO_CONFIRM

Hi all,

how to deal with DIAGNOSE_OBJECT parameter in FM POPUP_TO_CONFIRM to get the text with SE61.

thanx in advance

Rakesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 05:30 PM

    Hai Rakesh

    Go through the following Code

    Create 'ZDIALOG_TEXT' Element at SE61

    and give &name& as text element

    then execute the following Code

    data parameters like spar occurs 0 with header line.

    data Name(75) type c.

    name = ' '.

    Data : v_ecc6_text type string,

    v_ecc6_title type string.

    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.

    Regards

    Sreeni

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 04:11 PM

    hi,

    Usually, you can leave a space for this export parameter. Like ' '.

    i hope it helps

    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.