How run the back ground jobs

Hi Experts,
I have one scenario .
I have scheduled on program in back ground.
now that in back . when i excute that back job program.
I need to  tranfer that data to application server.
please suggest me how to do this.
Ramesh.
thanks in advanice.

there is a system variable sy-batch which recognises if the job is running in background or not..
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE e001(zsd_mes).
EXIT.
ELSE.
*---Data is downloaded to the application server file path
LOOP AT it_tab2 INTO wa_tab2.
TRANSFER wa_tab2 TO p_file.
ENDLOOP.
ENDIF.
*--Close the Application server file (Mandatory).
CLOSE DATASET p_file.

Similar Messages

  • What is the back ground job when we run an Attribute Change run ?

    Dear One´s,
    What is the back ground job when we run an Attribute Change run ?
    Thanks in advance,
    Raj

    Hi Raj,
    1. If the attribute change run is triggered through process chain the job name is 'BI_PROCESS_ATTRIBCHAN'
    2. If the change run is triggered from RSA1> tools?Appl Heirarchy/Attribute changerun then the job name starts with BI_STRU*
    3. If you trigger the program RSDDS_AGGREGATES_MAINTAIN from SE38 then the job name will be RSDDS_AGGREGATES_MAINTAIN
    Hope this helps...

  • How to analyse Back Ground Jobs in BI

    Hi,
    How to analyse Back Ground Jobs in BI
    RSDB2MA1 and RSDB2MA2
    My requirment is to check the error logs for these job
    How to navigate there
    Thanks

    Dear BW user,
    Sm37 and sm50/51
    1)Go to Sm37
    2) Give the job name and in user give as *
    3)press execute or f8
    4) Press job log in the screen..keep refreshing it for update
    5)Press job detaisl..get pid no and wp no..in it
    6) go to sm50/51
    check for given wp no... and pid no..job is running or waiting or not
    sm66
    1)go to sm66
    2)in sm66 you can see only the central instance job running in
    3)You cant find any application server in it
    Hope it helps you,Revert me back if you have any queries
    Assign points if helpful
    Regards
    Bala

  • 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 kumar

    Hi 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

  • Genetare the back ground jobs of the program from the SM36 tcode

    Hi All,
        Consider the following points:
    -- My main program will schedule the jobs using the CALL TRANSACTION method
    -- Now i want to create a Variant for the Main program and generate the back ground job using the SM36 Tcode
    -- Finally it has all the jobs of the main program
    -- Program is working fine from the Frontend only.....
    Please provide solution for the same.
    Thanks in Advance.
    Regards,
    Ramana

    Sravya,
    On SM36 when you schedule jobs, you will see options like AFTER EVENT and AFTER JOB. You can use these to schedule you jobs accordingly. Else you can also think of making each of these jobs as a steps in one single job if your requirement allows you to do the same.
    In case of using events, you should make sure to raise the event using available FMs.
    thanks,
    Vikram.M

  • Schedule the Back ground Job with Fiscal Year Vaient????

    Hello Guru's,
    Please let me know the process of "Schedule the Back ground Job with Fiscal Year Vaient" in APO DP?
    Great thanks for your help.
    Regards,
    Sree

    Hi Venkat,
    As i told i am maintaining the periods as 5-4-4, So i want schedule the job as first after the 5th week, then after the 4 th week, then after the 4th week and again after the 5th week ...... like that....
    can we schedule the job in back ground as per this periodically???
    Thanks for the response.
    Regards,
    Sree!!
    Edited by: sree gunti on Nov 26, 2008 3:30 PM

  • 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,
    Muralikrishna

    On 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.

  • 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 sahu

    Click 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

  • The back ground job gets cancelled which feds the delta queue?

    Hi all,
    I can see the delta is empty for the 2lis_11_vahdr ( sales order header datasource) when i happened to check the background job name which feds the delta queue, all the background job gets failed for the same!!
    Can anyone let me know what needs to be carried out ?
    Thanks

    hi,
    when i happened to check the logs for that back ground job i got the below message
    Extraction queue processing started MCEX11 with 54,331 LUWs
    ABAP/4 processor: CALL_FUNCTION_NOT_FOUND''
    Thanks

  • How to debug the back ground job

    Hi All,
    I want to debug the program, but it is taking more time so iam running it in back ground, but i need to debug the program from some particular point....is there any other way to debug the program...
    Means...to run the program in background upto particular point and later i need to run it in debug mode.
    Please suggest.
    Thanks & Regards,
    Hari

    Hi,
    You can do this only after the job has finished execution. This will simulate the exact background scenario with the same selection screen values as used in the job and sy-batch set to 'X'.
    Use SM37 to get list of jobs , type 'JDBG' in the command line ( no '/' ), put the cursor on the job and press ENTER
    You are in debug mode now. Step through SAP program (press F7 couple of times) until you get to code you need.
    Hope this helps u.
    Thanks.

  • How to set Back ground job & get my desired output layout in sm36 & sm37 ?

    Hai SAP ABAP/BASIS Gurus,
    I am currently taking ME2N PO Pending value Report by setting variant in input screen & setting my own output layout  ie only four field ie.Plant, Material,Currency,Still to be delivered value will be visible in output screen
    I set Back ground in sm36 using my variant & i saw my output in sm37.. But I cant get output as my desired field..
    This is my problem..
    1) I Cant Get the Same output in shedule job [sm36 & sm37] like When i run in foreground for ME2n.
        I am using ALV Scope of list..
    2) If I use BEST Layout in Scope of list means i get the desired Output field layout as same as my foreground output field..
    I want to get the output layout as desired & also in ALV format[ Useful for excel work]
    Kindly guide me.
    Thanks in advance..
    swetha
    Edited by: Swetha SAP Girl on Jul 2, 2009 5:06 PM

    Hi Swetha,
    To get the missed fields in the spool, while creating the background job(execute in background option) you can see the printer setting block at the end of the background job settings window, in that check the 'Spool Request Max. Width 255 char' check box and then continue. It will generate the spool list with maximum width and you can see all the fields in the spool output.
    Thanks,
    Muthu
    Edited by: Muthu Prabakaran Selvam on Jul 3, 2009 2:35 PM

  • Control on the release of the back ground jobs

    Hello experts,
    We have a requirement to process a set of jobs in sequence based on a sequence number.
    It means the first set of jobs with sequence number 1 will all be released at once and they have to get finished for the next set of jobs with the sequence number 2 to get processed. Each job in a sequence will lock and update custom tables. Since certain jobs in a set has got more data they are consuming more run time and they keep the tables locked. Other jobs of the same sequence which try to update the tables are failing. Writing wait statement can be a performance and moreover we are not sure how much time to wait..Please suggest if we have any option to have the control on the release of jobs...

    Sravya,
    On SM36 when you schedule jobs, you will see options like AFTER EVENT and AFTER JOB. You can use these to schedule you jobs accordingly. Else you can also think of making each of these jobs as a steps in one single job if your requirement allows you to do the same.
    In case of using events, you should make sure to raise the event using available FMs.
    thanks,
    Vikram.M

  • How to Schedule Back Ground job For every 30 Min...

    Hi friends,
    Please Tell me the steps...
    How to schedule BACKGROUND Job for every 30 Min.
    Please Help me ..its urgent.
    Thanks & Regards,
    Vasu.

    Hi Vasu,
       Goto SM36, here you can create your own jobs and schedule them accordingly.
    Hope this is helpful to you. If you need further information, revert back.
    Reward all the helpful answers.
    Regards
    Nagaraj T

  • Restricting running of back ground jobs per user

    Hi,
    how can we restrict the user to run only specific no.of jobs...
    i.e if a user is running three jobs on his name and we did not want to allow him to run fourth job...
    how can we implement this functinality...
    Thanks & Regards.
    Srini.

    hi put a count for the jobs ..
    go to table TBTCO....
    if the jobno gt 3 and the status is R for all the jobs then .
    use the wait up to 200 seconds .....

  • Variant Creation for the Back Ground Jobs

    Hi experts
    1) What are the settings we need to consider in the Variant Creation for generating CVC's, Planning Area Initialization, Calculate Proportional Factors and Loading planning area.
    2)I believe  Process flow to create process chain:
    Generate CVC's-->Planning Area Intialization>Load Planning Area Vesrion--
    >Calculate Proportional Factors
    Please correct if the process flow is not right.
    3) Is it require to check the adjust time series for generating CVC's for every time?
    4) How to generate the proportional factors for all the products in the single job?I assume that  need to create a single selection ID which has all Characteristic values and assign this while creating the Proportional factors.Please correct me if i am wrong.
    Please give your valuable opinions on the above queries
    Thanks in advance
    Edited by: Mani4690 on Mar 4, 2009 9:37 PM

    Hi,
    Below are the answers to your queries.
    1) What are the settings we need to consider in the Variant Creation for generating CVC's, Planning Area Initialization, Calculate Proportional Factors and Loading planning area.
    While creating CVC's (t-code /n/sapapo/mc62)select your MPOS, goto create characteristic combinations, then enter Target mpos, say generate in background, tick against all fields in action selection, and then save as variant. During planning area initialisation(/n/sapapo/msdp_admin), select your planning area, right click and say create time series objects and then enter planning version, start and end dates and execute job in background.  While calculating proportional factors (/n/sapapo/mc8v), enter ur planning area & infocube and then save as a variant.  For loading data from infocube to planning area (tcode /n/sapapo/tscube), select the infocube, planning version, planning area, planning versin, periods, tick mark in results log, key figure assignments, if you have any selection criteria enter, and then save as variant.
    2) 2)I believe Process flow to create process chain:
    Generate CVC's-->Planning Area Intialization>Load Planning Area Vesrion--
    >Calculate Proportional Factors
    Please correct if the process flow is not right.
    Correct
    3) ) Is it require to check the adjust time series for generating CVC's for every time?
    Yes, it is required.
    4) How to generate the proportional factors for all the products in the single job?I assume that need to create a single selection ID which has all Characteristic values and assign this while creating the Proportional factors.Please correct me if i am wrong.
    if you use mc8v t-code and provide planning area & infocube, it will ask for version name and dates, once u enter this info, proportional factors will get created.
    Regards
    R. Senthil Mareeswaran.

Maybe you are looking for

  • Mail.app stuck spinning on "opening mailbox"

    I just used Migration Assistant to move my content from my old iMac (running 10.5.8) to my new iMac (running 10.6.4). When opening Mail.app everything works fine - except in the Activity Window I see Mail.app trying to open two mailboxes. Also next t

  • Itunes 11.0 song recommendations not there.

    When in a playlist, itunes 11.0 no longer shows a list of recommended new songs on the right side of the screen to purchase from the itunes store.  I don't want Genius recommendations from my own library.

  • Running Apps in the Background 2.1?

    Now that 2.1 is out can anybody confirm that the you can now run 3rd party Apps in the background? They mentioned that ability back when they introduced the iPhone 3G but I haven't heard any talk about it recently with this update. Anybody able to in

  • DDE - From EXCEL to FORMS

    Hi!, I have used (DDE PACKAGE) to get data from EXCEL SHEETS into ORACLE FORMS, and it worked properly , my question is if there is a way or idea (Other than using TIMERS) to have a link between the - Very frequently changed EXCEL cells - and ORACLE

  • Java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet

    Hi I am new Jdeveloper and java I am getiing the following error when I try to run the project 500 Internal Server Error java.lang.IllegalAccessError: javax/naming/InitialContext     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:4