Skip to Content
0
Dec 02, 2009 at 04:10 AM

Issue in Selection Screen design

133 Views

Dear Guru,

I have encountered an issue which i am trying to resolve . The issue is as below -->

I have defined my selection screen like below:

SELECTION-SCREEN : BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
PARAMETERS : p_table TYPE dd03l-tabname OBLIGATORY.           "Table name
SELECTION-SCREEN :  END OF BLOCK block1.

SELECTION-SCREEN : BEGIN OF BLOCK block2 WITH FRAME TITLE text-002.
SELECT-OPTIONS: s_field FOR dd03l-fieldname NO INTERVALS OBLIGATORY.
SELECTION-SCREEN : END OF BLOCK block2.

In block1 i am providing provision to enter single table name.

where as in block2 i want select all those table fields for the table present in block1.

When i am seeking f4 help for block2 --> It is providing me lists of all data elements

in a popup window (Field Name(1)) present in sap.

In this Field Name(1) pop up we can able to minimise the list of field entries after providing

the table name manually in the restriction tab after clicking down triangle tab on the top.

My requirment is like this as soon as we will seek for f4 help of block2 it should show the

corresponding table fields of table present in block1 automatically rather than providing the

table name manually in the restriction option and find out lists of fields present in that table.

Please give some guideline to resolve this issue

Thanks & Regards

Saifur Rahaman