Importing configurations via Order Import in R12

Hi All,
We need some help with this issue we are facing while importing configurations ( PTO ) via order import process.
The scenario is like this : we have parent PTO Model Item : A and under this we have 2 Option Classes within the BOM: OC1 & OC2
Each of these option classes have 2 items each : option class - OC1 has ( Item B & Item C) while option class - OC2 has ( Item D & Item E)
Now in the OM interface tables we want to interface : PTO Model Item A and along with it the Item B and Item E ( one item from each of the option classes). Hence we populate the oe_lines_iface_all table the below mentioned fields
inventory_item,  item_type_code , orig_sys_line_ref  , top_model_line_ref,  ship_from_org
A                     MODEL               1.0                        NULL                      S1
B                                                                            1.0                         S1
E                                                                            1.0                         S1
--Now when we run the Order Import we are getting errors :  "org_sys_line_ref cannot be NULL" and errors - "item B and E are not found in the BOM of the model A"
--when we try to populate the orig_sys_line_ref columns values for Item B and E as let's say 2.0 and 3.0 , still we get the "items not found in the BOM of the model A error  message". But when we check the BOM these component items are present there.
With the same Model Item A and Option class component items B and E we are able to create an order successfully within OM frontend screen and the BOM structure for the PTO Model A is also active and enabled.. This is a Published BOM for the PTO Model Item A
Could someone please help as to what additional columns need to be populated or what needs to be done in order to get this resolved.
Thanks

We referred the Oracle OM related white paper from metalink :
Oracle Order Management Suite White Papers (Doc ID 113492.1) - Importing Configurations

