Application Development and Automation 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: 
Read only

Hide Logical Db Selection Filed

Former Member
0 Likes
464

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
412

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.

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

1 REPLY 1
Read only

Former Member
0 Likes
413

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.