Application Development and Automation 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: 
Read only

alv report

Former Member
0 Likes
601

how to allow input in alv reports

input in checkboxes

how to allow input in alv reports

input in checkboxes

2 REPLIES 2
Read only

Former Member
0 Likes
347

Hi,

try thic sample code

type-pools: slis.

DATA: begin of itab6 occurs 0,

chk type c,

a type p decimals 2,

b type p decimals 2,

c type c,

end of itab6.

data: ls_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,

wa_layout TYPE slis_layout_alv.

itab6-a = '1.12'.

itab6-b = '2.25'.

itab6-c = '+'.

append itab6.

append itab6.

append itab6.

append itab6.

ls_fieldcat-fieldname = 'A'.

ls_fieldcat-seltext_m = 'A'.

append ls_fieldcat.

ls_fieldcat-fieldname = 'B'.

ls_fieldcat-seltext_m = 'B'.

ls_fieldcat-decimals_out = 0.

append ls_fieldcat.

ls_fieldcat-fieldname = 'C'.

ls_fieldcat-seltext_m = 'C'.

append ls_fieldcat.

wa_layout-box_tabname = 'ITAB6'.

wa_layout-box_fieldname = 'CHK'.

CALL FUNCTION 'REUSE_ALV_grid_DISPLAY'

EXPORTING

i_callback_program = sy-repid

it_fieldcat = ls_fieldcat[]

IS_LAYOUT = wa_layout

TABLES

Read only

Former Member
0 Likes
347

check program

BALVSD01