Back ground job problem
hi every one,
pls help me out in this.
i have written a program to create a wbs element.as it takes 20 to 30 min to create one element in production.in my program, there is part of code which creates wbs elements.
so i want to run tht part of code in background.
only part of code.
even i did the coding for it. i wrote a new program and i pasted that part of code in new program.
and this new program i m submitting in old one by creating a back ground job.
i m exporting few required internal tables for new report.i hav imported all internal tables in new report also..
but still this importing exporting is not happening..pls
tell me wat can be the problem..
thanks..
Your code is not optimized according to performance,can you sed me your code ...
see my business card for my id.
Thanks
Similar Messages
-
Back ground job problem for CJI3
Hi
Iam converting the standard CJI3 TCODE into zcji3 when I execute manually iam getting all the data. but I schedule(in the background job) that program i am not getting all the fields data .what could be the problem this is immd please repsond.
SKYour code is not optimized according to performance,can you sed me your code ...
see my business card for my id.
Thanks -
Back Ground Job Printing Problem
Dear Experts,
We schedled one back ground job with spool generation. Ecery thing is working fine but in printing selecton parameters are printing along with out put data.
That means, if i gave 1000 materials in my variant, in spool first 1000 materials are printing an then actually out put is printing. i need to avoid these printing of selection set.
Please help me...
Thanks in advanceHello,
Pleas find if there is any "PRINT_SELECTION" function module in report, which should be responsible for printing selection screen parameter values.
Thanks. -
Scheduled back ground job not finishing
hie gurus, i need your help with back ground scheduling , i have created a background schedule to run my program after every 30min . in the job overview it shows my job released and active but its not finishing processing . the program being run picks up data from an external data base and then inserting via BDC call transaction. i have tried with a different program that inserts data into a database table and its executing and finishing well in the back ground. What could be the problem ? and how can i debug a back ground job ??
Daniel,
To start, BDCs are very out-dated. I would look for a BAPI if you are calling std SAP functionality.
Also - direct updates into std SAP tables is a HUGE "no-no"... I hope that you are updating custom tables only.
Pass that - to debug a b/g job--->
1) Set a breakpoint in your program
2) select the job in SM37
3) enter JDBG into the SAP fastpath of the SM37 screen and press ENTER
This will navigate you into a b/g debug - you can then press the debugger buttons to move to your breakpoint.
Hope that helps. -
Back Ground Job Scheduling SM36
Hello Experts
I have Created Variants for Reports and trying to schedule a back ground job based on the Variants.
for 1 Report KOK5 The Program is SAPMKAUF of Type M. I get a Message i cant schedule a Job for Program Type Other Than 1 or J. how Can i solve this Problem.
I want the output in excel on schedule basis
am new to SAP
Thanks in Advance
SandeepHi Sandeep,
You will need to wrap that module pool program using a Transaction code then create BDC, and execute this BDC coding in a report program.
how to create background job please see the link : Scheduling Background Jobs (SAP Library - Configuration (New Technology))
Reward if helpful
Thanks -
Output should be in Text format from Back ground job
Hi friends,
I have scheduleda back ground job. In the receipent i ahve put my user mail ID. when the job was finished the output came as HTML file. where as my user wants a Text file or excel file.
We are in ECC 5.0 and i am just scheduling standard ABAP program( costing run
Is it possible , if yes then, please let me know where to change the setting.
Cheers
PKHi,
I tried the same , it did not work for me. But when i contacted my Basis Guy through SCOT he changed. Now the text file has started coming.
But now next problem is my spool request is of 215 pages but system is sending the text file for only first 10 pages..
I have changed the setting for display from 10 pages 215 pages . and belwo even changed the seeting to permanenet between logons..Still system did not send the file to email Id.
can you help mein this regards
cheers
PK -
Create Back ground job for data recieved from a legacy system
Hi All,
I have a requirement where i need to schedule a back ground job once a proxy is triggered for the address data sent from a Legacy system. This proxy is triggerred from SAP PI, then i need to create a job shedule where address data is created as BP's(Business Partners) and assigned to a already created Target Group. Then once the Target group is completed with all BP needs to assigned to aCampaign Id. As the data is large it takes lot of time to execute. Please Advice.
Regards,
Nagesh ThanneeruHi
If you can divide the data into two internal tables and later collect into the one internal table, this could solve yuor problem.
Also you need to make sure that enough memory is available in the system. Check DB6cockpit for that.
Also there are a lot of correction notes available with SAP for the error"TSV_TNEW_BLOCKS_NO_ROLL_MEMORY"
Check what the job exactly does, and search for the relevant notes, as there are different notes for different application areas...
if its a loading job(Infopackage) you can reduce the data packet size of the IP, but that might hamper the loading performance.
Hope this helps
Regards
Shilpa -
How To Handle With Back Ground JOB From WEBUI When Click On "Appove"
Hi
How To Scheduled A Job Through ABAP Report In back end Of CRM when i click on "Approve" Button in WEBUI From result list.
As per My requirement I have a Search View and Result View
In Search View I have Below Fields
ITC Vendor ID
Claim Status
User status (date status changed)
Model
Serial Number
Date completed of Service Completion
Based on Search Criteria I will get Result In Result View.(Suppose 10 Records I got In Result View)
In the Result View I need to Add one Button As "Approve"
When i Click On Approve button One Pop up Message Need to Open And In that popup window I need to Display Below Text
"Approve Claim Job Has Started In Background
Note: Only Claims Which are in Submitted Status Will be Approved. you May Close This Window"
In SAP CRM System Back Ground Job Need To Start When Click On "Approve" Button In WEBUI .
In the Back Ground ABAP Report which will validate based on Result List Records"
In the Result List we may have all types of Claims which are status in "Submitted" "Pending" "Rejected" "Approve".
I need to collect all records from Result list and validate Those Records who's Status in "Submitted
1)Sort all the claims based on ITC Vendor ID.
2)Grouped all the submitted claims against each ITC Vendor ID from the search result
3)Change the status of the selected submitted claims to Approved.
4)Displays information messages as mentioned whenever a claim is approved, the same message will be captured in the job log.
‘Claims <ClaimID 1>,…<ClaimID N> now approved for ITC Vendor ID’.
5)Sending Email to each IRC.
6)Capture all the approved claims in the below format (Format Attached "Screen Shot Attachment")
7)Store the file in the Application Server AL11 in .csv format
Please Find Attachement For Reference.
1)ITC Claim Screen Shot
2)Screen Shot For Attachment
Thanks
RajHi,
You can add the following code in on approve method to show popup to the user,
IF req_edit IS NOT BOUND. " gloabl attribute in impl class of the view
REFRESH lt_buttons.
lss_button-id = 'btnyes'.
lss_button-text = 'YES'.
lss_button-on_click = 'YES'.
APPEND lss_button TO lt_buttons.
CLEAR lss_button.
lss_button-id = 'btnno'.
lss_button-text = 'NO'.
lss_button-on_click = 'NO'.
APPEND lss_button TO lt_buttons.
CLEAR lss_button.
CALL METHOD comp_controller->window_manager->create_popup_2_confirm
EXPORTING
iv_title = 'ATTENTION'
iv_text = 'Are you sure you want to edit this document?'
iv_btncombination = '99'
iv_custombuttons = lt_buttons
RECEIVING
rv_result = req_edit.
req_edit->set_on_close_event( iv_event_name = 'EDIT' iv_view = me ). "#EC NOTEXT
req_edit->open( ).
RETURN.
ELSE.
lr_node ?= req_edit->get_context_node( 'OUTPUTNODE' ).
lv_outbound = lr_node->get_event_name( ).
* CLEAR ptc_pricing_status.
* lv_outbound = req_edit->get_fired_outbound_plug( ).
IF lv_outbound = 'YES'.
you can use the submit report code here and you can al the validations here
ELSE. " No
if user clicks no nothing to do..
ENDIF.
CLEAR req_edit.
ENDIF.
Best Regards,
Dharmakasi. -
How to find the back ground job details
Hi All,
I have a back ground job running from many days, now we would like to know when this job was created on what date this job actvlly created and schuduled.
Please informe me how to check this.
Thanks & Regards,
MuralikrishnaOn SM37 screen there is plenty of options are there:
This is what i got from SAP help
Explanation for each selection field:
o Jobname: Name of the job as an identifier.
o Username: Name of the user who designed and planned the job.
o Start date: The start condition of the job, which could be a time
frame or an event that the job is waiting for. Specifying both will
yield jobs whose starting condition is either of the two
conditions.
ABAP program step: Name of an ABAP program that acts as a step in a
job.
Status selection: The current status of the job. By default, the
SCHEDULED option is not marked. To see the scheduled jobs, you must
explicitly check this.
also give the proper values in Job Satus also. -
Hi All,
I need to schedule a daily background job for MB52 transaction and need to save the output of MB52 in a specified directory .
Can any one tell me whether it is possible to save back ground job output in specified directory?
Thanks & Regards
k.NirmalaHi Nirmala,
Set up variant at MB52 transaction and use SM37 and Sm36 transaction to schedule job.
Define job at Sm36 and use program - RM07MLBS and use your variant.
schedule job and set up time and date for periodcally.
and it will run and you can see the status at SM37 Transaction .
the background job will create spool and which will contain your output.
if you want to download your output ,then you need to write custom program to get spool information from TSP01 table and use open dataset command to down load specifi directory.
Reward Points if it is helpful
Thanks
Seshu -
Error while activating ODS is not caught in the back ground job..
Hi All,
We have a back ground job to load data to ODS and to activate it..If there is any error while loading or activating the data, back ground job is going into loop instead of cancelling the job..As the job is going into loop we are unable to trace the error unless we cancel the job manually and checking it..We have switched off displaying any messages while doing the back ground job...also we can not set any time limit for the job as it always depends on the volume of the data.
My requirement is , back ground job must get cancelled if there is any error while loading the ODS..Can anybody suggest any idea on this..
Thanks for reading.
Umamaheswar kumarHi Uma,
A few hints for running and schedule and monitoring process chains:
- always schedule the process chain in tcode RSPC
- check the log in RSPC for error messages, or
- check BW monitor for the ODS concerned (tcode RSMO, tab Details)
if anything is not working fine, the status of the corresponding load will show you the errors, warnings ...
either in RSPC - log or RSMO.
hope it helps.
Regards,
Lilly -
Max no of lines appear in the back ground job out put
Dear All,
Please help me to solve following query,
I am execution ME2N report in background. There are more then 100000 line item in the out put. However only 5000 line appear in the output of background job.
Is there any setting in sap, where i can change the max no of out put is more then 100000 in back ground job?
Your earlier answer should be highly appreciated?
Regds,
sp sahuClick on the settings button and choose the 'The last' radio button for dispaly area and put in 10 pages.
Sometimes just clicking on the Last page button on the Tool bar will do the trick -
How to download the application file to local file by back ground job?
hi:
can any one tell me how to download the application file to local file by back ground job? thanks in advance..
MonsonHi,
In order to download a file from application layer to a local file in background,
first write a report(ZREPORT1) in which do the following steps:
OPEN DATASET g_file_1 FOR INPUT IN TEXT MODE ENCODING DEFAULT.
loop the g_file and append all the data into another internal table.
end of this report you shd have all the data in the application layer file into your internal table.
Now create another report(ZREPORT2) and submit this report in background.
that is,
JOB_OPEN
JOB_SUBMIT and
JOB_CLOSE
and in job_submit submit ZREPORT1 which downloads the file in application layer.
Please reward points if helpful.
Regards,
Arul. -
Back Ground Job scedule (emergency)
Hi all ,
I have scheduled Back Ground Job in Production System at morning 11am, now the job is in running status,but i wonder that before the status come to completed the
LAST RUN Column is filled with Date and time same at 11:am.
Please find the below job log details i am pasting last few lines of job log
Jun 5, 2008 2:15:22 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
INFO: Job ID:6 : Before GC => memory usage: free=481M, total=1009M
Jun 5, 2008 2:15:22 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
INFO: Job ID:6 : Analysis starts: HTREMGMT2
I would like to know wheather job is running or terminated.
Wat is the sequence of JOB status in CC5.2.
Kindly do the needfull.Hi Amol,
Thank You very much for ur quick reponse,
please find the view job log details
(last few lines)
Jun 5, 2008 3:07:12 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
INFO: Job ID:6 : 464 out of 818 (56%) done
Jun 5, 2008 3:07:12 PM com.virsa.cc.xsys.bg.BgJob setStatus
INFO: Job ID: 6 Status: Running
Jun 5, 2008 3:07:12 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
INFO: Job ID:6 : Before GC => memory usage: free=347M, total=1009M
Jun 5, 2008 3:07:12 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine performActPermAnalysis
INFO: Job ID:6 : Analysis starts: MACTUSER17
Jun 5, 2008 3:07:21 PM com.virsa.cc.xsys.meng.ObjAuthMatcher <init>
FINEST: ObjAuthMatcher constructed: 0ms, #singles=970, #ranges=0, #super=0
Jun 5, 2008 3:07:22 PM com.virsa.cc.dataextractor.bo.DataExtractorSAP getObjPermissions
FINEST: getObjPermissions: elapsed time=891ms
can u tell me the job status sequence -
CAN ANY BODY TELL ME WHAT IS A BACK GROUND JOB WORK IN MM pls explain it with good example tell me 1 or 2back ground job work relevent transactions
good answer will be awarded
kiranHi,
Background job means system will automatically perform some transaction / actions at perdetermined time based on the variants selected for that program.
Ex 1: You want to see the list of PO or PR or Production order created for a day, you can create a ABAP program and give the creation date in selction screen.
Provide the Plant or doc type, file path to download the report etc..
and save the variant.
You can set this program to run during mid night( 11.00 p.m) with the sysytem date (crrent date).
So system will run this program and extract the report in Application server level as per the file location given in the program selection screen.
Ex 2:
MRP program
Ex 3.
Auto PO creation program
Thanks,
Kumar Arcot
Maybe you are looking for
-
"error in processing the WS-Security security header" - calling ws OIPM
Hi All, We are trying to integrate Ebiz and OIPM, when we send request from ebiz to AxfSolutionMediatorService WebService we are getting below error InvalidSecurity : error in processing the WS-Security security header <ns2:exception xmlns:ns2="http:
-
My Razr maxx hd keeps dropping calls daily no matter where I am. How can I fix this?
This phone keeps dropping calls a few minutes in most of the time. I am tempted to tossing this phone out and switching to iPhone but I loved the droids since the beginning. This has been happening for the last year and now I am tired of it. This pho
-
Thinkpad T420s docking station
What docking station is compatible with this machine?
-
Mass Approval of Leave Request...need function module or any program
Hi All, I have developed Custom Application in webdynpro java for Leave,Travel,now i got the new requirements for mass approval of Leave and Travel can any baddy provide me any input ,i don't know which functional module or program i use , help guru
-
Mac os x lion thumb drive install
I have a MacBook and my dad has an iMac and we would like to go on lion but we have 1mb a minute of download so we were looking at the mac os x lion thumb drive which looks like I can install lion on my mac without downloading lion from the mac app s