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

checkbox in item data

Former Member
0 Likes
613

Hi,

I am displaying one ALV list using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY.where in header i have displayed checkbox(by declaring in itab and layout).I want checkbox in item data also.i have declared checkbox in item also.But the checkbox in item data is not displaying.

any idea?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
564

Hi Priya,

Did you configure the field catalog corresponding to the checkbox in alv. also there is one property in fieldcatalog where you can specify the field as a checkbox.

Thanks,

Chidanand

Hi,

I am displaying one ALV list using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY.where in header i have displayed checkbox(by declaring in itab and layout).I want checkbox in item data also.i have declared checkbox in item also.But the checkbox in item data is not displaying.

any idea?

4 REPLIES 4
Read only

former_member156446
Active Contributor
0 Likes
564

put that also in your internal table and populate a Field catalog for this and give the position as column 1 and row 2.

Read only

Former Member
0 Likes
565

Hi Priya,

Did you configure the field catalog corresponding to the checkbox in alv. also there is one property in fieldcatalog where you can specify the field as a checkbox.

Thanks,

Chidanand

Read only

0 Likes
564

Hi,

I have declared in the itab as( checkbox type char1)

  • FIEDCATALOG FOR ITEM

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

I_PROGRAM_NAME = L_REPID

I_INTERNAL_TABNAME = 'IT_ITEM'

I_INCLNAME = L_REPID

I_BYPASSING_BUFFER = 'X'

I_BUFFER_ACTIVE = ''

CHANGING

CT_FIELDCAT = IT_FIELDCAT

EXCEPTIONS

INCONSISTENT_INTERFACE = 1

PROGRAM_ERROR = 2

OTHERS = 3.

IF SY-SUBRC NE 0.

ENDIF.

so in fiedcatalog one checkbox fied is there for it_item table.

any idea.

Read only

0 Likes
564

once the old fieldcatlog is set it will not get refreshed withur new fieldcatlog

so try to remove the following f.m from ur program once and recreate it ....

REUSE_ALV_HIERSEQ_LIST_DISPLAY

'REUSE_ALV_FIELDCATALOG_MERGE'

or

copy the same program to another program and see