Application Development 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: 

ALV DISPLAY WITH SINGLE FIELD

Former Member
0 Kudos

Hi All ,

I have one internal table that table having the only one FIELD  i want to display I want to display  it in ALV format 

but here the problem is while defining the field catalog it throws error like this

The type of "IT_STRING" cannot be converted to the type of  
"WA_FCAT-TABNAME".  

i am giving the field catalog like this

   wa_fCAT-col_pos       1.
  WA_FCAT-fieldname     'TEXT'.
  WA_FCAT-tabname       = IT_STRING.
 

here field text having the more than 150 characters for each record.

please advise me

Regards,

Pramodh.

1 ACCEPTED SOLUTION

nabheetscn
Active Contributor
0 Kudos

comments this   WA_FCAT-tabname       = IT_STRING. and check

3 REPLIES 3

nabheetscn
Active Contributor
0 Kudos

comments this   WA_FCAT-tabname       = IT_STRING. and check

0 Kudos

HI,

Nabheet thanks for Ur advise it is working fine now

Regards ,

pramodh.

0 Kudos

Hi Pramodh,

   wa_fCAT-col_pos       1.
  WA_FCAT-fieldname     'TEXT'.
  WA_FCAT-tabname       = 'IT_STRING'.

  give it like this

Regards,

Dinesh Jeyasurian.