‎2007 Nov 21 2:58 AM
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
‎2007 Nov 21 3: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
‎2007 Nov 21 3:23 AM
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.
‎2007 Nov 21 3: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.
‎2007 Nov 21 4:17 AM
Please confirm whether u have activated the INCLUDE befor activating the program.