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

ALV Header Problem

Former Member
0 Likes
652

Hello,

I created an ALV Report Program names Z_Test. I want to change it's name to ZREPORT, but when i rename the program and execute it, the ALV Header text and image doesn't appear, i think that i'm missing something.

Thanks for your help.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
633

Make sure that the "Z_TEST" name is not hardcoded anywhere in the program. If it is you will need to change the literal value. Or you can simply put SY-REPID into a variable LV_REPID and pass the LV_REPID. This way, it is never hardcoded in the program itself.

Regards,

Rich Heilman

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
634

Make sure that the "Z_TEST" name is not hardcoded anywhere in the program. If it is you will need to change the literal value. Or you can simply put SY-REPID into a variable LV_REPID and pass the LV_REPID. This way, it is never hardcoded in the program itself.

Regards,

Rich Heilman

Read only

former_member156446
Active Contributor
0 Likes
633

Looks like you missed copying the text elements and the includes.... when you hit the copy in SE38 select all the check boxes that pop up...

Read only

former_member125931
Active Participant
0 Likes
633

HI,

Check once in your copied program

GOTO-->HEADERTEXT,it may be inactive,if it so activate it,other wise chech the actual program with copied program in Header texy is it is copied or not..

Read only

Former Member
0 Likes
633

Hello, thanks for you help.

When I copied the program I checked all the check box form the pop up, and also I already have checked the Text Elements in the program, and they are all active.

Read only

0 Likes
633

Lets the code of your header text... Rich might have answered your question.