09-21-2008 10:36 AM
o
Hi,
When i am Using 'REUSE_ALV_FIELDCATALOG_MERGE' FM i am getting the following dump.
u attempted to access an unassigned field symbol
data segment 32770).
his error may occur if
You address a typed field symbol before it has been set with
ASSIGN
You address a field symbol that pointed to the line of an
internal table that was deleted
You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
09-21-2008 11:00 AM
09-21-2008 11:05 AM
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = gv_repid
I_INTERNAL_TABNAME = 'I_EMP_DATA'
I_INCLNAME = gv_repid
CHANGING
CT_FIELDCAT = i_alv_fieldcat[]
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
.
09-21-2008 11:34 AM
Hi,
possible reasons are these:
- spelling of internal table is wrong, check it.
- wrong name of program, resp. include (you are using the same variable for program name and include name)
I guess the reason is the second point. So into gv_repid put value sy-repid and skip the line "include name".
Regards,
Karol
P.S.: You have 13 questions and all are marked as not answered. If so many people answers you don't you think you should close the questions?!?
Edited by: Karol Seman on Sep 22, 2008 1:31 PM
09-22-2008 12:36 PM
Hi
Insted of REUSE_ALV_FIELDCATALOG_MERGE go for
slis_t_fieldcat_alv, it may solve u r problem
Vijay