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

What is this error???

Former Member
0 Likes
1,332

In my ALV program I am getting this error.

what i have done wrong???

Short text

Field symbol has not yet been assigned.

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPLSLVC" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

In debugging IT_FCAT is full of data and my final table is also ful of data...but after going to REUSE_ALV_GRID_DISPLAY its showing error.

Message was edited by:

Kaushik Datta

In my ALV program I am getting this error.

what i have done wrong???

Short text

Field symbol has not yet been assigned.

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPLSLVC" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

In debugging IT_FCAT is full of data and my final table is also ful of data...but after going to REUSE_ALV_GRID_DISPLAY its showing error.

Message was edited by:

Kaushik Datta

9 REPLIES 9
Read only

Former Member
0 Likes
1,204

hi,

Have you checked whether you have assigned the fieldcatalogues correctly.

are you working on hr report?

regards,

jinesh

Read only

0 Likes
1,204

ho u declared the field catalogue?

Thanks,

Praveena

Read only

0 Likes
1,204

every thing is decleared properly i hope so....as in the final table as in the fieldcatalog

Read only

0 Likes
1,204

can u please paste ur code...

did u gave field names in capital letters

thanks,

Praveena

Read only

0 Likes
1,204

copy paste ur code or, the rumtime contents of the field catalog and data tables along with the other parameters that you are passing to the FM.

Thanks and Best Regards,

Vikas Bittera.

Read only

0 Likes
1,204

Thanks ...It was in small letters...here is ur reward

Read only

Former Member
0 Likes
1,204

Hi Kaushik,

Check the data that you are passing to the FM once again.. like the data and the field catalog tables..

some value is going wrong and in the FM a READ statement fails due to which the field symbol remain unassigned and when it is used ahead it leads to short dump..

Thanks and Best Regards,

Vikas Bittera.

Read only

Former Member
0 Likes
1,204

you need to assign an object to the field symbol in the following way:

ASSIGN <f> TO <FS>.

e.g

FIELD-SYMBOLS: <F1>, <F2> TYPE I.

DATA: TEXT(20) TYPE C VALUE 'Hello, how are you?',

NUM TYPE I VALUE 5,

BEGIN OF LINE1,

COL1 TYPE F VALUE '1.1e+10',

COL2 TYPE I VALUE '1234',

END OF LINE1,

LINE2 LIKE LINE1.

ASSIGN TEXT TO <F1>.

ASSIGN NUM TO <F2>.

DESCRIBE FIELD <F1> LENGTH <F2>.

WRITE: / <F1>, 'has length', NUM.

ASSIGN LINE1 TO <F1>.

ASSIGN LINE2-COL2 TO <F2>.

MOVE <F1> TO LINE2.

ASSIGN 'LINE2-COL2 =' TO <F1>.

WRITE: / <F1>, <F2>.

The output is:

Hello, how are you? has length 20

LINE-COL2 = 1,234

for details, refer the link:

http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/frameset.htm

Please reward the helpful entries.

Regards,

Raman.

Read only

Former Member
0 Likes
1,204

solved