Afer background job finished, spool was not generated
hi all
Afer background job finished, spool was not generated but all background jobs is not
soem background jobs was created spool.
even if same user and same backgorund job, sometime generated spool or not.
how can I solve??
thanks
Hi,
Spool will be generated only spool specification wil be defined for that job.
Select the job go to steps spool specification you can see the device assigned to it.
Regards
Ashok
Similar Messages
-
Hi to all
In development server we are able to print the things with same setting in quality and production no print comes error
print was not generatedHi,
This is a little bit to few information. Is there long text for it? Does it happens for all devices or only for one? Were you able to prepare spool and output request and problem arise during printing or does it happen earlier?
In general I think that this is not the best forum for this question.
Best Regards
Marcin Cholewczuk -
Background job spool is not generated
Hi Guys,
I am facing the problem with when i execute the program in background,spool is not generated.
if execute it in foreground output is displaying.
Please help me on this issue.
Thanks,
BalaHi soumya,
after call transaction i have used write statement and submit the report in the BDC program.
BDC report is displaying the IM52 update budget orders in the output of the report.
Thanks,
Bala -
Printer spooler is not generated while output command
Dear All,
I am facing problem in where the printer is installed in that system .when the user is giving print the
Printer spooler is not generated while output command successfully coming in sap
Please suggest how to sol
Regard
KumarHello,
Not very strong with Linux, but i think that, maybe you need to set a graphic emulator to compile ?
Francois -
Update programme was not generated
Hi,
We have a situation where we are planning the Activity in CRM System and this data will be written to the transactional Cubes in SEM.
The Problem is in the Activity if we change the plan end date while saving the Activity the Cube update programme was not generated in the Transactional Cube as result we have in the CRM online value for a particular period and in the Transactional Cube we have the same value for different Cubes ultimately in the report different periodicity.
We cannot save the Activity agian as the Activity already in the Executed status and conditions flown to R/3 and also Actuals spent for the same amount.
Can anyone suggest how to make the data consistent in CRM online and in the TCubesThanks for the posts. We do plan to recapture the updates rules and will try to transport again (prod is not changeable). Was just curious if anyone else had seen this problem. It is just very odd that you can actually see the code via "Display Start Routine" in the update rules view, but the generated program does not contain the changes. Actually, I am not surprised since the generated program version is older than the last change to the active rules and the generate program step is not executed in transport application. Just don't understand why this happened. Thanks for the comments so far.
-
Background job finished but flat file not created in the Background
Dear all,
ZHR_CSD program is scheduled to run daily at 00:01:00. This program is generating the flat file in the folder CSD/HR.
when i schedule this program to run immediately it is generating the flat file.
But when i schedule this program in Background it is not generating flat file .
RegardsHi,
As suggested by Eric, your Z Program is probably using GUI_DOWNLOAD Function Module.
GUI_DOWNLOAD or any other GUI function modules (FM) will only run in foreground, not in Background.
Ask your developer to code that Z Program with OPEN DATASET logic, if its possible.
The Reverse situation is well described in [this thread|Background Job assigment with variant in SM37 , for Textfile uploading], please refer it to get some relative information for the same.
Regards,
Bhavik G. Shroff -
Background Job Finishing with Database system not supporting
Hi All,
When i am running the RSCOLL00 program its executes all the programs and finally it says DataBase system not supporting.
And i am not getting any dumps.
Due to this in ST03N i could nt able to find the data for the present day and also last minutes load.
Please guide me.
Thanks,
MaheshHi Kaushik,
here is the log
Job started
Step 001 started (program RSCOLL00, variant , user ID HOUSEKEEPING)
Clean_Plan:Cleanup of DB13 Plannings
Clean_Plan:started by RSDBPREV on server tcs050983
Clean_Plan:Cleaning up jobs of system PI7
Clean_Plan:finished
Database system not supported
Job finished
Thanks,
Mahesh -
Spool is not generating.
Hi everyone,
I am scheduling a report in background and tracking it in SM37 then Job finishes with no spool.
So may I know what are the potential reasons behind it.
Is it Users Id related as spools are generating perfectly for some User Id's.
Or is there a problem in printer settings.
Your quick response is highly appreciated in order to trouble shoot it.
Thanks.
SudhanshuHi,
Check out the following code sample to create spool withing program.
data: loc_dest like pri_params-pdest .
clear : wf_listname , loc_dest , wf_listtext .
move: 'List name' to wf_listname .
move: 'List header text' to wf_listtext .
select single spld into usr01-spld from usr01 where bname eq sy-uname .
if sy-subrc eq 0 .
move: usr01-spld to loc_dest .
endif .
call function 'GET_PRINT_PARAMETERS'
exporting
destination = loc_dest
copies = wf_copies
list_name = wf_listname
list_text = wf_listtext
immediately = ' '
release = ' '
new_list_id = 'X'
expiration = wf_days
line_size = 200
line_count = 65
layout = 'X_65_200'
sap_cover_page = 'X'
receiver = 'SAP*'
department = ''
no_dialog = 'X'
importing
out_parameters = wf_params
valid = wf_valid.
if wf_valid <> space.
new-page print on parameters wf_params no dialog.
perform write_summary .
new-page print off.
endif .
within the write_summary do a normal write operation.
loop at <itab> .
write:/
endloop .
Thanks. -
BackGround Job's Spool Request is having "Waiting" "Frontend unavailable"
Hello Friends,
I am facing one problem related to Spool Request, which is generated through Scheduled Background Jobs (scheduled by funcional people).
The Background Job is having status "completed" when analyzing it. But, its associated Spool Request is showing "waiting" Status, with "Frontend unavailable" as Status Text.
Here is the brief status of that Spool Request.
28448 1 300 USER1 00:00 LP01 X_65_80 Frontend unavailable
in Detail:
Description Value
Status: Frontend unavailable
Last event:
Message: Request on hold
Date: 01.07.2009
Time: 00:00:27
Job status: On hold
Error class: Delayed
Area: Data transfer
Printout: Not printed
The Setting of LP01 O/Device is as followed:
Output Device LP01
Device Type SWIN SWIN : Windows printing via SAPlpd
Device Class Standard Printer
Host Spool Access Method F F: Printing on Front End Computer
Host printer __DEFAULT
Moreover, the SAP User USER1 is allocated LP01 as Output Device with "Output Immediately" & "Delete After Output" checked status.
Some Background Jobs are showing the same status for this LP01.
I have a doubt on allocated O/P Device LP01.
Any Clue for this issue ?
Regards,
Bhavik G. ShroffHello Markus,
Here , in our Landscape , there is not Print Server. All are taking prints through, Networked Printer and their local connected Printers.
Can i configure "send to SAP Spooler for now" instead of "Print Immediately "in the Print Specification of those Background Jobs ?
Moreover, Some Background jobs are sending E-Mails with the processed Reports as an Attachments. They are showing sometime unexpected behavior, in sending emails, although there is no relation is with this Printing related issue.
When i am looking into "Overview of Send Orders" of SCOT, some Background Jobs are showing success for sending emails, and some are not showing success, even though All the recipients are same for the scheduled Background Jobs which are running on same time.
Regards,
Bhavik G. Shroff -
Background job in APO does not start because of invalid user name
Hello,
I have a macro in a planning book and the /sapapo/cons_check program which a triggered via a background job. Now, I have problems with the start of the job:
At the time the job was created inside SAP, an error occured. The job contains invalid values.
The user name within the job does not exist any more.
Now, I try to change the user name of the job (via step in sm37), but the error occured again.
I have the possibility to create the invalid user name once again in su01.
But I want to change the user name of the job - does somebody know how to do it?
Thanks for your help!
Kind regards
HeinzHello Heinz, this looks surprising.
It's quite easy to change the user name in the SM37 job step, and we haven't faced issues with this.
Could you check how many jobs are in either "scheduled" or in "released" status, and change steps for all of them? May be you changed the scheduled job, but the released job wasn't changed.
Use your job name and give a search date as 1-2 years in the past, and around 1 month in the future. With this time horizon, you should most likely be able to capture all the relevant jobs having the same name that you are using.
Now change the user name in step for all the jobs received above to be fully sure.
One more trial could be to copy the current scheduled job to another job, modify the user name in this newly created job and then delete the old one.
One of the above trials might possibly help you in some way, else its very tough to understand/explain your situation.
Thanks - Pawan -
Background Job Processing Spool Retention period
Hi ,
In my program i am calling another ABAP program and sumitting the same as a background job(using Job_Submit,Close etc.)
In this case i can view the Spool generated by the called program(using sm37).
But this spool exists for a very less period in the system.Is it possible to specify a retention period,as 90 days in my case.?
Pls Help !!!
Answers will be rewarded.
Regards,
Rohanhi Roahn,
You must set print parameters before the printing process starts.
When printing lists after creating them, the system uses the print format specified in the print parameters to split the completed list and fit it onto the print pages, truncating it if necessary.
When printing lists while creating them, the system uses the print format to actually format the list in the program.
Print parameters are set either interactively by the user or from within the program.
For each print process, the spool system needs a complete and consistent set of print parameters. In ABAP, the structure PRI_PARAMS (ABAP Dictionary) represent a set of print parameters.
When passing the print parameters interactively, the system displays a dialog box after starting the report, on which the user has to enter the most important print parameters.
It's shown below which input field of the Print List Output dialog window conform to which PRI_PARAMS component.
Input field----
Retention period
Component-------PEXPI
Meaning----
Number of days for which the system holds the spool request before deleting it. (Default value: 8). -
Background Job Processing/Spool List Recipient
When setting up a report to run as a background job and setting it up to e-mail the results via the Spool List Recipient button, it always sends the results in htm format. Is there a way it can be e-mailed in Excel?
hi swapna.
in scot it is not configured as excel how to do it.to get an attachment in excel format
thanks in advance -
Spool is not generating for deleted line item in PO.
Hi Experts,
A PO which was created in SRM pushed into SAP environment and when it was created initially spool was generated and user was able to take the print out. But if he delete a linte item no spool is created and message log was saying there is print relevent changes exists. I could the the change updated linte item change history of that PO.
I tried replicating the scenario in test environment but I have not come across this situation. Please help if any one worked on similar problem.
Thanks in advance,Hi Experts,
Any suggestions.
Regards, -
Background job - failing when file not on app server
Hi Experts,
I am facing an issue, while I am trying to run a program in background.
Let me explain u the situation.
My program runs in background and pick one file from predifined folder from application server and process that file. if file is not in the folder batch job goes into cancel status. but what i want if proposed file is not available then batch job will run and finished; it should not go into cancle status.
waiting for valuable inputs,
Prarthan.
Edited by: Julius Bussche on Feb 20, 2009 1:06 PM
Please use meaningfull subject titleshi
below is my piece of code for application server.
thanks.
FORM application_server .
TYPE-POOLS: kcde.
DATA : lt_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.
DATA wa_src01 TYPE string.
DATA: BEGIN OF wa_src0,
material LIKE bapi2017_gm_item_create-material,
consumption_qty(13) TYPE c," like bapi2017_gm_item_create-entry_qnt,
base_uom LIKE bapi2017_gm_item_create-entry_uom_iso,
movement_type LIKE bapi2017_gm_item_create-move_type,
cost_center LIKE bapi2017_gm_item_create-costcenter,
doc_date LIKE bapi2017_gm_head_01-doc_date,
post_date LIKE bapi2017_gm_head_01-pstng_date,
plant LIKE bapi2017_gm_item_create-plant,
storage_location LIKE bapi2017_gm_item_create-stge_loc,
END OF wa_src0.
DATA : lt_src0 LIKE TABLE OF wa_src0.
DATA : file1 TYPE string.
DATA : tmp0(20). " type string.
DATA : intern1 TYPE kcde_intern.
DATA : tmp_date LIKE sy-datum.
path1 = path.
replace '.txt' in PATH1 with ''.
IF path IS INITIAL.
path = '/usr/local/interface/globalone/SFA/SFA_WORK/SFA_'.
tmp_date0(2) = sy-datum6(2). "date dd
tmp_date2(2) = sy-datum4(2). "month mm
tmp_date4(4) = sy-datum0(4). "year yyyy
CONCATENATE path plant tmp_date '.txt' INTO path.
concatenate path tmp_date into path1.
ENDIF.
file1 = path.
file_nm = path.
FILE_NM2 = PATH1.
OPEN DATASET file_nm FOR INPUT IN TEXT MODE ENCODING NON-UNICODE.
IF sy-subrc NE 0.
MESSAGE e000(zmm002).
EXIT.
ELSE.
DO.
READ DATASET file_nm INTO wa_src01.
IF sy-subrc = 0.
CLEAR wa_src0.
REPLACE cl_abap_char_utilities=>cr_lf(1) IN wa_src01 WITH ''.
SPLIT wa_src01 AT cl_abap_char_utilities=>horizontal_tab
INTO wa_src0-material
tmp0
wa_src0-base_uom
wa_src0-movement_type
wa_src0-cost_center
wa_src0-doc_date
wa_src0-post_date
wa_src0-plant
wa_src0-storage_location.
SHIFT tmp0 LEFT DELETING LEADING '0'.
wa_src0-consumption_qty = tmp0.
APPEND wa_src0 TO lt_src0.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLEAR wa_src0.
LOOP AT lt_src0 INTO wa_src0.
REPLACE ',' IN wa_src0-consumption_qty WITH '.'.
MOVE: wa_src0-material TO wa_srcdata-material,
wa_src0-consumption_qty TO wa_srcdata-consumption_qty,
wa_src0-base_uom TO wa_srcdata-base_uom,
wa_src0-movement_type TO wa_srcdata-movement_type,
wa_src0-cost_center TO wa_srcdata-cost_center,
wa_src0-doc_date TO wa_srcdata-doc_date,
wa_src0-post_date TO wa_srcdata-post_date,
wa_src0-plant TO wa_srcdata-plant,
wa_src0-storage_location TO wa_srcdata-storage_location.
APPEND wa_srcdata TO gt_srcdata.
CLEAR wa_srcdata.
CLEAR wa_src0.
ENDLOOP.
ENDIF.
DELETE DATASET file_nm.
ENDFORM. " application_server -
Spool request not generated in smartforms printing
Hii all,
I have smartform, which was printing properly in QA server and few days back when i tried to get print from Production Server, it is not generating spool request. and in QA also it is not having same as on date.
is there anythng to check from ABAP side or there is a problem of Basis.?
kindly give soln for points .
- Maharshihi Maharshi,
Gimme some what clear picture abt ur problem.
What exactly the problem in QA server.
I mean when it is working properly and when it is not?
and what Function Modules u have used ..?
and i wanna know is there any other print forms are working or not. if the other are working, it is not BASIS problem.
Regards,
Naveen
Maybe you are looking for
-
Is there a way to change field names globally in Form Wizard?
Form Wizard often selects nearby text to create a name for a text box. Is there a way I can globally change the field name for a series of text boxes? For instance, I have a field name that Form Wizard created that says "Policy NumberPolicy that requ
-
Starting Classic while running OS 10.4.11
I can no longer start up classic while OS 10.4.11 is running. If I go to system pref. I can choose 9.1 as start up and OS 10.4.11 will close and 9.1 will open but this proves to be a pain. I reinstalled classic and now have two system folders (one la
-
Incoming Order IDOC - updating VBKD-IHREZ_E at item level
Hi all, I am trying to update field VBKD-IHREZ_E at item level from an incoming Idoc with no success yet. Here is first exit to store requested data from the idoc ZXVEDU03 IF segment-segnam = 'E1EDP19'. xvbap = dxvbap. MOVE segment-sdata TO
-
I am having trouble syncing photos with lightroom mobile. Lightroom (on computer) tells me that it's syncing but nothing appears on my I pad. Any comments?
-
How do I cure uneven playback?
When I'm sharing my movie from Final Cut Pro X (10.1.4) to pretty much any format, I'm getting very uneven playback of scenes. I may not have set it up right at the start - but now I'm several hundred cuts into this so I can't redo it. I haven't rend