‎2008 Jan 31 3:01 PM
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á
‎2008 Feb 01 5: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
‎2008 Jan 31 3: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
‎2008 Jan 31 3:11 PM
Unfortunately as I said, it is a modal dialg dynpro, it has no command field. And I wanted a solution, which is much more user friendly, than the /n transaction code...
‎2008 Feb 01 5: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.
‎2008 Feb 01 5: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
‎2008 Feb 01 5: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
‎2008 Feb 01 10:04 AM