Skip to Content
0
Former Member
Aug 05, 2009 at 06:13 AM

REUSE_ALV_GRID_DISPLAY - single line editable - Fieldsymbols

38 Views

Hi all,

I have written a transaction where you can select a table and this table is then editable (not the key fields) in an alv grid.

But now I have the functionality to add new rows and the key fields are still inactve that the user cannot input some data to the key fields.

Now I have found that I need to add a structure called lvc_t_styl.

So I create my dynamic field symbol table this way:

  • create dynamic table

CREATE DATA lt_table TYPE STANDARD TABLE OF (table).

ASSIGN lt_table->* TO <fs_table>.

How can I add the following structure additional to my field symbol table?

DATA: celltab type LVC_T_STYL.

-


In the normal way I would do it this way:

DATA: BEGIN OF gt_outtab occurs 0. "with header line

include structure sflight.

DATA: celltab type LVC_T_STYL.

DATA: END OF gt_outtab.

How can I reach this with my field symbols?

regards