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

Field String requirement

Former Member
0 Likes
576

Dear experts,

I would be a ordinary question but i didnt get any clarity by reading available links in SDN.

Can some one explain me why we need to use Field strings in our programming.

It may be simple question but explain to me in simple way.

Thanks and regards

Somesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
547

hi

field string hold only one data record at an time and often it happen many time the we use to do opration on any sinle reocd or check the record one by one here we need field string

hope it had cleared upto some extent

Cheers

Snehi

3 REPLIES 3
Read only

Former Member
0 Likes
547

hi,

We use field to deal with internal tables.

As you know internal table holds data in runtime.

but we can't access them directly.

we have to define a structure which have same line-type as that of internal table. then we loop at the internal table at take data of eache row to the corresponding field string one by one to read or display it.

these field strings are created in two ways based on the nature of the internal table. If the table is a table with header line , compateble field string is automaticaly created at time of creation of the table.

You have to create field string explicitly if the table is without header line.

Regards,

Anirban

Read only

Former Member
0 Likes
547

Hi,

We cannot work with Internal tables directly. We need Field String as a work Area to fetch and to place the data in the internal table.

Field Strings have the same line type as od the internal table.

You need not have to use field string for intrnal table if you define an internal table WITH HEADER LINE.

This addition automatically creates a workarea for the internal table.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
548

hi

field string hold only one data record at an time and often it happen many time the we use to do opration on any sinle reocd or check the record one by one here we need field string

hope it had cleared upto some extent

Cheers

Snehi