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

Value from Structure

Former Member
0 Likes
924

Hi All,

How to find values from Structure??

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
851

Hi Prince,

Structures don't Store Values as they are not assigned Memory, so how can you get these Values when they does not Exist.

Regards,

Sunil.

Read only

Former Member
0 Likes
851

Hi Prince,

Structures are populeted at run time and they dont store the values permanently.

Untill the specific Transaction is runned the values are stored and after that they get refreshed.

to find the values of the fields used in the structure, first u need to know where these fields are used, that is in which table these fields are used. Then u can easily find the values of the fields u want.

Hope this helps...

Best regards,

raam

Read only

Former Member
0 Likes
851

hi prince

well structure are wokarea and can hold the value only noe record and that is at the time of execution .

we can also use these structure to define an internal table

now if u r asking how to get value for a field in a structure in program that is simple

suppose uhave a structure like this

fs_struct.

which have three field f1, f2, f3.

now to get the value of field use this

fs_struct-f1 for value of frist field

fs_struct-f2 for value of second field

fs_struct-f3 for value of third field

best regards

snehi chouhan

Read only

Former Member
0 Likes
851

Hi Prince,

The structures dont have any memory allocated and hence they dont hold any values. The work areas and the internal tables which are defined using the structure holds the values.

Pls reward if useful.

Thanks,

Sirisha.