2007 Sep 01 10:49 AM
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
2007 Sep 01 10:52 AM
hi,
Have you checked whether you have assigned the fieldcatalogues correctly.
are you working on hr report?
regards,
jinesh
2007 Sep 01 10:53 AM
2007 Sep 01 10:57 AM
every thing is decleared properly i hope so....as in the final table as in the fieldcatalog
2007 Sep 01 11:00 AM
can u please paste ur code...
did u gave field names in capital letters
thanks,
Praveena
2007 Sep 01 11:02 AM
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.
2007 Sep 01 11:06 AM
2007 Sep 01 11:00 AM
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.
2007 Sep 01 11:02 AM
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.
2007 Sep 01 11:06 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |