Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamic Selection Screen

Hello

i want create a dynamic selections screen.

here for example

select-options:   sl_matnr for mara-matnr obligatory,
                  sl_vkorg for a602-vkorg obligatory no intervals no-extension,
                  sl_kunnr for a602-kunnr,
                  sl_vtweg for a950-vtweg,
                  sl_datab for a602-datab no intervals no-extension.

when i write in sl_kunnr field, it should invisiable sl_vtweg.

i try to this way.

at selection-screen on sl_kunnr.
  loop at screen.
    if screen-name = '%_SL_VTWEG_%_APP_%-TEXT'.
      %_sl_vtweg_%_app_%-invisible = 'X'.
    endif.
  endloop.

but it show error, that the filed "invisible" not exist.

ths for help

kostonstyle

Tags:
replied

Try it this way:

select-options:   sl_matnr for mara-matnr obligatory,
                  sl_vkorg for a950-vkorg," obligatory no intervals no-extension,
                  sl_kunnr for a950-kunnr,
                  sl_vtweg for a950-vtweg,
                  sl_datab for a950-datab no intervals no-extension.



at selection-screen output.

 if sl_matnr[] is not initial.
  loop at screen.
    if screen-name CS 'SL_VKORG'.
       SCREEN-ACTIVE = 0.

       MODIFY SCREEN.

    endif.
  endloop.
endif.

With luck,

Pritam.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question