Application Development and Automation 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: 
Read only

Question about Structures

former_member445996
Participant
0 Likes
246

Can anyone suggest something to take care of the following:

I have a FM that passes me the name of a structure in an output parameter 'structName'. Now I have to define a structure in my program based on the Structure name that I get from the FM

Data: newStruct type structName. (Please note that structName contains the name of the structure)

Is there a way to accomplish this?

Thanks for your help.

1 REPLY 1
Read only

Former Member
0 Likes
227

Check this..

https://wiki.sdn.sap.com/wiki/display/Snippets/CreatingFlatandComplexInternalTablesDynamicallyusingRTTI