Hi people! I need a help...
I'm having a problem. In a ALV OBJECT report, when user try to print, the first line of details in each page has the line dislocated to the right, only the first line, the others is OK....
Anyone already seem this?
Nick Johnson replied
This might be overkill for what you need, but I had an ALV report that required the ability to print a specific layout (business requirement). I achieved this through printing an ALV grid to a Smartform ( I actually had 2 Smartforms - one for A4 and one for A3). The data was passed into the Smartform using a series of parameters (for the header of each page) and table of data (the ALV data). I then had a custom print button (using form USER-COMMAND) that allowed me to pre-determine from the selection screen whether I wanted A3 or A4.
By having a Smartform, the output looks better and you have the ability to tweak the look and feel.
Hope that gives you a pointer in the right direction.