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

Field symbol

Dear SDN Members,

READ TABLE LT_OUTPUT INTO <LT_OUTPUT> WITH KEY ORDERID = <LT_ORDMAPS>-ORDID.

I am getting dump & the error is field symbol has not been assigned.

but its a active object with syntactically correct.

Thanx in Advance.

Regards,

Johnn.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 09:17 AM

    can u give the code pointing the line where the dump had occured

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 09:15 AM

    Hi,

    You need to assign the FS before u actually use..

    So pls check Help for FS with Assign...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2006 at 09:16 AM

    Hi,

    You need to assign the FS before u actually use..

    So pls check Help for FS with Assign...

    Check following code..

    PROGRAM P1MAIN.

    DATA: BEGIN OF STR,

    A VALUE 'a',

    B VALUE 'b',

    C VALUE 'c',

    D VALUE 'd',

    END OF STR,

    CN(5) VALUE 'D'.

    FIELD-SYMBOLS <FS> TYPE ANY.

    DO 3 TIMES.

    ASSIGN COMPONENT SY-INDEX OF

    STRUCTURE STR TO <FS>.

    IF SY-SUBRC <> 0. EXIT. ENDIF.

    WRITE <FS>.

    ENDDO.

    ASSIGN COMPONENT CN OF STRUCTURE STR TO <FS>.

    WRITE <FS>.

    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.