Skip to Content
author's profile photo Former Member
Former Member

field symbol

hi all,

what is mean by field symbol? why we r using ? pl, explain breifly with small understanding ex.

thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 09:17 AM

    Hi,

    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 cam 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.

    check the link below:

    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm

    Pls reward if helpfull.

    Regards,

    Sharath

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 09:18 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 09:20 AM

    Hi,

    Field Symbols are similar to pointers in C.

    We can access one memory location directly.

    EX :

    DATA: w_var TYPE char10.
    FIELD-SYMBOLS: <fs_var> TYPE char10.
    
    w_var = 'HELLO'.
    ASSIGN w_var TO <fs_var>.
    WRITE / <fs_var>.
    
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 09:36 AM

    Hi,

    please refer also to thread .

    Regards Rudi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 10:06 AM

    Hi

    What are field symbols?

    a) Field symbols are like pointers in C that can point to any data object in ABAP/4 and to structures defined in ABAP/4 dictionary.

    b) Field symbols have to be created with type specifications only.

    c) You cannot assign one field symbol to another.

    d) All operations you have programmed with the field symbol are carried out with the assigned field.

    Field-symbols are defined in which of the following ways?

    a) field-symbols f1 for f1.

    b) field-symbols [f1].

    c) field-symbols <f1> like f1.

    d) field-symbols (f1) like f1.

    e) field-symbols .

    u go through this link for example of field symbols:

    http://www.saptechnical.com/Tutorials/ABAP/DynamicInternaltable/DynamicInternalTable.htm

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.