API to discard AP Invoice Lines

Hi Experts,
I 've a requirement to discard AP invoice lines programmatically. Can you please suggest if there 's any API to perform this. Any inputs on this will be immensely helpful.
Thanks,
Ganapathi

Hi All,
I 'am still having trouble invoking the discard_inv_line API. I 'am using the following piece of code to discard the line. But it always results in no_data_found error.
declare
inv_line ap_invoice_lines%ROWTYPE;
error_code varchar2(100);
token varchar2(100);
outcome boolean;
outcome_s varchar2(10);
cursor inv_rec is
select * from ap_invoice_lines_all where invoice_id = 355627 and line_number = 3;
begin
open inv_rec;
fetch inv_rec into inv_line;
close inv_rec;
--select * into inv_line from ap_invoice_lines_all where invoice_id = 355627 and line_number = 3;
outcome := ap_invoice_lines_pkg.discard_inv_line(inv_line, 'DISCARD', null, null, null, error_code, token, 'CUSTOM PLSQL');
if outcome then
outcome_s := 'SUCCESS';
else
outcome_s := 'FAILURE';
end if;
dbms_output.put_line('Outcome is : ' || outcome_s || ', error code : ' || error_code);
exception
when others then
dbms_output.put_line('Error : ' || sqlerrm);
dbms_output.put_line(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE);
end;
Error Message:
Error : ORA-20001: APP-SQLAP-10000: ORA-01403: no data found occurred in
AP_INVOICE_LINES_PKG.Discard_Inv_Line <-CUSTOM PLSQL
with parameters ( P_invoice_id = 355627 P_line_number = 3 P_last_updated_by = P_last_update_login = P_calling_mode = DISCARD)
while performing the following operation:
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.AP_INVOICE_LINES_PKG", line 3423
ORA-06512: at line 18
Can anyone please provide some insights into what might be missing here. Any inputs will be immensely helpful.
Thanks,
Ganapathi