Similar Messages

  • How to Import an Order via Order Import with multiple shipment lines?

    Good Morning,
    I have a question concerning Oracle's order import functionality. We are importing orders from an outside system and need to consolidate orders by customer id. So if the same customer places 2 orders for different items on the outside system, they should interface to Oracle as a single order to that customer with a shipment line for each ordered item (ex 1.1, 2.1..).
    I know this can be done, but do not know how to implement the solution.
    Can someone please help?
    Thank you!!
    Edited by: user11984882 on Jun 22, 2011 7:03 AM

    Hi,
    I guess that this zip-file contains a transport. This transportfiles have to be copied in the /usr/trans/data und /usr/trans/cofiles and imported by the transaction STMS.
    Thomas Jung wrote how to do this in this: How to import examples from book "Advanced BSP Programming"
    Perhaps your basis administrator can help you to do this?
    Regards,
    Stefan

  • URGENT - Create customer via order import

    I am attempting to create a customer at the same time as importing an order for that customer. I am inserting records into oe_customer_info_iface_all, oe_headers_iface_all, and oe_lines_iface_all. When I run the order import concurrent program, it tells me that it successfully added the customer, but that it cannot get a valid ID for ship_to_org_id.
    What do I have to do to get the process to recover the ID of the newly created customer?
    One thing that I noticed is that the process does not create a record in hz_cust_accounts_all - only in hz_parties.

    Hi,
    I don't think you can create a single order for a customer specifying more than 1 bill to and 1 ship to. If you need to do that, create multiple orders (1 for each customer/bill/ship combination).
    Cheers,
    sparkle128

  • Import attachment thru Order Import Process

    Hi all,
    we are importing sales order thru concurrent process : ORDER IMPORT successfully.
    Now I want to import attachment attached along with order header & line level.
    How it possibe thru ORDER IMPORT process ?
    regards
    sanjay

    Insert records into following tables you should be able to import attahments
    p_status := 'S';
    p_message := 'Attachment created successfully';
    IF p_operation_code = 'INSERT' THEN
    BEGIN
         SELECT fnd_documents_short_text_s.NEXTVAL
         INTO v_media_id
         FROM dual;
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'Unable to get short text next value';
         RAISE e_stop_process;
    END;
    BEGIN
         SELECT fnd_documents_s.NEXTVAL
         INTO v_doc_id
         FROM dual;
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'Unable to get fnd documents next value';
         RAISE e_stop_process;
    END;
    BEGIN
         SELECT datatype_id
         INTO v_data_type_id
         FROM fnd_document_datatypes
         WHERE name = 'SHORT_TEXT';
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While finding datatype id '||SQLERRM;
         RAISE e_stop_process;
    END;
    BEGIN
         SELECT category_id
         INTO v_cat_id
         FROM fnd_document_categories_tl
         WHERE user_name = p_cat_name;
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While finding category id '||SQLERRM;
         RAISE e_stop_process;
    END;
    BEGIN
         INSERT INTO fnd_documents
         (document_id,
         creation_date,
         created_by,
         last_update_date,
         last_updated_by,
         datatype_id,
         category_id,
         security_type,
         publish_flag ,
         usage_type,
         start_date_active)
         VALUES
         (v_doc_id,
         p_creation_date,
         v_user_id,
         p_last_update_date,
         v_user_id,
         v_data_type_id,
         v_cat_id,
         4,
         'Y',
         'O',
         SYSDATE);
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While inserting data into fnd documents '||SQLERRM;
         RAISE e_stop_process;
    END;
    BEGIN
         INSERT INTO fnd_documents_tl
         (document_id,
         creation_date,
         created_by,
         last_update_date,
         last_updated_by,
         LANGUAGE,
         description,
         media_id,
         source_lang)
         VALUES
         (v_doc_id,
         p_creation_date,
         v_user_id,
         p_last_update_date,
         v_user_id,
         'US',
         p_description,
         v_media_id,
         'US');
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While inserting data into fnd documents_tl '||SQLERRM;
         RAISE e_stop_process;
    END;
    BEGIN
         SELECT fnd_attached_documents_s.NEXTVAL
         INTO v_att_doc_id
         FROM dual;
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'Unable to get fnd attached documents next value';
         RAISE e_stop_process;
    END;
    BEGIN
         INSERT INTO fnd_attached_documents
         (attached_document_id,
         document_id,
              creation_date,
              created_by,
              last_update_date,
              last_updated_by,
              seq_num,
              entity_name,
              pk1_value,
              automatically_added_flag)
         VALUES
         (v_att_doc_id,
         v_doc_id,
         p_creation_date,
         v_user_id,
         p_last_update_date,
         v_user_id,
         p_seq_num,
         p_entity_name,
         p_pk_value,
         'N');
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While inserting data into fnd attached documents '||SQLERRM;
         RAISE e_stop_process;
    END;
    -- Fnd_File.put_line(Fnd_File.LOG,'The Values '||v_media_id||','||p_note);
    BEGIN
         INSERT INTO fnd_documents_short_text
              VALUES (v_media_id,
                   p_note,
                   NULL);
    EXCEPTION
    WHEN OTHERS THEN
         p_message := 'While inserting data into fnd_documents_short_text '||SQLERRM;
         RAISE e_stop_process;
    END;
    ELSIF p_operation_code = 'UPDATE' THEN
    BEGIN
    UPDATE fnd_documents_short_text
    SET short_text = p_note
    WHERE media_id IN (SELECT media_id
                   FROM fnd_attached_documents fad,
                        fnd_documents fd,
                        fnd_documents_tl fdt,
                        fnd_document_categories_tl fdct
                   WHERE fad.document_id = fd.document_id
              AND fd.document_id = fdt.document_id
              AND fd.category_id = fdct.category_id
                   AND fad.entity_name = p_entity_name
                   AND fad.pk1_value = p_pk_value
                   AND fdct.user_name = p_cat_name);
    EXCEPTION
    WHEN OTHERS THEN
         p_status := 'E';
         p_message := 'SQL Error while updating note :'||SQLERRM;
    END;
    END IF;

  • How to import order from Interface table using Api Order Import

    Hi All
    I am using oracle EBus R12.
    I was working in Data migration in Order management.
    I have manually entered data in Interface table ie (oe_header_iface_all) and (oe_lines_iface_all)
    And i have given the order_source_id as 2 and order_source as COPY.
    And after that i ran the concurrent program with parameter as COPY but the concurrent program does'nt picks the order in the interface.
    Can any one please tell the steps in OM.
    Thanks & Regards
    Srikkanth.M

    Hi;
    please check:
    http://sureshvaishya.blogspot.com/2009/04/order-import-using-api.html
    Also i suggest see:
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    http://www.google.com.tr/#hl=tr&source=hp&q=Api+Order+Import+&oq=Api+Order+Import+&aq=f&aqi=&aql=&gs_sm=e&gs_upl=469l469l0l1l1l0l0l0l0l0l0ll0&fp=87c57485fd170fd2&biw=1259&bih=793
    Regard
    Helios

  • Premiere Markers export and import: Roundtrip via FCP XML not working

    The objective of my project is to create a sports app that records markers and saves it in different formats of XML / CSV that I can then import in different NLE packages.
    I have already succeeded with Vegas Pro but also want to support NLEs for MAC-OS.
    In order to approach this analytically I have exported a very simple project with 1 sequence including 1 clip and 3 markers (with length zero and length > 0) and exported it
    in FCP XML from Adobe Premiere CC and do a round-trip import it via FCP import into Adobe Premiere CC.
    This round-trip does not work. Any insight why or any support what other mechanism will work?
    Thanks
    Thomas

    let's go back to the purpose:
    I have written a mobile app on which people can during a sports match capture the time of the important moments by pressing buttons.
    I then convert the time information into an XML or CSV file that can be read by the different NLE. Given that Sony Vegas allows to import
    markers independently from a sequence. Now I look at the same things for Premiere. This allows to edit the highlights very quickly vs watching
    the entire match coverage again.
    I try to replicate that on Premiere through the FCP XML, but now that the roundtrip works, the issue is that FCP XML in its structure wants a sequence.
    I could imagine to provide a dummy sequence that can be overlayed by the real content just to preserve the markers. Any ideas?
    Regards,
    TK

  • Issue in Batch import of Configuration orders using order Import

    Hi All,
       I am trying to import Configuration orders into Oracle R12 using Order import. As per Oracle white paper on this, I ahve populated all the required fields like top_model_line_ref,link_to_line_ref, item_type_code etc. But order import is giving error "Item ABC not found in BOM of Model XYZ".
    Is there any setup or profile I am missing?
    Please help me on this also is there any other approach to import Batch configuration orders?
    Thanks!!

    you have to customize tha availability check on MM movements in OMCP

  • Customer and Order import via CSV (webshop to Business One Import)

    I have an Oscommerce website that is currently processing around 200 orders aday.
    Its a ballache to say the least to create 200 customers and then create 200 orders.
    The website can export the orders in a csv file (Im sure all be it with the wrong fields)
    Does Business One have the ability to batch import customers and orders? can someone give me a pointer of where to start looking.
    Also to start me off, if it is possible, would I have to create the customer accounts first and then import, or can it all be done with on import combined
    Thanks
    Tim Guy

    Tim Guy,
    Yes. You can use DTW (Data Transfer Workbench) to import via CSV files.  You need to files one by one.  One is oBusinessPartner for Customer accounts. The other is oOrder for Sales Orders.
    Thanks,
    Gordon

  • Unable to import credit card orders in R12.2.4

    Hi All,
    We are upgrading from 11i to R12.2.4.
    Below are the 2 dcenarios we tried and both times, the order did not import with error, "Please specify credit card holder name and credit card number"
    One Order without cc details. We have given the trxn_extension_id in oe_payments_iface_all.
    Another Order with CC details. We have given the trxn_extension_id in oe_payments_iface_all.
    Could you please let me know, if someone else had this issue and what is the remedy.
    Please note that we are upgrading to R12.2.4(latest).
    Thanks a lot in advance
    Sourav

    Hi Sourav
    Please confirm if you were able to import the Credit Card Orders, we also have got a similar requirement of creating Sales Order using Order Import for credit card payment type
    Thanks
    Mirza Tanzeel

  • Configuration of the Import Manager in order to use the Import Server

    Hi all,
            Firstly thanks a lot for all. The question is: I need to set all the properties neccesary to use the Import Server, so would be very positive to know how to set all the default import action in the import manager. when I try to make that all default import action under the Records Option in the main menu are disable.
    Can someone help me with that?.
    Thanks in Advance and Best Regards.

    Hi Devashish Bharti
         All that you have told is configured, instead of this configuration, the default import action: none/none;single/exact is disable in the "Records" main menu. Do you know what happen?
    Best Regards.

  • Order Import after PO Inbound via XML Gateway Error

    I am using Apps Adapter (11g) to connect to EBiz Suite 11.5.10. I am doing PO Inbound and using XML Gateway to create the sales order. Even though I am populating order type in <POTYPE> under the <POORDERHDR>, during order import, I keep getting the error that "please provide order type". Can you please let me know which xml tag I need to populate the order type.
    Thanks
    Shanthi

    Following are some of the pros of using XML Gateway:
    1) XML is being accepted and more and more technologies are moving towards XML, so that "seems" to a future ready solution
    2) XML processing is real-time.
    3) Most of the maps for universally accepted standards are seeded in Oracle.
    4) You can use Oracle Supplier Network(Free service provided by Oracle) with your XML gateway to transmit/receive xml documents to a supplier who may or may not be accepting the format you are generating(e.g. if your PO is in OAG standard and your supplier is accepting cXML format, OSN takes care of translating your document)
    You might want to consider these points while deciding the technology.
    Nitin S. Darji

  • Re: Error in submitting Import Standard Purchase orders from Pl/Sql

    Hi All,
    Iam using the following code to submit a concurret program
    "Import Standard Purchase orders" from pl/sql
    Program is sucessfully submittted but it is Completing in error status i am stuck there please help me in resolving this
    My instance R12
    My Code
    ======
    DECLARE
    v_request_id VARCHAR2 (100);
    BEGIN
    mo_global.set_policy_context ('S', 204); --org_id for the operating unit which the purchase order records belong too
    mo_global.init ('PO'); -- sets the application
    FND_GLOBAL.APPS_INITIALIZE (1013436, 50578, 201); --Consists of the user_id, responsibility_id, responsibility_application_id which is 201 for purchasing
    v_request_id :=
    fnd_request.submit_request (application => 'PO',
    program => 'POXPOPDOI',
    description => NULL,
    start_time => NULL, -- To start immediately
    sub_request => FALSE,
    argument1 => '31348', -- Buyer_ID
    argument2 => 'STANDARD', -- Doc Type
    argument3 => '', -- doc subtype
    argument4 => 'N', -- update items
    argument5 => '', -- create sourcing rules not used
    argument6 => 'INCOMPLETE', -- Approval status
    argument7 => '', -- release generation method
    argument8 => '1021387', -- batch_id
    argument9 => '', -- operating unit null
    argument10 => '', -- global agreement null
    argument11 => '', -- enable sourcing null
    argument12 => '', -- sourcing level null
    argument13 => '', -- inv org enabled null
    argument14 => '' -- inv org null
    DBMS_OUTPUT.put_line ('Request submitted. ID = ' || v_request_id);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line (
    'Request set submission failed - unknown error: ' || SQLERRM
    END;
    output
    =====
    when i check output i am getting the follwing error
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    Log message
    ==========
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    31348
    STANDARD
    N
    INCOMPLETE
    1021387
    Start of log messages from FND_FILE
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 945297
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    End of log messages from FND_FILE
    Thanks
    Manoj kumar

    Pass NULL instead of ''
    Check the flag
    SELECT multi_org_category
      FROM fnd_concurrent_programs
    WHERE concurrent_program_name = 'POXPOPDOI'Update it as per the below MOS Doc
    R12 / POXPOPDOI - 'ORA-01422' Error While Running 'Import Standard Purchase Orders' [ID 457628.1]
    Otherwise,
    Follow the below doc and insert values to the interface tables (headers, lines and distribution) and run the Import Standard Purchase Orders from the front end.
    How To Diagnose Problems With Importing Standard Purchase Orders [ID 781351.1]
    HTH
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

  • Purchase Order Import inserts duplicate records in po_line_locations

    Hi,
    I'm running standard Purchase Order Import program to import few PO's. We have only one shipment for each item, so its only one record for each line in po_line_locations. But after running the import, it inserts a duplicate record with same qty into po_line_locations. Basically it is inserting same item twice in po_line_locations_all table and quantity is getting doubles at the line level. Seached Metalink but no hits for this, till now.
    This is in R12 (12.0.6).
    Did anyone encounter this problem earlier? Any hints or comments would help.
    Thanks in advance.
    Edited by: user2343071 on Sep 2, 2009 3:54 PM

    Hi,
    Once you please debug the particular program with the help of ABAPer. That may resolve your issue. Thanking you

  • Problem importing packages via ICE??

    Hello,
    I am running Portal 6.0 on Windows Server. For one of the business package that is to be implemented in my Portal, i have to deploy two files as a pre-requisite that are associated with SAP Note 660777(https://service.sap.com/sap/support/notes/660777). I have imported the "com.sap.pct.crm.kmconfig40.par" file but having problems deploying "fullupdate_completeBP602.zip". I must admit that i haven't got much idea about importing packages via ICE as i have never used it before.
    I tried to import it via, Portal->System Administration->System Configuration. In there, Actions->Import. When i point to the "fullupdate_completeBP602.zip" file and say Preview, i get a error message saying "Enter a valid configuration archive name". Isn't this the right way to import this package? Please guide. Thanks.
    Regards,

    I suggest you also ask in the KM forum about ICE. There is also some information in the SAP help pages about ICE. For example an overview of it can be found
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/63/42aa17425c514f85ad5ecd45988509/frameset.htm">here</a>
    Cheers

  • Import Standard Purchase Orders return error

    Dear All ,
    when i ran the Import Standard Purchase Orders concurent program , it completed with the following errors
    DECLARE
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at line 133
    So please can anyone have a solution for this >>

    What is your application release? Please see if these docs help.
    Import Standard Purchase Order Process Fails With Errors 'ORA-06510' and 'ORA-06512' [ID 862819.1]
    PDOI Errors With Exec Fnd_conc_stat.Collect Ora-06510 [ID 735909.1]
    R12 PDOI Fails With ORA-6510 When Loading Quotation [ID 856940.1]
    Error POCIRM-158e : ORA-06510: PL/SQL: unhandled user-defined exception Returned When Running Requistion Import Process. [ID 430797.1]
    Thanks,
    Hussein

Maybe you are looking for