2007 Nov 30 8:24 AM
Hi ,
Is it pssbl to pass d internal table not type of d standard table to cl_salv_table=>factory( importing r_salv_table = gr_table
changing t_table = pekpo ).
I'm trying to dispaly feilds from an internal table using objects (alv).. getting an error msg iekpo not type-compatible with formal parameter "t_table".
part of d code...
DATA: BEGIN OF PEKPO OCCURS 0,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
matnr like ekpo-matnr,
werks like ekpo-werks,
txz01 like ekpo-txz01,
END OF PEKPO.
cl_salv_table=>factory( importing r_salv_table = gr_table
changing t_table = pekpo ).
Hi ,
Is it pssbl to pass d internal table not type of d standard table to cl_salv_table=>factory( importing r_salv_table = gr_table
changing t_table = pekpo ).
I'm trying to dispaly feilds from an internal table using objects (alv).. getting an error msg iekpo not type-compatible with formal parameter "t_table".
part of d code...
DATA: BEGIN OF PEKPO OCCURS 0,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
matnr like ekpo-matnr,
werks like ekpo-werks,
txz01 like ekpo-txz01,
END OF PEKPO.
cl_salv_table=>factory( importing r_salv_table = gr_table
changing t_table = pekpo ).
2007 Nov 30 9:14 AM
Try this:
cl_salv_table=>factory( importing r_salv_table = gr_table
changing t_table = pekpo[] ).
You should avoid defining tables with "occurs". Your parameter is the header-line!
2007 Nov 30 9:23 AM
thank U soo much... it did solve my problem... if u could send me some material related to internal table declarations n its purpose i wuld really appreciate it...
thnx..
2007 Nov 30 9:24 AM
thank U soo much... it did solve my problem... if u could send me some material related to internal table declarations n its purpose i wuld really appreciate it...
thnx..
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |