Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

can i give internal table for i_structure in set_table_for_first_display

0 Kudos

DATA: BEGIN OF gen_struct,

BUKRS LIKE BKPF-BUKRS,

BELNR LIKE BKPF-BELNR,

GJAHR LIKE BKPF-GJAHR,

END OF gen_struct.

CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY

EXPORTING

I_STRUCTURE_NAME = 'SFLIGHT'

CHANGING

IT_OUTTAB = gen_Table

IT_FIELDCATALOG = gt_fieldcat.

1 REPLY 1

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I am pretty sure that that method is expecting the value being passed in I_STRUCTURE is a structure defined in the ABAP Dictionary(SE11), so I think passing the name of an intenral table, will not work.

Regards,

Rich Heilman