ISSUE WITH SUPPLIER SITE OPEN INTERFACE IMPORT PROGRAM in R12

I am facing issue while submitting supplier site open interface import program programmatically using fnd_request.
I am uploading the interface tables with the mandatory data and running the standard Request Set for Suppliers.The program is creating the Suppliers but is unable to create the Supplier Sites.It is getting completed with no rejections as well as imported records.
It is updating the Supplier Sites Interface table (ap_supplier_sites_int ) with status as rejected with no rejected records in ap_supplier_int_rejections table.
I am using the following code.
Step 1 - call set_request_set
apps.fnd_file.put_line (apps.fnd_file.LOG, 'Calling set_request_set...');
success := fnd_submit.set_request_set ('SQLAP', 'FNDRSSUB852');--'FNDRSSUB1703');
IF (NOT success)
THEN
RAISE srs_failed;
ELSE
apps.fnd_file.put_line (apps.fnd_file.LOG,
'Calling submit program first time...'
END IF;
-- Step 2 - call submit program for each program in the set
success :=
fnd_submit.submit_program ('SQLAP',
'APXSUIMP',
'STAGE10',
'ALL',
1000,
'N',
'N',
'N',
CHR (0)
IF (NOT success)
THEN
RAISE submitprog_failed;
END IF;
apps.fnd_file.put_line (apps.fnd_file.LOG,
'Calling submit program second time...'
success :=
fnd_submit.submit_program ('SQLAP',
'APXSSIMP',
'STAGE20',
'ALL',
1000,
'N',
'N',
'N',
CHR (0)
IF (NOT success)
THEN
RAISE submitprog_failed;
END IF;
-- Step 3 - call submit_set
apps.fnd_file.put_line (apps.fnd_file.LOG, 'Calling submit_set...');
req_id := fnd_submit.submit_set (NULL, TRUE);
IF (req_id = 0)
THEN
RAISE submitset_failed;
END IF;
apps.fnd_file.put_line (apps.fnd_file.LOG, 'Finished.');
And in the interface table the record status is rejected and ther is no corresponding record in ap_supplier_int_rejections.
but the supplier is getting created succesfully.
### Steps to Reproduce ###
INSERT INTO ap_suppliers_int
(exclusive_payment_flag,
vendor_interface_id,
vendor_name,
segment1,
vendor_type_lookup_code,-- set_of_books_id,
status
VALUES ('N', --'N',
ap_suppliers_int_s.NEXTVAL,
'TEST_REC4',
4428813,
'VENDOR', --2041,
--rec_spl_site_bank_hdr.set_of_books_id,
'NEW'
INSERT INTO ap_supplier_sites_int
(vendor_site_interface_id,
vendor_interface_id,
vendor_site_code,
address_line1,
city,
state,
zip,
country,
operating_unit_name,
status --exclusive_payment_flag
VALUES (ap_supplier_sites_int_s.NEXTVAL,
-- VENDOR_SITES_INTERFACE_ID
ap_suppliers_int_s.CURRVAL,
-- VENDOR_INTERFACE_ID
'REC_VDR_SITE4',
-- VENDOR_SITE_CODE
'REC_ADDR4',
-- ADDRESS_LINE1,
'REC_CITY4', --CITY
'REC_STATE4', --STATE
3442121,
'US', -- COUNTRY,
' Test US Operating Unit',
'NEW'
);

Hi
I have the same issue with ap supplier sites interface program .. Did your problem got solved..I will be thankfull for any help
Thanks

Similar Messages

  • SUPPLIER SITES OPEN INTERFACE rejected

    hi,
    i'm working on importing supplier sites on Oracle EBS R12. i have inserted a supplier 'ap_suppliers_int' and was successfully imported after i run "supplier open interface import". However, now when i'm trying to import a site for the same supplier 'ap_supplier_sites_int', the status within the ap_supplier_sites_int is show Rejected after i run the supplier sites open interface import, also the output of that request shows Zero imported and Rejected data. below is the insert sql i used for Supplier Sites:
    INSERT into ap_supplier_sites_int
    (status,
    vendor_site_interface_id,
    vendor_interface_id,
    vendor_site_code,
    state,
    shipping_control,
    vendor_id,
    address_line1,
    org_id,
    creation_date)
    values
    ('NEW',
    102,
    101,
    'doan',
    'Hadramout',
    'Supplier',
    111,
    'bewaish int',
    204,
    sysdate)
    when i select * from ap_supplier_int_rejections , the Reject_lookup_code = AP_ORG_INFO_NULL
    i have no clue why its rejected? please help me solve this issue.
    Thanks
    Yaser

    Yaser,
    Plz see *R12: Overview: AP_SUPPLIER_SITES_INT Interface Table: Description Of The Required Columns [ID 1381427.1]* , can helps
    Regards
    Muhammad Ayaz

  • Supplier Open Interface Import Program

    Hi All,
    I am getting the error "SHIP_VIA_LOOKUP_CODE is invalid " for few Orgs when I am running Supplier Open Interface Import Program.
    I appreciate if anyone help me to get rid of this issue.
    Thanks ,
    Arya Sreedhar.

    Hi arya;
    Please check below which could be helpful for your issue:
    R12: Diagnostic Script to Troubleshoot Supplier Import Issues [ID 1391593.1]
    Regard
    Helios

  • Facing issues in Payables Open Interface Import Program

    Hi,
    We have a requirement of calling Payables Open Interface Import Program from Pl/sql package.
    Invoices are getting created.
    But the issue is when we query our invoice from invoice workbench and we try to view  the record history (help->record history)
    We are getting the error as ‘fdxwho failed due to ORA-01403’.
    The code is
    l_num_req_id :=
                fnd_request.submit_request
                                          (application      => 'SQLAP',
                                           program          => 'APXIIMPT',
                                           argument1        => fnd_global.org_id,
                                           -- org_id
                                           argument2        =>l_chr_source, 
                                           -- Invoice source
                                           argument3        => NULL,
                                           argument4        => l_chr_batch_name,
                                           -- Batch Name
                                           argument5        => NULL,
                                           argument6        => NULL,
                                           --  Hold Raeson
                                           argument7        => NULL,    -- GL Date
                                           argument8        => 'N',
                                           argument9        => 'N',
                                           argument10       => 'N',
                                           argument11       => 'N',
                                           argument12       => '1000',
                                           argument13       => fnd_global.user_id,
                                           argument14       => fnd_global.login_id
    Regards
    Suresh

    Hi,
    Please review notes:
    APP-01564 ORA-01403 in FDXWHO In Any Payables Form (Doc ID 1077762.6)
    "APP-FND-01564 ORACLE error 1403 in fdxwho" in Record History (Doc ID 879528.1)
    Thanks &
    Best Regards,

  • Supplier site open interface

    Hi,
    I am working on supplier site open interface. I succesfully loaded data into 'ap_supplier_sites_int' interface table. After submitting supplier site open interface program, it's giving '*Operating Unit Info is null*' error. But, i have operating unit for corresponding supplier site.
    Data in 'ap_supplier_sites_int' : (Just providing important columns)
    vendor_name operating_unit country address1 address2 city state org_id
    INTELLI Vision Operatins America 5 INDEPENDENCE WAY Suite 200 Princeton NJ 204
    Verizon Vision Operatins America PO BOX 1100 null null NY 204
    Verizon Vision Operatins America PO BOX 15124 null null NY 204
    Verizon Vision Operatins America PO BOX 4648 null null NJ 204
    Is there any link between operating unit, city and country.
    Kindly help me. Thanks in advance.

    I don't see anything in your question specific to BI Publisher.
    Is this better targeted for the E-Business Suite forum?

  • How to get unique Batch Name for AP Open Interface Import Program

    Hi,
    We have enabled the invoice batch controls i.e. the profile option 'AP: Use Invoice Batch Controls' set to Yes.
    We have an interface with some system from where we receive a data file that has AP invoices. The invoices are loaded into staging table, and finally into AP invoice interface tables. After this the AP Open interface import is run.
    The relevant programs are in a concurrent request set and are executed every day.
    The issue is with the 'Batch Number' parameter of the Payables Open Interface Import Program. If I enter some text as the batch number, the Batch gets created with that name only. As such we need the Batch number to be unique for each job run.
    Oracle help says "If the AP: Use Invoice Batch Controls profile option is enabled and if you provide no value for this parameter then the system provides a value for you. The value the system provides is the concatenation of the Source and a unique sequential number. For example, ERS: 1234".
    However the problem is the Batch Name Parameter is mandatory, and cannot be left NULL.
    Has any one faced this issue earlier? Am I missing any setup or step?
    Any inputs in this regard would be highly appreciated!
    Best regards,
    Anand

    The proper Oracle suggested method would be to put a wrapper program around your request set that determines the batch name.
    The easier (abet less supported) method:
    CREATE OR REPLACE TRIGGER custom.coop_ap_batches_all_insert
    BEFORE
    INSERT
    ON ap.ap_batches_all
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    -- to update batch name...
    -- created so that the nightly batches can have unique names by date
    -- nightly batches will be created with their simple name
    -- IE VIR, DI, MI, etc... this trigger will rename them
    -- to YYYY-MM-DD-VIR, YYYY-MM-DD-DI, YYYY-MM-DD-MI, etc...
    IF LENGTH(TRIM(:new.batch_name)) < 4 THEN
    :new.batch_name := TO_CHAR(SYSDATE,'YYYY-MM-DD') || '-' || :new.batch_name;
    END IF;
    :new.batch_name := UPPER(:new.batch_name);
    END;
    /

  • Payables Open Interface Import program is not Importing the Invoices

    Hi All,
    We are trying to create new invoices (SUM_DIF) based on the Foreign currency gain/Loss amounts. But payables open interface import program is rejecting all invoices with the rejectionr code as "No Invoice Lines, Atleast one invoice line is required".
    But when we check in the interface tables we have invoices as well as the corresponding lines for those invoices. This issue is happening in 12.0.6
    Any one faced this similar issue earlier? Any help is highly appreciated.
    Thanks,
    Rama Krishna.

    Hi,
    No issues for me on Payables Open Invoice Interface with 12.0.6 - and yes make sure you match up the invoice_id on invoice, lines interface tables.
    Regards,
    Gareth

  • Supplier Sites open interface

    Hi,
    I got a problem in Supplier Sites open interface in 12,After importing it to Interface we are running concurrent program Supplier Sites open interface in this it was not picking the records, in the output file it was showing , Zero records imported and zero records rejected. But in the interface table the status is 'REJECTED' and the Reject_code is null.
    Can any one help me why this records are not picking into base.

    Hi user567944 ,
    While submitting to the Open interface. the import options parameter should be All or Rejected. Please check this.
    Regards/Prasanth

  • Supplier Site Contacts Open Interface Import Program is erroring out.

    Hi,
    We are on 12.0.4 on solaris 10.
    Tomorrow is go-live in one of our client, When we doing data migration. Uploaded the data into Interface table. From there we are running this standard program to push th edata into standard table.
    Its erroring out saying:
    ================
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: unable to extend temp segment by 128 in tablespace TEMP2
    ==> SELECT INT.org_id C_Rejected_Org_Id,
    ===============
    I have added 2 GB of Tempfile to the tablespace even though it is erroring in the same. And it is taking too much time to give error.
    We are tried with only one record also it is taking 1 hr to give the error.
    Please help me out in resolving the same.
    Many thanks in Advance..
    Supplier Site Contacts Open Interface Import

    I believe you hit Bug# 6624764, so you may need to apply (Patch 6624764 - SUPPLIER REPORT ERROS WITH ENTER PASSWORD: REP-0069: INTERNAL ERROR REP-57054).
    Please log a SR to confirm this with Oracle Support.
    Note: 565898.1 - Oracle Financials Software Updates, Release Update Pack 5
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=565898.1

  • Issue with Supplier Open Interface Import Program

    Hello Folks,
    I need help with supplier conversion. I am trying to load suppliers through the supplier open interface program. I see that the record got rejected in AP_SUPPLIERS_INT table with status as REJECTED. However i do not see the record in AP_SUPPLIER_INT_REJECTIONS. Therefore, i am not able to understand the rejection reason. I enabled debug can seeing this log..
    assign_party_usage (+)
    do_assign_party_usage (+)
    effective_start_date = 2011/05/12 effective_end_date = 4712/12/31
    duplicates_exist (+)
    No date tracking for this usage SUPPLIER. Check duplicate assignment.
    l_has_duplicates = Y
    duplicates_exist (-)
    assign_party_usage (-)
    Rejected Vendor_Interface_Id: 15004, No. of Messages from Create_Vendor API: 2, Message From Create_Vendor API:
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    MSG-00999: Custom Report
    MSG-00001: After SRWINIT
    MSG-00002: After Get_Company_Name
    MSG-00003: After Get_NLS_Strings
    MSG-00004: After Importing Suppliers
    MSG-00005: After Get_Header_Information
    MSG-00020: After SRWEXIT
    As per my understanding from the log, there is some problem with party_usage_assignment. I would really appreciate is someone can help me debug the exact problem. Else i would have to open a SR for this
    Thanks so much looking forward for your answers.

    Pl post details of OS, database and EBS versions.
    Pl see if MOS Doc 1060824.1 (R12: Supplier Open Interface APXSUIMP Errors with REP-0004 Output Does Not Indicate Reason for Rejection) is applicable
    HTH
    Srini

  • Supplier sites open interface question

    Hi all,
    Here is what we have done:
    We have a data migration program that looks at a csv file and then brings the data into staging table.
    Then, it inserts the above data into 3 open interface tables (AP_SUPPLIERS_INT, AP_SUPPLIER_SITES_INT, AP_SUP_SITE_CONTACT_INT)
    We are using the vendor_interface_id to link the data.
    For ex.
    Supplier 'ABC' in AP_SUPPLIERS_INT would have vendor_interface_id => 2345
    Supplier Sites that belong to above supplier will have:
    vendor_interface_id => 2345 vendor_site_code => 'ABC-SITE-1'
    vendor_interface_id => 2345 vendor_site_code => 'ABC-SITE-2'
    When we ran the Request Set  [Supplier Open Interface Request Set(1)] , the program considered all the records and imported Supplier record and 'ABC-SITE-1'.
    It rejected 'ABC-SITE-2' because of a setup issue.
    Now, after we fixed the setup issue, we ran the request set again, it rejected the Supplier record saying "Vendor already exists " => No problems with this.
    But, it doesn't attempt to pick the second site 'ABC-SITE-2' which is now good to be picked, because it doesn't update the vendor_id, it stays as an orphan record.
    Is there any way to work this around (preferably from the application)?
    Thanks
    Vinod

    Hi user567944 ,
    While submitting to the Open interface. the import options parameter should be All or Rejected. Please check this.
    Regards/Prasanth

  • Issue with Supplier site descriptive flex field upgrade from 11i to R12

    We ran into some issue when upgrade Supplier site descriptive flex field from 11i to R12.
    In 11i. we defined descriptive field on JG_PO_VENDOR_SITES. in the segment definition, we defined one of the attributes default value based on Form Field Value, and the statement is like this:
    SELECT decode(:SITE.COUNTRY,'IT','AP ITALIAN TRANSACTIONS','AP AUTOFATTURA') FROM dual
    All above worked fine in 11i, whenever the flexfield field is open in forms, the default valuse shows based on the real-time value in :SITE.COUNTRY.
    In R12, Supplier site management is in HTML format. There is no forms, which means no form value. Do you have an alternative soluction for implement the same logic in R12?
    Thank you and regards,
    Kate
    Edited by: user12100435 on Feb 12, 2013 9:06 AM

    Kate,
    Have you logged a SR and see if Oracle support can help?
    Thanks,
    Hussein

  • Payables Open Interface Import program is getting failed

    REP-0004: Warning: Unable to open user preference file.
    MSG-00999: ORA-03113: end-of-file on communication channel
    ORA-01403: no data found
    REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    ORA-03113: end-of-file on communication channel
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: MSG-00999: ORA-03113: end-of-file on communication channel
    ORA-01403: no data found
    REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    ORA-03113: end-of-file on communication channel

    Hi Pravin,
    Thanks, In trace file I found below error:
    [2014/10/30 7:26:26:227] State 56016 (JobManager:updateJobStatus): Job 1 status is: Running the report Running before report trigger
    [2014/10/30 7:26:26:227] Debug 50103 (JobManager:notifyWaitingJobs): Master job 1 notify its duplicated jobs.
    [2014/10/30 7:26:26:228] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 1
    [2014/10/30 7:26:26:228] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_DEBUG_SWITCH
    [2014/10/30 7:26:26:228] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_DEBUG_SWITCH
    [2014/10/30 7:26:26:228] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_BATCH_NAME
    [2014/10/30 7:26:26:228] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_BATCH_NAME
    [2014/10/30 7:26:26:228] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_GL_DATE
    [2014/10/30 7:26:26:228] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_GL_DATE
    [2014/10/30 7:26:26:228] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_HOLD_CODE
    [2014/10/30 7:26:26:228] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_HOLD_CODE
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_HOLD_REASON
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_HOLD_REASON
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_COMMIT_CYCLES
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_COMMIT_CYCLES
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_SOURCE
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_SOURCE
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_GROUP_ID
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_GROUP_ID
    [2014/10/30 7:26:26:229] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_CONC_REQUEST_ID
    [2014/10/30 7:26:26:230] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_CONC_REQUEST_ID
    [2014/10/30 7:26:26:230] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_ORG_ID
    [2014/10/30 7:26:26:230] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_ORG_ID
    [2014/10/30 7:26:26:230] APP 50103 (C Engine): 07:26:26  APP  (  Database Column          P_SUMMARY_FLAG
    [2014/10/30 7:26:26:230] APP 50103 (C Engine): 07:26:26  APP  )  Database Column          P_SUMMARY_FLAG
    [2014/10/30 7:26:26:230] PLSQL 50103 (C Engine): 07:26:26  PLS  (  Function:       beforereport
    [2014/10/30 7:27:55:427] Error 50103 (C Engine): 07:27:55  MSG MSG-00999: ORA-03113: end-of-file on communication channel
    ORA-01403: no data found
    [2014/10/30 7:27:55:429] PLSQL 50103 (C Engine): 07:27:55  PLS  )  Function:       beforereport
    [2014/10/30 7:27:55:429] Error 50103 (C Engine): 07:27:55  ERR REP-1401: 'beforereport': Fatal PL/SQL error occurred.
    [2014/10/30 7:27:55:432] Error 50103 (rwfdt:rwfdtprint): 07:27:55  ERR Error occurred sending Job output to cache
    [2014/10/30 7:27:55:433] Error 50103 (rwfdt:rwfdtfl_FreeDistList): running
    [2014/10/30 7:27:55:433] Error 50103 (rwfdt:rwfdtfl_FreeDistList): quit
    [2014/10/30 7:27:55:441] State 56016 (JobManager:updateJobStatus): Job 1 status is: Terminated with error:
    REP-1401: MSG-00999: ORA-03113: end-of-file on communication channel
    ORA-01403: no data found
    REP-1401: 'beforereport': Fatal PL/SQL error occurred.

  • AP Supplier Sites Open Interface: linking new records to original records

    I am pulling records out of one operating unit, and inserting them into a new one. The vendor will already exist as it isn't dependent on operating unit, but I need to have an audit trail between the old and new po_vendor_sites. Is the only way to join between vendor_id and vendor_site_code between the two operating units? I can't find any equivalent of INTERFACE_LINE_ATTRIBUTES that come with AR.
    Thanks in advance.
    Paul

    Yaser,
    Plz see *R12: Overview: AP_SUPPLIER_SITES_INT Interface Table: Description Of The Required Columns [ID 1381427.1]* , can helps
    Regards
    Muhammad Ayaz

  • Facing an Issue with Payables Open Interface Import

    Hi
    I am facing an issue with the Payables Open Interface Import...
    My Requirement is:
    1. Need to upload the PO, Supplier, Invoice #, Invoice Date details to custom table (through web ADi)
    2. From custom table storing in the AP invoice interface tables.
    3. From Interface table, calling API (Payables Open Interface Import) which wil create the invoive (PO matched)
    Now, If user has given wrong data some reasons....Payables Open Interface Import has rejected that entry....user has checked this and corrected later and trying to create the same invoice with the correcte data....As there is a rejected a line exists on the Header interface, line interface...even though if he pass the correct data in the second time it is cosidering that rejected row and not processing the correct row...
    Can any one suggest on this...
    Regards,
    Bala

    When processing a record, you can check if another ap_invoice_interface record exists for the same invoice number and
    1) Delete the old record and then insert a new one
    OR
    2) Update the old record instead of creating a new one
    Hope this helps,
    Sandeep Gandhi

Maybe you are looking for