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

Syntax error

Hi All,

i have writen a program which is having of several performs with process code and an include for data diclarations.

when try to activate a code in a perform writen for uploading of languages

it is giving me <b>"gwa_error does not have a component called vendor"</b>

but in diclarations i have diclared it as fallows

TYPES: BEGIN OF GTY_ERROR,

VENDOR(35),

MESS(200),

END OF GTY_ERROR.

DATA: GWA_ERROR TYPE GTY_ERROR,

GT_ERROR TYPE STANDARD TABLE OF GTY_ERROR.

can any one help me to fix this error.

Thanks,

Rama

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 03:03 AM

    TYPES: BEGIN OF GTY_ERROR,

    VENDOR(35),

    MESS(200),

    END OF GTY_ERROR.

    DATA: GWA_ERROR TYPE GTY_ERROR,

    GT_ERROR TYPE STANDARD TABLE OF GTY_ERROR.

    this correct one. spell check

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 03:17 AM

    hi,

    This is correct, i Have check it.

    TYPES: BEGIN OF GTY_ERROR,

    VENDOR(35),

    MESS(200),

    END OF GTY_ERROR.

    DATA: GWA_ERROR TYPE GTY_ERROR,

    GT_ERROR TYPE STANDARD TABLE OF GTY_ERROR.

    Or u can use this way

    TYPES: BEGIN OF GTY_ERROR,

    VENDOR(35),

    MESS(200),

    END OF GTY_ERROR.

    types: GWA_ERROR TYPE GTY_ERROR,

    GT_ERROR TYPE STANDARD TABLE OF GTY_ERROR.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 04:17 AM

    Please confirm whether u have activated the INCLUDE befor activating the program.

    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.