Function module to monitor Job Status (SM37)

Is there a function module or a table that I can use to monitor JOB STATUS in BW?
Thanks in advance!
Cristina.

Hi Cristina,
they are two alike SM37 giving you back the result in a table; very powerful:
BP_JOB_SELECT_SM37B            Select Background Requests 
BP_JOB_SELECT_SM37C            Extended Job Selection     
goto se37 with one of these. Testing mode: enter A for dialog mode. Perform some selections and execute.
Check the result and how the system has populated the import parameters.
let me know if that's what you wanted
Olivier.
Message was edited by:
        Olivier Cora

Similar Messages

  • Function module for background jobs email

    hi abaper's
                     i hace to create a function module for background jobs this function module have to send an email automatically when a background job is assigned or processed in background.
    thnks n regards
    pardeep kumar

    hi dear
    open this site
    https://weblogs.sdn.sap.com/pub/wlg/781. [original link is broken] [original link is broken] [original link is broken]
    <removed by moderator>
    Edited by: Mike Pokraka on Aug 8, 2008 12:48 PM

  • Function module/Webservice for Sytem status overview widget

    Hi,
    We want to create a "System status overview" - widget, which can show very briefly an overview of which systems are up an which are down (+ some additional backgroundinfo).
    (Instead of communicating system statusses via e-mail)
    Therefore we are looking for a function module/webservice which provides status info of all systems linked to Solution Manager. Does anybody knows about a standard functionality which provides this information, or does an application lik that already exists?
    Thanks in advance for your replies.
    Cheers,
    Sander

    Hi Mohammed,
    Thanks for the reply.
    That 's exactly the information we need, but we want to be able to create a simple display to the end user:
    - without logging into the system
    - displaying only a red or a green light/system
    - information about all systems in all solutions
    to put into the portal or even better, to put into a widget (I was thinking about using Adobe Air for this one).
    To do so, I think there will be the need of a simple web service which returns a list of all systems toghether with their availability status...?
    KR,
    Sander

  • Function module for Process order status

    Hi techies,
    I want to know the function module for process order status , idoc type is liopro01 and message type is liopro, my requirement is that based on the different status received in IDoc SAP should update the process order status, separate user status will be defined as "MO START" and "MO end" using status profile.also it has change the process order status to "TECO" also it should check the user status for "MO Abort".
    Thanks in Advance

    Hi ross,
    Try this function module.
    STATUS_CHECK_MULTI
    May be helpful.
    Lincon

  • Calling Function Module starting new job

    Hallo !
    I'm calling a 'Z' function module from a class method.
    I want the calling will start immediately a new job.
    (That I will see in SM37)
    (Like we can do with submit statement)
    Is there a way to this ?
    (I need the function will start a job - because
    I want to save the function log in the Job list.)
    Thanks in advance,
      N.S.

    step : 1
    Sample Program: Creating a Job with JOB_OPEN
    <b>explanation :</b>
    Use JOB_OPEN to create a background job. The function module returns the unique ID number which, together with the job name, is required for identifying the job.
    Once you have "opened" a job, you can add job steps to it with JOB_SUBMIT and submit the job for processing with JOB_CLOSE.
    Create your job with JOB_OPEN. The module returns a unique job
    number. Together with the jobname, this number identifies the
    job. Other parameters are available, but are not required.
    JOBNAME = 'Freely selectable name for the job(s) you create'.
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    JOBNAME = JOBNAME
    IMPORTING
    JOBCOUNT = JOBNUMBER
    EXCEPTIONS
    CANT_CREATE_JOB = 01
    INVALID_JOB_DATA = 02
    JOBNAME_MISSING = 03
    OTHERS = 99.
    IF SY-SUBRC > 0.
    <Error processing>
    ENDIF.
    step 2;
    Sample Program: Adding an ABAP Job Step
    <b>explanation :</b>
    Use JOB_SUBMIT to add a job step to a background job that you have opened with JOB_OPEN.
    A job step is an independent unit of work in a job, the execution of an ABAP or external program. Each job step can have its own authorizations user and printer/optical archiving specifications.
    Add a job step: ABAP program
    CALL FUNCTION 'JOB_SUBMIT'
    EXPORTING
    AUTHCKNAM = SY-UNAME " Runtime authorizations
    " user
    JOBCOUNT = JOBNUMBER " Value from JOB_OPEN
    JOBNAME = JOBNAME " Value from JOB_OPEN
    REPORT = 'REPORT' " Report to be run
    VARIANT = 'VARIANT' " Variant to use with
    " report
    PRIPARAMS = USER_PRINT_PARAMS " User printing options
    ARCPARAMS = USER_ARC_PARAMS " User archiving options
    " Both sets of options
    " come from
    " GET_PRINT_PARAMETERS
    EXCEPTIONS
    BAD_PRIPARAMS = 01
    INVALID_JOBDATA = 02
    JOBNAME_MISSING = 03
    JOB_NOTEX = 04
    JOB_SUBMIT_FAILED = 05
    LOCK_FAILED = 06
    PROGRAM_MISSING = 07
    PROG_ABAP_AND_EXTPG_SET = 08
    OTHERS = 99.
    step 3
    Sample Program: Immediate Start with JOB_CLOSE
    <b>explanation :</b>
    Use JOB_CLOSE to pass a background job to the background processing system to be run. Once you have "closed" a job, you can no longer add job steps to it or change job/job step specifications.
    The function module returns an indicator as to whether the job was automatically released or not. A job is automatically released to run only if the user who scheduled the job has RELE release authorization for the authorization object Operations on background jobs.
    A job step is an independent unit of work in a job, the execution of an ABAP or external program. Each job step can have its own authorizations user and printer/optical archiving specifications.
    Submit job for processing: immediate start
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    JOBCOUNT = JOBNUMBER " Job identification: number
    JOBNAME = JOBNAME " and name.
    STRTIMMED = 'X' " Schedules the job for
    " immediate start. The job
    " is started immediately
    " only if the user has the
    " RELE authorization to
    " release a job to run.
    IMPORTING
    JOB_WAS_RELEASED = JOB_RELEASED " If user has authorization
    " to release jobs to run, job
    " is automatically released
    " when it is scheduled. This
    " field is set to 'x' if the
    " job has been released.
    " Otherwise, the job is sche-
    " duled but must be released
    " by an administrator before
    " it can be started.
    EXCEPTIONS
    CANT_START_IMMEDIATE No longer used. Replaced by IMPORTING
    parameter JOB_WAS_RELEASED.
    INVALID_STARTDATE = 01
    JOBNAME_MISSING = 02
    JOB_CLOSE_FAILED = 03
    JOB_NOSTEPS = 04
    JOB_NOTEX = 05
    LOCK_FAILED = 06
    OTHERS = 99.
    IF SY-SUBRC > 0.
    <Error processing>
    ENDIF.
    in step 1  we will create a job with name etc..
    in step 2 we will assign work to this job
    step 3 : we will close the job inorder make it scheduled .
    Regards
    srikanth
    added descriptions to each steps

  • Which function module to delete job log?

    Hi, I submit report via jobname and jobcount. After I close job and run it, we can see jobname is still in job log by SMX. But client doesn't want to see it, so who can kindly tell me which function module can delete jobname from job log?
    Thanks a lot.
    Jack

    try        CALL FUNCTION 'BP_JOB_DELETE'
    If you have used JOB_OPEN before the SUBMIT to create the job, you can automatically delete the job upon successful completion by setting the parameter DELANFREP = 'X' in the JOB_OPEN function call.. this way the user will only see the logas for cancelled/aborted jobs..
    ~Suresh
    Message was edited by: Suresh Datti

  • Scheduled function module in background job

    HI all,
    I have created a function module(RFC) & Now I need to schedule it in background job, i have used fm job_open ,job_close  But through there i can only scheduled Reports  so pls gide me how to scheduled fm .
    regards,
    Anuj

    Hi Anuj,
    Check this one:
    Re: can i scheddule a function module(rfc)  in background
    Regards,
    Chandra Sekhar

  • ABAP function module for Customer Specific Status

    I am looking for a standard ABAP function module that will return the customer specific status for a person. 
    Please let me know if any exists.
    Thanks,
    Harini

    Customer specific status for a person .
    Could you pleasee give more details...for what purpose  you are trying to get the status of a person. so that it will be easy for everyone to search

  • Function module to set user status during QA11 transaction

    Hi ,
    Anyone knows the function module to set the user status during QA11/QA12  transaction?
    I received the user status 'e.g CFA1' from an idoc data and would like to set the user set based on this idoc value during QA11/QA12 transaction.
    Any function module for this action? BDC seems impossible..
    Thanks.
    Regards,
    Clarice.

    oh i realised this function module can be used
    STATUS_CHANGE_EXTERN
    with a commit statement..

  • IBASE Status update Function Module/ Table Field for status

    Dear Experts
    We need function module to change status of IBase. Please tell me standard function module if any. Or if no standard fuction moudle exists, please tell me tables which contains user and system status.
    Thanks and regards

    Hi,
    Try using FM CRM_IBASE_CHANGE and please remember to call FM CRM_IBASE_SAVE to save the changes made. Thanks.
    Regards, AC

  • HR - Function module to change trip status

    Hi,
    I'm trying to change trip approval status to '5' and settlement status to '3' using standard BAPI available BAPI_TRIP_CHANGE_STATUS and getting success message that trip has been changed.
    But when i go to trip approval status shown as '2' and settlement status as '3'. Is there any reason for this? My intention is to change approval status to '5' keeping settlement status to '3'. Is there any other function module or BAPI available to do this?
    - Siva Sankar.

    answered

  • Function module to update Credit status in Delivery

    Hi,
    Is there any function module or BAPI to update the Credit status for Delivery (Outbound) in transaction VL02N.

    Hi Priyanka,
    This BAPI  " BAPI_CREDIT_ACCOUNT_GET_STATUS " will give the required solution.it determines credit status of credit account.
    by
    Prasad GVK.

  • Functional module to update claim status

    Hi,
    What is the functional module to update the claim status & technical key name of each status in claims & reimbursement.
    Thanks,
    Snita Shaw

    Hi Snita,
    Check for the functional module - HRPBSINCLAIMS_CLS_READ_CTH and here the process would be where the employee raises a request in ESS and after the approval the report ,
    1. HRPBSIN_AC_INFU - Advanced Claims: Infotype Update Report  will be executed for the updation of details in ECC and even after the updation this report will be executed to update the approval status of the claim.
    2. HRPBSIN_AC_ACRP - Advanced Claims: Display Records this report can be used to the display the request and also the adminsitrator can change the approver if needed.
    Regards,
    Mithun K

  • Function Module to set project status in CJ02.

    Dear Team,
    Is there any Function Module or BAPI to set project status in CJ02.
    Please Help.
    Thanks in advance,
    Sai

    Thanks a lot.
    This will serve half of my pupose.
    I am looking for setting status of WBS element of aproject definition in CJ02.
    Do we have any BAPI or FM for the same.
    Actually My purpose is to pool the error log as recording a BDC while closing the status of a WBS element.
    Thanks in advance.

  • Functional module to read job execution

    Hello all,
    Is there exists any functional module with which I can know whether a background job has ran successfully?
    Thanks and Regards, Pradeep

    Hi
    check the following related to JOB
    BP_AL_ABORTED_JOB_REP
    BP_CALCULATE_NEXT_JOB_STARTS
    BP_CHANGE_JOB_STEP
    BP_DELETE_JOB_STEP
    BP_FIND_JOBS_WITH_PROGRAM
    BP_INSERT_JOB_STEP
    BP_IS_JOB_ACTIVE_IN_WP
    BP_JOBLIST_PROCESSOR
    BP_JOBLIST_PROCESSOR_SM37B
    BP_JOBLIST_STATUS_GET
    <b>BP_JOBLOG_READ
    BP_JOBLOG_SHOW</b>
    BP_JOBLOG_SHOW_SM37B
    BP_JOBVARIANT_OVERVIEW
    BP_JOBVARIANT_SCHEDULE
    BP_JOB_ABORT
    BP_JOB_ACTIVE
    <b>BP_JOB_CHECKSTATE
    BP_JOB_CHECKSTATE_SM37B</b>
    BP_JOB_CHILDREN_GET
    BP_JOB_COPY
    BP_JOB_CREATE
    BP_JOB_DELETE
    BP_JOB_EDITOR
    BP_JOB_GET_PREDECESSORS
    BP_JOB_GET_SUCCESSORS
    BP_JOB_HEADER_MODIFY
    <b>BP_JOB_MAINTENANCE</b>
    BP_JOB_MAINTENANCE_SM37B
    BP_JOB_MAINTENANCE_SM37C
    BP_JOB_MANAGEMENT
    BP_JOB_MODIFY
    BP_JOB_MONI
    BP_JOB_MOVE
    BP_JOB_PARENT_CHILD_INFO
    <b>BP_JOB_READ</b>
    BP_JOB_RELEASE
    BP_JOB_SELECT
    BP_JOB_SELECTION_SWITCH
    BP_JOB_SELECT_SM37B
    BP_JOB_SELECT_SM37C
    <b>BP_JOB_STATUS_GET</b>
    BP_OWN_JOB_MAINTENANCE
    BP_REMOTE_JOB_SELECT
    BP_SET_JOBCLASS_A
    BP_SET_WORKFLOW_JOB_STARTDATE
    BP_SHOW_ABORTED_JOB
    BP_SHOW_JOBLIST
    BP_SHOW_JOB_QUEUE
    BP_VARIANT_USED_IN_JOB
    Reward points for useful Answers
    Regards
    Anji

Maybe you are looking for

  • Free of cost Material

    Hello, We have a scenario in which their exists a material ( finished trading goods ) having moving average price as price control indicator is V. Suppose stock of material is 1 now with moving average price as V, hence total stock value is 100. Now

  • Hard drive not recognized (OMG) & Time Machine

    While using my MacBook 10.5.8 I got beachball and could not quit apps or restart.  I shut down using pwr button and now computer will not recognize hard drive when checking with Disk Utility, or when trying to reinstall from DVD. Any suggestions?? Is

  • Split Mapping

    Hi experts, I am performing a split mapping via java mapping in a FILE to FILE scenario. In sender file adapter i am using file content conversion. I have 2 files i want to process via PI. The files sizes are 16kb and 75 kb. When i process 16kb file

  • Noob in OC4j

    Hi everyone, I'm having trouble with running .JSP in IIS. I already installed the OC4j standalone. The built-in sample .JSP pages works fine. My problem is how do i configure OPII.CONF to use OC4j. Links will be fine so i can have a clue. Another thi

  • Question on gather table stats.

    Guys, I am trying to gather stats on a table and it is taking a long time to finish up ( it had been running for about 28 hours ), after dropping some partitions and creating couple of partitions by splitting the part lead partition I executed the be