2009 Aug 17 8:47 AM
Hi Experts.
I am creating the Dynamic Internal table by using the method:cl_alv_table_create=>create_dynamic_table.
we are using the 4.6 version.
it is showing an error that 'Statemant cl_alv_table_create=>create_dynamic_table ( is not defined, Please check your spelling.
but the same thing , working in ecc 6.0.
Thanks in advance,
Regards,
2009 Aug 17 9:20 AM
Hello
Most likely there is just a problem with the writing of the method call:
DATA:
lt_fcat TYPE lvc_t_fcat,
ldo_itab TYPE REF TO data.
"... fill fieldcatalog
CALL METHOD cl_alv_table_create=>create_dynamic_table
IMPORTING
it_fieldcatalog = lt_fcat
EXPORTING
ep_table = ldo_itab.
This coding should be syntactically correct. Perhaps you just need to add the following statement to your report (at the beginning):
CLASS cl_alv_table_create DEFINITION LOAD.
On 4.6c the system is not always able to do this itself. You need to explicitly make the class known.
Regards
Uwe
Hi,
Check whether the class cl_alv_table_create exists in SE24 in 4.6 version.
I suppose in 4.6 version this class does not exists.
So you cannot use it.
Regards,
Ankur Parab
2009 Aug 17 8:49 AM
Hi,
Check whether the class cl_alv_table_create exists in SE24 in 4.6 version.
I suppose in 4.6 version this class does not exists.
So you cannot use it.
Regards,
Ankur Parab
2009 Aug 17 9:20 AM
Hello
Most likely there is just a problem with the writing of the method call:
DATA:
lt_fcat TYPE lvc_t_fcat,
ldo_itab TYPE REF TO data.
"... fill fieldcatalog
CALL METHOD cl_alv_table_create=>create_dynamic_table
IMPORTING
it_fieldcatalog = lt_fcat
EXPORTING
ep_table = ldo_itab.
This coding should be syntactically correct. Perhaps you just need to add the following statement to your report (at the beginning):
CLASS cl_alv_table_create DEFINITION LOAD.
On 4.6c the system is not always able to do this itself. You need to explicitly make the class known.
Regards
Uwe
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |