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: 

Field not displaying in ALV??

Former Member
0 Kudos

Hi Experts,

I am enhancing(just addition of one field to the existing alv display) the existing ALV report i.e. exisiting_alv

So, first, I copied the code by giving the target prog. name i.e. new_alv.

So, I started the follwoing changes in new_alv code,

I added one filed in the itab,

I added this filed in SELECT statement (its a JOIN SELECT),

I added it in the field catalog.

It worked well.

So, I want to do the same in existing_alv code, so, I did the same i.e.

I added one filed in the itab,

I added this filed in SELECT statement (its a JOIN SELECT),

I added it in the field catalog.

(In debug mode, I checked that, Weather the data is coming into ITAB or not? Its coming from DB into ITAB!)

But, here its not working, even though I tried with itab, alv field catalog order i.e. keeping my field in the first, in the last, in the middle of itab and alv filed catalog?

So,

1- What culd b the reason ie. Its working well in copied code new_alv and not working in the original existing_alv code?

2- Is it overlapping some where?

3-Bcoz of join conditions in the select statemtnt?

4-How to fix it?

If any of the reason, then Why its displaying/working well in copied prog. i.e. new_alv?

ThanQ.

Message was edited by:

Sridhar

Message was edited by:

Sridhar

Message was edited by:

Sridhar

1 ACCEPTED SOLUTION

uwe_schieferstein
Active Contributor
0 Kudos

Hello Sridhar

If the new field is added to the fieldcatalog and the itab then it should be displayed as additional column on the ALV list. If not then mostly likely there is a <b>layout </b>defined for the ALV list where this field is simply missing. Change the layout and add the missing column.

Regards

Uwe

4 REPLIES 4

uwe_schieferstein
Active Contributor
0 Kudos

Hello Sridhar

If the new field is added to the fieldcatalog and the itab then it should be displayed as additional column on the ALV list. If not then mostly likely there is a <b>layout </b>defined for the ALV list where this field is simply missing. Change the layout and add the missing column.

Regards

Uwe

0 Kudos

ThanQ.

let me try, let u know the result.

TahNQ.

0 Kudos

Hi,

No, there is NO layout for this ALV.

ThanQ.

0 Kudos

Guten abend,

Danka Sehr! Seine expektation ist correct.

Yes, I resolved it, its related with Layout only.

Vielen Danka!