Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic selection

Former Member
0 Kudos

Hi,

In the dynamic selections , all the fields of a table in the LDB are displayed. how to get only some of the specific fields of the table.

Thanks and Regards,

Neha

2 REPLIES 2

Former Member
0 Kudos

Hi,

U can Use LDB using selection screen-screen .

In LDB multiple selection screen is available .

It is upto you which selection screen u want .

Sometimes in our case U have writen one program

which is calling LDB and Calling the the called program

using selection-screen statement

Thanks

Siladitya

Former Member
0 Kudos

In HR LDB PNP has different screens for select options.

In other LDB you must use event:

AT SELECTION-SCREEN OUTPUT.

PERFORM ocultar_campos.

*&----


*

*& Form ocultar_campos

*&----


*

FORM ocultar_campos.

LOOP AT SCREEN.

IF screen-name CS 'PCHOTYPE'.

screen-input = 0.

screen-output = 1.

screen-invisible = 0.

MODIFY SCREEN.

ELSEIF screen-name CS 'PCHPLVAR'.

screen-input = 1.

screen-output = 1.

screen-invisible = 0.

MODIFY SCREEN.

    • ELSEIF screen-name CS 'PCHOBEG'.*

    • screen-input = 1.*

    • screen-output = 1.*

    • screen-invisible = 0.*

    • MODIFY SCREEN.*

ELSEIF screen-name NS 'PCHOBJID-LOW'.

screen-input = 0.

screen-output = 1.

screen-invisible = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDFORM. " ocultar_campos