09-18-2008 11:28 AM
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
09-18-2008 1:38 PM
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
09-18-2008 3:19 PM
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