If you intend to use the AT SELECTION-SCREEN OUTPUT event in your Diffuser program, you will find that Diffuser does not allow you to use this, this is due to some constraints in defining multiple AT SELECTION-SCREEN OUTPUT events in a program (Diffuser also uses this for the technical settings tab of your program). You can still implement this code by creating the subroutine AT_SELECTION_SCREEN_OUTPUT in your Main Diffuser Program as below. There are no parameters required to this form, and you can access the SCREEN structure as normal.

 
*--------------* FORM at_selection_screen_output *-------------* 
* This form allows custom AT SELECTION-SCREEN OUTPUT events to * 
* be used                                                      *  
*--------------------------------------------------------------*  
FORM mdr_at_selection_screen_output.

* Here you can access the screen variable as if you were using
* the standard AT SELECTION-SCREEN OUTPUT event.  All other
* report events can be defined as normal.
  LOOP AT SCREEN.
    CASE screen-name.
      WHEN 'S_CARRID-LOW'.
      WHEN 'S_CARRID-HIGH'.
    ENDCASE.

    MODIFY SCREEN.
  ENDLOOP.

ENDFORM.                    "at_selection_screen_output

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment