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: 

Finding structure types with certain attribute types (more than one)

monika_eggers
Active Participant
0 Kudos

Is there a way to search for structure types that use two or more simple data types, e.g. all structures that contain an attribute of type BCA_DTE_BPARE and an attribute of type BCA_DTE_ACEXT? I couldn't find a way in se11 or se80.

1 ACCEPTED SOLUTION

matt
Active Contributor

There is no built in functionality that allows you to find which structures hold which common sets of data elements. A few possibilities spring to mind that might help.

1. Use DD03L to search for structures that contain either of your desired data elements, using field ROLLNAME. Any structure that appears twice will have two entries in the results.

2. Do a where-used on each data element. Download the results and merge into one in, e.g. Excel

3. Identify the table which where-used uses . Query that directly.

You could of course write a small program to do any of these..

4 REPLIES 4

former_member235395
Contributor

Hi Monika,

Find your fields or data elements checking tables that begin with DD* in SE11 --> Database Table.

I.E. In DD03L put EBELN in FIELDNAME and got all tables that use EBELN field.

Regards,

0 Kudos

She wants by TYPE not by NAME.

matt
Active Contributor

There is no built in functionality that allows you to find which structures hold which common sets of data elements. A few possibilities spring to mind that might help.

1. Use DD03L to search for structures that contain either of your desired data elements, using field ROLLNAME. Any structure that appears twice will have two entries in the results.

2. Do a where-used on each data element. Download the results and merge into one in, e.g. Excel

3. Identify the table which where-used uses . Query that directly.

You could of course write a small program to do any of these..

monika_eggers
Active Participant
0 Kudos

That option 1 works really well. After sorting by the first column one can easily spot the duplicate results because the second occurrence will be shown as empty. (Just sometimes one is tricked by one of the types occurring twice in the same structure, as it is typical for the LOW and HIGH field in range structures.)