Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the use of field symbol?

Answer Posted / anji yv

incase of any modifications in internal table generally we loop the internal table to workarea and we have to modify in the work area and we have to write the modify statement to modify the internal table.

if we use field symbols then automatic modification can be done with out writing modify statement..

Performance wise field symbols are much bettar than the normal work area.

REPORT ZSAPN_FIELDSYMBOLS.

DATA : IT_MARA TYPE TABLE OF MARA.
DATA : WA_MARA TYPE MARA.
FIELD-SYMBOLS : <FS_MARA> TYPE MARA.
SELECT * FROM MARA
INTO TABLE IT_MARA UP TO 50 ROWS.

LOOP AT IT_MARA ASSIGNING <FS_MARA>.
IF <FS_MARA> IS ASSIGNED.
WRITE :/ <FS_MARA>-MATNR, <FS_MARA>-MTART, <FS_MARA>-MEINS.
ENDIF.
ENDLOOP.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of search helps? : sap abap data dictionary

1035


How to creat transactions? : abap data dictionary

1065


What does the insert statement in extract datasets do? : abap modularization

1018


How to transfer data into line items using batch input session method? : abap bdc

1041


What is runtime analysis?

1078


What is the differences between structure and table in data dictionary in abap?

1038


What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.

3338


What are the different types of abap/4 programs?

1081


How we format the data before writing a statement in the report?

860


What are the names of the function modules that will be generated upon activation of a lock object?

958


What is time constraint ? : abap hr

1208


What is interactive reporting?

1018


How would you suppress the display of a parameter on the selection screen?

987


When value table becomes check table?

1010


Can i Have Some Realtime Examples on Badi ?

8733