SPOOL data gets truncated when bckground job output sent to spool recepient
Hi All,
I am facing a strange problem.
I have a background job scheduled. Have specified a distribution list as the spool recipients.
Background jobs output is sent to the recipients as attachment but data is not complete.
When I check the spool request for that background job it contains 80 pages but the attachment in the recipients inbox contains just 17 pages.
SP01/SP02 will display settings to display the range of pages but the emaill attachment doest show.
Can anyone please help me with this?
We are on ECC 6.0 (Windows2003/MSSQL2005 SP3)
Regards,
Yatin
Hi,
When the spool content is sent immediately after the background job its size is 14KB.
I tested by sending spool content via mail using transaction SP01. I mean after the jobs is completed, I go to SP01 and send the SPOOL content manually. This time recipients receive the correct content of 80 pages and size of the document this time is 73KB.
Regards,
Yatin
Similar Messages
-
Spool Is getting truncated when sent as email attachment
Hi All,
We are sending the spool lists for overnight jobs as emails (outlook) to certain users. The problem we are facing is that when the spool is big then not all the pages are getting transferred in the attachment. The list gets truncated.
Has anyone faced a similar problem and if there is a way around this. Maybe there is some parameter setting in SAP which has to be adjusted.
Pl advice.
ThanksHi
I faced the same problem because in standard SAP dimensions of attachement is hard coded.
Regards
Aditya -
Data gets truncated when flows on the new page ?
I have data from about 5 tables displayed in this report.
There is one row which fetches all the required data and displayed there. This is a repeating frame in a group. The group is then again on a repeating frame which is on a group.
At the end of this in the overall group frame, there is a row which has summary columns.
the problem: When the rows of the innermost repeating frame are a lot in number, such that they exceed the page and overflow to the next page, the extra records do not get displayed. they are truncated and the next record starts on the new page. if i fiddle with the properties of the frames. the other scenario i get is, now i get the same number of rows as before, only, this time the summary row is also displayed at the end of this page. and like before a new record starts on the new page.
I tried many possible comninations with the properties, but i cannot get the data to flow over to the next page.
Any comments as to why this is happening ?Hi,
It does sound like it's probably related to your print conditions. If you have not already had a look, I would highly recommend looking at the restrictions in the on-line help for the Print Object On property.
It's difficult to say without seeing the report itself. What it sounds like to me is that a detail repeating frame has been set to All Pages. Let's say its master repeating frame is the Base Printing Object for the detail repeating frame. If the master only has a couple of lines of data to itself (ie the department name and id or location) then it likely does not have enough data to go to an additional logical page. All Pages for the detail repeating frame means that it will print on and only on All logical pages that the Base Printing Object will appear on. Therefore, as it would only appear on one page, the detail will get truncated to just that one page.
I suspect this is likely to be what it going on here, however, without the actual report, it will be difficult to tell exactly which object is causing the problem. If after reading the doc on this you still have trouble figuring out which frame is causing the problem (it may be repeating or a group frame) then I'd suggest contacting Oracle Support for further hands on assistance.
Hope that helps,
Toby -
Spool not getting created in batch job
Hello experts,
We have a requirement of printing BA00, BA01 and LD00 from different application.
We have done same code for all BA00, BA01, and LD00.
Normally the code is working fine except in few cases, when batch job is created but spool is not created.
DATA: job_name TYPE tbtcjob-jobname,
number TYPE tbtcjob-jobcount,
print_parameters TYPE pri_params,
wv_pripar TYPE pri_params,
wv_arcpar TYPE arc_params,
wv_val TYPE c VALUE 'X',
wv_false TYPE c VALUE 'X',
gv_mandt TYPE tsp01-rqclient,
gv_user TYPE tsp01-rqowner.
CLEAR: gv_mandt, gv_user, number.
gv_mandt = sy-mandt.
gv_user = sy-uname.
job_name = 'DELIVERY_PRINTING'.
CLEAR: range1.
range1-sign = 'I'.
range1-option = 'EQ'.
range1-low = 'LD00'.
CLEAR: range1-high.
APPEND range1 TO range.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = job_name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT sd70av2a WITH rg_kschl IN range
WITH rg_vbeln IN deli_tab
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB job_name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = job_name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
WAIT UP TO 10 SECONDS.
** to give the data to the printer***
* CLEAR gv_rqident.
SELECT SINGLE listident INTO gv_listident FROM tbtcp
WHERE jobname = job_name
AND jobcount = number.
IF sy-subrc = 0.
MOVE gv_listident to gv_rqident.
CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
EXPORTING
spool_request_id = gv_rqident.
ENDIF.
The same code is for all the output BA00, BA01 and LD00.
The issue is that for few batch jobs (which is created in the above code) , spool is not getting created.
Thanks and Regards,
Paritosh PandeyHi,
The code starting from WAIT UP TO 10 SECONDS. - not only does it look attrocious, is error prone (if no free process for executing batch job is available for 10 seconds, or if the job runs for more than 10 seconds, what will happen...?), but seems utterly unnecessary... Is there any reason immediate spool output can not be handled by simply setting PRINT_PARAMETERS-PRIMM = 'X'?
cheers,
Janis
Edit in:
Ok, i just read Document in spool but not printed... Do not use an output device relying on frontend access methods to do printing from background processing. Frontend is not available during background processing, period. To my knowledge there is no easy, clean solution to this problem other than defining and assigning, per user, output devices not relying on frontend printing. What if the dialog user has logged off by the time batch job finishes..? May the spool remain unprinted?
Has the SAP Basis refused to define output devices (I have hard time believing this...)? Well, tell them one time to stop being silly and if they do not cooperate, tell the owner of the requirement that it can not be implemented due to uncooperative Basis then... and that the users will have to keep going to SP01 and manualy start the output!
Message was edited by: Jānis B -
Data getting truncated while exporting report to a text file in crystal 10?
Hi All,
I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and it update "CharPerInch" value in registry under following location to 16.
HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text
The dialog asked for character per inch also has option to select not to prompt again and i also selected that in first go.
When i export the report again in text format it didn't prompt for number of character per inch but the data gets truncated.
What i believe is even though it updates entry in registry and reads, it is not using the same value for export. It never consider the value that is in registry, if the check box is not selected then it is using the value entered in the dialog and if the check box is selected then in the next run it uses the default value as 9.
Can anyone suggest me how to override this problem ? Is there any other setting place in registry where i can enter the number of character per inch.I don't want to crystal to prompt always for character per inch.Hi Venkateswaran,
The other option to avoid truncation of the data could be
Right click the text filed
Click on Format Text to open the Format Editor
On Common tab check the text box for Can Grow.
This will prevent the data from truncating in preview as well as while exporting to text.
Otherwise you will have to set the characters per inch to 16 each time. I donu2019t see changing the registry value causing any difference here.
Regards,
Aditya Joshi -
OWB 10g R2 - Dates getting truncated in rejected records
Hi,
We have been using Oracle Warehouse Builder 10g R2 in a data warehouse built on a Oracle Database Server of the same version. We utilise OWB run-time repository to extract data rejects that might occur in OWB mappings and re-process them, if necessary. In particular, we used to query to RAB_RT_EXEC_ERROR_COLUMNS view in order to retrieve data rejects.
As I have noticed, OWB stores rejected data in its run-time repository having all values transformed to VARCHAR2(2000) data type. The problem I am trying to resolve is the fact that when OWB transfers rejected DATE values to the run-time repo, it truncates all dates so the time component is lost.
For instance, a source table contains a record with a DATE column value "26-AUG-2006 14:30:27". The source column is mapped in an OWB mapping to a target column of the same data type. When the mapping successfully processes the records, DATE values appears in the target table unchanged, with date and time components. When the mapping rejects the record, it appears in OWB run-time repository in VARCHAR2 data type, but without time component. When I query RAB_RT_EXEC_ERROR_COLUMNS, I get "26-AUG-2006" value.
This is a real problem for us, as rejected data being re-processed can cause unique constraint violations and does not match exactly the source data.
Any ideas how to resolve the situation are highly appreciated.Yes, we capture errors in row-based mode. We considered using DML error tables, but refused to be able to capture and re-process data rejects occured at any stage in a mapping, not necessarily when the data is being loaded to a destination table.
BTW, today I tried to set up manually NLS date format
EXECUTE IMMEDIATE 'ALTER session SET nls_date_format = ''DD/MM/YYYY HH24:MI:SS''';
immediately before running a mapping through WB_RT_API_EXEC package (OWB API), but result was the same -- rejected dates got truncated. -
Username gets truncated when saved from BW
Hi all,
We have a function module that is called from a BW report which is developed as a BSP application in the BW client; this FM saves some data (such as contract number, username, etc.) in a Z table created in R/3. The FM is called with respect to R/3 RFC destination. All the details passed to this FM (except the username) are saved correctly in the Z table; however username gets truncated to 8 characters.
When the same FM is called from portal or even executed manually complete user name gets saved. All the variables / fields etc. are declared with the correct data elements.
Can someone advise what the cause can be. Is this related to RFC calls.
Cheers,
KC
SAP SDAre you passing the User Name to RFC? If so check the Import parameter of RFC. If its char8, it will truncate the data.
Raja T -
ORA-28500 + "String data, right truncation" when selecting nvarchar(max)
Hi,
I was able to set up a db link from Oracle 11.2.0.1 to SQL Server 2005 using DG4ODBC.
When trying to select a column with nvarchar(max) datatype from the db link I get the following error:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}
ORA-02063: preceding 2 lines from SQLSERVER_DBLINKThe actual data in the column doesn't exceed 31 chars but the query still fails.
Any suggestions?
Thanks.The character set is AL32UTF8
Here is the relevant data from the trace file:
Entered hgopars, cursor id 1 at 2010/12/23-12:08:59
type:0
SQL text from hgopars, id=1, len=47 ...
00: 53454C45 43542041 312E2243 6F6D6D65 [SELECT A1."Comme]
10: 6E742220 46524F4D 20224442 4F222E22 [nt" FROM "DBO"."]
20: 565F4442 56455253 494F4E22 204131 [V_DBVERSION" A1]
Exiting hgopars, rc=0 at 2010/12/23-12:08:59
hostmstr: 2011148288: HOA After hoxpars
hostmstr: 2011148288: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2010/12/23-12:08:59
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/12/23-12:08:59
hostmstr: 2011148288: HOA After hoxopen
hostmstr: 2011148288: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2010/12/23-12:08:59
Allocate hoada @ 038B493C
Entered hgopcda at 2010/12/23-12:08:59
Column:1(Comment): dtype:-9 (WVARCHAR), prc/scl:0/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/12/23-12:08:59
hgodscr, line 910: Printing hoada @ 038B493C
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
12 VARCHAR Y 0 0 128/ 0 1000 0 40 Comment
Exiting hgodscr, rc=0 at 2010/12/23-12:08:59
hostmstr: 2011148288: HOA After hoxdscr
hostmstr: 2011148288: RPC After SQL Bundling
hostmstr: 2011148288: RPC Before SQL Bundling
hostmstr: 2011148288: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2010/12/23-12:08:59
Exiting hgoclse, rc=0 at 2010/12/23-12:08:59
hostmstr: 2011148288: HOA After hoxclse
hostmstr: 2011148288: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2010/12/23-12:08:59
Free hoada @ 038B493C
Exiting hgodafr, rc=0 at 2010/12/23-12:08:59
hostmstr: 2011148288: HOA After hoadafr
hostmstr: 2011148288: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2010/12/23-12:08:59
type:0
SQL text from hgopars, id=1, len=47 ...
00: 53454C45 43542041 312E2243 6F6D6D65 [SELECT A1."Comme]
10: 6E742220 46524F4D 20224442 4F222E22 [nt" FROM "DBO"."]
20: 565F4442 56455253 494F4E22 204131 [V_DBVERSION" A1]
Exiting hgopars, rc=0 at 2010/12/23-12:08:59
hostmstr: 2011148288: HOA After hoxpars
hostmstr: 2011148288: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2010/12/23-12:08:59
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2010/12/23-12:08:59
hostmstr: 2011148288: HOA After hoxopen
hostmstr: 2011148288: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2010/12/23-12:08:59
Allocate hoada @ 038B6C98
Entered hgopcda at 2010/12/23-12:08:59
Column:1(Comment): dtype:-9 (WVARCHAR), prc/scl:0/0, nullbl:1, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2010/12/23-12:08:59
hgodscr, line 910: Printing hoada @ 038B6C98
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
12 VARCHAR Y 0 0 128/ 0 1000 0 40 Comment
Exiting hgodscr, rc=0 at 2010/12/23-12:08:59
hostmstr: 2011148288: HOA After hoxdscr
hostmstr: 2011148288: RPC After SQL Bundling
hostmstr: 2011148288: RPC Before Fetch Row
hostmstr: 2011148288: HOA Before hoaftch
Entered hgoftch, cursor id 1 at 2010/12/23-12:08:59
hgoftch, line 130: Printing hoada @ 038B6C98
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
12 VARCHAR Y 0 0 128/ 0 1000 0 40 Comment
Performing delayed open.
SQLBindCol: column 1, cdatatype: -8, bflsz: 2
Entered hgopoer at 2010/12/23-12:08:59
hgopoer, line 233: got native error 0 and sqlstate 01004; message follows...
[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}
Exiting hgopoer, rc=0 at 2010/12/23-12:08:59
hgoftch, line 740: calling SQLFetch got sqlstate 01004
Entered hgopoer at 2010/12/23-12:08:59
hgopoer, line 233: got native error 0 and sqlstate 01004; message follows...
[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}[Microsoft][SQL Native Client]String data, right truncation {01004}
Exiting hgopoer, rc=0 at 2010/12/23-12:08:59
hgoftch, line 971: calling SQLGetData got sqlstate 01004
100 rows fetched
Exiting hgoftch, rc=28500 at 2010/12/23-12:08:59 with error ptr FILE:hgoftch.c LINE:971 ID:Row error while doing array fetch
hostmstr: 2011148288: HOA After hoaftch
hostmstr: 2011148288: RPC After Fetch RowThanks -
E-mails get truncated when forwarded
When I forward an e-mail from within the e-mail app, the e-mail does not get forwarded completely. For some reason the original text gets truncated.
I first noticed this on IOS 6 on both the iPhone 5 and iPad 3rd gen.
Please advice me what to do, because this way the e-mail app is not reliable.
Kind regards.Thank you. I will have to try this out with a known troublesome link, but I don't recall getting an "open with" dialog in these circumstances. Also, as I understand these things (and I probably don't) the links I have tried to use have been communication links rather than a file opening function. The problem I got the other day was on a BBC site and the function of the link (which was an e-mail address) was to enable me to post a question. I was able to use that address to post the question without using the link shortcut - just sent an e-mail.
-
Dot file names get truncated when pdf from INDD
We noticed that if the setting in windows xp is "hide file extension for known file types" is selected any file name in INDD that contains a "dot" will be truncated when the pdf file name is generated. Is there any way that INDD can be modified to see a "dot" used in a file name. (such as st-809.4.indd)
Don't hide file extensions? In my book, that's a bad setting, anyway.
-
Longtext getting truncated when transferring from Notification to Order
Hi All,
I have a doubt where we create a notification and maintian notification longtext and on creating order from notification , the longtext gets copied to order longtext but it gets truncated .. what might be the reason for this ? i could find a config setting under notificaiton define longtext control for notification ... here i am not sure whether format key is helpful or no ..
Please provide your inputs ..
regrds
pmHi ,
I think your talking about ECC 6.0 and my system version is 4.6C and the config node suggested is not there in 4.6C , In 4.6C i have Maintain Indicator for Notification & order header on one screen and there is nothing related to longtext here ..
In my case longtext is getting trasnferred from Notification but missing some part in MO
regrds
pm -
Movie gets truncated when exporting to a different format
I have just upgraded to Quicktime Pro to allow me to convert formats. Trying to export a 40 second .mov or .m4v file to a .wmv format, the resulting .wmv file gets truncated after about 30 seconds. This is happening to all other similarly structured file conversions.
Any advise or answer is appreciated!Pay the people at http://flip4mac.com for one of the upgrades to their product you're using to exit the "trial mode" version.
QuickTime Player Pro doesn't create WMP formats without that third party software help. -
Getting ERROR when downloading alv output to Excel
Hello All,
I get a error message when I try to use the standard funtionality to download the alv output to excel.
The current statement only supports character-type data objects.
What happened?
The current ABAP/4 program "SAPLKKBL " had to be terminated because
one of the statements could not be executed.
This is probably due to an error in the ABAP/4 program.
Error analysis
In statement
"STRLEN( obj )..."
the argument "obj" can only take a character-type data object.
Source code extract
038620 * ansonsten entspricht sich min. Ausgabelänge und Ausprägungslänge
038630 else.
038640 if gs_fc-tech_form ne 99.
> gs_out-hlplen = strlen( ).
038660 endif.
038670 endif.
In this case, the operand "obj" has the non-character type "I".
Please can anyone put some light on this. It is veru difficult to go through the whole std functionality to download.
Thanks for all support guys!
Sri.Hi srikanth,
This error comes because the values present in any one of the displayed coloums containing special character like * present before or after the number.... i.e instead of 4 ...**4.
While displaying in the screen it is of no problem. since both *4 are converted into char format (internally) and gets displayed.
But while you download the same throu the EXCEL functionality SAP will intenally convert the same into NUMERIC format. Since 4 is number.
So in that case *4 will cause dump.
*So find out the place in which the value appearing like this *4 and try to correct it.
*Surely it is of Field LENGTH problem. Try to increase the length of the field 4.
It Should WORK.!!!.. else post ur query here.
REWARD POINTS IF USEFUL
~Lakshmiraj~ -
How to send Mail to multile users of Spool which gets generated by BG Job
Hi...Experts.
Information
In Our system there are multiple jobs running in the system which are scheduled by different users.
Assumptions
The basic SCOT Configuration are in place in system to send to a SMTP Servers. Already multiple mail triggers happening in the system for different reports.
Requirement
We want to send a specific Background Spool to multiple mail id's as soon as BG completed ans spool got created.
Pl Help. - We want to handle this requirement in BASIS Space only ( We mean we do not want get into coding or anything ) ---
Rgds
Edited by: PR Srinivas on Oct 13, 2010 1:34 PMIt is just mentioned as JUAN above.
Created distribution list in SO23/ SBWP
Added distribution list in SM37 - spool receipt tab
It worked.
Thanks, -
We're using Crystal Reports 10 and when we export a report from the Crystal Viewer using either the MS Excel 97-2000 option or the MS Excel 97-2000 (Data Only) option, the date columns on the report appear as expected on a PC version of Excel, however, most of the users at our company use Macs so when they open the same report on the Mac version of Excel all of the dates show up as 2011 or 2012 dates eventhough they are suppose to be 2008 dates. We've tried to just open the report after the export process and then do a "Save As" but get the same result. The date columns all appear to be formatted as Date. The dates on the Crystal Viewer appear as expected when viewed on a Mac. The users are running Excel for Mac OS-X Service Release 1.0. Any idea why this may be happening and is there a solution to this problem? Thanks!
Hi,
To clarify, are you currently using the Mac version of Crystal Reports Viewer 2008 which you downloaded from here?: http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/viewer/index.epx
Maybe you are looking for
-
Odd compile errors using a struct in a vector
I am following Accelerated C++ by Koenig and Moo to learn C++, using Eclipse as my IDE and the MinGW tool chain. Chapter 4 teaches about the struct concept using a pretty simple multi-file example program which emulates reading in a series of student
-
Setting up a new destination drive, doubling of files.
I recently moved. My computer reassigned the drive letter of my music disk drive. There is a new, third disk drive that I don't recognize, as I only have two - a CD-RW and DVD-RAM. Therefore, all of the music on my G: drive moved to an H: drive. This
-
How do I modify the behaviour of "Image Sizing" Module in Export
As part of the export process I want to re-size an image to a fixed size e.g., 5400x3600. The iamge should be scaled symmetrically and therefore some fill-in of black or white may be necessary. I know I can do this as a "post-process" action, but the
-
E-mail receipt not sending from selected e-mail in automatic replies (Paid Subscription)
I volunteer for a non-profit. We had to cancel an event and notify registrants. I went to look at the email account we set up under options for the "automatic replies." but could not find any corresponding confirmation messages. The correct e-mail i
-
Hi, Can we download Oracle EBS for free just for practice purpose ? Is there any testing version available for downloading so that we can practice on our local systems ? --Sushant