2009 Feb 22 8:12 AM
hi to all experts,
in my alv report there are 2 editable fields chckbox and menge
im building up the catalog with the fields description as QTY TO PRINT
if i assign the reference fieldname and reference tabname to field catalog im getting error description does not match the target field after im getting the error field symbol not assigned please help
2009 Feb 22 9:27 AM
hi to all experts,
in my alv report there are 2 editable fields chckbox and menge
im building up the catalog with the fields description as QTY TO PRINT
if i assign the reference fieldname and reference tabname to field catalog im getting error description does not match the target field after im getting the error field symbol not assigned please help
2009 Feb 22 9:27 AM
2009 Feb 22 11:21 AM
the fieldcatalog table is empty
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = repid
i_internal_tabname = 'it_output'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = repid
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = it_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
2009 Feb 22 11:32 AM
u have to pass the internal table name in CAPS..
ex:
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_internal_tabname = 'ILINE'
i_structure_name = 'ZSTOCK'
changing
ct_fieldcat = _fieldcat.
loop at fieldcat into lsfieldcat.
case ls_fieldcat-fieldname.
when 'DEPT'.
ls_fieldcat-no_out = 'X'.
when 'DESCR'.
ls_fieldcat-no_out = 'X'.
when 'GOOD_PRD'.
ls_fieldcat-do_sum = 'X'.
endcase.
modify fieldcat from lsfieldcat.
endloop.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |