Create child concurrent program for multi-processing

Hi,
I have a requirement where in I need my main concurrent program to generate child concurrent programs to process data in parallel.
I want all the child programs to write the response in the output file of the main concurrent programs.
Any pointers to this will be a real help.
Thanks.
Jujaar

Hey Sandeep,
Thanks for your response...
OK, even I was thinking on those kind of solution or other possible way is to directly write in the output/log file of the parent req.
Cause the output file is always formed at a loction with a std. naming convention o+request_id.out.
I think it might be possible to write directly into the file. Have not tried it yet.
And one more question, do you have an idea how to generate the child concurrent programs.
I do see a parameter names sub_request in fnd_request.submit_request package. This is a boolean type.
But I am kind of unsure, If I pass this parameter as TRUE, how it will find the parent request ID.
If you some information on this as to how we can submit child concurrent request, please share. IT would be a great help.
Thanks
Jujaar

Similar Messages

  • Scheduling a parent concurrent program to activate child concurrent program

    Hi All,
    I have a below mentioned requirement and as I have not come across such request before can somebody please confirm me if it can be achieved using a request set.
    We want a parent concurrent program to activate a child concurrent program with a certain schedule. The child program upon completion should schedule itself to run the next time according to the schedule set initially.
    So by using a request set can I achieve the above mentioned requirement or are there any better way to achieve this?
    Thanks,
    Regards,
    Anup
    Edited by: 965824 on Oct 16, 2012 11:58 PM

    Hi Helios,
    Thanks for your response checked the link that was provided, but it has information on start and end dates of a Parent concurrent request and all child processes. But in my case I want a parent concurrent program (which in turn should activate the Child concurrent program) to be submitted once . The child program upon completion should schedule itself to run the next time according to the schedule set initially. So I am checking whether this can achieved using a request set. But in a request set I am not sure whether a separate schedule can be created for individual concurrent programs . Currently I don't have access to any instance, so I am not able to try out that.
    Regards,
    Anup

  • Run Child Concurrent Program from Main Concurrent Program

    Hi,
    I'm trying to run Child Concurrent Program from the Main Concurrent Program as below, could you suggest me on below.
    Database:10g
    Main_Concurrent_Program
    =================
    1) Will update staging table XXID_PO_ITM with Batch_id = 1,2,3,4,5
    This staging table has 1000 rows, so every 200 rows will be updated with one of the above batch_id
    This logic is working.
    Child_Concurrent_Program
    ================
    2) Above Main Concurrent Program should call below Child_Concurrent_Program.
    This Child_Concurrent_Program will have parameter batch_id (based on above batch_id)
    So, this Child_Concurrent_Program should kick off with batch_id = 1
    Simillarly, Child_Concurrent_Program should kick off with batch_id = 2
    Child_Concurrent_Program should kick off with batch_id = 3
    Child_Concurrent_Program should kick off with batch_id = 4
    Child_Concurrent_Program should kick off with batch_id = 5
    Could you give me some suggestions on this?
    Thanks.

    Check with FND_SUBMIT for submitting a concurrent job using child dependecies. Keep in mind, that once you call the API ... it spawns it's own thread and and becomes an autonomous process. Control is no longer maintained within the calling package.
    procedure submit_interface_data(p_schedule_date in date,p_mm_header_id in number,p_req_id out number)
    is
      v_user_id            number;
      v_application_id     number;
      v_responsibility_id  number;
    begin
                select user_id
                into   v_user_id
                from   fnd_user
                where  user_name = 'USER123';
                select application_id,
                       responsibility_id
                into   v_application_id,
                       v_responsibility_id
                from   fnd_responsibility_tl
                where  responsibility_name = 'General Warehouse';
      fnd_global.apps_initialize(v_user_id,v_responsibility_id,v_application_id);
      p_req_id := fnd_request.submit_request ( application => 'XYZ',
                           program     => 'MOVE_CONC_SHORT_NAME',
                           description => null,
                           start_time  => p_schedule_date,
                           sub_request => false,
                     argument1   => p_mm_header_id);
      commit;
    exception
    when others
       then
         spl_log_pub.write_exception(transaction_id   => null,
                                     transaction_type => null,
                                     error_message    => '<some error message>' ||
                                     'sqlcode: ' || sqlcode ||
                                     'sqlerrm: ' || sqlerrm);
    end submit_interface_data;Edited by: sreese on May 18, 2012 3:16 PM

  • Single concurrent program for multiple operating units

    HI
    I am working on XML/BI publisher to generate AR invoice reports.
    We have single rdf report using which rtf templates are generated.
    There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
    Eg: ORG_ID's = 11, 12, 13, 14..........etc
    Eg: Responsibility = xx, yy, zz...........etc
    I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
    How can i register one concurrent program for multiple operating units.
    Thanks!
    Edited by: 994628 on Mar 18, 2013 4:39 PM
    Edited by: 994628 on Mar 18, 2013 4:42 PM

    >
    There are 10 operating units (10 ORG_ID's) and 10 rtf templates, one for each operating unit. There are 4 different responsibilities for each ORG_ID
    Eg: ORG_ID's = 11, 12, 13, 14..........etc
    Eg: Responsibility = xx, yy, zz...........etc
    I want to register a single concurrent program. When a user submits a request from "XX" responsibility, then the template associated with that org_id should be generated. Whichever responsibility the user is accessing from, that particular template must be shown as output.
    >
    interesting case for 10 OE set 10 template
    what is purpose? for each OE different requirements for layout?
    BTW
    if each Responsibility associated with one org_id then
    - you can get current org_id when you run concurrent program
    - create main template (will be #11) with condition like
    <?choose:?>
    <?when: ORG_ID=11?>
    <?import:xdo://FND.XX11_SUB.en.00/?>
    <?call:TEMPLATE11?>
    <?end when?>
    <?when: ORG_ID=12?>
    <?import:xdo://FND.XX12_SUB.en.00/?>
    <?call:TEMPLATE12?>
    <?end when?>
    <?otherwise:?>
    <?import:xdo://FND.XX21_SUB.en.00/?>
    <?call:TEMPLATE21?>
    <?end otherwise?>
    <?end choose?>so based on org_id will be import of needed subtemplate
    - re-register your "10 rtf templates" as subtemplates
    another way is substitution of template for concurrent then it running
    in before_report trigger set needed template
    l_conc_request_id := fnd_global.conc_request_id;
        if ORG_ID = 11 then
          UPDATE fnd_conc_pp_actions t
             SET t.argument2 = 'XX11'
           where t.concurrent_request_id = l_conc_request_id
             and t.action_type = 6;
      if ORG_ID = 21 then
          UPDATE fnd_conc_pp_actions t
             SET t.argument2 = 'XX21'
           where t.concurrent_request_id = l_conc_request_id
             and t.action_type = 6;

  • How can i schedule concurrent program for every one hour from back end

    Hi ,
    I want to schedule concurrent program for every one hour from back end .
    Example
    1) xyz is the concurrent program that should run for every one hour with a parameter 111 and the SAME concurrent program that
    should run every 2 hours with a different parameter like 222.
    I mean Conc prog should run for different parametrs with a different scheduling..
    Please guide me to solve the issue.
    Thanks in advance...
    Regards
    Narender B

    Hi ,
    I have used following code for scheduling the concurrent program from backend.
    declare
    l_request_id NUMBER;
    l_return_code boolean := FALSE;
    BEGIN
    fnd_global.apps_initialize(62991,54477,20003);
    l_return_code := FND_REQUEST.SET_OPTIONS ('YES');
    l_return_code :=fnd_request.set_repeat_options('16:36:00','','DAYS','START','','Y');
    l_request_id:=fnd_request.submit_request(application => 'xbol',
    program => 'NAPP_START_GENERATE_CHART_DATA',
    description => 'Processing chart ',
    start_time => SYSDATE,
    sub_request => FALSE,
    argument1 =>4000130957231588,
    argument2 => null
    COMMIT;
    dbms_output.put_line('Program has been submited and request id is '||l_request_id);
    END;
    Here the issue was concurrent program is completing with a warning like
    Resubmission of request 75588551 has been cancelled.
    FND_RESUB_PRIVATE.PROCESS_INCREMENT EXCEPTION: ORA-01403: no data found
    Resubmission of request 75588551 has been cancelled.
    FND_RESUB_PRIVATE.PROCESS_INCREMENT EXCEPTION: ORA-01403: no data found
    so i could not find the solution for this issue,please anybody guide me to solve this issue.
    Regards
    Narender B

  • Need to run 2 concurrent programs after completing child concurrent program

    Hi,
    Could you suggest me on below:
    R12/ 11g
    I have main concurrent program MAIN_CONC_PG.
    In this concurrent program there is a child concurrent program CHLD_CONC_PG.
    This child concurrent program will run for parameters 1,2,3,4,5.
    CHLD_CONC_PG program will run simultaneously 5 times:
    CHLD_CONC_PG ==> 1
    CHLD_CONC_PG ==> 2
    CHLD_CONC_PG ==> 3
    CHLD_CONC_PG ==> 4
    CHLD_CONC_PG ==> 5
    Now, after completion of above 5 Child Concurrent programs i have to start 2 more concurrent programs using fnd_request.submit_request:
    1) Item Attributes
    2) Vendor populate
    Thanks.

    931832 wrote:
    yes, both the Conc Programs are part of Main Conc Prog.
    1) Item Attributes
    2) Vendor populate
    I should be using FND_CONCURRENT.WAIT_FOR_REQUEST.
    any sample code that uses FND_CONCURRENT.WAIT_FOR_REQUEST ??
    IN my Main Conc Prog, i have below child conc prog. after completing below program i have to run 1) Item Attributes 2) Vendor populate conc progms.
    FOR i IN 1..v_count
    LOOP
    v_request_id := fnd_request.submit_request(application => 'XXDH',
    program => 'XXPTN_ITEM_ORDR_E',
    description => NULL,
    start_time => NULL,
    sub_request => FALSE,
    argument1 => i);
    END LOOP;Hi,
    You can also try something like this.
    declare
      l_reqid_tab is table of number index by pls_integer;
      l_reqid_tbl l_reqid_tab;
      function program_successful ( p_conc_req_id number ) return boolean
      is
        l_finished    boolean;
        l_phase       varchar2 (100);
        l_status      varchar2 (100);
        l_dev_phase   varchar2 (100);
        l_dev_status  varchar2 (100);
        l_message     varchar2 (100);
      begin
        if p_conc_req_id > 0 then
          l_finished := fnd_concurrent.wait_for_request ( request_id => p_conc_req_id
                                                         ,interval   => 5
                                                         ,max_wait   => 0
                                                         ,phase      => l_phase
                                                         ,status     => l_status
                                                         ,dev_phase  => l_dev_phase
                                                         ,dev_status => l_dev_status
                                                         ,message    => l_message );
          commit;
          if upper(l_dev_status) in ('WARNING', 'ERROR') and upper(l_dev_phase) in ('COMPLETE') then
            return false;
          elsif upper(l_dev_status) in ('NORMAL') and upper(l_dev_phase) in ('COMPLETE') then
            return true;
          else
            return false;
          end if;
        else
          return false;
        end if;
      end program_successful;
    begin
      for i in 1..v_count loop
        l_reqid_tbl(i) := fnd_request.submit_request....
      end loop;
      for i in 1..l_reqid_tbl.count loop
        if program_successful(l_reqid_tbl(i)i) then
          null;
        end if;
      end loop;
      -- code to submit your other program here.Hope this helps.
    Regards,
    Allen
    Edited by: Allen Sandiego on Jun 18, 2012 9:47 AM
    Made some modifications since number of spawned child requests is variable.

  • Problem in creating a BDC program for transaction cj20n(project sytem)

    Hi all,
    I am trying to create project,WBS element ,network and activity using a BDC program,
      I am able to create to a recording for the transaction cj20n using tcode shdb but when i run the recording it doesnt run properly i am not able to create any thing.
    I get error saying that a particular field doesnt exist on the screen.
    Is possible to create a BDC program for transaction CJ20N ?
    Also is there any other alternative  apart from using a BAPI or a function module.
    Thanks,
    Nishant

    Hi,
        Check below link for BAPIs of transaction cj20n.
    [BAPI for cj20n|BAPI for CJ20N transaction]
    Thanks,
    Asit Purbey.

  • How to create a BDC program for given recording.

    i have to create a BDC program for uploading a file.
    currently i am using call function
      CALL FUNCTION 'F4_FILENAME'

    just check out the code below  it  is  for  updating two transactions
                           types Declaration                      *
    types: begin of t_tab1 ,
                vendor(10),
                material(18),
                pur_org(4),
                wglif(18),
          end of t_tab1.
                  Data Declaration                                 *
    data : begin of it_tab5 occurs 0,
              vendor(10),
              material(18),
             end of it_tab5.
    **DATA : BEGIN OF IT_TAB6 OCCURS 0,
             VENDOR(10),
             MATERIAL(18),
            END OF IT_TAB6.
    data: it_tab1 type standard table of t_tab1 with header line.
    data: wa_tab1 type t_tab1.
    data: wa_tab2 type t_tab1.
    data: it_tab3 like bdcdata occurs 0 with header line.
    data: it_tab4 like bdcdata occurs 0 with header line.
    data: it_tab2 type table of bdcmsgcoll with header line.
    data: d_file_name like ibipparms-path,
          d_file_name1 type string.
                       Start-of-selection                        *
    start-of-selection.
    FM for finding the flat file
      call function 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
       importing
         file_name           = d_file_name.
      d_file_name1 = d_file_name.
    ******FM for uploading data from flat file into internal table
      call function 'GUI_UPLOAD'
        exporting
          filename                      = d_file_name1
         filetype                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        tables
          data_tab                      = it_tab5
    exceptions
       file_open_error               = 1
       file_read_error               = 2
       no_batch                      = 3
       gui_refuse_filetransfer       = 4
       invalid_type                  = 5
       no_authority                  = 6
       unknown_error                 = 7
       bad_data_format               = 8
       header_not_allowed            = 9
       separator_not_allowed         = 10
       header_too_long               = 11
       unknown_dp_error              = 12
       access_denied                 = 13
       dp_out_of_memory              = 14
       disk_full                     = 15
       dp_timeout                    = 16
       others                        = 17.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
                     End-of-selection                         *
    end-of-selection.
      sort it_tab5 by vendor.
      loop at it_tab5.
        perform bdc_dynpro using 'SAPLBG00'  0101 .
        perform bdc_field using 'BDC_OKCODE' '/00' .
        perform bdc_dynpro using 'SAPLBG00'  1000 .
        perform bdc_field using 'BDC_OKCODE' '=BUCH' .
        perform bdc_field using 'BDC_SUBSCR'
        'SAPLBG00                                1101KOPF_1000'.
        perform bdc_field using 'GBGMK-GAART' '2' .
        perform bdc_field using 'GBGMK-GAERB' 'X' .
        perform bdc_field using 'BDC_SUBSCR'
          'SAPLBG00                          1103TAB_SUB_1000'.
        perform bdc_field using 'BDC_CURSOR' 'GBGMP-LSTNR(01)' .
        perform bdc_field using 'GBGMP-LSTNR(01)' it_tab5-material .
       call transaction 'BGM1' using it_tab3 mode 'E' messages into it_tab2
        refresh it_tab3.
        wa_tab1-pur_org = 'ABCP'.
        loop at it_tab2.
        endloop.
        perform bdc_dynpro using 'SAPMM06I'  0100 .
        perform bdc_field using 'BDC_CURSOR' 'EINE-EKORG' .
        perform bdc_field using 'BDC_OKCODE' '/00' .
        perform bdc_field using 'EINA-LIFNR' it_tab5-vendor .
        perform bdc_field using 'EINA-MATNR' it_tab5-material .
        perform bdc_field using 'EINE-EKORG' wa_tab1-pur_org .
        perform bdc_field using 'RM06I-NORMB' 'X' .
        perform bdc_dynpro using 'SAPMM06I'  0101 .
        perform bdc_field using 'BDC_CURSOR' 'EINA-WGLIF' .
        perform bdc_field using 'BDC_OKCODE' '=BU' .
        perform bdc_field using 'EINA-WGLIF' it_tab2-msgv1 .
        call transaction 'ME12' using it_tab3 mode 'E'.
        refresh it_tab3.
        refresh it_tab2.
      endloop.
    *&      Form  BDC_DYNPRO
         Start new screen
         -->P_FNAM  text
         -->P_FVAL  text
    form bdc_dynpro  using   program
                             dynpro.
      clear it_tab3.
      it_tab3-program  = program.
      it_tab3-dynpro   = dynpro.
      it_tab3-dynbegin = 'X'.
      append it_tab3.
    endform.                    " BDC_DYNPRO
    *&      Form  BDC_FIELD
       Insert field
         -->P_FNAM  text
         -->P_FVAL  text
    form bdc_field  using    fnam
                             fval.
      clear it_tab3.
      it_tab3-fnam = fnam.
      it_tab3-fval = fval.
      append it_tab3.
    endform.                    " BDC_FIELD
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 6:20 PM

  • How to make a program for backgroung processing used servlet

    how to make a program for backgroung processing used servlet

    well i need the coding part written in servlet ,in which servlet is always ready for accepting a client request.

  • Hold "create accouning" concurrent program

    Hi frnds,
    Is there any script or any other way to put the Create Accounting concurrent program on hold while it is in Running status? Im using Oracle EBS R12.
    any web source, help or tips, work arounds are welcome.
    thanks in advance.
    Lisan

    Hi Lisan;
    Pelase check below thread which could be helpful to type query
    concurent manager..
    Regard
    Helios

  • Configuring the DbEnv for multi-process single-writer scenario

    I have (1) a multi-process server program (Apache/PHP) using the XML container read-only and (2) a couple of scripts (Perl, PHP, whatever), one of which may be performing update work on the data at any given moment. There is, however, no concurrent write access.
    Write access, if I've understood correctly, commands the use of transactions in a multi-process scenario. Specifically, I'd use:
    * DB_INIT_MPOOL, DB_INIT_LOCK, DB_INIT_LOG and DB_INIT_TXN when creating the environment, so that all subsystems that will eventually be needed are in place;
    * DB_INIT_MPOOL, DB_INIT_LOCK, DB_INIT_LOG and DB_INIT_TXN for writing;
    * DB_INIT_MPOOL for reading.
    Please correct me if these assumptions are somehow flawed or simply wrong.
    Do I need more flags?
    Now, in the Berkeley DB Reference Guide, I read about Berkeley DB Concurrent Data Store Applications and the DB_INIT_CDB flag. I wonder if (a) this information also pertains to BDB XML and (b) this fits my scenario - only one write process at any given time.
    If I can use DB_INIT_CDB, what will I gain with respect to the scenario laid out above, or any other possible scenario?
    Michael Ludwig

    Hi John,
    thanks for pointing out that the flags used to open the environment have to be consistent among all applications.
    As for CDB:
    CDB puts a single big lock around the database, and
    won't let any readers get access to anything while a
    writer is operating. Generally it is advisable to use
    transactions in preference to CDB, which will allow
    concurrent reads and writes. You should also consider
    using MVCC, to increase concurrency more.Thanks for this info on MVCC. I remember reading an interview with the Interbase (then Groton Database) developer Jim Starkey, who seems to have invented MVCC, in which he told how, one morning in the shower, it appeared to him that multi-version concurrency control was the solution to almost all problems. Well, database problems, maybe.
    I read about MVCC in your Transaction Guide.
    http://www.oracle.com/technology/documentation/berkeley-db/xml/gsg_xml_txn/cxx/isolation.html#snapshot_isolation
    "What [MVCC] means is that every time
    a writer would take a read lock on a page,
    instead a copy of the page is made and
    the writer operates on that page copy.
    This frees other writers from blocking
    due to a read lock held on the page."
    I think an application featuring high concurrency of read and write operation will benefit from MVCC, provided there is enough memory to accomomate all the page copies. And I will eventually need this.
    At the moment, however, the update is done using the typical nightly crontabbed batch job. Not much traffic expected during the update, and no updates while the site is busy. I doubt I have much to gain from MVCC in this primitive scenario. What do you think? Would I still benefit from MVCC, or would I only incur the copy overhead without benefitting from it for lack of read-write concurrency?
    Michael

  • Bill and Routing Interface concurrent program is not processing component

    Hi All,
    While running Bill and Routing Interface concurrent program,not processing the component item(Line Item) from bom_inventory_comps_interface,still it show process flag as 1. where as billing item(Header Item) is successfully done..i have tried with all the option by giving component sequence id and batch id still it is not processing component item..
    Is it recommendable to give bill sequence id and component sequence id in interface table using bom_inventory_component_s sequence..
    I will be very pleased if i listen from u guys... Plz help me in resolving this issue..
    My Header Insert Stmt..
    INSERT INTO apps.bom_bill_of_mtls_interface@system_link_visma
    (assembly_item_id, organization_id,
    alternate_bom_designator, last_update_date,
    last_updated_by, creation_date, created_by,
    revision, item_number, item_description,
    implementation_date, transaction_type,
    process_flag, assembly_type, batch_id
    VALUES (l_inv_item_id, l_org_id,
    NULL, SYSDATE,
    1318, SYSDATE, 1318,
    l_revision, l_item_num, l_description,
    SYSDATE, 'CREATE',
    1, 1, 10003535
    Component Insert stmt
    INSERT INTO apps.bom_inventory_comps_interface@system_link_visma
    (operation_seq_num, component_item_id,
    item_num, basis_type, component_quantity,
    auto_request_material, effectivity_date,
    disable_date, planning_factor,
    component_yield_factor,
    enforce_int_requirements,
    include_in_cost_rollup, wip_supply_type,
    supply_subinventory, supply_locator_id,
    check_atp, optional,
    mutually_exclusive_options,
    low_quantity, high_quantity,
    so_basis, shipping_allowed,
    include_on_ship_docs, required_to_ship,
    required_for_revenue, component_remarks,
    transaction_type, process_flag,
    assembly_item_id, component_item_number,
    batch_id,component_sequence_id
    VALUES (l_operation_seq, l_comp_item_id,
    cur2.item_sequence, l_basis, cur2.quantity,
    l_auto_request_mtls, cur2.from_date,
    cur2.TO_DATE, cur2.planning_factor,
    cur2.yield_factor,
    l_enforce_int_requirements,
    l_include_in_cost_rollup, l_supply_type,
    l_supply_subinventory, NULL,
    l_check_atp, l_optional,
    l_mutually_exclusive_options,
    cur2.minimum_quantity, cur2.maximum_quantity,
    l_sale_order_basis, l_shippable_flag,
    l_include_on_ship_docs, l_required_to_ship,
    l_required_for_revenue, cur2.comments,
    'CREATE', 1,
    l_inv_item_id, l_comp_item_num,
    10003535,apps.bom_inventory_components_s.nextval@system_link_visma
    For Subcomponent Insert Stmt
    INSERT INTO apps.bom_sub_comps_interface@system_link_visma
    (substitute_component_id,
    substitute_item_quantity,
    assembly_item_id, component_item_id,
    operation_seq_num, organization_id,
    substitute_comp_number,
    component_item_number,
    assembly_item_number,
    transaction_type, process_flag,
    enforce_int_requirements,
    effectivity_date,component_sequence_id,batch_id
    VALUES (l_sub_comp_item_id,
    cur3.quantity,
    l_inv_item_id, l_comp_item_id,
    cur2.operation_sequence, l_org_id,
    l_sub_comp_item_num,
    l_comp_item_num,
    l_item_num,
    'CREATE', 1,
    l_enforce_int_requirements,
    SYSDATE,apps.bom_inventory_components_s.currval@system_link_visma,10003535
    Thanks
    Raman Sharma
    Edited by: 929841 on May 4, 2012 12:28 AM
    Edited by: 929841 on May 4, 2012 2:58 AM

    You need to populate the organization_id or organization_code in bom_inventory_comps_interface.
    Here is a minimal insert
    INSERT INTO bom.bom_inventory_comps_interface
                (operation_seq_num, last_update_date, last_updated_by,
                 creation_date, created_by, process_flag, transaction_type,
                 bom_item_type,
                 effectivity_date, organization_code, assembly_item_number,
                 item_num, component_item_number, component_quantity
         VALUES (1                                                   -- op_seq_num
                 ,SYSDATE, 1433
                 ,SYSDATE, 1433, 1                                  -- process_flag
                 ,'Create',
                 4 -- bom_item_type 1 Model; 2 Option class; 3 Planning; 4 Standard; 5 Product family
                 ,SYSDATE - 1, 'PUB', 'SSGPARENT1'          -- assembly_item_number
                 ,10                                                     --item_num
                 , 'SSGCOMP1'                           -- component_item_number
                 , 10                                          --qty
                )Sandeep Gandhi

  • Error When Submitting WIP Mass load Concurrent Program (Work in Process)

    Hi,
    I am submitting WIP Mass Load concurrent program to get the data from WIP_JOB_SCHEDULE_INTERFACE table in to base tables.
    The concurrent program is completed with Warning status.
    My Package inserts the data into wip_job_schedule_interface table to create a WIP Job. After inserting the data in to wip_job_schedule_interface table, it submits a concurrent program (WIP Mass Load) (Standard concurrent program) to create a WIP job automatically from the data inserted into wip_job_schedule_interface table.
    This concurrent is errored out with the following warning message:
    ===========================================================
    Group ID: 7026 Report Date: 23-OCT-2007 12:26
    Job and Schedule Interface Report Page: 1 of 1
    Create Discrete Jobs
    Source Code: XXEXT019
    Organization: DVR
    Process Process
    Job Job Type Assembly Quantity Start Date Completion Date Kanban Card Phase Status
    6094-3 Non-standard DEV-GA-1 1.00 23-OCT-07 11:57 23-OCT-07 11:57 Validation Error
    Error: Invalid or insufficient Completion Subinventory/Locator information.
    Check that you have entered valid subinventory/locator information based on the organization and assembly
    that you have chosen.
    0 out of 1 jobs were successfully loaded
    =========================================================
    I populated locator information in to the interface, then too its saying the same.
    Can you please me know where exactly i am going wrong. Help Appreciated.
    Thanks

    Have a look to the Metalink note "Note:207646.1", which deals with the error "WIP_ML_ORA_ERROR (ERROR_CODE=-1653)".

  • EBS Financials Concurrent programs for Finance and HR

    Hi EBS Guru's ,
    I am compiling a list of concurrent programs that must be successfully processed in the EBS before the Incremental ETL load (from Data warehouse) is started.
    Did anyone have identified the concurrent programs from the EBS side, especially for Finance and HR?
    has anyone have identified few of the tasks ? that without done,Reports will not get the right (fresh) data on the reports,unless the concurrent program (also known as Interface programs)
    best regards,
    Kamlesh

    No ,these Concurrent Programs are from the EBS (Oracle Apps ),nothing to do with Data warehouse.
    these programs should be run in the source system,otherwise the incremental data in the Datawarehouse would be stale.

  • Issue in Java concurrent program for Digital Signature Stamping

    Hi All,
    Im calling a Java concurrent program which does digital signature stamping on the PDF report generated.Program able to able to read the PDF file as input and also digital signature stored as file in the application but
    ends in error in create signature method , need help in this regard.
    Error:
    Parameter 0 is Request id of with out Digital signature file
    Parameter 1 is employee id of approver
    Parameter:0:99203256
    Parameter:1:1414603
    $$$$ start query fileinfo with callable statment
    programName>>>>>>>>BTPOPORPXML
    $$$$ Without digital Signature file Name $$$
    $/inst_top/finprod/apps/FINPROD_CPNQERPAAPZP10/logs/appl/conc/out/BTPOPORPXML_99203256_1.PDF
    PFX File Reading Start
    PFX File Reading Ends
    PFX File size is: 6460 Byte size is: 6460
    Elements present
    java.lang.NullPointerException
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.getAppearance
    (Unknown Source)
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.preClose
    (Unknown Source)
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.preClose
    (Unknown Source)
    at com.lowagie.text.pdf.PdfStamper.close(Unknown
    Source)
    at
    btvl.oracle.apps.po.digsig.BTVLDigSign.runProgram
    (BTVLDigSign.java:151)
    at oracle.apps.fnd.cp.request.Run.main
    (Run.java:157)
    Edited by: 999033 on May 16, 2013 7:20 PM

    Hi Charls,
    I have successfully implemented at our end in 11i. Pl.try at your end.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST (passed your arguments... );
    COMMIT;
    IF NVL( v_request_id , 0 ) = 0 THEN
    DBMS_OUTPUT.PUT_LINE( 'Item Assignment to Organization Program Not Submitted');
    p_status := 'FAILURE' ;
    p_err_msg := 'ERROR RAISED AFTER SUBMITTING THE IMPORT ITEM ORG.ASSIGNMENT CONCURRENT REQUEST ... ' ;          
    ELSE
    v_finished := FND_CONCURRENT.WAIT_FOR_REQUEST
    request_id => v_request_id,
    interval => 0,
    max_wait => 0,
    phase => v_phase,
    status => v_status,
    dev_phase => v_request_phase,
    dev_status => v_request_status,
    message => v_message
    LOOP
    EXIT WHEN ( UPPER(v_request_phase) = 'COMPLETE' OR v_phase = 'C');
    END LOOP;
    HTH                    
    Sanjay

Maybe you are looking for

  • Can I return my iPad (3rd gen) if it has been opened?

    I pre-ordered one of the new iPads and in all the excitement I got a white one because it looked "cool". Now I am having buyers remorse. I plan on using this for lots of movie and TV watching and I know the white bezel isn't great for that. So my que

  • Can I change the default color of Word windows so that icons can stand out better?

    I'd prefer someting like white as a background color behind the functions, toolbars, etc. (I hope I'm explaining myself properly.) Also, the icons are really tiny. The only thing I see that a user is able to modify is the background (non-type) of the

  • Help me very Urgent

    Hi All, i have 2 schema.. tabel name "x" is in both schema with same structure. the table "x" is having about 200 columns. Schema A, the table is having 600 rows, by using plsql devloper i export the data and load into B schema. i run the sql script

  • BOE XI R3.1 and DB2 - Installation Error

    Hi, I am facing an error when installing BOE XI R3.1 in Windows Server 2003, with DB2 as database. The error message: Fail to validate the database information CMS database error: STW00226 Database access error. Reason Loading shared object failed. F

  • How to roll back Java - I need WebEx.

    I installed the Java for Mac OS X 10.6 Update 8. Since that time I've had problems with WebEx and a file transfer site I use. WebEx gives me a "Sorry, you do not have java download client enabled." everytime I try and start or join a meeting in Safar