How to execute a active Job in T-code SM37.

Hi
How to execute a active Job in T-code SM37.
Pls help

hi,
In SM37 give the job name or user name. then in job status check only the active jobs then u can execute the job..
Subhash

Similar Messages

  • SM37 how to quite an active job?

    Hi, How do I stop an active job in SM37?
    Thanks,
    Helen

    Double click on the active job and click job details button. From here note the application server and process id(PID) for the job.
    Now go to transaction SM51 and double click on the application server name . you will get a list of jobs executing on that server. Select the job checkbox and goto menu Process->Cancel without core. Now come back to Sm37 and check , the job will be cancelled.
    Sometimes it does not get cancelled or still shows the active status because it does not fully get diconnected from the process id. So you can check the job from SM37 by going to SM37 and goto menu Job-> check active job.it will make corrections to the job.

  • How to execute external scripts that returns error code

    Hi,
    What is the best approach to execute a unix shell scripts in ODI thats return a code e.g. 1- found , 2 - not found. The return code needs to assigned to a ODI variable. I have gone through some posts that explained how to refresh odi variable from file. well in that case i have to write the error code to a file and then read to a ODI variable. Is there any direct approach available ? Is there any other way I can assign values to ODI variable other than its refresh methods ( select from <source>) for e.g. Inside odi procedure ?
    Thanks you all for answering this
    -Mansa

    In order to reduce the steps we need to do that using java itself. It will be something like this .
    Step 1. ODI procedure - Technology Java Bean shell .
    <@
    JAVA OS COMMOND CODE TO TRIGGER THE PEARL SCRIPT.
    GET THE RETURN INTO JAVA VARIABLE ( SAY FOR EX result )
    @>
    Step 2. Creating the variable.
    select any oracle schema
    select '<@=result@>' from dual
    and call this variable in refresh mode in package.
    Step 3. processing with variable what ever you wish to do .
    Personally i have not tried the java os command to get the return code . I will look into this and let you know sooner or later. If you want you can explore the code or google the code and see if what you are planning to achive is possible ,else the other way can be using the file as you know.

  • How to execute a report using a transaction code?

    Hi team,
    I am new in ABAP and I want to do a very simple report and then call this report using a transaction code.
    Steps:
    1) create the report (SE38)
       the report is: Z_DEMO
    2) generate a transaction code for this report (SE93)
       note: the transaction code is ZDEMO
    3) call the transaction generated on step 2
    When I execute the report using SE38, everythig is ok and the records are inserted in my table zdemo2.
    But when I call my transaction ZDEMO there is no insertion. Why?
    The report ask for parameters and then fowards me to SAP's main menu.
    Thanks,
    Walter.
    The report is:
    REPORT  Z_DEMO.
    tables: zdemo2.
    parameters:
            nombre like zdemo2-nombre,
            edad like zdemo2-edad.
    data:
          begin of tabla occurs 0,
            nombre like zdemo2-nombre,
            edad like zdemo2-edad,
          end of tabla.
    zdemo2-nombre = nombre.
    zdemo2-edad = edad.
    insert zdemo2.

    Hi,
    While creating the transaction for your program
    1>Make sure u give the program name and screen number
    2>Important thing is a option "GUI SUPPORT"
    Check all the checkboxes or atleast SAPGUI for Windows to ensure that the Code runs in SAP GUI.
    Thank you.

  • How to execute a servlet from a java code

    Hi,
              I am trying to make a URL connection to a particular site and trying
              to execute the servlet at the site specified and then storing the image
              pointed to by the servlet in a tmp location.I am passing the servlet id
              in the param Parameter.and the
              HTTP link in the URLString.
              This code worked fine with a CGI script but is not working
              properly with a servlet.
              A sample servlet code
              <img SRC=http://xyz/ABCServlet?imageKey=51752
              2881"/>
              private String executeServlet(String URLString, String param) {
              try {
              URL url = new URL(URLString);
              URLConnection connection = url.openConnection();
              connection.setDoOutput(true);
              PrintWriter out = new
              PrintWriter(connection.getOutputStream());
              out.println(param) ;
              out.close();
              BufferedReader in = new BufferedReader(new
              InputStreamReader(
              connection.getInputStream()));
              String inputLine;
              String inputData = "" ;
              while ((inputLine = in.readLine()) != null)
              inputData = inputData + inputLine ;
              in.close();
              System.out.println(inputData) ;
              return inputData ;
              Could anyone one help me out in this.
              Thanks,
              Trita
              

    Hi,
              I would assume your image is a binary file, and therefore you should use
              class for byteStream instead of charStream classes, i.e. Reader.
              Michael
              Trita Tripathi <[email protected]> wrote in message
              news:[email protected]...
              > Hi,
              > I am trying to make a URL connection to a particular site and trying
              > to execute the servlet at the site specified and then storing the image
              > pointed to by the servlet in a tmp location.I am passing the servlet id
              > in the param Parameter.and the
              > HTTP link in the URLString.
              > This code worked fine with a CGI script but is not working
              > properly with a servlet.
              > /*
              > A sample servlet code
              > <img SRC=http://xyz/ABCServlet?imageKey=51752
              > 2881"/>
              > */
              >
              > private String executeServlet(String URLString, String param) {
              >
              > try {
              > URL url = new URL(URLString);
              > URLConnection connection = url.openConnection();
              > connection.setDoOutput(true);
              >
              > PrintWriter out = new
              > PrintWriter(connection.getOutputStream());
              > out.println(param) ;
              > out.close();
              >
              > BufferedReader in = new BufferedReader(new
              > InputStreamReader(
              > connection.getInputStream()));
              > String inputLine;
              > String inputData = "" ;
              >
              > while ((inputLine = in.readLine()) != null)
              > inputData = inputData + inputLine ;
              >
              > in.close();
              >
              > System.out.println(inputData) ;
              > return inputData ;
              > }
              > Could anyone one help me out in this.
              >
              > Thanks,
              > Trita
              >
              >
              >
              >
              

  • How to cancel the background job?

    Hi,
        I have schedule the backgroud job.How to cancel the background the job.
    When i select the job and click on stop button, iam getting message "job is not active - cancellation not possiable".How to schedule the background job.
    Regards,
    T.suresh

    goto sm37
    SM36 Define Background Job
    SM37 Background Job Overview
    SM39 Job Analysis
    U can Moniter the background Jobs through T code SM37
    In the Simple Job Selection window enter the name of the Job and User of that Job and u can check the status of that Job like “JobName, Job CreatedBy, Status, Start date, Start time Duration(sec.) Delay (sec.).

  • General question: How to execute a batch input using different user name?

    Hi everyone,
    I would be very grateful if someone could tell me how to execute a batch input from source code using a differente username so the batch input is executed with different permissions.
    For example, I log on with:
    Username: A
    , but I'd like to execute a batch input using the rights and permissions of user B.
    Thanks in advance and best regards.
    Ben.

    If you are calling the BDC in a program, create a job to run the program and specify the user you want each program to run under.

  • To cancel an Active job

    IF a job is active, can we able to cancel the job before it is completed? I tried Cancel job which is in job menu,It is not showing any error or displaying information, but the job is still in Active status. Please help me how to cancel an active job?

    Hello,
    See note 666290. Use report RSBTCDEL to force deletion.
    Arthur Silva

  • How to execute the data in the form when the data is already avaliable

    Hi,
    I am working with forms 6i. I have a problem while executing the data in the form
    Actually, the data is already present in the form. But when i run the form, the data is not displayed.
    can anyone please help me how to execute the data. below is the code
    Set_Alert_Property(alert_id,ALERT_MESSAGE_TEXT,'Do you want to refresh new Data for that Year and Field ? (it will take a time).') ;
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON1, LABEL, 'Yes');
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON2, LABEL, 'No');
                   SET_ALERT_BUTTON_PROPERTY(alert_id, ALERT_BUTTON3, LABEL, 'Cancel');
                   button_number :=Show_Alert(alert_id) ;
                   synchronize;
                   if button_number != ALERT_BUTTON3 then
                        if button_number = ALERT_BUTTON1 then
                             :param.field := :control.f_cd;
                             :param.year := :control.year;
                             build_tables;
                             fields;
    -- areas(:param.field);
                             PUT_PARAM;
                             COMMIT_FORM;
                        go_block('wet_criterias');
                        end if;
                        if button_number = ALERT_BUTTON2 then
                             :exhibits.field_display := :control.f_name || ' - Exhibits';
                             go_block('RESERVOIR');
                             execute_query;
                        end if;
                   end if;
              end if;
    else
         message('Fields must be entered...');
    end if;
    else
    message('Fields must be entered...');
    end if;

    It's hard to know what logic you are trying to implement.
    However, by looking at your code, it seems that if the user select 'Yes' to the question "Do you want to refresh", nothing is done except the go_block('wet_criterias'). Should there be an 'Execute_Query' ?
    No idea...

  • How to find out batch job failure and taking action:

    Normally We will monitor the batch jobs  through transaction code sm37 for job monitoring. In SM37 we will give a batch job name date and time  as  input. In the first step we will check the batch job for the reason failure or check the spool request for the batch job for failures an help in analyzing the error
    I understand from the my experience is that the batch may fail due to below reasons.
    1.,Data issues :             ex: Invalid character in quantity (Meins) field  >>>> We will correct the corresponding document with correct value or we will manually run or request the team to rerun the batch job by excluding  the problematic documents from the batch job variant  so that it may process other documents.
    2.Configuration issues : Materials XXXX is not extended for Plant >>>> we will contact the material master team or business to correct the data or we will raise sub contract call with support team to correct he data. Once the data been corrected and will request the team to rerun the batch job.
    3.Performance issues : Volume of the data being processed  by the batch job ,network problems.>>>Normally these kind of issues we will encounter during the month end process as there will lot of accounting transactions or documents being posted business hence it may cause the batch job failure as there is enough memory to complete the program or select queries in the program will timeout because of volume of the records.
    4.Network issues. : Temporary connectivity issues in other partner systems :Outage in other partner systems like APO or other system like GTS  will cause the batch job failure as Batch job not in position to connect other system to get the inforamtion and proceed for further steps.Nornmally we will check RFC destination status by running a custom program  weather connectivity between system are in progress or not. then intimate other partner system  for the further actions, Once the partner system comes online then we will intimate the team to restart or manually submit batch job.
    Some times we will create a manual job by transaction code SM36.

    I'm not sure what the question is among all that but if you want to check on jobs that are viewable via SM37 and started via SM36. The tables are TBTCP -Background Job Step Overview and TBTCO - Job Status Overview Table.
    You can use the following FM to get job details:
    GET_JOB_RUNTIME_INFO - Reading Background Job Runtime Data

  • How to cancel an active/running job in BW?

    Hi All,
    I have a job running in the system for 2 hrs now. I want to cancel it, please suggest, how to do the same.
    Thanks,
    Raj

    Hi ,
    Please follow the steps as metioned below: go to T-code SM37, enter the below details
    Job name = * or BI*
    User name = *
    Job status = Active ( uncheck rest all )
    Execute ( here you will find all the active running jobs ).Click on the job--> Go to Job -->Cancel active job. It should cancel the job.
    Or you can also get the PID of the job and cancel the job by following the steps below
    Goto sm50 ---> locate the process with the PID ---> select the Process -
    > menu bar ---> cancel without core.

  • How to execute the Portal Activity Report

    Hello,
    In the System Administration -> System Configuration-> Service Configuration Editor
    Under Applications->com.sap.portal.activityreport.core-> Services->ActivityReport and I have configured the report.
    I saved I have restarted the service to effect the changes and in Portal Catalog
    Application->com.sap.portal.activityreport.core and I have administrated the changes. The Application Details Editor is displayed.
    I have clicked the Restart the portal also.
    I would like to know how to execute this Portal Activity Report after making this configuration.
    Can anyone help me.
    Thnx in advance
    cheers
    Kris

    Hi Kris,
    here an example with steps:
    1. Navigate to Content Administration -> Portal Content
    2. Step into a test folder and right click on the folder to create a new iView
    2. Select the template "Portal Activity Report iView"
       Name: Daily User Logins
       Technical Name: DailyUserLogins
    3. Open the newly created iView and define the following parameters
       under "Specify report content"
          Start of Reporting: Date 01.01.2005 and Time: 08:00
          End of Reporting: Date 31.12.2005 and Time: 24:00
          Time Unit for Reporting: Daily
       under "Configure report options"
          Information to Report: Number of users logged on
    You have created a new reporting iView, aggregating information about the number of anonymous and authenticated users on a daily basis.
    Hope this helps,
    Robert

  • How to Cancel a ACTIVE background Job scheduled in SM37.

    Hi Friends,
    I have scheduled a Background job. The job is ACTIVE now. How can I cancel this job?
    Regards,
    Viji

    There is a last ditch method for jobs that don't get canceled for some reason or the other
    Go to SM50 - first try canceling the job from there
    If that doesn't work, note down the Process ID (PID) of the job
    Take direct OS access to your system (You would need your Basis person for this) and terminate the job
    If the server is Windows based, you can end it using the task manager and end that process id

  • How to CANCEL ACTIVE JOB in SM37??

    Hi Experts,
    Pls. let me clarify one simple doubt that, am trying to CANCEL a ACTIVE jon in SM37, bcoz its taking too much time, like 60 hrs, so am suspecting that, some thing is wrong in report prog./SELECT!!!
    So, I tried, SM37>MENU>JOB-->CANCEL ACTIVE JOB,
    but, its not getting canceeled or DELETED??
    So, How Cal I CANCEL/DELETE a ACTIVE job in SM37??
    thanq

    thanq,
    its worked out.
    but, i dont know that Wht happened to my browser/SDN/system, I am unable to see the Rewarding points option!!!!!!!!!!
    So, as soon as i see this option, will post the reward points.

  • How to stop and remove an active job.

    How to stop and remove an active job.

    What sort of "job" are you referring to? A print job? If so, open the queue for the printer - it should be in your Dock, or you can access it through the Printers & Scanners system preference - and click the green Pause button to stop the entire queue, or the Pause button next to a specific print job to pause just that job. To clear a job, click the "X" button to the right of the job.
    If that's not the "job" you mean, please post back and clarify.
    Regards.

Maybe you are looking for

  • Business Address Services (BAS) and Where-Used ADRV/ADRVP

    Can someone point out any good sources of information on Business Address Services or possibly its predecessors either online or hard-print?  I've been through the help.sap.com information for BAS and all sorts of SAPNotes without finding what I'm lo

  • Error in PLSQL Procedure...

    Hi Guys, I have the following functions inside a package... I was trying to create directories dynamically in the runtime in side a plsql... FUNCTION Get_Site_Dir_Name (    site_     IN VARCHAR2,    dir_type_ IN VARCHAR2 ) RETURN VARCHAR2 IS BEGIN   

  • Processing EIC follow up via the Universal Worklist (UWL)

    Hi We are implemented EIC (Employee Interationc Centre) ERP and have an issue whereby the follow up appears in both the agent inbox within EIC and the Universal Worklist.   The workflow for follow up is WS61000086.  How do we get the follow up to wor

  • 2.0.1 Problem

    While I am downloading the 2.0.1. update for my iPod touch, it stops and says "There was a problem downloading the iPod software. The network connection timed out. Make sure your network settings are correct and your network connection is active, or

  • Variable Reference of Instance Name

    While I have had no problems with bracket evaluation of constants and number variables, I don't know the coding convention for brack evaluation of a string. I get an undefined for oBtnName oBtnName = new Object; oBtnName = this["mcWing" + aWingColor[