2007 Mar 16 9:45 AM
HI ALL,
I am creating a table control using wizard from internal table in the program when i give work area it gives this error "The table work area G_TABC_WA does not exist or is not a structure"
I have declared internal table and work like this.
TYPES: BEGIN OF T_TABC,
OPTID LIKE ZHRPMT_TRNSAC-OPTID,
STGID LIKE ZHRPMT_TRNSAC-STGID,
TETID LIKE ZHRPMT_TRNSAC-TETID,
REQSR LIKE ZHRPMT_TRNSAC-REQSR,
MUNIT LIKE ZHRPMT_TRNSAC-MUNIT,
END OF T_TABC.
DATA: G_TABC_ITAB TYPE T_TABC OCCURS 0,
G_TABC_WA TYPE T_TABC. "work area
why it is giving this error and how to correct this.
thanks.
HI,
non of the above solution is working. the problem is with work area not with internal table.
I am working on ECC 6.
2007 Mar 16 9:50 AM
Hi,
write like this:
DATA: G_TABC_ITAB TYPE T_TABC OCCURS 0 with header line.
DATA: G_TABC_WA TYPE T_TABC. "work area
Regards,
ANJI
2007 Mar 16 9:54 AM
Hi,
You will have to activate the whole program 1st and then try creating the Table Control using the Work Area.
regards,
Mahesh
2007 Mar 16 9:56 AM
hi!
DATA: G_TABC_ITAB TYPE T_TABC OCCURS 0,
this line should be like this,
DATA: G_TABC_ITAB TYPE TABLE OF T_TABC OCCURS 0,
2007 Mar 16 9:57 AM
Hay
Hello there is very small mistake
TYPES: BEGIN OF t_tabc,
optid TYPE zhrpmt_trnsac-optid,
stgid TYPE zhrpmt_trnsac-stgid,
tetid TYPE zhrpmt_trnsac-tetid,
reqsr TYPE zhrpmt_trnsac-reqsr,
munit TYPE zhrpmt_trnsac-munit,
END OF t_tabc.
DATA: g_tabc_itab TYPE TABLE OF t_tabc ,
g_tabc_wa LIKE t_tabc. "work area
**Please reward suitable points***
With Regards
Navin Khedikar
2007 Mar 16 9:58 AM
Hi,
Try like this,
data: i_lfa1_change TYPE t_vendor OCCURS 0 WITH HEADER LINE.
regards,
Priya.
2007 Mar 16 10:04 AM
HI,
non of the above solution is working. the problem is with work area not with internal table.
I am working on ECC 6.
2007 Mar 16 10:08 AM
hi!
try this!
DATA: G_TABC_ITAB TYPE TABLE OF T_TABC,
G_TABC_WA like line of G_TABC_ITAB. "work area
Regards,
Indira.D
Message was edited by:
Indira Deivasigamani
Message was edited by:
Indira Deivasigamani
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |