Application Development 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: 

Getting DUMP Using REUSE_ALV_FIELDCATALOG_MERGE

Former Member
0 Kudos

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.

4 REPLIES 4

former_member212653
Active Contributor
0 Kudos

Give the code of the function call...

0 Kudos

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

.

0 Kudos

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

Former Member
0 Kudos

Hi

Insted of REUSE_ALV_FIELDCATALOG_MERGE go for

slis_t_fieldcat_alv, it may solve u r problem

Vijay