2008 Nov 05 2:17 PM
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?
2008 Nov 05 2:22 PM
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 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
2008 Nov 05 2:20 PM
put that also in your internal table and populate a Field catalog for this and give the position as column 1 and row 2.
2008 Nov 05 2:22 PM
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
2008 Nov 06 4:09 AM
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.
2008 Nov 06 4:34 AM
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
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |