Job creation table

Dear All,
May i know what is the table to store a background job's master data? I mean the table which stored the job creation date, change date, change by, event.
Please comment.

Hi Friend,
   Check the following table:
       BTCUED
Hope this helps you.
Regards,
Chandra Sekhar

Similar Messages

  • SQL job creation/modification/deletion auditing?

    I have a job 'pop-up' 3 days ago on one of our Servers and of course 'nobody' is coming forward and saying 'I did it'. Is there a way to determine who created the job after the fact?
    Going forward, is there a way to be notified via email when jobs are created/modified/deleted in SQL 2005 Enterprise? Trigger maybe? I'm not having much success searching the web on this.

    --Job creator / owner
    select a.name 
    as job_name ,b.name
    as job_owner from sysjobs a
    , sys.syslogins b
    where a.owner_sid
    = b.sid

    Trigger on sysjobs table
    create
    trigger trigg on msdb.dbo.sysjobs
    after
    insert ,
    update
    as
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name
    = 'name_of_mail_profile',
    @recipients = '[email protected]',
    @body = 'New job creation alert',
    @subject = 'Automated Message'
    -- Who ran the job ?
    select a.name 
    as JOB_NAME , b.message
    from msdb.dbo.sysjobhistory b
    , msdb.dbo.sysjobs a
    where
    a.job_id=b.job_id
    and a.job_id
    = 'AD5AAF63-4C4D-496A-AAFB-98F981E69BC2'
    and b.step_name =
    '(Job outcome)'
    Thanks, Leks

  • A question about Job Creation

    Hi Expert,
    By JOB_OPEN, JOB_SUBMIT, JOB_CLOSE, we can schedule a job.
    When the first two FMs is executed, the job is still in 'scheduled' status. Only when the FM JOB_CLOSE is executed, the job will be in 'released' status.
    In my applicaiton, I need to check the job status. If the job is in 'scheduled' status, I think that the job creation is not successsful; Otherwise, the job creation is successful.
    But the issue is, if job is in 'scheduled' status, how can I know whether all three FMs is executed in the job creation or only JOB_OPEN and JOB_SUBMIT are executed while JOB_CLOSE still not starts?
    In the later case, the applicaiton should wait some time and check the job later.
    Thanks for your support
    Best Regards, Johnney.

    Hi,
    Suppose there two APIs.
    In API1, there are four steps:
    1. call FM JOB_OPEN
    2. call FM JOB_SUBMIT
    3. Save the Jobname and Jobcount in the DB
    4. CAll JOB_CLOSE
    in  API2, there are two steps:
    1. get the Jobname and Jobcount from the DB
    2. Call FM BP_JOBLIST_STATUS_GET to get the job status.
    API1 and API2 are executed asynchronically. Consider the following case:
    After STEP3 is executed(STEP4 has not yet been started), the API2 starts to run. Now the job status that API2 get is 'Scheduled'.
    This is not correct, because the job creation is still not finished. The API2 should wait some time and check later.
    So my question, is how API2 know that the job creation is not finished.
    Thanks & Best Regards, Johnney.

  • How to Fetch Production ordr No in Batch no Creation table

    Hi experts
    One of our customer needs batch number need to be auto generated and this number should be Production order no.
    Only one rececipt from pdn will happen to one PO.
    I tried below query to fetch the value. But it is showing no results.
    SELECT T1.BaseRef FROM OIGN T0 inner join IGN1 T1 on T0.DocEntry = T1.DocEntry WHERE T1.BaseRef is not null and T0.DocNum = (SELECT Substring($[$-35.2.0],4,9))
    In this query 35.2.0 is Receipt from production number which is displaying in "Rows from Documents", in Batch set up (Batch no creation table).
    Thanks in Advance
    Unni

    Hi Mr.Nagarajan,
    Thanks for reply
    1) There will be only one receipt from production, against production order
    2) Items are managed by batch
    3) There will be only one batch no for receipt from production.
    While putting receipt from production entry, Batch no creation window will open. Here in Batch no field, user need production order Number need to be autofetched.
    I tried that for this thru formatted search.
    but as this is third window (1. PO, 2.Receipt from prdocution, 3 .Batch no creation) and receipt from production is also not saved in the system, system is showing "No results" for my query.
    Please help me here
    Regards
    Unnikrishnan

  • Java Exception: java.lang.NoSuchMethodError -while accessing Job Code Table

    Recently we upgraded tools from 8.51.03 to 8.52.12
    when try to open data from below navigation.
    Set Up HRMS--> Foundation Tables--> Job Attributes---> Job Code Table
    then getting below error. Seriously doubt if a jar file is missing in PS_APP_HOME/class. Any clue?
    Java Exception: java.lang.NoSuchMethodError: PeopleSoft.PeopleCode.Func.CreateSQL(Ljava/lang/String;[Ljava/lang/Object;)LPeopleSoft/PeopleCode/SQL;: during call of com.peoplesoft.hr.hr.cache.MetaCatalog.getObjectCatalog. (2,763) HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:getJavaObject PCPC:1099 Statement:19
    Called from:HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:FindJavaObject Statement:177
    Called from:HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:FindObject Statement:212
    Called from:WCS_SOURCE.Implementation.EmployeeInformationImpl.OnExecute Name:GetRecordField Statement:67
    Called from:WCS_SOURCE.Implementation.EmployeeInformationImpl.OnExecute Name:CreateCache Statement:26
    Called from:WCS_SOURCE.Impleme
    The noted Java error was thrown during a call of the given method.
    Error Codes
    Java Exception: java.lang.NoSuchMethodError: PeopleSoft.PeopleCode.Func.CreateSQL(Ljava/lang/String;[Ljava/lang/Object;)LPeopleSoft/PeopleCode/SQL;: during call of com.peoplesoft.hr.hr.cache.MetaCatalog.getObjectCatalog. (2,763)
    Problem Category/Subcategory                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Not sure about 8.52, but in 8.51, I found the PeopleSoft.PeopleCode.Func class in PS_HOME/appserv/classes/peoplecode.jar, and CLASSPATH gets set to PS_HOME/appserv/classes by psconfig.sh
    Not an answer, but it might give you some ideas on where to look.
    Regards,
    Bob

  • Smbd(383) deny job-creation

    I am getting this error whenever I use Windows or Mac connect to my macbook air Lion
    I am getting this error.
    Aug 7 15:26:18 MBAir sandboxd[385] ([383]): smbd(383) deny job-creation
    It won't let me connect until I restart the file sharing in system preferences. It consistently doing it after a reboot and I have to restart the service everytime I restart my macbook air.
    Does anyone know what is this error?

    I have the same problem.
    I enable SMB file sharing on my mac mini 2011. When i access it from my windows 7 PC it works.
    But if i restart the mac mini i can't access SMB shares from windows until i restart the SMB file sharing in system preferences.
    No solution.
    Come on Apple !

  • PJM/ATO Job Creation

    Cannot successfully create a dj for an ATO item that has a project # referenced using the WICDOL module: AutoCreate Final Assembly Orders. Order is scheduled and booked. Status is Awaiting Job Creation. Run AutoCreate. Job completes with a warning. If the same item is ordered and scheduled without a project number I can create a WIP job with no difficulty. A TAR has been opened but the progress has been slow. Any thoughts would be greatly appreciated.

    Hi,
    Just try by giving task number, along with project number. Iam assuming that you are giving project number to all items in the SO i.e. Model, option class,option, etc.
    Reg
    Sreenivas Amisagadda

  • Batch Job creation by adding entries to SAP tables

    Hi Experts,
    I understand there are at least 4 SAP tables involved with Batch Jobs.
    I need to create many variants and manually creating them using sm36 is tedious.
    If I add entries in the TBTC* tables, can the batch jobs be created without causing inconsistency ?
    The batch jobs are all similar, based on a zprogram that selects from sap tables data and updating to a ztable. There are  many variants I need to create and assign to the batch jobs. So, if I can update the entries in the tables to achieve the same, it would be much quicker and reduce human error and make checking the job setup faster and easier.
    Please advise.
    regards
    M Russo

    Hi,
    There are many function modules which helps you to create the variants.
    You need to create a simple report to automate your variant creation and batch submission.
    use function module RS_CREATE_VARIANT to create variant use the structure RSPARAMS to specify the value of your selection screens
    Go to the function group BTCH . Use JOB open close to submit the batch jobs with variants anor any ther fm in the BTCH function goup.
    Hope this helps rather than directly writing to tables.
    Thanks

  • Batch job creation for sending email if the invoice is aged

    Positive confirmation: Send system notification to the requestor if:
    a) An invoice is received and GR is not yet posted in the ECC system.
    b) An 'aged' invoice and GR is not yet posted in the ECC system.
    This requirement is for USA only. i.e., we have only one company code which is 8960.
    Identifiers of the invoice are
    Company Code = u20188960u2019
    Invoice Document Type = u2018R9u2019
    Use table EKBE for relationship between Invoice, Goods Receipt and Purchase Order.
    The field EKPO-BEDNR contains the Shopping Cart Number
    Implementation Strategy
    1. To send email if the invoice is aged.
    Create a program that will run as a job. This job will frequently check for invoices related to SRM Shopping Carts received from E2OPEN. If an invoice is aged and there is no Goods Receipt posted through confirmation from SRM, then an email will go out from ECC system to the requestor. Using the Shopping Cart number on PO, find the requestor information (email ID) from SRM through an RFC call. This job will run once in a day and should have a parameter in the program for the age of the Invoice.
    Both the emails should contain a link (To be taken from SRM system, to be supplied) to log into SRM system. The email will also contain the Shopping Cart number and the Description of the item, and a message to Confirm this, including age of the invoice if aged.
    Please let me know how to create the batch job.
    Regards,
    Venkat
    Edited by: VenkatG on Sep 1, 2009 3:14 PM

    Do not pass the COMMIT_WORK flag... Leave it blank. Any transaction for the data integrity, one should never use COMMIT WORK related statements. Normally SAP transactions will have the COMMIT WORK at the end of transaction which is enough for any thing that is added part of the customer exits...
    Hope this helps.
    Regards
    Anjaiah

  • Name field in FK01 vendor master creation/ table LFA1 lengths are different

    Hi Experts,
    We have an issue with FK01 vendor master creation.
    The vendor Name field in FK01 has length of 40 char, however in Vendor Master table LFA1 field Name1 has length 35 char.
    So when the user inputs a name of 40 char in FK01 it does get truncated in LFA1 table.
    Guyz any idea how we can handle this scenerio.
    Need your help.
    Thanks
    Jaif.

    Please undesratnd the desciption I have given.
    The issue is with FK01, when u create vendor in FK01, If you use a name of 40 char length in the NAME field.
    After creating the vendor if you check the vendor in LFA1 table you'll find the name truncated to 35 char length in the NAME1 field.
    How can we solve this problem. Is there any BADI/User exit available to fix it.
    Thanks
    Jaif

  • Job creation issue

    hi all,
    we have a requirement as follows:
    we need to create a job2 which will trigger automatically on a daily basis after a job1 completes .Also,this job2 should take all the vendor numbers from lfa1 table that are updated daily ( job1 is updating vendors daily into lfa1)  and these vendors numbers should be used as a selection screen variant for running a program that job2 will trigger.
    After this,email should be sent to users that thses vendors are processed or not processed by our job2.
    Any pointers on how to design this requirement.
    Thanks

    Hi
    You can easily find out the newly created vendors from LFA1 for the selection condition. Create Job1 with the first program to update the LFA1 table.
    And then define your job2 for the next program to get the details of newly created vendors from LFA1. For this job, maintain the start condition with 'After Job option'. In that option mention name of Job1.
    In the Job2 program write the code to send email.
    Hope this is clear to you.
    Thanks
    Sourav

  • Job Key Table T513

    Hi Gurus
    I have created a Position and I was trying to assign that Position to that EE, while hiring Job Key appearing with another name in Org Assignment. I think Position and Job key should be the same in Org Assignment. I checked in Table T513,  the Job key was  appearing in the table but the same job key is not appearing in Org Assignment. When I was creating Positions I was define the date 1900/01/01 then the today date is appearing in the Table T513. Is it any wrong in the date?
    can anyone explain me what was the wrong?
    Thanks & Regards
    Srinivas

    I think you have a confusion between job and position. Job is assigned to position and position is assigned to person.Job and position has Object id which is 8 digit number.the object id of job is reflected as job key in IT0001.Please check the job assigned to position with ppos_old T code.

  • Job creation with variable variant parameters

    Hi,
    Is it possible from a FM to start a job using a program where one sends the selection screen parameters with?
    As the called FM calls the program with different parameteres each time.
    If it is possible can someone please assist by giving an exsample?
    Thanks in advance.
    Best regards

    Hi,
    Check this eg.
    This program will submit an another program in background mode as a job.
    REPORT  ZACE1031_ROUTING_CONV_TRG NO STANDARD PAGE HEADING
                                    LINE-COUNT 255(1)
                                    LINE-SIZE 255.
    TYPES: BEGIN OF x_mat,
           werks TYPE mast-werks,
           matnr TYPE mast-matnr,
           stlal TYPE mast-stlal,
           stlnr TYPE mast-stlnr,
           stlan TYPE mast-stlan,
           END OF x_mat.
    DATA:  v_params    TYPE pri_params,
           v_jobname   TYPE tbtcjob-jobname,
           v_jobcount  TYPE tbtcjob-jobcount VALUE 1,
           v_stringlen TYPE i VALUE 0,
           v_msg_string(50) TYPE c,
           v_prog(30)  TYPE c,
           c_cross(1)  TYPE c VALUE 'X',
           c_01(2)     TYPE c VALUE '01',
           c_trg(1)    TYPE c VALUE 'X'.                "CCT51576
    DATA : it_mat TYPE TABLE OF x_mat,
           wa_mat type x_mat.
    DATA : v_werks TYPE mast-werks,
           v_pre_werks TYPE mast-werks.
    RANGES: r_matnr FOR mara-matnr.
    TABLES : mkal,mast.
    SELECTION-SCREEN BEGIN OF BLOCK matnr
                              WITH FRAME TITLE text-001.
    SELECT-OPTIONS : so_matnr FOR mast-matnr.
    SELECTION-SCREEN END OF BLOCK matnr.
    SELECTION-SCREEN BEGIN OF BLOCK plant
                              WITH FRAME TITLE text-002.
    SELECT-OPTIONS : so_werks FOR mast-werks OBLIGATORY .
    SELECTION-SCREEN SKIP.
    PARAMETERS     : p_date TYPE datuv OBLIGATORY.                        "CCT51576
    SELECTION-SCREEN END OF BLOCK plant.
    INITIALIZATION.                                                        "CCT51576
    CONCATENATE sy-datum+0(4) c_01 c_01 INTO p_date.
    AT SELECTION-SCREEN.
    START-OF-SELECTION.
      SELECT bwerks bmatnr  bstlnr bstlal b~stlan
      INTO CORRESPONDING FIELDS OF TABLE it_mat
      FROM mara AS a
      INNER JOIN mast AS b
      ON bmatnr = amatnr
      WHERE a~matnr IN so_matnr
      AND b~werks IN so_werks
      AND  ( a~mtart = 'FD')
    AND b~stlan = 1.        "CCT53428
      AND b~stlan IN (1,2).    "CCT53428
      IF sy-subrc = 0.
       SORT it_mat by werks matnr.                                  "CCT53428
       DELETE ADJACENT DUPLICATES FROM it_mat COMPARING werks matnr."CCT53428
      SORT it_mat BY matnr werks stlan stlal  ASCENDING.                  "CCT53428
      DELETE ADJACENT DUPLICATES FROM it_mat COMPARING matnr werks stlan. "CCT53428
      SORT it_mat BY matnr werks stlan DESCENDING.                        "CCT53428
      DELETE ADJACENT DUPLICATES FROM it_mat COMPARING matnr werks.       "CCT53428
        SORT it_mat BY werks.
        LOOP AT it_mat into wa_mat.
          CLEAR : r_matnr.
          r_matnr-sign = 'I'.
          r_matnr-option = 'EQ'.
          r_matnr-low = wa_mat-matnr.
          APPEND r_matnr.
          AT END OF werks.
            CLEAR v_werks.
            v_werks = wa_mat-werks.
            CLEAR v_jobname.
            CONCATENATE 'WWACSD12' '_' v_werks INTO v_jobname.
            PERFORM f_open_job USING v_jobname.
            PERFORM f_submit_job.
            PERFORM f_job_close.
            REFRESH r_matnr.
          ENDAT.
        ENDLOOP.
      ELSE.
        WRITE / text-017.
      ENDIF.
    *&      Form  f_open_job
    Form to open the job with the particular job name
    FORM f_open_job USING v_jobname TYPE any.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname  = v_jobname
        IMPORTING
          jobcount = v_jobcount
        EXCEPTIONS
          OTHERS   = 8.
      IF sy-subrc NE 0.
        WRITE: /3 v_werks,
                11 text-008, v_jobname.
      ENDIF.
    ENDFORM.                                                    " f_open_job
    *&      Form  f_submit_job
    Form to submit the program (ZACC0014_COST_COLLECTORS_BDC) as job
    FORM f_submit_job.
      v_prog = text-016.
      SUBMIT (v_prog) WITH so_matnr IN r_matnr
                      WITH p_werks EQ v_werks
                      WITH p_date   EQ p_date                 "CCT51576
                      WITH ck_trg   EQ c_trg
                      TO SAP-SPOOL
                      SPOOL PARAMETERS v_params
                      WITHOUT SPOOL DYNPRO
                      USER sy-uname VIA JOB v_jobname NUMBER v_jobcount
                      AND RETURN.
      IF sy-subrc > 4.
        WRITE: /3 v_werks,
                11 text-009, v_jobname.
      ENDIF.
    ENDFORM.                    " f_submit_job
    *&      Form  f_job_close
    Form to close the job
    FORM f_job_close.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = v_jobcount
          jobname              = v_jobname
          strtimmed            = 'X'  "start immediately
        EXCEPTIONS
          cant_start_immediate = 1.
    Process various error conditions
      CASE sy-subrc.
        WHEN 0.
          MOVE v_jobname TO v_msg_string.
          CONDENSE v_msg_string.
          v_stringlen = STRLEN( v_msg_string ).
          WRITE ' created.' TO v_msg_string+v_stringlen.
          WRITE :/3 v_werks,
                  11 v_msg_string.
        WHEN OTHERS.
          MOVE v_jobname TO v_msg_string.
          CONDENSE v_msg_string.
          v_stringlen = STRLEN( v_msg_string ).
          WRITE 'create failed.' TO v_msg_string+v_stringlen.
          WRITE :/3 v_werks,
                  11 v_msg_string.
      ENDCASE.
    ENDFORM.                                   "f_job_close

  • Dbms_datapump/ import job/ mode=table /11g

    Hi
    I'm working with dbms_datapump API.
    Situation:
    I need to import a dump in a schema, but only 4/2000 tables must have the data imported. I did not find a way to make this in only with one import command, so i make it by 2 consecutive imports.
    First import with the data_filter INCLUDE_ROWS at 0: it works well with 10g and 11g
    The second import tries to only import the content of the 4 tables: it works well on 10g, but fails on 11g.
    Code:
    DECLARE
    lv_jobHandle NUMBER;
    BEGIN
    lv_jobHandle := dbms_datapump.open(operation => 'IMPORT'
    ,job_mode => 'TABLE'
    ,remote_link => NULL
    ,job_name => 'TESTIMP_EMPTY');
    dbms_datapump.add_file(handle => lv_jobHandle
    ,filename => 'mydump_%U.dp'
    ,directory => 'MYDIR_DP');
    dbms_datapump.add_file(handle => lv_jobHandle
    ,filename => 'TESTIMP_EMPTY_'||to_char(SYSTIMESTAMP,'YYYYMMDDHH24MISS')||'.log'
    ,directory => 'MYDIR_LOG'
    ,filetype => dbms_datapump.ku$_file_type_log_file);
    dbms_datapump.set_parameter(handle => lv_jobHandle
    ,name => 'TABLE_EXISTS_ACTION'
    ,value => 'APPEND');
    dbms_datapump.metadata_filter(handle => lv_jobHandle
    *,name => 'NAME_LIST'*
    *,value => '''TMP_EVENT_TRIGGERS'',''SPLDBBUILDHIERARCHY'',''SPLDBBUILDLOG'',''SPLMIGRATIONLOG''');*
    dbms_datapump.metadata_remap(handle => lv_jobHandle
    ,name => 'REMAP_SCHEMA'
    ,old_value => 'SEB_DEV800SP3'
    ,value => 'TSTIMPORTEMPTY');
    dbms_datapump.metadata_remap(handle => lv_jobHandle
    ,name => 'REMAP_TABLESPACE'
    ,old_value => 'SRC_DATA'
    ,value => 'DEST_DATA'
    ,object_type => NULL);
    dbms_datapump.start_job(lv_jobHandle);
    dbms_datapump.detach(handle => lv_jobHandle);
    END;
    *11g Error:*
    [oracle@qcdvcn1004 dbadev]$ cat TESTIMP_EMPTY_20110427153505.log
    Master table "DBADEV"."TESTIMP_EMPTY" successfully loaded/unloaded
    ORA-31655: no data or metadata objects selected for job
    Starting "DBADEV"."TESTIMP_EMPTY":
    Job "DBADEV"."TESTIMP_EMPTY" successfully completed at 15:35:11
    Someone has an idea ?
    Thanks!
    jonathan

    Hello,
    I need to import a dump in a schema, but only 4/2000 tables must have the data imported. I did not find a way to make this in only with one import command, so i make it by 2 consecutive imports.There's a nice trick so as to do that in just *1 Export/Import* by using the QUERY parameter.
    Please scroll down on this link and read the solution given by Dean Gagne:
    Export with all objects and only some table data
    But, this is true, it's not expressed by using API.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Job creation

    Hi all...
    i need to create a job that works in a specific date to do some updates on tables
    thanx all.

    > i am using 9i release 2 , plz provide me with the
    right syntax
    How about you getting off yer behind and Reading That Fine Manual instead? Or is it too much trouble to use the manual and easier to be spoon fed answers via a forum like this?
    All Oracle docs are available via http://tahiti.oracle.com/
    The manual applicable is called Oracle9i Supplied PL/SQL Packages and Types Reference. URL is http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/toc.htm
    Happy reading.

