Number of batch jobs used up
Hi Experts,
If process chain uses an abap routine or abap as process to process multiple loadings, how many batch processes are being used by this process chain?
Hope to get some advise.
Thanks,
Ernesta Corvino
Dear Sat,
Thanks! Points awarded.
If the process chain process, containing either abap or infopackage having abap routine in data selection, that triggers multiple loads, but one after the other, there will be 1 batch job for each load but only 1 batch will be running since the loads are in sequential order?
What if one of these batches fails? Will the subsequent job still run and in a new batch job?
Thanks!
Ernesta Corvino
Similar Messages
-
How to restrict the number of batch jobs used by middleware?
Hi,
I'm using middleware to replicate data which send IDOCs from one system to another. I know on source system, I can use SMQS to restrict the number of connections. But on target system, can I use any tool to restrict number of batch jobs? Because every time when replicating data, all batch jobs are occupied.
Thanks a lot!Priya:
It is likely that the BLOB content defined in your table is being stored 'Out-of-Line'. This means that the LOB columns are stored in segments of their own. These then are the segments that may need shrinking.
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14249/adlob_tables.htm#i1006363
Varad -
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. -
How to test batch jobs using loadrunner??
Hi,
Can anyone pl. tell me how to load test the background jobs in SAP using loadrunner??
Thanks,
Raj.Hi Samir,
http://www.qualtech-int.com.au/filedb/uploads/LRUG.pdf, the following link is not working, i guess we need to have an account to access the site. Please send me the document if you have , to my email id: [email protected],..
Can you give me a quick walk through of LR with SAP, as i have been assigned to a new project and i have never worked on LR with SAP.. please let me know if you can give me a demo on the same..
You can either show it on my machine , as i have SAP R/3 with BI and also LR..
Please let me know if you can walk me through an example..
If not, pls send me any interactive document with screenshots, so as to start with..
Thanks
Vinni,.. -
Batch job for shipment and shipment cost doc
Dear all,
In case of our client, shipment docs and shipement cost docs are created using a batch job. There are some documents that have not been processed with this batch jobs as expected. Now i want to analyse the job log for thosse failures. For this i want to know the batch job names which i am unaware of. In SM37 i am unable to trace in a generic way.
I know that we can filter batch jobs using ABAP Prog. My question is that which programs have to be used here. are these RV56TRGN for shipment docs and RV56TRSL fir shipment cost docs?? Plz help as the issue needs serious attention ffom my side. also suggest how further i have to rectify this issue.
Regds,
RaghuHello,
The ABAP programs you have mentioned are correct and you can enter these in SM37 to check the job names, status etc.
RV56TRGN - creating shipment docs
RV56TRSL - Shipment costs
Check the spool for messages which will have the error docs.
Cheers ! -
Email Address not visible for output device MAIL in created batch job
Issue in ECC6.0: Email Address not visible to display/change for output device MAIL in print parameter of each step in the created batch job.
User wants to periodically receive report file via send to his email, so I create the batch job running report and send the report in pdf file to his email.
Detail in the batch job
1) In print parameter screen of the step in the batch job
-Using output device MAIL (output type ZPDF1)
-inputting email address of receiver in the EMAIL ADDRESS field
2) After the batch job was saved, I tried to display/change the field EMAIL ADDRESS via Tx. SM37, but this field is invisible. The field can not be displayed or changed anymore. I also tried in SM36, but it is for creating new batch job, not changing the existing batch job.
4) User receives email with pdf file from the batch job.
How to change/display the email address of the receiver in the created batch job?
Note that we just changed to use SAP ECC6 from SAP 4.6c. In SAP 4.6c, we can change/display the
Email Address Field via Tx. SM37.
Pls kindly suggest, thank you very much in advance.Hi Srirompoti,
After saving the job if the job has not started then you can follow the below steps to change the Email address.
1. View the job from Txn SM37.
2. check the check box for your job that you want to change and goto menu path "Job->change
3. in the next screen goto "Edit->steps." or press "F6" key
4. place the coursor on the job and goto menu path "Step->change->print specifications.
5. here you can change the email address.
If you are not able change the data then you might not have authorization. -
Global Variable in batch job used to define user access (add/update/remove) - how do we handle the inclusion of an apostrophe in a name?
Tested with wildcard prior to apostrophe, still failing.
Any clues, please?
Thank you.I believe you can not use any special characters in global variables name.
-
Sessions from apex are blocking by batch job
Hi All,
In my 10.2.0.3 linux with apex 3.1.1
We have a batch job using a package,that is doing DML operation in tables depends upon some condition.And this job will run daily 5 hours.
The sessions from apex that is also using some procedures in the same package.Some days the sessions from apex are blocking by batch job.While blocking wait event from apex sessions are 'library cache pin'.Once the batch job completes then automatically removes the block.
What may be the reason?
Thanks in Advance,
SunilThe query against v$lock is not relevant if the blocked sessions are waiting on "library cache pin" - so you seem to have two separate problems.
If you have a session waiting on another session's transaction slot in mode 4 there are several possible causes - often related to indexes, but there are a couple of "internal" problems as well. If you see this locking issue again some of the simplest things to check for would be session 1 inserting (without commit) some rows in a table with a unique key, and session 2 then trying to insert a duplicate. Session 2 has to wait for session 1 to commit or rollback before deciding whether to return a "duplicate key" error, or to continue processing.
The "library cache pin" waits suggest that the package had become invalid while the batch job is running it, and one of the Apex jobs is trying to recompile it. But if the batch job is currently running (hence pinning) the "executable", then the Apex job can't get the necessary exlusive pin until the batch job ends and releases its pin.
Read the notes in the script $ORACLE_HOME/rdbms/admin/catblock.sql about creating views that let you see more of the information about library cache (KGL) locks and pins.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
"Science is more than a body of knowledge; it is a way of thinking"
Carl Sagan -
How shall I cancel /kill the Batch job that is to be scheduled daily in BI.
Hello Experts,
We have a background batch job used to trigger an event to execute the Porcess Chain that is to be scheduled daily in BI.
Now we don't required this functionality any more.So I try to cancel this job using transaction SM37 but unfortunately I am not able to cancel/ kill the job.
How shall I handle this issue.
any suggestions please.
Thanks & regardsHi
Select your process chain in the planning view
Right click on the start varaint and display all jobs,
It will show you the job scheduled, Finshed everything.
Select the job which is scheduled or released and Delete the job.
Else go to SM37 , enter the job, delete the scheduled job there.
Regards
M.A -
STO Auto delivery Creation - Batch Job
Hi Friends,
I am facing issue related to auto delivery creation through batch Job for STO.
I created a variant for auto Creation of delivery for batch Job using T code VL10BATCH, using the parrameter Shipping Point and Deliv. Creation date. The Batch Job is running fine, but my Client wants the delivery shoud be created from Delivery Date instead of Deliv. Creation date.
I tried to change the varriant , but could not find the delivery date as a parmeter to be selected.
Is there any possible way to use delivery date for creation of Auto delivery instead of Deliv. Creation date.
If not please tell why only deliv. creation date is given in varriant creation ,
Regards,
KunalHi,
GO to VL04 there u just fill required fields and then go to menu bar program - execute in back ground then it will show u output parameters popup screen then enter. There u just give start data and time and then clikc on periodic values button there u select daily. Finally save. This will be run in back ground every day on specified time..
Regards
Sankar -
Dear Experts,
I want to rename a batch job using self-written report (I know that this must be done by copying and deleting the old one). Could anyone suggest a suitable approach to the topic or even present some coding that maybe already was done on your system?
Regards
JörgOnly one option ( I know that this must be done by copying and deleting the old one).
-
I want to schedule an R/3 report to run automatically overnight. I'm new to R/3 reports and have never done this before. Reports are already created, I just have to automate them. Please guide.
Thanks in advance.
FranYou can create a batch job using transaction SM36. After putting in the job name and class (C-Low priority), press the Step icon. In this area, you define the program you want to execute. Select ABAP for an ABAP program. Put in the name of the ABAP program, the variant (if any), and save. Then update the Start conditions and you should be good to go.
Does this help? -
Submit batch job daynamically using batch user id
Hi,
I need to submit the background job dynamically from ABAP program with BATCH user id.
I have created new program. Users will execute program in foreground.
Had issue with USER id. If I give my user id then batch job successfully creating. If I give u2018BAICHu2019 id then it is giving the error.
Am I doing any thing wrong here?
Code:
Open Job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = w_jobcount.
SUBMIT zrufilep WITH p_file1 = sourfile
WITH p_file2 = destfile
VIA JOB jobname NUMBER w_jobcount
USER 'BATCH_FI'
AND RETURN.
Schedule and close job.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_jobcount
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit.
ThanksCan any body tell me if that authorization is given to the user, can he submit any other job from front end?
As you can see if he can, it will conflict security issues of business. So If he is not permitted to execute these kind of statements in any other program, would he be confined to using diff user in this program only?
Or is there any other way-out to confine the user for getting this authorization for a single T-code or such? -
How to send an updated list using batch job
Hi All,
The program displays data on the screen, if the data looks ok, then there is an option to update.
When I run update, the program submits a batch job and the basic list gets updated, but my batch job is still sending the data on the screen. how can i send the updated list using batch job.
Ex: output of the program
1 2
there is an update button on the screen, when i press update button, my program submits in batch job, the above list becomes
1 2
3 4
but when i check the spool, it shows the o/p as 1 2 ..it is not sending the updated list.
Please suggest me how to send the updated data
Thanks,
KumarHi Krishna,
I have added a button on the alv list. when i press update button, my program updates the list, then submits the batch job. I am attaching the sample test program i am trying with, please suggest me how can i get the updated list.
*& Report ZTESTSSSSS
REPORT ZTESTSSSSS.
DATA: gt_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat type slis_t_fieldcat_alv,
gt_sort TYPE slis_t_sortinfo_alv,
g_repid LIKE sy-repid,
gt_layout TYPE slis_layout_alv.
start-of-selection.
lt_return-type = 'S'.
lt_return-message = 'test message'.
append lt_return.
CLEAR gt_fieldcat.
gt_fieldcat-fieldname = 'TYPE'.
gt_fieldcat-outputlen = '3'.
gt_fieldcat-tabname = 'LT_RETURN'.
gt_fieldcat-seltext_l = 'Type'.
gt_fieldcat-seltext_m = 'Type'.
gt_fieldcat-seltext_s = 'Type'.
APPEND gt_fieldcat TO lt_fieldcat.
CLEAR gt_fieldcat.
gt_fieldcat-fieldname = 'MESSAGE'.
gt_fieldcat-outputlen = '15'.
gt_fieldcat-tabname = 'LT_RETURN'.
gt_fieldcat-seltext_l = 'Message'.
gt_fieldcat-seltext_m = 'Message'.
gt_fieldcat-seltext_s = 'Message'.
APPEND gt_fieldcat TO lt_fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_FIELDCAT = lt_fieldcat
TABLES
T_OUTTAB = lt_return
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
*& Form set_pf_status
text
-->RT_EXTAB text
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'STANDARD'.
ENDFORM. "Set_pf_status
*& Form user_command
text
-->R_UCOMM text
-->RS_SELFIELD text
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
DATA: li_count TYPE I.
IF r_ucomm EQ 'UPD'.
Adding another message
lt_return-type = 'S'.
lt_return-message = 'Another test message'.
APPEND lt_return.
rs_selfield-refresh = 'X'.
rs_selfield-col_stable = 'X'.
rs_selfield-row_stable = 'X'.
l_upd = 'X'.
LOOP AT lt_return.
WRITE: / lt_return-type, lt_return-message.
ENDLOOP.
IF sy-batch IS INITIAL.
l_upd = 'X'.
Open the Job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = w_name
IMPORTING
jobcount = w_number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT ('ZTESTSSSSS') VIA JOB w_name NUMBER w_number
AND RETURN
WITH p_recnnr = p_recnnr.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_number
jobname = w_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.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. "User_command
Thanks,
Kumar -
How to view ALL batch job details at one glance using function module
Hi Experts,
i need to see all batch jobs details, the information required includes the job name, client number, job frequency .. etc.
but i need to do it with only FUNCTION MODULE.....
SINCE THE INFORMATION IS CAPTURED BY THIRD PARTY SYSTEM.......i am looking for any function module
could you please suggest me any FM's where i can get this information.................
thanks and regards
SAMHi,
You can explore these functional module for SM37 desired details:
With function module BP_JOB_MAINTENANCE (transaction SM37), you can call the full job maintenance system of the background processing system, starting with the job selection screen.
Since many users are not familiar with job maintenance and have no desire to search for their jobs, you can use the function modules BP_JOB_SELECT and BP_JOBLIST_PROCESSOR to select and display a list of jobs for the users of your program.
Use BP_JOB_SELECT to generate an internal table of jobs. Then, with BP_JOBLIST_PROCESSOR, you can display the selected jobs in the list format used by the job maintenance system.
You can also use BP_FIND_JOBS_WITH_PROGRAM to select jobs that run a particular program. Use this function module with BP_JOBLIST_PROCESSOR to display a job list to your users. Like BP_JOBLIST_SELECT; BP_FIND_JOBS_WITH_PROGRAM offers interactive and silent modes.
Regards,
Ashutosh
Maybe you are looking for
-
I am using Acrobat Pro X. I have hundreds of account statements where I need to redact and bates stamp. Somehow I keep getting this error: There was a problem reading this document (16) The files open and print fine. There is no security settings
-
Changing data in the table control during run time of transaction F-28
Dear Experts, in transaction F-28 of second screen of second column (Field Name: Assignment) currently the data is getting from BSEG table and populating this column of table control, now I have a requirement that the data should be get from the othe
-
Is it a safe to install DFS namespace service to an Active Directory Server?
Hi All, Is it safe and/or best practice to install a DFS namespace server to a server that runs an Active directory services? I have read a blog in which, as much as possible, active directory server should only run the directory services and no othe
-
Dreamweaver Template alignment Issue
I am using Dreamweaver 8, i have created a template with my background image, my menu, and an outter table to align my content. I have entered new content in one of the pages that I have applied the template to, and now all of it is shifted to the ri
-
Attachment for Purchase Requisition
How to retreive a attachement of a Archived Purchase Requisition. The attachement is created by using services for the object option (Not at line item level)