‎2011 Aug 31 12:00 PM
Hi All,
I am new to OOALV. I am done with my report. But when I am trying to download the report output to a local file or excel sheet. from standard ALV download option. I am getting a runtime error saying " Field Not Assigned".
I checked in SDN also but no use. I did not found any solution. every body is telling error in Field catalog. But I checked twice there is no error in the FCAT.
Please suggest. Thanks
‎2011 Aug 31 12:14 PM
Hey,
You can check what is the error in the simple way.
In the Set_table_for_first_display method pass the exporting parameters as I_CONSISTENCY_CHECK = 'X'.
Now execute your report. If the ALV ouput shows something in red. then it is a problem with your FCAT. Else it is a problem with your Layout.
Hope this helps. Bhargav.
Edited by: VENKAT SESHA on Aug 31, 2011 1:14 PM
‎2011 Aug 31 12:10 PM
‎2011 Aug 31 12:11 PM
I am afraid you will get same answer here.
I would suggest put a break-point on message statement and debug around the code where this message is triggered. Try to find out which field ALV class is try to access just before the message is issued.
Most probably the problem would be with definition of field-catalog of that field.
Good luck with debugging.
Regards,
Pawan.
Edited by: pawankesari on Aug 31, 2011 4:42 PM
‎2011 Aug 31 12:14 PM
Hey,
You can check what is the error in the simple way.
In the Set_table_for_first_display method pass the exporting parameters as I_CONSISTENCY_CHECK = 'X'.
Now execute your report. If the ALV ouput shows something in red. then it is a problem with your FCAT. Else it is a problem with your Layout.
Hope this helps. Bhargav.
Edited by: VENKAT SESHA on Aug 31, 2011 1:14 PM
‎2011 Aug 31 12:42 PM
Hi,
did you create the structure by hand in the programme or is it created from a structure using a function?
Roy
‎2011 Sep 20 1:27 PM
Hi i face the same problem check the field catalog that text has assigned in small letter or in field catalog dont give reference table and reference field.