Spool output format issue
Hi all,
I am facing an issue when I run one of my custom ALV reports in the background.
There is a one line gap between each line of the output when we check the spool content.
I tried to change the number of columns in the existing printer format to 1023
and also set the SAP spool system settings check box which is
'' SP01:Number of columns from list display from format"
Request your suggesions.
Murthy
Hi,
What I was able to understand is that spool output cannot accomidate beyond 1023 characters.
I created a work writing the content on to Application server files.
Then created a new custom program which will download the application file content to Excel.
Regards,
Murthy
Similar Messages
-
Changing the file format of spool output when scheduling a background job.
Hello Experts,
I have an issue. It is related to Spool output format. I created a job for one report program for which the output is a list output. I have added one recipient in the 'Spool list recipient' while creating the job SM36. After the job is finished the spool output is sent to the recipient mail id as .htm format as an attachment. But the attachment should be excel sheet or text file. No coding in the program should be used to convert the file format. Only settings in the spool while creating job should be manipulated. Please help me in solving this issue.
Regards.Hi Sunil,
You can use the logic for converting spool to PDF using program : RSTXPDFT4 . Alternatively you can use FM: CONVERT_ABAPSPOOLJOB_2_PDF . In this FM you need to pass the Spool id .
u can make use of these FM's SO_DOCUMENT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1
Check out the following wiki:
https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertsspoolrequestintoPDFdocumentand+emails
hope this will use full to you.
Thanks!! -
Output Device and Format issues in Background?
Hi, all:
I have a issue. when I run the job as the background. whatever I choose which Output Device and Output Format. after finishing job. double click on the spool number. the Output Device is always LP01. Format is X_PAPER.
Anybody knows what happend in SAP.
Thanks in advance.Hi Yunfa Zhang,
what is defined as ABAP program in the Job's step? Maybe it ignores whatever you specify and reads the LP01 from somwwhere else, i.e. your user settings.
Regards,
Clemens -
Spool output in Excel sheet format
Hi,
We have background job , which creates a spool output in Internet Explorer format. Customer needs this in Excel format.
Wondering, if any authorizations to be changed for file type? or this is a set in program level?
Thanks,
SamYes....Currently the customer email address is added to "Spool list Recipient" in SM37. This way, spool output is sent to customer through email. Currently it is in HTML format.
Thanks,
Sam -
Need Spool output file in Excel format
Hi,
We have background job , which creates a spool output in Internet Explorer format. Customer needs this in Excel format.
Wondering, if any authorizations to be changed for file type? or this is a set in program level?
Thanks,
SamHi Sam,
This need to be fixed at the program level only,so you need an ABAPer to make the changes in out put. There is nothing to do with authorizations.
Regards,
Hari.
PS: Award points if helpful. -
Hi all,
I have one issue in the spool output.
In the spool output I see some strange results. At the first column the values COL1N, COL1H, COL0N, COL0H, COL2N .... were getting displayed at the first column in every row. Any one of the above values will be getting displayed in each row.
After that some contents are getting displayed out of which some values got truncated in production.
The sample out put is getting displayed like below.
| COL1H | heading1 | heading2 |......
| COL2N | row1 value1| row1 value 2| ....................
This is the sample output where the other values (other than col1n, col1h) are coming from the program from internal table.
After executing the similar job in production after three days it went fine.
Kindly let me know what is the issue why did it happen so two days before like that.
Thanks and Regards,
M.K. Sanath Kumar.I can sense about printer settings - can you please check if anybody changed printer settings in those three days?
-
Line is breaking in Spool output - KSB1
Hi All,
I am running the transaction KSB1 which is calling report RKAEP000 to display the output. The output format is fine while displaying it in ALV but in Spool the format is not correct. It is dispaying two line for a single line i.e. line is getting broken after 3 columns and rest two columns are coming in next line.
Can any one please suggest me what can be the issue.
Thanks,
NilanjanaHi,
If you are getting and using the Print parameters using the Function Module 'GET_PRINT_PARAMETERS',
check the exporting parameters line_size, line_count and layout, as in example below:
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = ' '
copies = '1'
list_name = 'LISTNAME'
list_text = 'LISTTEXT'
immediately = ' '
release = 'X'
new_list_id = 'X'
line_size = 132
line_count = 65
layout = 'X_65_132'
sap_cover_page = ' '
cover_page = ' '
receiver = sy-uname
no_dialog = 'X'
IMPORTING
out_parameters = params
valid = valid.
Let me know if it works.
Regards,
RV -
Problem with Excel output format
Hi Guys,
I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
Example Numeric fields --> Right Aligned, text fields --> Left Aligned
One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
Our client want excel output on priority.
Is there any limitation for excel output format of reports?
It is very urgent for us please help.
Any help would be highly appreciated.
Thanks,
Pragati
Edited by: user11237443 on Aug 27, 2009 1:22 AMHi Mahi,
Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
I have read that blog for excel limitations but i have more question?
1) What about the negative values?
if any field is displaying negative amount then excel not displaying right value for that:(
2)How can we align header or data?
Do XMLP with EBS provide any solution for formatting in excel?
3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
Here are so many formatting issues do we need to write any code in xml for that?
Please help.
Many Thanks,
Pragati -
How to send the spool output to the specific user during ALE distribution
Hi All
In ALE internal order Configuration done by BAPI Method SAVEREPLICA Business object BUS2075whenever user changed the internal order which is moved to the destination system because of change data setting in data element fields.
I want to know how to send the spool output of the changed internal order to the specific user during ALE distribution.
Please help me to reslove the above issue
Thanks & Regards
KRISHGUNASolved by myself
-
The .txt file has formatting issues that need to be resolved
Transaction ZEHS20 runs a program that assigns a CCL Group to a specification header, based on its Active Ingredients. The transaction can be run in the background if desired with output being emailed to the user.The .txt file has formatting issues that need to be resolved. can u pls Help me to resolve this issue.
ThanksWhat is the formatting issue like? Could you please elaborate a bit more.
If it is because of varying lengths in the data then it can be handled by utilising a CONCATENATE RESPECTING blanks. -
Spool output not appearing on one page
Hello Experts,
When program runs in foreground, I am getting correct output i.e. ALV blocks are displayed on one page only.
But when running same program in background, I got output in spool and when looked at spool output that time I realized that the ALV blocks are getting printed on new page.
So instead of displaying 4 pages it is displaying 8 pages in spool.
I ran the same report on quality in FOreground as well as background and output appears to be correct.
But not sure why it is giving distorted (printed on new pages) in SPOOL output.
Appreciate your help.
Thank you.
SaurabhHI Saurabh,
Check the Layout which you are passing which scheduling the job. It seems to be a different layout as compared to other system & hence the issue.
Thanks,
Best regards,
Prashant -
Redirecting spool output to a file on app. server
I'm running a SAP report as a background job.
I hve a requirement to send the spool output to a file on app. server. This needs to happen automatically in background.
I'll appreciate any suggestion.Hi,
use report from Re: output to pdf format and substitute pc-download with file transfer
good luck
Andreas -
How to save the output format of Quotation in PDF
Dear all,
When i am take a print priew of Quotation it show the quotation format in std sap format but it dosenot allow to save ?
Is there any std setting for Saving the output format?
Plz send the some solution for the same.
Thx & Regards,
PM
Edited by: PM on Feb 7, 2008 12:46 PMHI
If the output is sapscript, you can convert it into PDF format . There is one standard report RSTXPDFT2 to convert into PDF .
Before Execute you will have to create a spool request . when you will execute this report you will have to enter the
spool no. Then you can send this PDF file as attachment.
Hope this will helpful.
Bye
Ellath -
SAP Query format issue (with ABAP list)
Hi All,
I had a requirement to remove all unecessary formatting and text from a SAP query report which can be read by a third party software system. We need only Header line and report data (spaced by Tab).
I have removed all formatting from the report and changed the output format from "SAP list viewer" to "ABAP list" .
The issue is that the report shows material number with 12 digits in output but when we download to file then it adds extra six "0" and makes the Material Number field as 18 digit.
we have already maintained new length as 12 againts the standard length 18 for material number(under field output option)
Please suggest how to get rid of extra digits generated during downloading.
Please help,
Thanks,
RohitHi Brad,
Currently we execute query with SQ01 and from the output screen the user direclty saves the file as "local file..."
The output format is "abap list". We are able to get the exact format but the only problem is with material number. I cant make changes in the program. Is there a way to download it without changing the 12 character ( as displayed on the report output)
Thanks for help.
Rohit -
Hi experts ,
Hi have 70 fields in my ALV output. When the data is huge the output format in back ground is destorted ( overlapping).
When the data is less i could able to see alla colums appearing fine and can able to down load well?
I wanna know is there any limitation of spool capacity or number of coulumns * rows in ALV format .
Your help is highly rewarded.
Thanks n Regards,
VamsiHi,
Well then did you try to increase the line-size in the report statement of the program?
report ztest line-size 1023.
Regards,
Vikranth
Maybe you are looking for
-
Pdf extension changes to .dat when send a file via e-mail from adobe acrobat 9
to convert a file from microsoft word 2007 to PDF and send as an attachment via e-mail from adobe 9, the file is received with the extension changed to. dat, so recipients can not open it. Can anyone help me with this.
-
How can I display total playlist size in iTunes 11. It used to be visible for each playlist or CD, but I can't find it now.
-
Scanner and OCR don't Work in Acrobat 10.1.7
Up until yesterday, I was able to scan and OCR just fine. Today I realized that e-mailed pdf's did not OCR, instead, I got an "Unknown Error" on every non searchable pdf I was sent. I uninstalled and reinstalled, restarted, etc. and now, not only d
-
PDF printing -- process hanging ---
I tried pdf printing enabling of a report region in APEX using the Tomcat/cocoon route, ended up with successful installation, but when I click the PRINT link, process just hangs. Now, I downloaded BI publisher evaluation copy, installation went prop
-
Ipad2 e-mail settings problems
can anyone help me? cant receive or send e-mails. pop settings. provider talktalk. where do I find settings. tried sync from laptop. message said need ssl? thanks