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: 

structure

Former Member
0 Kudos
264

I have the structure RMMG1(maintain material master data) to display the ouput for report.But the select statement is not accepting the structure as it only accepts the tables & views to be loaded to internal table.& I couldn't able to find to which table RMMG1 is appended.Is there any other way.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
142

You can use transaction ST05 to see which tables are used for the transaction that populates this structure.

Rob

3 REPLIES 3

Former Member
0 Kudos
143

You can use transaction ST05 to see which tables are used for the transaction that populates this structure.

Rob

matt
Active Contributor
0 Kudos
142

See my response to your other question on structures.

matt

Former Member
0 Kudos
142

hi

The structure will only have data if it has been loaded elsewhere, such as if the structure was populated by a function call or BAPI.

If not, you will have to load data into the structure using SQL Select or by calling the approriate function call/method/BAPI etc.

If the structure already has data, you access that data by referencing the structure name and the component

e.g.

w_field = struct-field1.

This will load the value of the component field "field1" in structure "struct" into a separate work field "w_field".

This is how you refer to components of a structure.

structure_name-component_name

Consequently, you should not use a dash "-" in the name of a field or structure. If you need to separate words in the name use an underscore "_".

If you do attempt to use the dash "-" in the name of a field or structure in a Unicode program, you will get a warning message.