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

Leave screen

Hi!

I have a modal dialog dynpro and there are several required fields on it. It has his own pf status, and the back, return, exit commands are turned in.

However if I wanted to leave the screen with ESC button (or with anything else) it asks me to fill the required fields.

How can I leave this dynpro, if I don't want to fill all thos fields, just exit without any error message?

Thank you

Tamá

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 Feb 01, 2008 at 05:27 AM

    assign at exit-command to the button with which you want to exit.

    in menu when you double click that button in Function type give 'E'.

    your problem will be solved.

    regards,

    kushagra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 03:09 PM

    Hi Tamas,

    in the command field you can type type /n, then press enter. You will leave the transaction without saving.

    Best Regards, Edgar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 05:20 AM

    hi

    try this.

    in the flow logic .have module exit.

    process after input.

    module exit at exit-command.

    in main program.

    module exit input.

    case ok_code.

    when 'exit'.

    leave program.

    when cancel.

    .

    .

    .

    endcase.

    endmodule.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 01, 2008 at 05:27 AM

    Hi,

    You can use the AT EXIT COMMAND in your module pool.

    Also change the field attribute from OBLIGATORY to REQUIRED.

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 10:04 AM

    Super, I can always learn... Thank you all 😊

    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.