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

OOALV PAI problem

Former Member
0 Likes
819

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

1 ACCEPTED SOLUTION
Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
788

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

5 REPLIES 5
Read only

madhu_vadlamani
Active Contributor
0 Likes
788

Hi Mansi,

Can you paste your code.

Regards,

Madhu.

Read only

Pawan_Kesari
Active Contributor
0 Likes
788

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

Read only

Venkat_Sesha
Product and Topic Expert
Product and Topic Expert
0 Likes
789

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

Read only

Former Member
0 Likes
788

Hi,

did you create the structure by hand in the programme or is it created from a structure using a function?

Roy

Read only

Former Member
0 Likes
788

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.