Multiple distribution lines via Open Interface

Hello,
I insert some lines in the AP open interface to create invoice, but the problem is, the import program creates for each invoice line one distribution line.
But my requirement is to create one invoice line with many distribution lines.
Anyone has an idea to do this.
Thanks in advance,

You could create DISTRIBUTION_SETS that meet your requirements , and than set these DISTRIBUTION_SETS in AP_INVOICE_LINES_INTERFACE interface table.
Br, Andrei.

Similar Messages

  • Payable open interface-Multiple distribution lines

    Hi,
    As i know there is no distribution interface table in R12,there are only AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE.When i insert one line for one invoice header,it is creating one distribution line.
    Now my requirment is i want insert multiple distribution lines for invoice line.
    Is it possible?If yes,tell me the way...
    Is there any alternative ways?
    Thanks
    Praveen

    Hi Praveen
    How are you inserting the records into Interface Table ?
    Is it through SQL LOADER or a simple Insert Command from a PL/SQL Block ?
    While loading Multiple Distribution Lines for a Invoice Header in AP_INVOICES_LINES_INTERFACE Table we can pass the same HEADER_ID for Multiple Invoice Lines.
    Ex
    BEGIN
    INSERT INTO AP_INVOICES_INTERFACE(INVOICE_ID,INVOICE_NUM)VALUES(100,100);
    INSERT INTO AP_INVOICE_LINES_INTERFACE(INVOICE_ID,INVOICE_LINE_ID,LINE_NUMBER)VALUES(100,100,1);
    INSERT INTO AP_INVOICE_LINES_INTERFACE(INVOICE_ID,INVOICE_LINE_ID,LINE_NUMBER)VALUES(100,101,2);
    COMMIT;
    END;
    Please do let me know if you face any problems.
    Regards
    Nakul.V

  • Receiving Transaction Processor fails with multiple distribution lines

    Hi All,
        I am having a problem with 'Receiving Transaction Processor' when receiving is done against a multiple distributions line that has different project, task data.  The concurrent program 'Receiving Transaction Processor' completes normally but when you check the quantity_received in po_line_locations_all table it shows partial quantity received.
    example:
    PO# Test_PO1
    Line#1, Shipment#10001, Dist#101, Quantity Ordered: 1, Amount $1000 (Dollar based line), Project_ID: 335803, Task_ID: 12057618
    Line#2, Shipment#20001, Dist#101, Quantity Ordered: 3, Amount $750, Unit Price: $250, Project_ID: 335803, Task_ID: 12057618
    Line#2, Shipment#20001, Dist#102, Quantity Ordered: 2, Amount $500, Unit Price: $250, Project_ID: 336488, Task_ID: 12121488
    Receiving performed using 'Receiving Transaction Processor' by populating data in RCV_Transactions_Interface and RCV_Headers_Interface tables and it gave following error for one of the distribution
    from po_interface_errors table.
    Line#1, Shipment#10001, Dist#101, Received Amount $400 (Successfully interfaced)
    Line#2, Shipment#20001, Dist#101, Quantity Received: 1 (Successfully interfaced)
    Line#2, Shipment#20001, Dist#102, Quantity Received: 1 (Failed with below error)
    Error_Message: Error: The PROJECT_ID specified is invalid.  The value specified (336804) does not match the expected value (335803).
    Interface_Type: RCV-856
    Error_Message_Name: RCV_INVALID_ROI_VALUE
    Table Name: RCV_HEADERS_INTERFACE
    Note: This happens only when you have different project_id and task_id values on each distribution for Line#2, Shipment#20001
    Please let me know if someone have already came across this issue or if there is already any patch for this issue.
    Any help with this issue is appreciated.
    Thanks,
    Sri

    Hi,
    Probably, if you put this under SCM - Discrete Manufacturing, your question could solicit more replies..
    Rgds,
    Rakesh

  • Payables Open Interface Import pass distribution set for header?

    Hi all,
    i'm using OEBS 12.1.3. I want to insert data into payables interface tables to create invoice via back-end. Is it possible to pass data for the DISTRIBUTION SET on header level? I searched in the table AP_INVOICES_INTERFACE but no such column founded. I'm able to pass info for the distribution on the line level...
    Any ideas?
    Thanks in advance,
    Bahchevanov.

    The before report trigger error does occur for n number of reasons...some of the solutions could be
    1. Setting up the debug/summarized params to Y or
    2. Two payables open interface import programs running at the same time and due to non-incompatibility setups, one of them is getting errored out. Try setting up incompatibility and this error will go away - the only problem with this approach is that if this program needs to run on frequent basis, then one will wait on other to complete and consume lot of time.
    3. Try to increase threads of concurrent manager under which this program runs for better resouce management.
    4. Check the normal AP side setups such as tax code definition, supplier site 'pay site flag' etc --Although before report error occurs at the place in rdf where these checks are yet not done but thought to share with you if it helps
    Thanks
    Girish

  • R12 Payables Open Interface - Invalid Distribution Account

    Hello All,
    I am trying to run the payables open interface request in our R12.1.3 (test) instance. This is for a speicific expense batch. What is happening is in the same batch, some invoices got pulled in. However, a large portion of them got rejected due to 'Invalid distribution account'.
    As such for the rejected invoice, the AP_INVOICE_LINES_INTERFACE has valid ids for DIST_CODE_COMBINATION_ID. However, the DISTRIBUTION_SET_NAME and the DISTRIBUTION_SET_ID are null. But they are null for an invoice that was successfully pulled in the same batch. Don't understand why!!??
    I tried to run it in debug mode for a specific rejectd invoice in the interface/lines. That did not throw much light on what it could be.
    I found a metalink note R12: APXIIMPT: Payables Import Rejecting All PO Invoices With Invalid Distribution Account Rejection Code [ID 1313553.1]...but this cannot be because, first of all some of the invoices made it through in the same batch. Also, other expense batches went through ok. So, I don't think it is a patch issue as outlined in that note.
    Any suggestions as to what it could be?
    Oracle Apps 12.1.3
    DB 11.2.0.0
    Unix IBM AIX (64 bit)
    Thanks,
    Monkey
    Edited by: OAF_Monkey on May 10, 2012 1:16 PM

    For whatever it is worth....
    This is resolved by ledger set up--> Accounting Setups and adding the balancing segments for which the accounts relate to.

  • CE: Autorec for Multi Bank Stmt Lines to one Receipt in Open Interface

    We have a requirement to auto reconcile multiple bank statement lines to a single receipt in the Open interface table. We are on 11.5.10.2 and unable to autoreconcile.
    Could some one tell me how can we automatically reconcile two bank statement lines (either in same bank statement or in multiple bank statements) to a single receipt in open interface table?
    FYI The transaction number in both bank statement lines and the open interface table are same
    Thanks,
    Ram

    We have a requirement to auto reconcile multiple bank statement lines to a single receipt in the Open interface table. We are on 11.5.10.2 and unable to autoreconcile.
    Could some one tell me how can we automatically reconcile two bank statement lines (either in same bank statement or in multiple bank statements) to a single receipt in open interface table?
    FYI The transaction number in both bank statement lines and the open interface table are same
    Thanks,
    Ram

  • R12 Invoice Distributions not in table after Payable Open Interface Program

    Hello,
    I have inserted data in AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE and launched Payable Open Interface Program.
    All my invoices has been successfully processed.
    Just after completion of import program, i query an invoice on apps and all the Distribution lines are displayed when i click on "All Distribution" button BUT when i query the table AP_INVOICE_DISTRIBUTIONS_ALL by the invoice_id, no records are displayed.
    Its only when i press the button save on Apps or when i validate the invoice that i can see records in the table AP_INVOICE_DISTRIBUTIONS.
    Please help.. need to know where these lines are stored initially because i need to perform a post-import update on the attributes at INVOICE_DISTRIBUTION level.
    thanks

    I believe that is standard functionality. You can create a request set to run the Invoice Validation Program after your import is successfully done.
    Carl Hammond had posted a similar one before. You can search the forum for that message, otherwise, he probably has the right answer.
    Thanks
    Nagamohan

  • Can  a cost distribution line have multiple invoice distributions?

    I have a functional question. Is is possible to have multiple invoice distribution for a single cost distribution line?
    I mean, if we join PA.PA_COST_DISTRIBUTION_LINES_ALL AND AP.AP_INVOICE_DISTRIBUTIONS_ALL, will we get multiple invoice distributin lines for a cost distribution line.
    Thanks,
    Upendra

    Hi,
    It is technically not possible for one CDL to map to multiple invoice distributions. In 11i the joins are: cdl.system_referece2 = apd.invoice_id, and cdl.system_reference_3 = apd.distribution_line_num, and a combination of (invoice_id, distributioncd_line_number) would always give you only one AP Invoice distribution. In R12, the mapping is EI.document_header_id = APD.invoice_distribution_id and one invoice_distribution_id can point to only one AP Invoice Distribution.
    Multiple CDLs for a single AP Invoice Distribution: Yes, this is possible.
    1. When an AP Invoice distribution is imported into Projects and adjustments are carried out in Projects for the imported line and then the PRC: Distribute Supplier Adjustments process, then at this point of time multilple CDLs map to a particular AP distribution. Now, when PRC: Interface Supplier Adjustments to Payables is run, the adjusted transactions create new AP distributions.
    2. For a CDL, there can be 'C' and 'D' lines, which would carry the same attributes as the 'R' line, hence we can say there are multiple CDLs for a single AP distribution.
    Thanks,
    Prabhjeet

  • Open Sales Order  table with multiple schedule line....

    YUSUF BHORI wrote:
    Hi Experts,
    In Sales Order there are multiple schedule line for single item.
    Where and in which table i can find open qty for order ,material, item and schedule line items.
    I Want open items for each schedule line. For One vbeln, posnr there multiple etenr.
    Urgent,
    Yusuf.

    Hai,
    Join VBAK & VBAP and store data in an internal table GT_VBAP to get Sales order numbers, items, materials.
    Get Open Sales order items from VBUP into GT_VBUP  where VBUP-GBSTA  NE  'C'.
    LOOP at GT_VBAP.
    Read table GT_VBUP with key vbeln & posnr.
    If sy-subrc <> 0.
      delete GT_VBAP.
    endif.
    ****Fill your Final Report Internal table with required field values **Append into that internal table
    ENDLOOP.
    Now Select WMENG BMENG from VBEP into GT_VBEP for all entries in GT_VBAP.
    LOOP AT  GT_VBEP.
    *******Again Modify your Final Report internal table with these values
    ***VBEP-WMENG is Ordered Qty
    ***VBEP-BMENG is Confirmed Qty
    ************Open Qty     = Ordered Qty      = Confirmed Qty***
    ************Open Qty     = VBEP-WMENG = VBEP-BMENG.***
    ENDLOOP.
    Edited by: Eswara Rao Aakula on Dec 24, 2007 9:56 AM
    Edited by: Eswara Rao Aakula on Dec 24, 2007 9:57 AM

  • CM Open Interface - reference back to original bank statement line

    we are using Open Interface for our bank reconciliation. we found that, the API APPS.CE_999_PKG.clear always send us the Open Interface Transaction amount as the cleared amount, and we have no visibility to the amount in the bank statement line.
    eg:
    bank statement line is $100
    if a user manually reconcile this line with an open interface transaction line with amount $200, the status will changed to reconciled and the cleared amount is $200.
    the cleared amount passed through the API to our customize program also $200.
    how can we get the amount $100?
    we are doing some GL posting for the cleared amount. getting $200 will caused us to do over post, as the amount we received only $100 (bank statement line amount)

    Hi All,
    I found this article, which explains about the bank statement mappings.
    *Mapping BAI2, SWIFT Bank Statement Format Masking: BANK_ACCOUNT_NUM, BANK_TRX_NUMBER, BANK_ACCOUNT_TEXT, Agent Bank account number And Others [ID 752532.1]*
    Based on this I defined a new bank statment mapping by coping the existing BAI2 mapping.
    The only change I had to do was to change the position of the BANK_TRX_NUMBER to -2 and my problem got resolved.
    Below is the question and answer as per the document.
    Q2: Why following BAI2 datafile needs bank statement mapping as:
    BANK_TRX_NUMBER 16 -2 and not -1?
    16,581,156500,Z,813009392186700,000000002004/
    A2:
    The bank statement mapping you give to populate depends on where the BANK_TRX_NUMBER is in the data file: Example:
    Rec 16 structure is as follows:
    16,<transaction code>,<amount>,<funds type>,<bank ref #>,<customer ref #>,<text>/
    In the rec:16,581,156500,Z,813009392186700,000000002004/
    while the NUMBER appears to be -1 position however the text is assumed missing here and hence the
    BANK_TRX_NUMBER 16 -2 will work.
    Thanks and Regards,
    MPH

  • CO 1SRJ-001: Too many line items selected via report interface

    Report group/report 1SRJ/1SRJ-001 (CCentres: Rolling Year):  provides an overview for the last 12 periods of actual and plan data.
    When you access line item report RKAEP000 (KSB1 or KSBP) from report Cost Centres Rolling Year (1SRJ-001) using the report/report interface, too much data is selected.
    For example, you enter fiscal year 2009 and month 8 in selection parameters, the report generates results for the last 12 periods:  2008/9 to 2009/8.  But the line item report accessed via report interface selected ALL data for the fiscal years 2008 and 2009.
    I searched and found Note 127643 that described a similar but not exactly the same situation.  Have anyone have any problems with this report?  Any suggestion is appreicated.
    Regards,

    Issue with report 1SRJ-001 (S_ALR_87013631) has been resolved.  The interfaced line item report selects all data records for fiscal years 2008 and 2009, instead of just for the selected last 12 months.  The problem is due to missing restrictions for a characteristic, in this case, the from-period and to-period fields.
    SAP has corrected the problem by issuing an updated version (1999) and the one we were using was the 1995 version.  I imported the updated version of report from client 000 and now it works fine.

  • SRKIM: Payables Open Interface를 통해 distribution의 tax code 를 활성화

    PURPOSE
    Payables Open interface 를 통해 invoice 생성 시 distribution level 의 tax code 활성화 방법에 대해 알아 보도록 한다.
    Explanation
    1. Profile Option 에서 "Tax:Allow Override of Tax Code" 를 Yes 로 지정한다.
    2.     AP_Invoice_Lines_Interface table에 tax_code 를 update 한다.
    3.     AP_Invoice_Lines_Interface table 의 Tax_Code_Override_Flag 를 'Y' 로 update 한다.
    4.     Payables Open interface program 을 수행 한다.
    Example
    N/A
    Reference Documents
    Note. 232955.1 How to Import Tax_Code from AP_INVOICE_LINES_INTERFACE ?

  • Modifying Unit Price of Parchase Order Line by the Receiving Open Interface

    I’m using the” Receiving open Interface” to make receptions of standard purchase orders line by interface (RCV_TRANSACTIONS_INTERFACE) and what I need is to change the unit price of the item in the line of Purchase Order,
    the idea is that it takes the value that I’m populating by the interface table “RCV_TRANSACTIONS_INTERFACE” and not the value that is in the Standard purchase Order line (unit_price)
    It´s possible to do that in this way?? How can I do that??
    Message was edited by:
    alejandrojrc

    Any sugestion??

  • Error in Payables Open Interface Import

    Hi Experts,
    I am loading some Invoices through Payable Interface.
    I have populated data in both the interface table i.e. ap_invoices_interface and ap_invoice_lines_interface.
    when i run Payables Open Interface Import its giving me the below message and the status column in ap_invoice_interface showing 'REJECTED'
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    MSG-00000: 0 invoice(s) were created during the process run
    MSG-00000: 6 invoice(s) were fetched during the process run
    MSG-00000: summarize flagN
    MSG-00883: After Repport Trigger: Setting the Org Context to Multiple
    The org_id in both the table are same.
    I dont understand what could be the error. Please help me in find out the solutions.
    Thanks,
    Atul

    What is your application release?
    I am loading some Invoices through Payable Interface.
    I have populated data in both the interface table i.e. ap_invoices_interface and ap_invoice_lines_interface.
    when i run Payables Open Interface Import its giving me the below message and the status column in ap_invoice_interface showing 'REJECTED'
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    MSG-00000: 0 invoice(s) were created during the process run
    MSG-00000: 6 invoice(s) were fetched during the process run
    MSG-00000: summarize flagN
    MSG-00883: After Repport Trigger: Setting the Org Context to MultiplePlease see if (R12AP: Interface Does Not Copy The DFF Values From Lines To Distribution. [ID 1457398.1]) helps.
    Thanks,
    Hussein

  • PAYABLE OPEN INTERFACE IN R12 NOT PICKING INTERFACE TABLE DATA ...

    The data is getting loaded into interface tables. But while importing from interface tables to base tables using "Payables Open Interface Import " receiving the log message
    Enter Password:
    MSG-00000: 0 invoice(s) were created during the process run
    MSG-00000: 0 invoice(s) were fetched during the process run
    MSG-00000: summarize flagN
    MSG-00883: After Repport Trigger: Setting the Org Context to Multiple
    The invoices are not getting loaded into base table. Checked table ap_interface_rejections. There is no data present in this table.
    Can some body on this forum help.
    Thank you in advance.
    Thanks and Regards,
    Sreenivas Muppasani
    91-9731068499

    Hi Sreenivas and Raju,
    there are two related documentations available in oracle, first states it could be a Report Cache issue which needs to be cleared, another one was a bug where patch application was suggested .....
    Can you check the references link and confirm that is not the cause ... if not try entering minimal (mandatory) information alone on the interface table and attempt importing ....?
    References:
    APXIIMPT - Payables Open Interface Import In Error [ID 1307261.1]     
    R12AP: Interface Does Not Copy The DFF Values From Lines To Distribution. [ID 1457398.1]     
    Regards,
    Ivruksha

