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: 

Can I specify the member dynamically

Former Member
0 Kudos

Hi everyone,

I have a question: if I have a structure STR_A , and it has four members M1,M2,M3,M4.

I will assign values to V1 at run time.can I use a variable like this STR_A-V1 to stand for certain

member which only can be known at run time?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

FIELD SYMBOLS can be used for this purpose. Please refer the F1 help on Field Symbols to know how it can be done. The dynamic assignment of structure components is what you should be looking for in the F1.

Cheers

Ravish

3 REPLIES 3

Former Member
0 Kudos

Hi

U can do coz structure's main purpose is to hold data at reun time only , it works as WA at runtime so u can use .

Regards

Sachin

Former Member
0 Kudos

Hi

FIELD SYMBOLS can be used for this purpose. Please refer the F1 help on Field Symbols to know how it can be done. The dynamic assignment of structure components is what you should be looking for in the F1.

Cheers

Ravish

Former Member
0 Kudos

Hi

FIELD SYMBOLS can be used for this purpose. Please refer the F1 help on Field Symbols to know how it can be done. The dynamic assignment of structure components is what you should be looking for in the F1.

Cheers

Ravish