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: 

Infoset Query- How do I clear the in-built selection screen in LDB

jogeswararao_kavala
Active Contributor
0 Kudos

Dear Experts,

When LDB is used in queries unwanted selection screen blocks appear.

Please help in getting rid of the same.

Kind Regards

Jogeswara Rao

4 REPLIES 4

kesavadas_thekkillath
Active Contributor
0 Kudos

Please explain clearly .

0 Kudos

An infoset is based on a logical database, say Notifications.

When we create a infoset query (SQ01) on this infoset, we specify our Selection fields.

but when we execute, many other selection blocks appear above our specified selection field block.

i do not want those selection blocks which I did not specify.

Regards

Jogeswara Rao

0 Kudos

Hello Jogeswara,

1. In the Infoset push button Extras and then select Code tab.

2. Select AT SELECTION-SCREEN OUTPUT for Code Section.

Suppose your query is based on logical database KDF and you went to hide the SELECT-OPTIONS for Company Code.


loop at screen.
  if SCREEN-NAME = '%_KD_BUKRS_%_APP_%-TEXT' OR
     SCREEN-NAME = '%_KD_BUKRS_%_APP_%-OPTI_PUSH' OR
     SCREEN-NAME = '%_KD_BUKRS_%_APP_%-TO_TEXT' OR
     SCREEN-NAME = '%_KD_BUKRS_%_APP_%-VALU_PUSH' OR
     SCREEN-NAME = 'KD_BUKRS-LOW' OR
     SCREEN-NAME = 'KD_BUKRS-HIGH'.
    screen-invisible = '1'.
    screen-active = '0'.
    modify screen.
  endif.
endloop.

Kind Regards,

Rae Ellen Woytowiez

0 Kudos

Thank you Rae for being there again.

I'd play with my infoset as per your guidelines to achieve the desired results.

Kind Regards

Jogeswara Rao