Skip to Content
author's profile photo
Former Member

Initializing Selection-Screen as dynpro subscreen

Hello!

I wrote a dynpro program that includes a selection screen as subscreen. In the flow logic the subscreen is called before output like this.

process before output.

call subscreen sub including sy-repid '110'.

module status_0100.

The program works fine to this point. Now I want to initialize a select-options table in the selection screen with some values. Doing this in the status_0100 module doesn't work. I suppose at this point it is too late to change values of the selection screen. I can't change the flow logic of the selection-screen 110 because it is generated automatically.

My questions are:

1. Is there any kind of initialization block or something like this where i can place the code to fill the select-options table?

2. Filling a select-options table by appending lines to it is the common way to do this, isn't it?

Thank you for your answers,

Georg

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on Aug 22, 2007 at 07:40 PM

    There is nothing stopping your from doing this?

    process before output.
    
    module status_0100.    "<-- Put this here
    
    call subscreen sub including sy-repid '110'.

    And then fill your select-option in the STATUS_0100 module, make sure that you apend to the internal table!

    Regards,

    Rich HEilman

    Add comment
    10|10000 characters needed characters exceeded