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: 

INCLUDE STRUCTURE ?

Former Member
0 Kudos

hi there,

i have an internal table:

DATA: BEGIN OF gt_alv_out OCCURS 100.
        INCLUDE STRUCTURE zzfl_fehler_prot.
*        chk(1) type c. 
DATA: END OF gt_alv_out.

well, i want to add the field chk to the internal table. but this is not working.

i can NOT add the field to the structure zzfl_fehler_prot.

how to handle this ?

reg, Martin

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Give Data Declaration again.

DATA: BEGIN OF gt_alv_out OCCURS 100.

INCLUDE STRUCTURE zzfl_fehler_prot.

Data chk(1) type c.

DATA: END OF gt_alv_out.

2 REPLIES 2

Former Member
0 Kudos

Give Data Declaration again.

DATA: BEGIN OF gt_alv_out OCCURS 100.

INCLUDE STRUCTURE zzfl_fehler_prot.

Data chk(1) type c.

DATA: END OF gt_alv_out.

former_member156446
Active Contributor
0 Kudos

hi looks like you wanted a checkbox in ur alv output...

in the layout use the field name like this... and pass Layout to Reuse* FM

layout-box_fieldname = 'CHK'.