06-01-2011 5:42 AM
Hello All,
I have an ALV output sheduled in the background and the output is sent to the pool. Now in the spool, I see that the the end column is wrapped to the next line . I searched in the forumns for a solution and tried out many things. I am already using a new format (Z_65_1023) .. Also , I noticed that this issue happens only when the no. of rows also is large.. ie, when we restrict the selection to small range , it shows the output without wrapping for the same width.
The total list width in my case exceeds 1023 ( 1617 to be precise ) . Kindly advise
Regards,
Ratheesh
06-01-2011 6:35 AM
hi guru,
try with this function module 'RKD_WORD_WRAP'.
regards.
anji.
06-01-2011 7:09 AM
Hi Anji,
Thanks for your reply. But I dont need to wrap the text.. What I need is unwrap it and show the entire row in one single line.
Regards,
Ratheesh
06-01-2011 8:02 AM
06-01-2011 8:10 AM
Hi,
This problem due to output type.
Asked your basis person to create Generic Output type. When you run the program in background assign that generic output type.
Kind Rgds
Ravi Lanjewar
06-06-2011 9:03 AM
Hi Ravi,
Could you pls let me know what exactly do you mean by generic output type? Did you mean a 'Device Type' or an 'Output Device' ? When you say , generic , what is meant by that ? Wherever I read I saw the maximum list width is 1023 characters .. And once it crosees, the rest of the part is 'wrapped' , not truncated. Hence I think this is a generic handling by SAP .
regards,
Ratheesh
06-06-2011 10:36 AM
Even though you are using new format with no of columns as 1023,Some times it may not work.
Try SPAD -Go to settings-Spool system.
Go to tab - Other
Check the first check box"SP01:Number of columns for List Displayfrom Format" in the Output Controller block, SAVE and exit.
Run ALV report with new format and check spool.
Thx
06-07-2011 2:56 AM
Hi Boby ,
Thnaks for your help.
Even this did not work for me.. understandably so since the format itself supports only max. 1023 characters.. Not beyond that ..
Regards,
Ratheesh
06-07-2011 4:51 AM
Plz go ahead and create a new format(more than 1023) .Check with your basis team.
06-07-2011 7:03 AM
Hi,
Step are follows.
1) Run TCODE SPAD
2) Click on output device devices button
3) Create Button on application bar
a) Give output device name
b) select generic device type
c) device class as logical output device
You can also find SAP Note for same.
06-07-2011 8:42 AM
Did you read [Note 1179399 - ALV print: Q&A ALV print format and background job|https://service.sap.com/sap/support/notes/1179399]
Regards,
Raymond
06-16-2011 2:55 AM
Hi Raymond,
Thanks. But I couldnt get the solution to my problem from this note too.
regards,
ratheesh