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: 

Is there any table which holds all selection screens and fields on it.

Former Member
0 Kudos

I have a requirement where need to create a report which lists all the program, transaction and reports where purchase organization in field on selection.

1 ACCEPTED SOLUTION

former_member195402
Active Contributor
0 Kudos

Hi Sagar,

to get all selection screens you can SELECT all entries from table D020S where field TYPE has value 'S'.

To get the field list of such an selection screen please try function module RS_IMPORT_DYNPRO. The field list should be available in parameter table FTAB. But also FM's IMPORT_DYNPRO or IMPORT_DYNPRO_2 may be an alternative way.

But Where-used-lists of data elements *EKORG* may be the faster way to find. For this you may SELECT all entries from DD04L where ROLLNAME like %EKORG%. For all those data elements you can SELECT from WBCROSSGT (and optional also WBCROSSGTI) to find all usages of these data elements (with OTYPE = 'TY' and DIRECT = 'X'). But now you have to scan for parameters and select-options on these findings. You can use READ REPORT to scan by yourself or look for other ABAP tools to do it.

But none of these ways will be fast.

Regards,

Klaus


4 REPLIES 4

former_member183990
Active Contributor
0 Kudos

Use  where used list functionality for this report.

Regards

S.Janagar

former_member289261
Active Contributor
0 Kudos

I didn't got you perfectly.

You want programs, transactions, reports based upon the purchasing organisation ?

The data in the tables is dependent upon the purchasing organisation not the programs or transactions. Any related program or transaction can be run for any purchasing organisation.

former_member195402
Active Contributor
0 Kudos

Hi Sagar,

to get all selection screens you can SELECT all entries from table D020S where field TYPE has value 'S'.

To get the field list of such an selection screen please try function module RS_IMPORT_DYNPRO. The field list should be available in parameter table FTAB. But also FM's IMPORT_DYNPRO or IMPORT_DYNPRO_2 may be an alternative way.

But Where-used-lists of data elements *EKORG* may be the faster way to find. For this you may SELECT all entries from DD04L where ROLLNAME like %EKORG%. For all those data elements you can SELECT from WBCROSSGT (and optional also WBCROSSGTI) to find all usages of these data elements (with OTYPE = 'TY' and DIRECT = 'X'). But now you have to scan for parameters and select-options on these findings. You can use READ REPORT to scan by yourself or look for other ABAP tools to do it.

But none of these ways will be fast.

Regards,

Klaus


0 Kudos

Thanks, I will give a try.