01-14-2010 6:57 PM
Dear Gurus,
I tried to run an ALv report in the foreground and it works perfectly fine and shows 42 columns. But when i run it in the background, the resultset only contains 12 columns. Is there a particular reason why this is happening. What steps can i take to remedy this.
~thanks, appreciate it.
01-14-2010 7:11 PM
Have you tried upgrading your report size?
REPORT zdummy_sandbox NO STANDARD PAGE HEADING line-SIZE 255.
Greetings,
Blag.
01-14-2010 7:11 PM
Have you tried upgrading your report size?
REPORT zdummy_sandbox NO STANDARD PAGE HEADING line-SIZE 255.
Greetings,
Blag.
01-14-2010 7:49 PM
No, how do i do that? and what are the implications of that?
~thanks
01-14-2010 7:53 PM
Gotcha, change the report size in my ALV program.
will do that and try.
It should work.
How dumb i couldn't think about it
01-14-2010 7:54 PM
You do it like this...
REPORT zdummy_sandbox NO STANDARD PAGE HEADING line-SIZE 255.
Where LINE-SIZE is the size of your report screen and 255 is the max size (Maybe more or less..not sure)...basically, the ABAP standard line size for reports is kinda short...so if your ALV got 42 columns, you need to extends the size of the report output to make everything fit -:)
Greetings,
Blag.
01-14-2010 7:56 PM
Dumb? Come on -:) Something we look to the bigger picture and don't pay to attention to the little details -;) Happen to best of us so no worries about it -:)
Greetings,
Blag.
01-14-2010 8:00 PM
thanks Blag,
I am getting below message when i try to run it in background
System cannot print the last 768 columns of the report
Message no. PT008
Diagnosis
Each format has a maximum number of columns. The number of columns specified is greater than the maximum number permitted.
Procedure
Specify a valid number of columns. Choose the possible entries help (F4) to find out what the current maximum value is.
01-14-2010 8:21 PM
Max line size is 1,023 according to the documentation...have pass that value and getting that error?
Greetings,
Blag.
01-14-2010 8:27 PM
I set it at exactly 1023; it was more of an information / warning message.
The report is still running in background; We'll find out in a little bit.
01-14-2010 8:33 PM
It has 30 pages. But still truncates after 255 chars. horizontally.
01-14-2010 10:31 PM
Maybe it has something to do with the printer you're using...try to use another one or look for a printer with a longer line-size...
Greetings,
Blag.
01-14-2010 11:01 PM
Hi Blag,
I want the result in electronic form. In the above post I was talking about 30 pages in electronic form. also my printer settings for the background job say
"send to sap spooler only"
I don't think this has anything to do with the printer.
~thanks
01-14-2010 11:03 PM
Humm...then I don't know...I don't think I have to send any ALV report more than 15 columns to the spool...sorry -:(
Greetings,
Blag.
01-15-2010 4:10 AM
Hi Neha,
In SM37 select the report , go to spool list . Select the check box and Press SHIFT + F4 you will get the maximum width for the report .
01-15-2010 2:32 PM
07-23-2010 6:54 AM
Hi Nau,
I got same problem, but now i have getting all columns.
Thank you very much.
Satish
01-15-2010 3:33 AM
Hi Neha,
While scheduling the job the default layout is selected which has max 80 columns. X_*_80....
While defining the background job ... STEP 1... you mention the program name, variant etc.. click on PRINT SPECIFICATION & pass the format as X_65_580.
Ensure that you have created such a format in SPAD transaction => Page format => NEW
Assign the new format to the Output device which you are mentioning in the background job.
Thanks,
Best regards,
Prashant