2008 Nov 04 8:08 AM
Dear forumers,
I am currently working on modifying a BDC include program which is copied from BDCRECX1.
My aim is now to remove all obsolete language elements in my program here. E.g.:-
DATA: bdcdata like bdcdata occurs 0 with header line.How can I declare bdcdata properly in this case? I have tried editing the same line (see below), but after that, I get syntax errors elsewhere in the program.
DATA: bdcdata type bdcdata.
Dear forumers,
I am currently working on modifying a BDC include program which is copied from BDCRECX1.
My aim is now to remove all obsolete language elements in my program here. E.g.:-
DATA: bdcdata like bdcdata occurs 0 with header line.How can I declare bdcdata properly in this case? I have tried editing the same line (see below), but after that, I get syntax errors elsewhere in the program.
DATA: bdcdata type bdcdata.
2008 Nov 04 8:10 AM
DATA: i_bdcdata type table of bdcdata,
wa_bdcdata like line of i_bdcdata.
regards,
hans
2008 Nov 04 8:11 AM
you have to declare a work area and an internal table without header line:
DATA : gw_bdc TYPE bdcdata.
DATA : gt_bdc TYPE TABLE OF bdcdata.
2008 Nov 04 8:13 AM
DATA:
t_bdcdata TYPE
STANDARD TABLE OF bdcdata WITH HEADER LINE.
2008 Nov 04 8:15 AM
Use
Data: bdcdata type standard table of bdcdata with header line
2008 Nov 04 8:19 AM
DATA: i_bdcdata TYPE TABLE OF bdcdata,
*Work Area for BDC Data
wa_bdcdata TYPE bdcdata.
-Amresh
2008 Nov 04 9:03 AM