2007 Jun 05 1:55 PM
Hi guys!!
Is it possible to hide a selection field provided by the logical database? For instance:
I use the LDB PSJ.
In my ABAP code I have:
GET prps_r.
Get proj.
When I run the program the selection fileds of my LDB appear. How can i hide the filed: PSP-Element?
Thanks!
Manuel
2007 Jun 05 2:02 PM
Hi Manuel!
Try this to hide the first input field:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'CN_PSPNR-LOW'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
For all the other Fields you have to use CN_PSPNR-HIGH, ...
If you can't get all the field-names using F1 and tecnical Info, try to set a break-Point in this section and debugg the loop.
2007 Jun 05 2:02 PM
Hi Manuel!
Try this to hide the first input field:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'CN_PSPNR-LOW'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
For all the other Fields you have to use CN_PSPNR-HIGH, ...
If you can't get all the field-names using F1 and tecnical Info, try to set a break-Point in this section and debugg the loop.