cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Selection Screen INFO : selinfo

Former Member
0 Kudos
639

Hi,

I am using the FM: RS_SELECTIONS_DESCRIPTION to read the selection screen structure.

The resulting List is of the structure selinfo. My system does'nt shows its documentation. I have trouble understanding its meaning.

The fields are :

1. name

2. Kind

3. type

4. Length

5. che_rad

6. id

7. nodi

8. Obligatory

I need to understand the significance of 5,6,7 and 8.

Thanks in Advance.

Ravi.

View Entire Topic
Former Member
0 Kudos

Hi,

5. che_rad - checkbox/rabiobutton

6. id - MATCHCODE ID ( I guess )

7. nodi - no display addition for the parameter

8. Obligatory - mandatory field

Svetlin

Message was edited by: Svetlin Rusev

Former Member
0 Kudos

Hi

6 id set/get parameter or id of option MODIF ID

Max

Message was edited by: max bianchi

Former Member
0 Kudos

Thanks for the Response..

I need one more help to figure out the Selection Texts for the Selection fields displayed in SELINFO List.

Is there any FM which can get me that, most of the Fields are Logical Database fields of type PNP.

Thanks

Ravi.

Former Member
0 Kudos

You can read selection texts, using

READ TEXTPOOL prog ... INTO itab ... LANGUAGE lg.

DATA: PROGRAM(8) VALUE 'ZTEST',

TAB LIKE TEXTPOOL OCCURS 50 WITH HEADER LINE.

READ TEXTPOOL PROGRAM INTO TAB LANGUAGE SY-LANGU.

Svetlin

Former Member
0 Kudos

HI

Thanks for the quick response, I tried the code which you sent, it does not seems to get all the texts on the selection screen.

I found one Fm similar to my functionality,

HR_READ_LDB_SELECTION_TEXTS , this seems to get all the name and texts available for a given LDB name.

My question here is: Is there a way we can know the LDB used by a Standard Report at RUNTIME.

Thanks,

Ravi.

Former Member
0 Kudos

The information is stored in table TRDIR field LDBNAME.

Svetlin

Former Member
0 Kudos

If u are checking a HR based LDB like PNP and PCH then a easy soln can be:

read report <repame> into itab.

Loop at itab.

convert itab-line to uppercase.

if itab-line CO 'INFOTYPES'.

v_yes = c_x.

endif.

endloop.

if v_yes = c_x.

write: \ 'Prog is LDB'.

endif.