04-22-2007 4:57 PM
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
04-22-2007 8:07 PM
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
04-22-2007 8:07 PM
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
04-22-2007 8:12 PM
04-22-2007 8:13 PM
04-22-2007 9:29 PM
Guten abend,
Danka Sehr! Seine expektation ist correct.
Yes, I resolved it, its related with Layout only.
Vielen Danka!