Maybe you are looking for

  • Not getting Facebook (and other) notifications unless connected to wi-fi

    About two weeks ago I stopped getting notifications unless I'm connected to wifi. I get calls, texts and emails fine, but nothing else. It's highly annoying walking in the house, having my wifi turn on automatically and suddenly getting a dozen or so

  • Viewing in Acrobat X vs. Acrobat 9

    When viewing a document on my monitor using Acrobat 9 Pro, the colours are quite good; when doing the same with Acrobat X Pro, the colours are somewhat dull and dark, particularly the reds. WHY; how does one fix this? (I am using a hardware calibrate

  • Order of transport

    Hi experts!! I have few doubts about order ot transportation of changes in existing code... I changed one INCLUDE program in START ROUTINE in recursive transformation to one cube.I added the following things... ONE internal table and ONE work area de

  • Ipod touch 2.0 YouTube and iplayer issues

    Hi been searching for answers to why when i upgraded to 2.0 YouTube has stopped streaming (well it streams about 1 min worth then stops, won't start again) and BBC iplayer gives a message of unsupported movie format or similar error message. I have t

  • Set document title from windows clipboard contents

    Hi Folks! I have a process which I perform all the time, which leads me to believe that it's a good candidate for scripting. However, my scripting capabilities are only VB stuff and I think this may be beyond that. Specifically, I print invoices from