Batch job print parameters missing
I have 4 BATCH jobs that output to a pdf via MAIL. The data is shrunk so small that it cannot be read. If I am in SP01, and I try to reprint with changed parameters, only a select few formats are available. (All the ABAP/4 lists).
I went to SPAD -> Full Administration -> Device Types -> Choose the device type -> Formats
I see the the output DEVICE associated with MAIL is PDF1. I checked the formats that are already listed. It seems that some of these will suit my needs - however, most of them are not available to choose when I edit the batch job.
How can I add a different format? I need to test several to find a size that will accommodate a very wide table.
All suggestions welcome.
Thanks!
It's pretty huge. Columns A-W. The length varies, but this week's was 195 rows. I tried to create a new format, but I supposed it will never fit on a normal sheet of paper.
Is it possible to "print" to an Excel file from a batch job?
Right now, I am going back into SP01 and downloading to excel and emailing it out.
Think this can be automated?
Thanks for your input
Similar Messages
-
A user has requested a printer change on a batch job (#4807) that only has a single step. I have used ZBMW to access the batch job details, and when I double click on the job step, I am taken to a screen with printing/archiving parameters but the fields are grayed-out and not able to be changed. This happens in both display and maintain mode for both 'active' and 'onice' jobs.
How can I go about making this change? Thanks.What is ZBMW ?
The "normal" way to do that is go to SM37, then choose your job (must be in "Relased" status, then menu Job -> Change.
Then button Step, then select the program and press the change button.
In the next popup, press the "print specifications" button.
(By the way, I think you have posted this message into the wrong section -
I'm working in lightroom to print cards with a custom print size. When I set up the printer I get a message that reads "There is one photo in the print job which is missing its source file". The preview shows my card as blank. What is wrong?
I would believe what the message is saying, that a photo is missing. Do you know what photo you're trying to print, and if you look at this photo in Library, does it have a question mark on the thumbnail or other indication that the preview is there but the master photo is gone/moved?
-
Print selected pages of a PDF file to printer as a batch job using VB6
I have the following:
1) 1,000 multi-paged PDF files (say 00000001.pdf, 00000002.pdf, ..., 00160000.pdf)
2) A list of pages for each document to print
(e.g. 00000001.pdf: 2,3,5,7
00000002.pdf: 3-8, 10
00001000.pdf: 5,6,7,10)
I want to perform a single batch job to print the specified pages of all 1000 PDF documents to default printer.
I am using VB6, Acrobat Reader 9 installed.
I am thinking of writing a function like that:
Private Function PrintPDF(byval sPDFFilePath as string, byval iPageNum() as integer) as boolean
and then write a looping routine to print the files one by one.
Seems that Acrobat SDK has such feature.
Please advise how can I do this?I downloaded the Arcobat SDK and now learning to use it with its sample.
However, I got stuck when I run the program BasicIacVB.
I got the following error message:
Cannot create ActiveX component.
When running the line
gApp = CreateObject("AcroExch.App")
I run this program on my PC with VS2005 installed.
What extra step do I need to do to use the sdk?
Seems there's no installation package there...
Sorry about my stupid question, I am a total newbie in AcrobatSDK.
P.S. My ultimate goal is to develop the program in VB6 (not using VB2005),
as my client PCs does not (and cannot for some reason) install .net framework. -
SAP- PM workorder printing - batch job
Hello Friends,
Does anybody know the process of SAP- PM work order printing in batch job?
Please help.
Thanks & Regards,
VaibhavThnaks for your suggestion we checked the program as per your suggestion but we are not getting the prints of PM orders. We think that program is for PP orders as it is selecting the PP orders only after some modification. Do you implemented that if yes then could provide some tips to execute that program.
BR,
Vaibhav -
Bogus print from cycle count batch job
Hi all,
We are using cycle count process for certain materials.
Two std batch jobs are used for this purpose.
1. To create cycle count document in the system.
2. To print created cycle count document.
For last few days we are facing a strange problem. Cycle count print job is printing some documents which are not available in SAP Environment. (Tables IKPF and ISEG)
Any pointers to solve the issue would be helpful.
regards,
Parshuramcheck the settings made for the print job.
Use SM37 find your print job. Click the step button.
What program do you use?
put your cursor onto the step line, then choose from menu GOTO > Variants.
What selection criteria are used in the variant? -
Batch job to print GRs from a single plant
We have a requirement to set up a daily batch job to print all GRs for one of our plants. The others will be printed as they currently are (immediately when saving) but for one plant we want to delay all printing until a certain time of day and then print all automatically. How can this be accomplished?
Thanks!Go through these steps you can get the GRN Printout
1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
Enter the local printer where you want to print your Goods posting document
2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for Goods Receipt/GI/Transfer Posting Documents
Here for Particular mvt type 101,201,121,311 etcu2026 Maintain the Print item as 1--Material document printout
5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the following--
Select the particular Output type then goto Details
a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Transmission medium is 1
b. Print Parameter is 7
6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Printer Determination by Plant/Str Loc, Maintain the Output device for all your Plants
7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
Now the settings are ready for Printing Material doc
8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
9. Now depending on the setting in 5a, the Matl doc is printed. If it is 3, you have to print it using MB90. If it is 4, it is printed immediately.
for plant wise printing, you have to schedule the job in batch mode
to do that
first you have to create new conditon table which include the plant and other criteria you requireed
than create new access sequence
than M706 tcode enter you access seq
Than M708
create variant and use this variant for background job
than schedul a back ground job using SM36 tcode. -
Smartform Printing through Batch Job
Hi
Please help in the following issue :
We have a report thourgh which say 10 pages needs to be printed.
On eachpage we have page numbers like 1 of 10, 2 of 10 etc. and on the last page 10 of 10 will be printed.
when the report is executed in foreground, the rints are perfect s expected. But when the same report is executed through Batch Job, the pages are being printed as 1 of &&, 2 of && etc, when it come to last page the print is 10 of 10.
So, thr Batch job the last page of the print is OK, except all other pages, the issue is only printing this page nos.
Please advise.
Regards
Shankarhi ,
make sure that u declared that page no printing window as final window.try it.
Regards,
karthikeyan k s, -
Printing to the wrong Printer from the Batch Job
Hi,
Morning every one!
I am facing a problem with Print which is coming from Batch Job. The Batch job contains 10 steps. Previously all steps out put has configured to one printer. Recently I changed one step out put to the another printer with the request. But the print is going to the old printer still.
When I am checking at the batch job -> Steps -> Specific step ->Print Specifications -> Output Device .. able to see New Printer.
But batch job -> Steps-> Select Specific step -> Spool -> Doble click .. There spool is going to the old printer. I am facing this problem for only one step.
The issue is dragging from past one week.. I tried couple of options..No luck
I appreciate any inputs/Solution for this.
Env: ECC5.0/Solaris/Oracle
Thanks,
Sri.I got the solution finally from ABAP team. The printer is maintained in the Condition records of the Variant for the particular step. Even though I assigned the printer in Batch job..It is taking the printer from Condition record.
Thanks,
Sri. -
Turn off Spool Printing for MRP Batch Job run
Hi Experts,
Please tell on how to turn off the printing of a Batch Job which is an MRP Batch Run. Can this be done while creating the Job? We really don't need the prinout for this job. Thanks.
Points will be awarded.
Regards,
LMYes, this can be done while scheduling a job. When creating a job step (transaction SM36) there is a button "Printer specifications". Select any printer there and option "Send to SAP spool". Spool request will be created but it won't be printed out.
If you are using RMMRP000 program, you also might want to uncheck "Display material list" checkbox on the selection screen. If using other program, see if there is an option to disable the log. -
hi,
How to find the missing batch job in sm37 which was scheduled to run on 10th jan 2012 but now if i go n check it the job is missing..Please help me in this..Hi,
Please try executing by giving the part of the job name with wild cards (For ex., Z_SDVF06)and giving user name as * and give the time limit. There might be some error in batch job name or user name or combination you were giving.
Also please confirm was it working fine last time and executed successfully. The causes could be one of these.
1. Is there any stack upgrade / Support pack upgrade going on? Pl check with your basis whether they have stopped the mentioned BG jobs?
2. The user ID which schedules the job might have been expired. Try scheduling the job now and check.
3. There would have been some connection error before job execution.
Regards,
P Gomatheeswaran -
Modifying t-codes to export batch jobs to drive rather than print
There are several t-codes that schedule batch jobs, but they only print. Is it possible to revise a t-code to export batch jobs directly to a drive?
What is the code for this?
Thanks.What do you mean by "export batch jobs"? If you need the program that runs in the batch job to output something into a file instead of the printer, then, naturally, it will have to be programed accordingly. Also keep in mind that in background only file server is available (OPEN DATASET). So if, say, you want to run a batch job and have it write to your local C drive then it's simply not possible.
Otherwise please clarify the question. -
Missed deadline batch job giving dump.
Hi All,
In my PO release workflow scenario, deadline is not working . On searching in this forum I come to know that a batch job u201CSWWDHEXu201D with step u201CRSWWDHEXu201D needs to be scheduled with frequency 3 mins, so i did this. Now the issue is no workitem is getting created and the above batch job is also getting cancelled due to error. The error description is as follows :
Runtime Errors MOVE_NOT_SUPPORTED.
Short text
Conversion from type "D" to "T" not supported.
Error analysis
The fields "ABAPFIELD" (type "D") and "<SWC_CONT>" (type "T")
cannot normally be transported to each other.
Is there any SAP note to be implemented to resolve this issue ?
Can anyone help me in resolving this issue . I would greatly appreciate your help.
regards,
TrimurtyHi Akshay,
II have copied the Std workflow WS20000075 into a custom one and in the latest end tab, i have selected "Workitem creaton" for Refer Date/Time field and given 5 mins. I have deactivated the workflow in which i have created the containers for date and time and used "Expresion" for latest end and also commented the zmethod in delegated object. Even now also the job is getting cancelled with the same error.
Any idea why is it happening ?
regards,
Trimurty -
RSPC Variant does not exist - Could not find or load print parameters
We are on BI 7.0 (support pack SAPKW70017). We recently freshed test system from production. After the refresh, we have problems opening all the process chains.
1. When I go to RSPC to open a process chain, I get many messages like this:
Variant &0000000067180 does not exist (there are different variant numbers)
Message no. DB612
Diagnosis
You selected variant &0000000067180 for program RSPROCESS.
This variant does not exist.
2. When I go to SM21 to check the system log, it displays many entries like below:
EJ F Could not find or load print parameters for step 1, job BI_PROCESS_TRIGGER/09134500
Documentation for system log message EJ F :
An error occurred during loading of the print parameters for a
background job step.
The print parameter record may have been deleted even though there was
a still a step that needed that data. This is an error as the
reorganization of the print parameters should prevent this from
happening.
To fix the problem, edit the step and save it, copy the job, or
schedule a new job. The print parameters will be regenerated in all
these cases.
3. I applied the OSS note 1169659 - Correction: Process variants not entered by BDLS. The Basis rerun BDLS. But it did not fix the problem.
Would appreciate if someone could provide any help.
Thank you.Hi Rebecca.
1) Please verify if exist process types called 'unknown job'. If exist: delete process types called 'unknown job' in your process chain. To do that please remove the chain from scheduling (menu bar > process chain > remove from schedule), afterwards switch the detail view on (menu bar > view) > right mouse click on the process type "unknown job" > displaying scheduled jobs > delete that job. After deletion of the 'unknown jobs' activate and schedule your process chain again.
2) After the removal of the 'unknown jobs' please check if the error messages with the missing variants pop up when calling your process chain disappears. If not, please implement and execute the attached report Z_FIND_JOBS_WITHOUT_VARIANT which deletes the jobs without variants.
I have already attached report as Report Z_FIND_JOBS_WITHOUT_VARIANT, you can download and create the report accordingly.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
REPORT Z_FIND_JOBS_WITHOUT_VARIANT.
data: l_t_job type table of tbtcp with header line,
l_s_varsel TYPE rsvar,
l_t_variant TYPE TABLE OF rsparams.
parameters: delete type rs_bool.
select * from tbtcp as job into table l_t_job
where progname = 'RSPROCESS'
and exists ( select * from tbtco
where jobname = job~jobname
and jobcount = job~jobcount
and status = 'S' ).
loop at l_t_job.
l_s_varsel-report = l_t_job-progname.
l_s_varsel-variant = l_t_job-variant.
CALL FUNCTION 'RS_VARIANT_CONTENTS'
EXPORTING
report = l_s_varsel-report
variant = l_s_varsel-variant
execute_direct = 'X'
TABLES
valutab = l_t_variant
EXCEPTIONS
variant_non_existent = 1
variant_obsolete = 2
OTHERS = 3.
if sy-subrc <> 0.
write: / l_t_job-jobname, l_t_job-jobcount.
if delete = 'X'.
CALL FUNCTION 'BP_JOB_DELETE'
EXPORTING
JOBCOUNT = l_t_job-jobcount
JOBNAME = l_t_job-jobname
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC <> 0.
write 'not deleted'.
else.
write 'successfully deleted'.
ENDIF.
endif.
endif.
endloop.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
I hope I can be helpful.
Thanks,
Walter Oliveira. -
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
Maybe you are looking for
-
Enterprise manager 11g doesn't display
Hi all, I have installed Oracle 11g on Windows server 2008. But now enterprise manager doesn't want to open or display. C:\Users\Oraclemon>set ORACLE_SID=wmconpd1 C:\Users\Oraclemon>emctl start dbconsole Oracle Enterprise Manager 11g Database Control
-
Function Module for creating Functional Location BOM and Equipment BOM
Hi All, Is there any function module for creating and changing Functional Location BOM and Equipment BOM ???
-
Selection variant - authorization
Hi, I'm using standard selection variants for internal orders and cost centers (created via KOK3, KS13, OKOV etc.). Some of the variants are used in customizing (as receivers of assesment) so only some users should be allowed to modify such selection
-
sir, i hv purchased hp-d009tu laptop. i hv installed windows 7 32 bit, i need VGA driver to make webcam active, i hv downloaded so many drivers but none of them worked. plz give me correct VGA DRIVER for the same... thnx.
-
Powerbuilder won't activate after upgrade
We currently have PowerBuilder 12.5 installed on a Windows XP machine. This was licensed and activated properly. So we tried to install 12.5.2 on a new Windows 7 machine. After upgrade, when I ran Powerbuilder, it came up as unlicensed (or as eva