Similar Messages

  • Error when discarding an invoice line

    Hi ,
    when i am trying to discard line in a validated invoice to correct its default account i get the following error "Cannot Discard the invoice line because a required call to tax calculation failed due to : &REASON"
    will someone tell me what could be that for , as we are not applying tax in the system .
    Thanks

    miro_feps wrote:
    Hi ,
    when i am trying to discard line in a validated invoice to correct its default account i get the following error "Cannot Discard the invoice line because a required call to tax calculation failed due to : &REASON"
    will someone tell me what could be that for , as we are not applying tax in the system .
    Thanks
    Please see the following docs.
    R12: Unable to Discard Invoice Line where Distributions are Reversed - Required call to tax calculation failed due to: &REASON FRM-50016 (Doc ID 982162.1)
    APXINWKB Cannot Discard The Invoice Line Required Call Tax Calculation &REASON (Doc ID 1333484.1)
    Troubleshooting Assistant: Oracle Payables (AP) Invoice Cancel and Discard (Doc ID 1561330.2)
    Thanks,
    Hussein

  • HOW TO RESTRICT DISCARD BUTTON AT R12 INVOICE LINES TAB?

    Hello
    Can someone tell me how to lock/restrict the DISCARD Button at the Invoice Lines tab?
    thanks
    emgee

    Hopefully you can achieve the same using forms personalization by setting the required field (DISCARD) to FALSE or HIDDEN.
    Thanks and Regards
    Manish Jain.
    Edited by: Jain, Manish on Jul 12, 2010 8:58 AM

  • AP Invoice Line Update

    Hi All,
    I just want to know how to update INVOICE LINE table by using any interface or by any API.
    Please need urgent.

    Hi;
    All APIs are listed in Oracle Integration Repository
    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]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • R12 AP - Split Invoice Lines

    Hi Friends,
    I would like to split the Invoice lines through our custom package. For Example: There is a invoice Line of 100 USD, i would like to split the lines into 60 USD and 40 USD through our custom package. Hence, i would like to know, if there are any standard API's which can be made use of, for this purpose?
    Thanks!!

    Hi,
    Anybody there watching this thread?
    Pl. let me know, if there are any Standard API's to handle the line split in AP.
    Thanks in advance.

  • Updating Invoice Lines in AR

    Hi,
    As a part of our Sales and Licensing process, we have the invoices created into AR by our Sales team. The sales application is developed using Oracle Fusion Technology. Before generating the invoice, the sales team have the option to view the invoice and to make amendments in the line amounts.
    However, many times we are facing the need for the sales team to make amendments in the lines after the invoice gets generated in AR. We can make the necessary changes in the application so as to enable them to do this. However, Is there any standard API available in AR that can update the invoice lines in AR accordingly ?
    Please note that the invoices are created in 'Incomplete' Status.
    Kindly advise on this. As of now , the finance team is making the changes manually as per the requirement of the sales team.
    We would like to automate this and introduce an approval workflow, before the changes happen in AR.
    Regards,

    You probably will need to adjust the space in the Page Header and Page Footer so that more lines can be accomodated in the Repetitive area.

  • API to update AP Invoice Information in R12

    Hi Gurus,
    I am creating AP Invoices through iexpense modules and everything working file except project information..
    While creating the expense report i have entered project number and task details. But project information is not showing in AP Invoice ( this is standard functionality ).
    So, I am planning to update project related information in AP Invoice line level through API.
    Please let me is there any API.
    Thanks,
    Sreehari.
    Edited by: user10741694 on Nov 22, 2012 10:54 PM

    Hi Sreehari,
    for the list of available API's, please add the responsibility "Integration Repository" to your username and browse by application for the list of APIs. The expense report export uses the payables interface, hence there will be an API available for it.
    Also i would suggest an workaround of capturing this information in some DFF fields in the Invoice, hence when oracle does not provide something as standard, there must be a hint of complexity involved in performing the same....
    (One can also login to irep.oracle.com for accessing the list of API's but this site has been down for a reasonable period of time ..)
    Regards,
    Ivruksha

  • XML INVOICE Report RAXINV, Taxline is repeating for each invoice line

    Hi Tim
    Thanks a lot for your blog
    Greeting !!
    I have successfully created XML report for AR invoice Printing learning from your blog but stuck to a problem , whenever Invoice is having multiple lines ,say 20, then for each invoice line there is tax line printing 20 times like this:
    PART NO.| CUSTOMER PART#/DESCRIPTION | UNIT PRICE | QUNTITY|
    A123 | 34 WELD-ROD | 52 | 22 |
    Tax Exempt @ 0.00
    A234 | 238-AL WIER | 63 | 55 |
    Tax Exempt @ 0.00
    ........ Assume there are 20 lines then tax line also repeating 20 times which i don't want .It should get printed only once if it is same
    pls help me to achieve this
    Thanks
    Rahul

    Thanks Tim for Your Instant reply.
    I have gone through your duplicate line elimination but my requirement is not this
    I'll explain it, I am using LINE_DESCRIPTION tag for printing item description and this tag have two value for it, when the LINE_TYPE =LINE then LINE_DESCRIPTION tag is printing the line description and if LINE_TYPE =TAX
    then LINE_DESCRIPTION tag is printing the taxline information. Now if I have 20 lines in Invoice then the tax line will also repeat for 20 times, and if i use duplicate line elimination logic and I have same item it'll not print that item, some times whole invoice become blank.
    So I want to print 20 lines and out of that 15 lines are have same tax rate then it should print once at the end of 15th line and for remaining 5 lines if tax rate is different for each line then it should print at the end of each line (5lines)
    In the linetreevariable i used <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES [LINE_TYPE!='FREIGHT']"/> i.e. I want only line type=LINE and TAX
    Thanks
    Rahul

  • Missing information when updating invoice line

    Dear all,
    I am updating invoice line information but system giving and error
    declare
    begin
    for rec in (select l.*
    from ap_invoices_all l
    where invoice_num = 'akp/445'
    and vendor_id = 1068
    and org_id = 82) loop
    AP_INVOICES_PKG.Update_Row(X_Rowid => 'AABDoVAGSAACZlRAAM',
    X_Invoice_Id => rec.invoice_id,
    X_Last_Update_Date => rec.last_update_date,
    X_Last_Updated_By => rec.last_updated_by,
    X_Vendor_Id => rec.vendor_id,
    X_Invoice_Num => rec.invoice_num,
    X_Invoice_Amount => rec.invoice_amount,
    X_Vendor_Site_Id => rec.vendor_site_id,
    X_Amount_Paid => rec.amount_paid,
    X_Discount_Amount_Taken => rec.discount_amount_taken,
    X_Invoice_Date => sysdate,--rec.invoice_date+30,
    X_Source => rec.source,
    X_Invoice_Type_Lookup_Code => rec.invoice_type_lookup_code,
    X_Description => rec.description,
    X_Batch_Id => rec.batch_id,
    X_Amt_Applicable_To_Discount => rec.amount_applicable_to_discount,
    X_Terms_Id => rec.terms_id,
    X_Terms_Date => rec.terms_date,
    X_Goods_Received_Date => rec.goods_received_date,
    X_Invoice_Received_Date => rec.invoice_received_date,
    X_Voucher_Num => rec.voucher_num,
    X_Approved_Amount => rec.approved_amount,
    X_Approval_Status => rec.approval_status,
    X_Approval_Description => rec.approval_description,
    X_Pay_Group_Lookup_Code => rec.pay_group_lookup_code,
    X_Set_Of_Books_Id => rec.set_of_books_id,
    X_Accts_Pay_CCId => rec.accts_pay_code_combination_id,
    X_Recurring_Payment_Id => rec.recurring_payment_id,
    X_Invoice_Currency_Code => rec.invoice_currency_code,
    X_Payment_Currency_Code => rec.payment_currency_code,
    X_Exchange_Rate => rec.exchange_rate,
    X_Payment_Amount_Total => rec.payment_amount_total,
    X_Payment_Status_Flag => rec.payment_status_flag,
    X_Posting_Status => rec.posting_status,
    X_Authorized_By => rec.authorized_by,
    X_Attribute_Category => rec.attribute_category,
    X_Attribute1 => rec.attribute1,
    X_Attribute2 => rec.attribute2,
    X_Attribute3 => rec.attribute3,
    X_Attribute4 => rec.attribute4,
    X_Attribute5 => rec.attribute5,
    X_Vendor_Prepay_Amount => rec.vendor_prepay_amount,
    X_Base_Amount => rec.base_amount,
    X_Exchange_Rate_Type => rec.exchange_rate_type,
    X_Exchange_Date => rec.exchange_date,
    X_Payment_Cross_Rate => rec.payment_cross_rate,
    X_Payment_Cross_Rate_Type => rec.payment_cross_rate_type,
    X_Payment_Cross_Rate_Date => rec.payment_cross_rate_date,
    X_Pay_Curr_Invoice_Amount => rec.pay_curr_invoice_amount,
    X_Last_Update_Login => rec.last_update_login,
    X_Original_Prepayment_Amount => rec.original_prepayment_amount,
    X_Earliest_Settlement_Date => rec.earliest_settlement_date,
    X_Attribute11 => rec.attribute11,
    X_Attribute12 => rec.attribute12,
    X_Attribute13 => rec.attribute13,
    X_Attribute14 => rec.attribute14,
    X_Attribute6 => rec.attribute6,
    X_Attribute7 => rec.attribute7,
    X_Attribute8 => rec.attribute8,
    X_Attribute9 => rec.attribute9,
    X_Attribute10 => rec.attribute10,
    X_Attribute15 => rec.attribute15,
    X_Cancelled_Date => rec.cancelled_date,
    X_Cancelled_By => rec.cancelled_by,
    X_Cancelled_Amount => rec.cancelled_amount,
    X_Temp_Cancelled_Amount => rec.temp_cancelled_amount,
    X_Exclusive_Payment_Flag => rec.exclusive_payment_flag,
    X_Po_Header_Id => rec.po_header_id,
    X_Doc_Sequence_Id => rec.doc_sequence_id,
    X_Doc_Sequence_Value => rec.doc_sequence_value,
    X_Doc_Category_Code => rec.doc_category_code,
    X_Expenditure_Item_Date => rec.expenditure_item_date,
    X_Expenditure_Organization_Id => rec.expenditure_organization_id,
    X_Expenditure_Type => rec.expenditure_type,
    X_Pa_Default_Dist_Ccid => rec.pa_default_dist_ccid,
    X_Pa_Quantity => rec.pa_quantity,
    X_Project_Id => rec.project_id,
    X_Task_Id => rec.task_id,
    X_Awt_Flag => rec.awt_flag,
    X_Awt_Group_Id => rec.awt_group_id,
    X_Pay_Awt_Group_Id => rec.pay_awt_group_id,
    X_Reference_1 => rec.reference_1,
    X_Reference_2 => rec.reference_2,
    X_Org_Id => rec.org_id,
    X_global_attribute_category => NULL,
    X_global_attribute1 => NULL,
    X_global_attribute2 => NULL,
    X_global_attribute3 => NULL,
    X_global_attribute4 => NULL,
    X_global_attribute5 => NULL,
    X_global_attribute6 => NULL,
    X_global_attribute7 => NULL,
    X_global_attribute8 => NULL,
    X_global_attribute9 => NULL,
    X_global_attribute10 => NULL,
    X_global_attribute11 => NULL,
    X_global_attribute12 => NULL,
    X_global_attribute13 => NULL,
    X_global_attribute14 => NULL,
    X_global_attribute15 => NULL,
    X_global_attribute16 => NULL,
    X_global_attribute17 => NULL,
    X_global_attribute18 => NULL,
    X_global_attribute19 => NULL,
    X_global_attribute20 => NULL,
    X_calling_sequence => null,
    X_gl_date => rec.gl_date,
    X_award_Id => rec.award_id,
    X_approval_iteration => rec.approval_iteration,
    X_approval_ready_flag => rec.approval_ready_flag,
    X_wfapproval_status => rec.wfapproval_status,
    X_requester_id => rec.requester_id,
    X_quick_credit => rec.quick_credit,
    X_credited_invoice_id => NULL,
    X_distribution_set_id => NULL,
    X_FORCE_REVALIDATION_FLAG => NULL,
    X_CONTROL_AMOUNT => NULL,
    X_TAX_RELATED_INVOICE_ID => NULL,
    X_TRX_BUSINESS_CATEGORY => NULL,
    X_USER_DEFINED_FISC_CLASS => NULL,
    X_TAXATION_COUNTRY => NULL,
    X_DOCUMENT_SUB_TYPE => NULL,
    X_SUPPLIER_TAX_INVOICE_NUMBER => NULL,
    X_SUPPLIER_TAX_INVOICE_DATE => NULL,
    X_SUPPLIER_TAX_EXCHANGE_RATE => NULL,
    X_TAX_INVOICE_RECORDING_DATE => NULL,
    X_TAX_INVOICE_INTERNAL_SEQ => NULL, -- bug 8912305: modify
    X_QUICK_PO_HEADER_ID => NULL,
    x_PAYMENT_METHOD_CODE => rec.payment_method_code,
    x_PAYMENT_REASON_CODE => null,
    X_PAYMENT_REASON_COMMENTS => null,
    x_UNIQUE_REMITTANCE_IDENTIFIER => null,
    x_URI_CHECK_DIGIT => null,
    x_BANK_CHARGE_BEARER => null,
    x_DELIVERY_CHANNEL_CODE => null,
    x_SETTLEMENT_PRIORITY => null,
    x_NET_OF_RETAINAGE_FLAG => null,
    x_RELEASE_AMOUNT_NET_OF_TAX => null,
    x_PORT_OF_ENTRY_CODE => null,
    x_external_bank_account_id => null,
    x_party_id => null,
    x_party_site_id => null,
    x_disc_is_inv_less_tax_flag => null,
    x_exclude_freight_from_disc => null,
    x_remit_msg1 => null,
    x_remit_msg2 => null,
    x_remit_msg3 => null,
    x_remit_to_supplier_name => null,
    x_remit_to_supplier_id => null,
    x_remit_to_supplier_site => null,
    x_remit_to_supplier_site_id => null,
    x_relationship_id => null,
    x_original_invoice_amount => null,
    x_dispute_reason => null);
    commit;
    end loop;
    exception
    when others then
    dbms_output.put_line(sqlerrm);
    end;
    ORA-20001: APP-SQLAP-10000: ORA-01403: no data found occurred in
    AP_INVOICES_PKG.UPDATE_ROW<-
    with parameters (X_Rowid = AABDoVAGSAACZlRAAM, X_invoice_id = 180867)
    while performing the following operation:

    Hi;
    Please review:
    R12: Validate Invoice Errors APP-SQLAP-10000, ORA-01403 and ORA-20001 [ID 1308869.1]
    R12: Master Note: Consolidated Error Notes Of EBTax Related Issues In Oracle Payables [ID 1378068.1]
    By the way If you make search at metalink such as APP-SQLAP-10000: ORA-01403: ORA-20001 there are 38 doc avaliable, please review them
    Regard
    Helios

  • AP: Invoice Imports/ Miscellaneous Invoice Line types

    Hi All,
    I had two issues while I was importing my invoices in AP through AP Invoices Open interface:
    1. Freight Charges
    2. Some Unit Royality Charges.
    Both of these things are not included in my PO, so I needed to create additonal invoice distribution lines with in the same invoice and also had to assign a GL account while creating the invoices. The other Item type lines get the GL account code from PO while matching is done during AP Open Import process.
    The Freight charges problem is resolved. The solution for that is as follows for your reference.
    Functional Steps:
    1. With Accounts Payables Manager responsibility , go to
    Setup->Options->Payables.
    2. Select Invoice from drop down list box.
    3. In invoice region Ceck the Automatically Create Freight Distribution Option.
    4. Supply default Freight Account for Freight Distributions.
    Technical Steps:
    1. Create an additional Invoice distributions line for freight in AP_INVOICE_LINES_INTERFACE table which should not have the PO level information.
    2. Set AP_INVOICE_LINES_INTERFACE.Prorate_across_flag = 'Y'
    3. AP_INVOICE_LINES_INTERFACE.line_type_lookup_code = 'FREIGHT'
    4. Set AP_INVOICE_LINES_INTERFACE.LINE_GROUP_Number as same in both the ITEM and Freight Invoice distribtuion line which are interrelated.
    The above resolves the Freight issue and you can reproduce it in your environment.
    However, I have another amount from my supplier which is called "Royality Charge" on every item which are also not present in my PO. My supplier sends these charges with Invoice lines the same way Freight charges are sent. I am thinking of creating additional Invoice lines marked as "Miscellaneous" Invoice Lines type for this charge. The problem I am facing with Miscellaneous Lines is that I cannot find a place where I can setup the Account code for such Invoice distribution lines, like I got for Freight Type Distribution lines as described above in Functional steps. Can anyone guide me in this regard or can give me an alternative workaround to handle my Unit Royality Charges?
    Thanks
    Faisal .
    [email protected]
    null

    Apologies for the late response, have only just spotted the question.
    You will need to register "line-item job-level chains of approval" under payables transaction type before you can select it from the picklist:
    Setup\Action Types\"Use Existing Action Type" button, then select action type and continue.
    Hope this helps (if you haven't already resolved yourself)
    James

  • R12 - AP Invoice Lines Interface & Tax Codes

    We have a slight problem getting AP Invoice Lines through the Payables Open Interface. In 11i the value held in the TAX_CODE column was validated (against AP_TAX_CODES I believe), and if wrong or missing the line was rejected. The eTRM for R12 claims this column is still validated, although against ZX_TAXES_B, however testing shows this to be untrue. Support documentation from Oracle (e.g. note 472649.1) suggest a number of other columns are now used for tax validation, however testing agains shows this to be untrue. The only column we can find which is validated is TAX_CLASSIFICATION_CODE, and if this column contains a valid tax code then the invoice line will be accepted, however we cannot find any documentation which shows that this column should be used.
    Has anyone out there bottomed out this issue, and if so is there any insight you could offer?
    Many thanks.
    Edited by: user13317468 on Jul 4, 2011 1:32 AM

    Hi Vinod,
    please check the below reference from oracle support ...
    Case Study: How Payables Open Interface Import works with EB Tax for importing Invoices [ID 1381400.1]
    Regards,
    Ivruksha

  • AR Invoice Presentation / Invoice Lines diff than Sales Order Lines

    Hi,
    Due to business rules I got the following requirement, I'd like to get advice or second opinions please:
    Instead of showing 200 lines we want to show 1 line in the invoice summarizing the job done.
    The requirement is:
    The invoice should summarize the Order Lines, meaning that we want to have different lines in the invoice than those in the orders composing the invoice. The total amounts must equal between both, the invoice and the orders lines been invoiced.
    For example:
    We need to create an Invoice for 2 Sales orders with 10 lines each, each line for $1 usd.
    The invoice could be in any of these situations:
    - Having only one line composing the 2 orders. The invoiced amount is $20.
    - Having 2 lines composing the 2 orders. The invoiced amount is $20 ($10 line 1, $10 line 2)
    The description on the invoice lines must be completly open.
    Internaly, the link/reference between the invoice line and the order line(s) composing it must be kept.
    This must work with 1 or more Sales Orders (partial or complete)
    Can be done via autoinvoice or not. (The user is able to compose and reference the invoice manually)
    ¿Is there already something done that I can use? Just point me on one direction and I'd be happy to investigate.
    I already have 1 or 2 ideas of how to achieve this without customizing at all.
    Just wanted to check and get advice and second opinions on this before taking a decision.
    Technical Spec:
    Oracle EBS 11i (11.5.10.2)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Thanks in advance.
    Juan Alcocer

    seems to error
    APP-AR-11526
    ORA-28115
    seems the security policy is implemented at your database leval and check which ID you are using to insert the record.Check with your DBA, for security to resolve first for ORA-28115.
    Disabled in case if you have any custom triggers defined on RA_CUSTOMER_TRX_ALL.
    Few Documentation for ORA-28115
    ORA-28115 with EXEMPT ACCESS POLICY privilege
    A user USER1 has been granted select, insert, update, delete on all
    tables of an application schema (USER2) that uses row-level security.
    The RLS policies cover select, insert, update, and delete, and have check option enabled. USER1 has also been granted EXEMPT ACCESS POLICY system privilege.
    Each table in the USER2 schema has a trigger that causes insertion of
    a row into an audit table whenever DML is performed. When USER1 performs DML on a USER2 table, the operation fails with

  • Issue in XML Invoice lines

    Hi,
    I designed layout for invoice report in xmlp 5.6.2, I have issue when i preview the output, instead of two Invoice lines i am getting 8 times with the repeating of 2 lines.I given the following tags....
    Before line : <?for-each:G_INVOICE_LINES?>
    End of lines : <?end for-each?>
    waiting for tips.
    Regards
    Prabusiva

    Hi Tim/Andrew,
    I have only 2 lines for the invoice but when i run the preview in pdf, this 2 lines repeating 4 times. so far i am getting 8 lines.
    This is the following tags for lines part
    <LIST_G_INVOICE_LINES>
    <G_INVOICE_LINES>
    <LIST_G_LINE_ALLOC> </LIST_G_LINE_ALLOC> <LIST_G_LINE_COMMENT> /LIST_G_LINE_COMMENT> <LIST_G_LOT_NO_IN_LOTS> </LIST_G_LOT_NO_IN_LOTS>
    </G_INVOICE_LINES>
    </LIST_G_INVOICE_LINES>
    In the RTF template in the starting line i given this <?for-each:G_INVOICE_LINES?> and end of the line i given this <?END FOR-EACH?>
    Still i showing only 8 lines but i want to display only 2 lines.
    Can any one know please drop your ideas.
    with cheers
    prabu

  • Insert/Update/Delete Non-PO Invoice Line Item via FM/BAPI?

    Does anyone know of a way to insert/update/delete an Invoice Line item (Non-PO Accounting Invoice - Transaction FB60 or FV60) using a BAPI or Function Module (or set of function modules) using ABAP? I have been trying to find some code to accomplish this and am stuck on a couple of issues.
    I have found PRELIMINARY_POSTING_FB01 and PP_CHANGE_DOCUMENT_ENJ but both seem to submit the details to background processes. This is an issue because it gives the user a success message after execution but later delivers the error to Workflow. This is for an interfacing program so the results should be as real time as possible.
    Has anyone accomplished this via FM or BAPI and if so would you mind sharing your experiences?
    Thank you very much,
    Andy

    SG- Thank you for the reply.
    I have been playing with BAPI_INCOMINGINVOICE_PARK and I'm not sure if it is doing exactly what we want, but it is something that I have considered in the past. I plan on looking into BAPI_ACC_INVOICE_RECEIPT_POST this morning, hopefully that will provide some more for us.
    If possible I'd like to avoid BDC sessions because this program could hypothetically interface with multiple SAP systems with different configurations.
    I will check into those FM's and thank you very much.

  • Printing fixed number of  Invoice Line in rtf template with level two group

    Hi,
    I have to print fixed number of invoice lines on a page. Invoce tempalte design has a table with header and summary(Invoice , tax and shiping totals) at each page in table footer. The table should repeate at each page with header and footer. I need to print specific number of rows or number of rows wihich page can accumulate in table body on each page.
    I checked few blogs giving solution for fixed number of rows printing say
    "Anatomy of a Template I - Fixed Row Enumeration"(http://blogs.oracle.com/xmlpublisher/2007/03/27/)
    and
    http://oracle.anilpassi.com/xml-publisher-developing-reports-printed-on-pre-printed-stationary-2.html
    Above two blogs explanation has only one group at line level. but in my case there are two groups (Parent and child) at line level. I am able to count rows in parent group but it is not counting lines in child group.
    Edited by: Bhanu Yadav on Apr 19, 2011 2:10 AM

    Will it be possible for you to move the 1st and 3rd sections to header/footer?
    So that if the 2nd section spills over to next page too, starting position of 3rd section wont be affected.

Maybe you are looking for

  • IPhoto is paralyzed!  Cannot burn, delete nothing!  Help!

    I currently have about 8,000 pictures on my iPhoto -- version 05. The system runs very slow b/c of the amount of pictures on the drive. My harddrive says I have 38.44 GB free so I'm not sure why the program is running so slow but I'm thinking that th

  • 19:9 Aspect Ratio

    Hi, I'm don't work with video much but have to convert things from time to time into DVD. I was given a 19:9 ratio to work w/ this time but I only see 4:3 and 16:9 as options on DVDSP. What pixel dimensions(width, height) should the video be created

  • Add new tab to a seeded page

    Hi, I have to add a new tab to the seeded page, seeded page has 2 tabs already. When I try to add through CO, am getting the Null pointer exception. Am able to get hold of the SubTab and SubtabBar of the existing page The code is as follows: OASubTab

  • Font Used in Pixie Dust Title Slide?

    Does anyone know the font used in the pixie dust title slide? Apparently, I'm just too tired to figure this out for myself and would love to wake up in the morning with the answer! Just trying to streamline the look with the same font and can't seem

  • Where do it get the photoshop cS6 serial

    Hy, Im new to Adobe Creative Cloud and i just made my first payment. Now I downloaded Photoshop cs6 and when Im trying to install it, the system asks for a serial number. Where do I download it? Thanks in advanced Andres