Maybe you are looking for

  • Mid 2014 rMBP with ui lag

    Problem description: my macbook is experiencing ui lag, slow animation when switching between space and in mission control. I just got this brand new laptop two months ago, really disappointed. can some please help me ? EtreCheck version: 2.0.11 (98)

  • How can I remove wireless passwords from my iPhone 4?

    I have an iPhone 4 and need to remove a couple of the cached (remembered) passwords from the iPhone memory. In other words, I would like to get to the point where the phone asks me for the network password instead of using the one saved to the phone.

  • Regd.UDDI server configuration in PI 7.1 and services registry

    Hi , i have gone through many forum posts before posting this , so expecting a genuine answer:) which can be rewarded:). I am using PI 7.1 and trying  to taste the services registry flavour of it. i followed the SAP Note 1267817 - Configure Services

  • Weblogic admin server cluster

    Hi, I'm setting up WebLogic cluster (horizontal with 2 managed servers spanning across 2 machines).I would want to have admin server on each machine and only one admin server will be active whiel the second admin server will remain shutdown .Can anyo

  • How do I set an x-net can interface to listen-onl​y in Veristand?

    How can I set an X-NET CAN interface to listen-only mode, i.e. to not send any acknowledgements, in Veristand 2012? I can't find "Listen Only" as an option under Targets->..->Hardware->NI-XNET->CAN->CAN1->CAN Port Settings. Thanks, Ken