+ -

Pages

Saturday, July 26, 2014

Clearing selection screen input

> After executing a report, the green arrow back key will takes us back to
> the selection screen with the original input on it.
>
> However, my client would like to see the selection screen without any
> previous input on it, so he could start entering new input without
> deleting/overwriting the old ones.  Is it possible to do that?
>
> Any hints  will be greatly appreciated.
>


Use this part of code:


DATA: EXECUTED TYPE N.

your data definitions starts here

AT SELECTION-SCREEN OUTPUT.
  IF EXECUTED = 1.
    EXECUTED = 0.
    CLEAR: var1, var2, etc.
    REFRESH: selop1.
here you have to clear all your parameters, select options etc.
  ENDIF.

START-OF-SELECTION.
  EXECUTED = 1.
your main coding starts here.
END-OF-SELECTION.




5 ABAP Tips: Clearing selection screen input > After executing a report, the green arrow back key will takes us back to > the selection screen with the original input on it. >...

No comments:

Post a Comment

< >