Create Job problem

Hi,
I like to create job using Scheduler Jobs > Create Job with Command Type Stored Procedure! But the problem is that I can't see (user sys) procedures on schema i wish to create job on! So i can't pick procedure from Search and Select: Procedure values!?
Is someone know what is the problem?
Thanks, Kristjan

OK. It is a "Package" and not a Procedure like you mentioned above.
So, you have to do a different thing from a normal stored procedure. What you need is to use a Command Type of PLSQL Block
Assuming the Package TEST_PACLAGE with PACKAGE BODY containing procedure TEST_PROC and is owned by user SYS.
Select SYS as the owner under General
Inside the PL/SQL box enter.
BEGIN
test_package.test_proc;
END;
This should work

Similar Messages

  • Problem in creating job

    Hey to all
    I wanted to create a job that shrink my temp tablespace after one week. Due to huge data loading I get filled. When i create job through EM I could not understand where I put Alter tablespace temp shrink space command . For database home page click server click job link and create button under the command section where I put this command. Plz help I tried to this IN Pl/Sql but job fail
    DECLARE
    SQLSTMT VARCHAR2 (500);
    Begin
    SQLSTMT:= ALTER TABLESPACE temp SHRINK SPACE';
    execute immediate (sqlstmt);
    END;

    I would not waste my time on creating such jobs.
    Main reason: they don't resolve anything. You shrink the tablespace and it will definitely start to grow again.
    You are only fighting symptoms. Maybe you want to earn your living out of fighting symptoms, I don't.
    Apart from the the syntax of execute immediate is
    execute immediate <variable>|<hard coded literal>;
    Before asking syntax questions please use the docs (in this case the PL/SQL reference manual) to verify your usage of a construct is syntactically correct.
    Also this line
    SQLSTMT:= ALTER TABLESPACE temp SHRINK SPACE';
    is lacking a '
    Sybrand Bakker
    Senior Oracle DBA

  • Create and Schedule Job - Problem

    hi everyone,
    I'm trying to write an Job which I would like to schedule. Function of this Job is to delete all entries older than 1 Month in the table "tabelle1". As I understand, you can put in job_action the procedure statement.
    BEGIN
    DBMS_SCHEDULER.create_job (
    job_name => 'delete_all_entries',
    job_type => 'PLSQL_BLOCK',
    job_action => 'BEGIN DELETE FROM tabelle1 WHERE last_date < (SYSDATE - INTERVAL '1' MONTH) AND (status = 'processed'); END;',
    start_date => SYSTIMESTAMP,
    repeat_interval => 'FREQ=WEEKLY;BYDAY=SAT;BYHOUR=10;BYMINUTE=00',
    end_date => NULL,
    enabled => TRUE,
    comments => 'Job defined entirely by the CREATE JOB procedure.');
    END;
    I get the following error message:
    ORA-06550: Zeile 5, Spalte 118:
    PLS-00103: Encountered the symbol "1" when expecting one of the following:
    ) , * & = - + < / > at in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like like2
    like4 likec between || multiset member submultiset
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause: Usually a PL/SQL compilation error.
    *Action:
    What am I doing wrong?.
    Thx in advance!

    Hi,
    If you want to include a single-quote in a string literal, then use 2 single-qutoes in a row, like this:
    'BEGIN DELETE FROM tabelle1 WHERE last_date < (SYSDATE - INTERVAL ''1'' MONTH) AND (status = ''processed''); END;',or use Q-notation:
    Q'{BEGIN DELETE FROM tabelle1 WHERE last_date < (SYSDATE - INTERVAL '1' MONTH) AND (status = 'processed'); END;}',As you posted it, the single-quote right before the 1 indicated that the string literal ended there, and that 1 was outside of the qutoes.
    By the way,
    SYSDATE - INTERVAL '1' MONTH isn't always a valid date (when SYSDATE is October 31, for example).
    Use
    ADD_MONTHS (SYSDATE, -1)instead.
    Edited by: Frank Kulash on Sep 18, 2012 9:41 AM

  • Creating Job Issue

    Hi Experts,
    I have created a page in Apex where I m using File browse item say :p13_filebrowse(where i m using CSV format files) and other items too. On click of Submit button I m calling package which dynamically creates the table successfully of browsed CSV FIle.
    Now My requirement is to create the dbms_scheduler Job for the existing package(AS Above) so that If I upload the very huge file it should run in backend using the DBMS Job.If I call package directly from the APex . it is happening successfully. But If i create the Job for that package then I m getting error for not identify the Apex file browsed items.
    In Package I m using wwv_flow_files from where i m extracting the file and creating the table.Through Job it is unable to recognise the Apex file browse item.For more information please go through the follwing code:-
    I m calling package from Apex which is succesfully executing in creaitng the table:-
    htmldb_sid_50.parse_file(:P13_FILEBROWSE,'P13_COLLECTION' ,'P13_HEADINGS','P13_COLUMNS','P13_DDL');
    htmldb_sid_50.parse_file(:P13_FILEBROWSE,'P13_COLLECTION' ,'P13_HEADINGS','P13_COLUMNS','P13_DDL','gdqdata.gdq_table1');
    Foollwing code of Package:-
    create or replace PACKAGE BODY htmldb_sid_50
    AS
    TYPE varchar2_t IS TABLE OF VARCHAR2(32767) INDEX BY binary_integer;
    -- Private functions --{{{
    PROCEDURE delete_collection ( --{{{
    -- Delete the collection if it exists
    p_collection_name IN VARCHAR2
    IS
    BEGIN
    IF (htmldb_collection.collection_exists(p_collection_name))
    THEN
    htmldb_collection.delete_collection(p_collection_name);
    END IF;
    END delete_collection; --}}}
    PROCEDURE csv_to_array ( --{{{
    -- Utility to take a CSV string, parse it into a PL/SQL table
    -- Note that it takes care of some elements optionally enclosed
    -- by double-quotes.
    p_csv_string IN VARCHAR2,
    p_array OUT wwv_flow_global.vc_arr2,
    p_num IN VARCHAR2 DEFAULT null,
    p_separator IN VARCHAR2 := ','
    IS
    l_start_separator PLS_INTEGER := 0;
    l_stop_separator PLS_INTEGER := 0;
    l_length PLS_INTEGER := 0;
    l_idx BINARY_INTEGER := 0;
    l_new_idx BINARY_INTEGER := 0;
    l_quote_enclosed BOOLEAN := FALSE;
    l_offset PLS_INTEGER := 1;
    p_csv_string_test varchar2(4000);
    cell_value varchar2(400);
    BEGIN
    l_length := NVL(LENGTH(p_csv_string),0);
    IF (l_length <= 0)
    THEN
    RETURN;
    END IF;
    LOOP
    l_idx := l_idx + 1;
    l_quote_enclosed := FALSE;
    -- p_csv_string
    p_csv_string_test := replace(p_csv_string,'""','@@');
    --p_csv_string := p_csv_string_test;
    IF SUBSTR(p_csv_string_test, l_start_separator + 1, 1) = '"'
    THEN
    l_quote_enclosed := TRUE;
    l_offset := 2;
    l_stop_separator := INSTR(p_csv_string_test, '"', l_start_separator + l_offset, 1);
    ELSE
    l_offset := 1;
    l_stop_separator := INSTR(p_csv_string_test, p_separator, l_start_separator + l_offset, 1);
    END IF;
    IF l_stop_separator = 0
    THEN
    l_stop_separator := l_length + 1;
    END IF;
    if l_idx = 1 then
    p_array(l_idx) := p_num;
    l_idx := l_idx + 1;
    end if;
    if(l_idx < 50) then
    cell_value := (SUBSTR(p_csv_string_test, l_start_separator + l_offset,(l_stop_separator - l_start_separator - l_offset)));
    cell_value := replace(cell_value, '@@', '"');
    p_array(l_idx) := cell_value;
    end if;
    EXIT WHEN l_stop_separator >= l_length;
    IF l_quote_enclosed
    THEN
    l_stop_separator := l_stop_separator + 1;
    END IF;
    l_start_separator := l_stop_separator;
    END LOOP;
    END csv_to_array; --}}}
    PROCEDURE get_records(p_blob IN blob,p_records OUT varchar2_t) --{{{
    IS
    l_record_separator VARCHAR2(2) := chr(13)||chr(10);
    l_last INTEGER;
    l_current INTEGER;
    BEGIN
    -- Sigh, stupid DOS/Unix newline stuff. If HTMLDB has generated the file,
    -- it will be a Unix text file. If user has manually created the file, it
    -- will have DOS newlines.
    -- If the file has a DOS newline (cr+lf), use that
    -- If the file does not have a DOS newline, use a Unix newline (lf)
    IF (NVL(dbms_lob.instr(p_blob,utl_raw.cast_to_raw(l_record_separator),1,1),0)=0)
    THEN
    l_record_separator := chr(10);
    END IF;
    l_last := 1;
    LOOP
    l_current := dbms_lob.instr( p_blob, utl_raw.cast_to_raw(l_record_separator), l_last, 1 );
    EXIT WHEN (nvl(l_current,0) = 0);
    p_records(p_records.count+1) := utl_raw.cast_to_varchar2(dbms_lob.substr(p_blob,l_current-l_last,l_last));
    l_last := l_current+length(l_record_separator);
    END LOOP;
    END get_records; --}}}
    -- Utility functions --{{{
    PROCEDURE parse_textarea ( --{{{
    p_textarea IN VARCHAR2,
    p_collection_name IN VARCHAR2
    IS
    l_index INTEGER;
    l_string VARCHAR2(32767) := TRANSLATE(p_textarea,chr(10)||chr(13)||' ,','@@@@');
    l_element VARCHAR2(100);
    BEGIN
    l_string := l_string||'@';
    htmldb_collection.create_or_truncate_collection(p_collection_name);
    LOOP
    l_index := instr(l_string,'@');
    EXIT WHEN NVL(l_index,0)=0;
    l_element := substr(l_string,1,l_index-1);
    IF (trim(l_element) IS NOT NULL)
    THEN
    htmldb_collection.add_member(p_collection_name,l_element);
    END IF;
    l_string := substr(l_string,l_index+1);
    END LOOP;
    END parse_textarea; --}}}
    PROCEDURE parse_file( --{{{
    p_file_name IN VARCHAR2,
    p_collection_name IN VARCHAR2,
    p_headings_item IN VARCHAR2,
    p_columns_item IN VARCHAR2,
    p_ddl_item IN VARCHAR2,
    p_table_name IN VARCHAR2 DEFAULT NULL
    IS
    l_blob blob;
    l_records varchar2_t;
    l_record wwv_flow_global.vc_arr2;
    l_datatypes wwv_flow_global.vc_arr2;
    l_headings VARCHAR2(4000);
    l_columns VARCHAR2(4000);
    l_seq_id NUMBER;
    l_num_columns INTEGER;
    l_ddl VARCHAR2(4000);
    l_keyword varchar2(300);
    l_records_count number;
    l_count number;
    l_filename varchar2(400);
    BEGIN
    --delete from test_mylog;
    -- insert into t_log(slog) values('p_file_name '||p_file_name||'p_collection_name '||p_collection_name||'p_headings_item '||p_headings_item||'p_columns_item '||p_columns_item||'p_ddl_item '||p_ddl_item||'p_table_name '||p_table_name);
    -- commit;
    insert into testing_job values(p_file_name,p_collection_name,p_headings_item,p_columns_item,p_ddl_item,p_table_name);commit;
    IF (p_table_name is not null)
    THEN
    BEGIN
    execute immediate 'drop table '||p_table_name;
    EXCEPTION
    WHEN OTHERS THEN null;
    END;
    l_ddl := 'create table '||p_table_name||' '||v(p_ddl_item);
    htmldb_util.set_session_state('P13_DEBUG',l_ddl);
    execute immediate l_ddl;
    l_ddl := 'insert into '||p_table_name||' '||
    'select '||v(p_columns_item)||' '||
    'from htmldb_collections '||
    'where seq_id > 1 and collection_name='''||p_collection_name||'''';
    htmldb_util.set_session_state('P13_DEBUG',v('P13_DEBUG')||'/'||l_ddl);
    execute immediate l_ddl;
    RETURN;
    END IF;
    BEGIN
    /*select blob_content into l_blob from wwv_flow_files
    where name=p_file_name;*/
    select the_blob into l_blob from t_batch_attachments
    where blob_filename=p_file_name;
    -- insert into testing_job values (l_blob);commit;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    raise_application_error(-20000,'File not found, id='||p_file_name);
    END;
    get_records(l_blob,l_records);
    IF (l_records.count < 2)
    THEN
    raise_application_error(-20000,'File must have at least 2 ROWS, id='||p_file_name);
    END IF;
    -- Initialize collection
    htmldb_collection.create_or_truncate_collection(p_collection_name);
    -- Get column headings and datatypes
    csv_to_array(l_records(1),l_record,'sid');
         --l_records_count:=l_record.count+1;
    --csv_to_array(l_records(l_records_count),l_datatypes);
         l_num_columns := l_record.count;
         if (l_num_columns > 100) then
    raise_application_error(-20000,'Max. of 100 columns allowed, id='||p_file_name);
    end if;
    -- Get column headings and names
    FOR i IN 1..l_record.count
    LOOP
    l_record(i) := trim(l_record(i));
    l_record(i) := replace(l_record(i),' ','_');
    l_record(i) := replace(l_record(i),'-','_');
    l_record(i) := replace(l_record(i),'(','_');
    l_record(i) := replace(l_record(i),')','_');
    l_record(i) := replace(l_record(i),':','_');
    l_record(i) := replace(l_record(i),';','_');
    l_record(i) := replace(l_record(i),'.','_');
    l_record(i) := replace(l_record(i),'"','_');
    l_headings := l_headings||':'||l_record(i);
    l_columns := l_columns||',c'||lpad(i,3,'0');
    END LOOP;
    l_headings := ltrim(l_headings,':');
    l_columns := ltrim(l_columns,',');
    htmldb_util.set_session_state(p_headings_item,l_headings);
    htmldb_util.set_session_state(p_columns_item,l_columns);
         -- Get datatypes
    FOR i IN 1..l_record.count
    LOOP
    l_datatypes(i):='varchar2(400)';
    l_ddl := l_ddl||','||l_record(i)||' '||l_datatypes(i);
    END LOOP;
    l_ddl := '('||ltrim(l_ddl,',')||')';
    htmldb_util.set_session_state(p_ddl_item,l_ddl);
    -- Save data into specified collection
    FOR i IN 1..l_records.count
    LOOP
    csv_to_array(l_records(i),l_record,i-1);
    l_seq_id := htmldb_collection.add_member(p_collection_name,'dummy');
    FOR i IN 1..l_record.count
    LOOP
    htmldb_collection.update_member_attribute(
    p_collection_name=> p_collection_name,
    p_seq => l_seq_id,
    p_attr_number => i,
    p_attr_value => l_record(i)
    END LOOP;
    END LOOP;
    -- DELETE FROM wwv_flow_files WHERE name=p_file_name;
    END;
    BEGIN
    NULL;
    END;
    Now I m stuck in If I call the Package through following Job:-
    DBMS_SCHEDULER.create_job (
    job_name => 'New_Testing1',
    job_type => 'PLSQL_BLOCK',
    job_action => 'begin
    GDQ.htmldb_sid_50.parse_file ('''||:P13_FILEBROWSE||''',''P13_COLLECTION'',''P13_HEADINGS'',''P13_COLUMNS'',''P13_DDL'');
    htmldb_sid_50.parse_file('''||:P13_FILEBROWSE||''',''P13_COLLECTION'' ,''P13_HEADINGS'',''P13_COLUMNS'',''P13_DDL'',''gdqdata.gdq_table1'');
    end;
    start_date => NULL,
    repeat_interval => NULL,
    end_date => NULL,
    enabled => TRUE,
    comments => 'UPLOAD FILE INTO TABLE IN GDQ.'
    I believe there is security issue in APex related to wwv_flow_files which is creating the problem . Please can anybody assist me in this issue.
    Thanks in Advance
    Danalaxmi

    Please post the details of the application release, along with the complete error message and the steps you followed to reproduce the issue.
    Thanks,
    Hussein

  • Error creating job in oracle

    I'm having a problem creating a job in oracle . I want at the end of each day to put some values from table1 in table2, empty table1, and then delete and re-create some sequences..because I have auto-increment id and each day I want to sequence to start from 0 again. So long story short I tried creating this job using toad for oracle.
    if I just put the first 2 tasks(put data from table1 in table 2, then delete) in the job it works like a charm. if I also add the drop sequence, create sequence I get an error saying
    Encountered the symbol "DROP" when expecting one of the following:
    begin case declare exit for goto if loop mod null pragma
    so this is what I want the job to do:
    insert into A(a,b,c) select a2,b2,c2 from B;
    delete from A;(so far it would work)
    drop sequence ida_seq;
    create sequence ida_seq
    start with 1
    increment by 1
    nomaxvalue;
    drop sequence idb_seq;
    create sequence idb_seq
    start with 1
    increment by 1
    nomaxvalue;
    so anybody can give me a clue on why I get the error? maybe if someone can give me a link on how to do oracle jobs..cause if I google "oracle+job" I get only jobs(for work) in oracle...but I don't get stuff related to syntax and how to create jobs in oracle. 10x in advance

    If this is a PL/SQL question, then PL/SQL has no 'DROP' or 'CREATE' keywords and you would need to use dynamic SQL with EXECUTE IMMEDIATE.
    btw there are various techniques around for resetting a sequence to start again at 1 using ALTER SEQUENCE, rather than dropping and recreating it.

  • ALV background job problem

    Hello gurus,
    Kindly help me in resolving this back ground job problem.
    We have  a program which gives a tabstrip alv output. they are calling subscreens for this and using containers for alv.
    its running good in foreground but going dump in back ground execution.
    i have used the code written in forums,
    data: or_doc  type ref to cl_gui_docking_container .
    if cl_gui_alv_grid=>offline( ) is initial.
        create object or_custom_container
               exporting container_name = c_container.
      create object or_grid
             exporting i_parent = or_custom_container.
    else .
    create object or_grid
             exporting i_parent = or_doc .
    endif .
    now the error is ''set screen not allowed in subscreens.''
    Could you tell me wats the problem
    regards
    rajesh

    Hi Sandeep,
    Change the 1st statement of your program
    REPORT ZALV LINE-SIZE 300.
    Specify output device as LOCL or LP01 with format as X_65_255 for 255 character width of output.
    If width of ALV output is more than 255 say 325, then create a format in SPAD as X_65_325 & assign the same to ALV.
    Best regards,
    Prashant

  • Creat Job for LSMW (periodical data transfer)- idoc BLAORD

    Hi,
    We are trying to create job for LSMW (thru frame program for periodic data transfer) for idoc BLAORD (Purchasing contract)
    When I am running the job that I created, the job is cancelled and the error is:
    "Upload from front-end is not possible in batch mode.
    Message no. /SAPDMC/LSMW_OBJ_070 020"
    How can I correct that? so I will be able to run a job (the job mast run background?)
    Thanks,
    Tal Sasson

    Hello,
    I was also receiving the same message /SAPDMC/LSMW_OBJ_070 020 even though I specified in /SAPDMC/SAP_LSMW_INTERFACE the server path. The problem was that in LSMW->Specify Files you have to delete the definition of front-end files and define application server files.
    That Flag File (Path and Name) (field /SAPDMC/LSOINP-FILENAME in program /SAPDMC/SAP_LSMW_INTERFACE) is kind of useless since it is ignored anyway and files defined in LSMW object are imported and they have to be read anyway if you use more than one file.
    Regards,
    Peter

  • Scheduler doesn't create Jobs

    Hello folks!
    We have scheduled some reports with BI Publisher Scheduler in our Development Enviroment and works very fine. But when we passed that reports to Prod Enviroment, BI Publisher scheduler doesn't create any Job (verified in Report Job History and XMLP/QRTZ tables in Database Schema that isn't any Job created). There isn't any error, exception or message, only scheduler doesn't create Jobs.
    Any idea, solution or way to find any trail about that problem?
    Thanks for your preciated time spent in our issue.
    Best Regards,
    Martín

    I am also facing same issue with BI Publisher Scheduler but showing below mentioned error while creating new job.
    Error
    "Job submission failed : Error occurred while scheduling the job. org.quartz.ObjectAlreadyExistsException: Unable to store Job with name: '-1' and group: 'weblogic', because one already exists with this identification."
    Cheers.
    Vishal

  • Transaction code to create job and position in LSMW

    Hi,
    I am looking for transaction codes that can be used in LSMW to Create Job and Position. I have used PPSC, but instead of creating Job and Position, It creates org unit although I pass in the parameter for ObjectType.
    I would appreciate if anyone can help me with this problem.
    Thank you in advance,
    Sunny

    Hi,
    Check this link
    http://help.sap.com/saphelp_46c/helpdata/en/0c/e785d8f8af11d2a61f0060087832f8/frameset.htm
    Thanks & Regards,
    Judith.

  • ORA-31637: cannot create job SYS_IMPORT_SCHEMA_01 for user SYSTEM in impdp

    Hi All,
    During impdp i am getting this below error:
    ORA-31626: job does not exist
    ORA-31637: cannot create job SYS_IMPORT_SCHEMA_01 for user SYSTEM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 600
    ORA-39080: failed to create queues "KUPC$C_1_20090507123340" and "KUPC$S_1_20090507123340" for Data Pump job
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 1606
    ORA-04031: unable to allocate 56 bytes of shared memory ("streams pool","unknown object","streams pool","fixed allocation callback")
    Also increase shared memory hence creating the same problem.
    Can anyone sujjest me what would be the cause?
    Thanks in advance...

    Increase parameter streams_pool.
    Set it for example to 100MB
    Then try again.

  • Creating job

    Hi Experts,
    I am about to create a batch job. I used FM JOB_OPEN, JOB_SUBMIT and JOB_CLOSE. However, whenever I run the program it creates job for every 1 second. It will not stop creating jobs unless you completely exited in the program. The code is not inside the loop.

    mariposa,
       Suppose you have 100000 records which is going for dump in background also.
    Taht time decided to create a job for every 20000 records.
    select * from database table
      into itab
    packaze size 20000
    where x  =  s_x.
       your functionality here if required and moved to final internal table.
    Now  you have to pass this final internal table data to your submit program selection screen.
    CALL FUNCTION 'JOB_OPEN'
          EXPORTING
        DELANFREP              = ' '
        JOBGROUP               = ' '
            jobname                = csm_std_reconciliation_job
        SDLSTRTDT              = NO_DATE
        SDLSTRTTM              = NO_TIME
         IMPORTING
            jobcount               = jobcount
    EXCEPTIONS
       cant_create_job        = 1
       invalid_job_data       = 2
       jobname_missing        = 3
       OTHERS                 = 4
        IF sy-subrc <> 0.
    MESSAGE ID 'CSM' TYPE 'W' NUMBER '045' WITH csm_std_reconciliation_job.
          EXIT.
        ENDIF.
        CALL FUNCTION 'JOB_SUBMIT'
          EXPORTING
        ARCPARAMS                         =
            authcknam                         = sy-uname
        COMMANDNAME                       = ' '
        OPERATINGSYSTEM                   = ' '
        EXTPGM_NAME                       = ' '
        EXTPGM_PARAM                      = ' '
        EXTPGM_SET_TRACE_ON               = ' '
        EXTPGM_STDERR_IN_JOBLOG           = 'X'
        EXTPGM_STDOUT_IN_JOBLOG           = 'X'
        EXTPGM_SYSTEM                     = ' '
        EXTPGM_RFCDEST                    = ' '
        EXTPGM_WAIT_FOR_TERMINATION       = 'X'
            jobcount                          = jobcount
           jobname                           = csm_std_reconciliation_job
        LANGUAGE                          = SY-LANGU
        PRIPARAMS                         = ' '
            report                            = csm_std_reconciler
            variant                           = csmvari
      IMPORTING
        STEP_NUMBER                       =
         EXCEPTIONS
           bad_priparams                     = 1
           bad_xpgflags                      = 2
           invalid_jobdata                   = 3
           jobname_missing                   = 4
           job_notex                         = 5
           job_submit_failed                 = 6
           lock_failed                       = 7
           program_missing                   = 8
           prog_abap_and_extpg_set           = 9
           OTHERS                            = 10
        IF sy-subrc <> 0.
    MESSAGE ID 'CSM' TYPE 'W' NUMBER '045' WITH csm_std_reconciliation_job.
          EXIT.
        ENDIF.
        strttime = sy-uzeit + timepad.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount                          = jobcount
            jobname   = csm_std_reconciliation_job
           sdlstrtdt                         = sy-datum
           sdlstrttm                         = strttime
    IMPORTING
      JOB_WAS_RELEASED                  =
         EXCEPTIONS
           cant_start_immediate              = 1
           invalid_startdate                 = 2
           jobname_missing                   = 3
           job_close_failed                  = 4
           job_nosteps                       = 5
           job_notex                         = 6
           lock_failed                       = 7
           OTHERS                            = 8
        IF sy-subrc <> 0.
          MESSAGE ID 'CSM' TYPE 'W' NUMBER '045'
             WITH csm_std_reconciliation_job.
          EXIT.
        ELSE.
          MESSAGE ID 'CSM' TYPE 'I' NUMBER '104' WITH
              csm_std_reconciliation_job.
        ENDIF.
    endselect.
    Now for every 20000 records it will create one batch job.
    Pls. reward if useful.

  • Would trying to manually load NSS Internal PKSS #11 Module create a problem or would nothing happen without a filename in the load window under Security Devices?

    Would clicking the load button while NSS Internal PKSS #11 Module is selected and accepting the pop-up window without filling in any more information create a problem for the Firefox 8 program?

    Quote from: lcwhitlock on 04-April-14, 13:44:09
    Hello darkhawk,
    Thank you for the recommendation.  I somewhat understand what a MS DOS disk is, but I'm not sure how to go about creating one. I've seen where you can use a program, like Rufus, to create a usb one  - but I'm leery about using 3rd-party programs (especially ones I'm not familiar with). I've come across a couple of 'how-to' tuts, but they didn't clarify what files (if any) I would need to include on the disk (for my particular situation). Right now I don't have any blank cds, nor any extra flash/thumb drives - wish I did, but hadn't needed these for years. There has only been one other time where I needed to re-install Windows, but that was over 15 years ago - I did it through BIOS, reformatting my drives, and then reinstalled via the Windows XP disk. Windows 8 is an entirely different breed, which has left me feeling a bit stumped, at times. If there was a way I could perform it (successfully), similar to the first time I did it years ago, I'd give it a try - but at the same time, I'm a bit reluctant, because if it doesn't work, then I'm stuck without any internet access to get further help.
    Ask and ye shall receive. This should be doable in Windows 7 and Windows 8 on another PC. I recommend using a USB Flash drive like in this tutorial, but I'm sure you could use something else.
    If you want, you could also use Hiren's BootCD to make a bootable CD with many options and programs on it (I keep one, just for certain situations) that will allow you to do the same things.
    http://www.hiren.info/pages/bootcd
    Also very useful for sorting out virus's as long as it's downloaded and made on another PC that is virus free......

  • Creating Job material using public API from WIP

    Take the entered component part number and search in the WIP job material requirements. This should use a WIP API. If the material is found, increment the quantity. If material is not found, create the job material using public API. (Provide WIP API details)
    The java object, oracle.apps.csd.schema.server .CsdHvWipJobPvtEO is a wrapper to call WIP API. This should be used to create material requirements is this the procedure to create job material Req.
    from OAF how we have to create Job material transaction

    Hi Pat,
    What is your SBO version? I've seen several cases in which the login/connection procedure (both in the client and via DI API) has become much slower after upgrading to SBO 2005.
    Do you experience the same slowness when connecting via DI API in a non-WebService setting?
    I would not recommend using DI API in a web service context in the first place. DI Server would give you a much more robust, stable and scalable infrastructure to build upon.
    Henry

  • Creating Job Order without Assembly Routing

    How can you prevent Users from Creating Job Order without creating routing to the Assembly used
    Regards

    Hi Laxmikant
    Please note the steps
    Create a BOM Application in OS30
    Create a new BOM ID in OS31 with BOM Usage as Production
    Assign this BOM ID in BOM Application
    Ensure that ID is responsible for Production planning alone.
    Then in that ID maintain a BOM alone without any items.
    Assign this BOM Application in Order type dependent parameters in OPL8
    Now u can create a production order w/o BOM
    Rgds

  • Can position be created with out creating Job..

    Hi Experts,
    A simple question but quite complicated.
    Can position be created with out creating the job. ( yes it will give the warning and create).
    Here my actual question comes, what is the need of creating the Job. when we can create position without job in general Scenario.
    Is it compulsory to create job whenever we create position.
    Your replies are highly appreciated.
    Thanks in advance.
    Regards,
    Dollly

    Hi Dolly,
    I definitely aggree with what guru Sikindar mentions.
    One more point:
    SAP advises to create separate positions for each of the employees in your organizational structure.
    For example, there may be a hundred "Engineer" positions in your company (with codes: 50000001, 50000002, ... 50000100).
    At this point, when you're asked to take a report of all of the "Engineer"s in your company, then you need to enter all these position codes into the selection screen : Nearly impossible scenario!
    However, if you had linked all of these positions to a single job named "Engineer" and numbered "50000000", then you would be able to find all the positions linked to this job and all the employees holding these positions by entering a single object ID and evaluation path in the selection screen of a particular report.
    Regards,
    Dilek

Maybe you are looking for