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 unwanted data from old layout variant

Former Member
0 Kudos
95

All,

We are using 6.0 and have a customized report that uses ALV. I have a layout variant I use that contains the field PRICE. We want to exclude PRICE from this report and the developers have made the code changes. However, when I execute the report with the old variant the PRICE field appears (in the header and the data). When I use a variant created after the code change the PRICE field does not appear.

What needs to be done to eliminate the PRICE from ever showing up when I use the old layout variant?

Thanks

Sandra

4 REPLIES 4

Former Member
0 Kudos
66

Hi,

Delete the old variant and create a new variant with the same name and assign it to a transport.

If you are not able to delete the variant in your dev.client, get the help of a func.analyst and delete it in the gold client. Create a new variant there and get it migrated.

Regards,

Subramanian

Former Member
0 Kudos
66

Subramanian,

In this case the users create their own variants in the production systems. So your solution is to go and delete all variants in all the production systems we have?

I was hoping there would be a solution other than deleting the old variants?

Thanks

Sandra

0 Kudos
66

hi,

Is that price field displaying any data.If not the modified code is right but the developer forgot to delete the field form the fieldcatlog.If the price does n't dispalying data ask ABAP consultant to delete that field from fiedcatlog.

Warm regards,

Surendar Reddy.

Former Member
0 Kudos
66

Thank you for your responses. They were both very helpful. As I dug into this further, I understand now from my abap developer that to make the code changes per Surendar's e-mail would require a significant amount of code changes in this specific case. He tried to explain that to me earlier and I didn't understand. Because we are looking to eliminate this report soon we do not want to make that investment of time.

Thank you again for your quick and very helpful responses.

Sandra