• ABAP Online Training @ $50

    Now you can learn ABAP by watching and listening video classes by experienced consultant.

  • ABAP Tutorials N Materials

    Read, Surf and Download useful ABAP tips, tutorials, code and download many eBooks and documents free

  • Latest ABAP Job in India

    Get all latest opening for SAP ABAP and related jobs, vaccancies across India and apply for the same.

    Monday, October 22, 2012

    A field symbol is a place holder for a field (i.e. a pointer).  A field symbol does not reserve space for the field, but points to the field (i.e., a field symbol assumes the address of the field, not the value).

    A field symbol can point to single fields or field strings (structures).  Remember that the "TABLES" statement creates a field string with the appropriate ABAP Dictionary structure.

    When working with field symbols, angle brackets (< >) must be used.

    The "FIELD-SYMBOLS" statement is used to declare a field symbol.

    DATA:  NUM TYPE I VALUE 12.
    FIELD-SYMBOLS: <Test> type NUM.

    ASSIGN: NUM TO <Test>,

    A field symbol's name can be up to 30 characters in length including angle brakets(<>).  
    This name should begin with a letter and the remainder of the name should consist of letters, numbers, or an underscore.

    If a field symbol is defined without attributes, it takes on the attributes of the field assigned to it.
    If a field symbol is given a data type and length (either explicitly or with the "LIKE" addition), the system verifies that the field symbol has the same attributes as the field assigned to it.

    The "ASSIGN" statement associates a field to a field symbol at runtime (i.e., when the program is executed).

    If you change the value to a field symbol, you are really changing the value of the field assigned to the field symbol.  If you write the value of the field symbol, you are really writing the value of the field assigned to the field symbol.

    Easy2learnabap.co.in @ 2012 All product names on this web site are trademarks of the companies that own them .

    Easy2learnabap.co.in is not affiliated with SAP AG in any way. SAP AG is the registered trademark holder of SAP, SAP R/3, mySAP, ABAP, xApps, NetWeaver, and other proprietary terms.

    The technical information on this site is verified to the greatest extent possible, however, any information found on this site is used at the site visitor's own risk. All the tutorials are collected from various sources, if anyone is having problem with the content, report this to us. We will take action accordingly.

    Easy2learnabap.co.in reserves the right to correct any errors or omissions in any portion of this site at any time without obligation.

    This website is created to teach people about ABAP technology. The Video contents provided in Premium service are completely owned by us and copyrighted.