Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Syntax error

Former Member
0 Likes
685

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

4 REPLIES 4
Read only

Former Member
0 Likes
651

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

Read only

0 Likes
651

Hi, Karthikeyan Pandurangan .

Although I have read your code many times, I can't find the difference between Rama Vattikuti's.

I think GWA_ERROR should be declared globally.

Regards,

feng.

Read only

Former Member
0 Likes
651

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.

Read only

Former Member
0 Likes
651

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