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.
Showing results for 
Search instead for 
Did you mean: 

Regarding Field String

Former Member
0 Kudos


What is field string and what's the difference between Field String and Work Area ?


Former Member
0 Kudos


String is aprimitive data type .

Whereas work area is a line(ie used for storing single record only) type of an internal table.

Hope it helps you.

Reward points if helpful.



Former Member
0 Kudos


Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol can point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.

Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol.

Field-symbols can increase performance to work with internal tables. If you use u2018ASSIGNINGu2019 command instead of u2018INTOu2019 SAP wonu2019t have the cost of copying current table row into work it wil increase ur performance...



0 Kudos

Hi Dhaya,

i am asking about FIELD STRING , not about FIELD SYMBOL.

Former Member
0 Kudos

Hi Vishal

We can say FIELD STRING is also an work area, but in field string we can have our fields defined i.e. we can restrict number of fields here.

Eg. Begin of fs (occurs 0/with header line),

f1 type kna1-kunnr,

f2 type kna1-name1,

end of fs.

Here by adding the clause 'occurs 0', memory will allocates to the fieldstring/wa i.e. definition of body.

By adding the clause 'with header line', fs acts as body as well as work area.

WORK AREA is one which represents all the fields of the referenced one.

Eg. wa like kna1 (occurs 0 / with header line).

The clauses 'occurs 0', 'header line' means the same as above.

If u find it useful, reward me plz.



Former Member
0 Kudos


field string is a variable of type can have work area as field string..

& work area can be of any type ..its just a line of an internal it will follow the structure of an internal table.but only as one line of it.

reward points if useful