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

Problem in ALV program

Former Member
0 Likes
388

Hi Experts!

i had created an alv program , then tried to add a filed into fcat. but its now giving runtime error as below.

Error analysis

You attempted to access an unassigned field symbol

(data segment 92).

This error may occur for any of the following reasons:

- You address a typed field symbol before it is set using ASSIGN

- You address a field symbol that points to a line in an internal table

that has been deleted

- You address a field symbol that had previously been reset using

UNASSIGN, or that pointed to a local field that no longer exists

- You address a global function interface parameter, even

though the relevant function module is not active,

that is it is not in the list of active calls. You can get the list

of active calls from the this short dump.

regards,

S.C.

1 ACCEPTED SOLUTION
Read only

kiran_k8
Active Contributor
0 Likes
363

Shashikant,

type-pools:slis.

data:itfieldcat type slis_t_fielcat_alv

ths will take care of when we use reuse_alv_fieldcatalog_merge to build a structure.

Now you want to add a check box to this strucutre then you need to declare

data:itfieldcat1 type slis_fieldcat_alv and build the strucutre and append this itfieldcat.

K.Kiran.

2 REPLIES 2
Read only

kiran_k8
Active Contributor
0 Likes
364

Shashikant,

type-pools:slis.

data:itfieldcat type slis_t_fielcat_alv

ths will take care of when we use reuse_alv_fieldcatalog_merge to build a structure.

Now you want to add a check box to this strucutre then you need to declare

data:itfieldcat1 type slis_fieldcat_alv and build the strucutre and append this itfieldcat.

K.Kiran.

Read only

dev_parbutteea
Active Contributor
0 Likes
363

Hi,

you are trying to use a field-symbol to access a filed when you haven't assigned anything to the field symbol.

Try to see to which this is pointing and assign a value to it.

regards,

Sooness.