cancel
Showing results for 
Search instead for 
Did you mean: 

what is field symbol and how to use it???

0 Kudos

Hi Experts,

     What is field symbol ? What is the purpose of using it? Can you please explain this along with an example?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Field Symbol is just like a pointer in C but more than a pointer bec it ll not only refer the address it also changes the value of it..

Directly its having reference to address of the variable.

We can use the field symbols mostly where we mostly need to update option to the data base.

See the example code.

<fs>-field1 = 'name'.

<fs>-field2 = 'Age'.

append <fs> to itab.

No need of modify.

In the above case append is not needed since it will directly be appended to the internal table. Aslo field symbols can also be used in loops.

Thanks and Regards,

Vijay

0 Kudos

Hi Sir,

thank you.

Answers (0)