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

Report Email format

Former Member
0 Likes
898

All,

I have a situation where when i pull up a report, it works fine and show the proper ALV display with my selected layout format but when select to also email the layout i select, it shuffle up the colums.

For example:

When i run the report, it display the correct colums like

A B C D E

but i have have it also email me the same report it shifts the columns and and the report i get in the email looks like

A D C B E

I have checked that its picking the correct layout while debugging it but not sure what else is going on.

Any help?

5 REPLIES 5
Read only

Former Member
0 Likes
837

I think it ignores you layout changes when you do things like send e-mail or download to Excel.

When you download to Excel it give a message that says this.

Rob

Read only

0 Likes
837

Thanks Rob.

Is there any way i can make the report use the same format for email as it uses while a display it.

also when i try to export the display to excel it DOES show the correct format, just screwing up in the email.

Thanks

Read only

sjeevan
Active Contributor
0 Likes
837

What program are referring to? is it your Z program or a standard program? Because some standard programs have different layout for printing (which includes email) example MB26.

Read only

Former Member
0 Likes
837

This is a Z program. Is there any code i could use to make sure the emailed format of the report matches the display format?

thanks

Read only

Former Member
0 Likes
837

Hi,

What is the order of the fields in the internal table that you have used for displaying the data in the ALV?

if it is ADBCE, then build another internal table with the fields in the required order and use for emailing.