Tables affected during invoice validation in AP

Hi,
How to know what are the tables gets updated in backend when the invoice is validated from front end.
Required all the table status before Invoice validation and after Invoice validation.
Regards
Saravanan.B

You could run a trace to find out which tables are involved.
Thanks,
Brian

Similar Messages

  • Different databse tables affected during the creation of a PR

    Can someone please explain the different databse tables affected during the creation of a Purchase Requisition except EBAN?

    Hi Ajit,
    Thanks for the reply.
    Kindly let me know how these tables will be affected when PR will be created(STXH,STXL)?
    Thanks,
    Lina

  • SEPA - How to control payment method used for SEPA during invoice entry?

    Hi,
    To implement SEPA Credit Transfers, a new payment method must be created.
    But this payment method will coexist with other payment methods that can be used for EUR payments between non-SEPA countries...
    Is there a way to control during invoice entry that the user is using the right payment method? Thus, if the payment is to be made between two SEPA countries, is there a way to control that the payment method used is well the new SEPA payment method? These pmts would fall in error if OSS note 1406227 has been implemented (it creates a table that controls the validity of pmt methods per country of destination) but obviously, we want to control this before the payment run F110...
    Or is it only controllable via a user-exit?
    Thanks a lot!
    Rgds
    Vincent
    Edited by: Vincent_Belgium on Dec 30, 2010 3:22 PM
    Edited by: Vincent_Belgium on Dec 30, 2010 3:26 PM

    Hi,
    You need to Use User Exit MEVME001 in SAP as well please see the below link for more
    http://www.sap-img.com/materials/price-difference-po-iv-vendor.htm
    Regards
    Ninad Kshirsagar

  • Invoice validation program error:Could not find operating unit options

    Dear Team,
    Once my Payables Open Interface Import program successfully completed, I am trying to running invoice validation program which is ended with warning as bellow,
    (Bulk CALCULATE) START SYSDATE 17-DEC-2012 04:04:19
    Could not find operating unit options
    Encountered unexpected error: User-Defined Exception
    (Bulk CALCULATE) END SYSDATE 17-DEC-2012 04:04:23
    and invoice placing into Dist Variance hold,
    my interface program placed data in to based tables (ap_invoices_all and lines_all ) but distributions are not getting generating. Can you please do help me.
    Find attached excel sheet for ur references.
    Thanks
    Sathiya

    Make sure the library (pll file) is in the path indicated by your FORMS60_PATH in the registry.
    Hope that helps,
    Karim.

  • Invoice Validation Error ORA-06512: at "APPS.AP_APPROVAL_PKG", line 111124

    All,
    I am getting below error message from log file after Invoice Validation program error out, please advise.
    I could not search on "ORA-06512: at "APPS.AP_APPROVAL_PKG", line 11124" search, but found other errors and able to see we are very much higher file version than the note id advised.
    Please help any one for this issue.
    Payables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    APPRVL module: Invoice Validation
    Current system time is 01-MAR-2013 03:40:12
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_option='All'
    p_inv_start_date='2013/02/01 00:00:00'
    p_inv_end_date='2013/02/28 00:00:00'
    p_trace_flag='N'
    p_commit_size='1000'
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    MSG-00101: Error occured in BATCH_APPROVAL()
    MSG-00102: Error Code : -20001
    MSG-00103: Error Message : ORA-20001:
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    ORA-06512: at "APPS.AP_APPROVAL_PKG", line 11124
    MSG-00000: When Others:User-Defined Exception
    REP-1419: 'beforereport': PL/SQL program aborted.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1419: MSG-00101: Error occured in BATCH_APPROVAL()
    MSG-00102: Error Code : -20001
    MSG-00103: Error Message : ORA-20001:
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    ORA-06512: at "APPS.AP_APPROVAL_PKG", line 11124
    MSG-00000: When Others:User-Defined Exception
    REP-1419: 'beforereport': PL/SQL program aborted.
    Report Builder: Release 10.1.2.3.0 - Production on Fri Mar 1 03:40:15 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 42770000.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 01-MAR-2013 04:06:57
    ---------------------------------------------------------------------------

    Please post the details of the application release, database version and OS.
    Please also see these docs.
    Invoice Validation (APPRVL) Errors Out With ORA-20001: APP-SQLAP-10000: ORA-00060 [ID 1460249.1]
    R12: Invoice Validation Is Failing When Running With Parameter 'ALL' [ID 1115016.1
    R12 Payables Invoice Validation Error: Unexpected error occurred during Tax Calculation. [ID 961182.1
    Ap Invoice Validation Errors: P-1419: Msg-00101: Error Occured In Batch_approval [ID 1140828.1]
    Invoice Validation Error : REP-1419:ERROR OCCURED IN BATCH_APPROVAL() [ID 1120213.1]
    R12: Validate Invoice Errors APP-SQLAP-10000, ORA-01403 and ORA-20001 [ID 1308869.1]
    Thanks,
    Hussein

  • Vendor Text / Internal notes during Invoice creation

    Hello,
    We can create user ID for a Vendor contact using "Employee for Business partner" under "Manage Business partner" option.
    With this user ID, while trying to create an Invoice, Vendor text / Internal notes drop down does not appear under "Document tab" at item level. We only see one option "Comments from Vendor".
    But during invoice creation by a regular user , we see the drop down for "Vendor Text / Internal notes". We dont see the option "Comments from Vendor"
    Question : Is it possible to have the "Vendor Notes / Internal notes" drop down made available for Vendor Contacts just like reuglar users?
    FYI - We are using Standalone scenairo.
    Thanks for your reply in advance.
    Regards,
    UM.

    Hi Jon,
    Like said Yann, try to use BBP_DOC_CHECK badi.
    In this badi You can use FM BBP_PD_SC_GETDETAIL.
    Example:
      call function 'BBP_PD_SC_GETDETAIL'
        exporting
          i_guid     = iv_doc_guid
        importing
          e_header   = wa_e_header
        tables
          e_item     = e_item
          e_account  = e_account
          e_longtext = e_longtext
          e_messages = e_messages.
    This FM show You all longtext attached in document.
    Regards,
    Marcin Gajewski

  • Custom message during Invoice parking

    Hi ,
    I am implementing ECC MM module.
    Sceanrio is that during creation of a PO , the buyer will sometimes put an internal note , to be checked by the FI person during invoice parking.
    The requirement is :
    1. How to create a custom message " check the PO for any special instructions", and mark it as warning message
    2. This message should be displayed when the AP person is trying to park the invoice
    Rgds
    Sumendra

    I am sure there are many ways to accomplish this but a simple method is to use a validation.
    Go to GGB0 and under Financial Accounting,  and document header, create a simple validation that includes something like...
    prerequisite -      BKPF-TCODE = 'FV60'
    check -                 SYST-UNAME = ' '
    message  type -       W
    message number -   0XX
       "The custom message in message class ZFI (check the PO for any special instructions") is created in SE91 using the next available free message number.
    Then use OB28 to make the callup point for the validation 1" for document header, enter the validation name and make the activation level "1".
    Then any user paking a document using FV60 for instance will get a warning message when saving the document as complete.

  • Wrong payment term during invoice creation

    Hi All,
    when i created sales order with one line item then it is creating two entries in VBKD table with POSNR = '0000' with payment term ZTERM = 'ZI15'  and POSNR = '1000'  with payment term ZTERM = 'Z223',  but problem is that when going to create Invoice it is picking wrong payment terms Z223 while it shud be ZI15. can anyone please help me to know why it is creating 2 entries in VBKD and why it is taking wrong invoice during Invoice creation.
    Saurabh

    HI,
    Please review SAP note 38934 which may help to explain this issue.
    If you do not have VBKD data for a particular line item, it is the same
    as the header (vbkd-posnr = 000000). This is standard behaviour.
    so if you have a vbkd line item, that simply means some part of the business data is different to the header
    and that's why the line item for VBKD was created (in this case a different payment terms has been entered for the line item)
    For the second part of the issue, please start at trx VTFA and check the copy control (especially at line item level).
    kind regards
    Paul Q

  • IS-U INV: Maintenance of FI-CA document during invoicing

    Hi,
    I create the FI-CA document during invoicing process using event R402. This document is created consistent without any problems. Unfortunately during automatic account maintenance this document is not taken into account.
    I debugged this problem and in the function module ISU_INV_ACC_MAINTENANCE I found some condition where if the document number of the FI-CA document is not assigned (initial) then this document is not taken into account. How can I solve this problems?
    I need to realize account maintenance with the NEW created FI-CA document during invoicing process? Any suggestions?
    Thanks
    Vlado

    Hi Vlado,
    You need to maintain the main transactions of the particular document in the following configuration setiings under the billing settlement type-
    SPRO->SAP Ultilities->Invoicing->Invoice Processing->Item Selection In Invoicing->Item Selction in Account Maintainenace/Define sub items.
    To carry out account maintenance in invoicing, you must select all open items you want to take into account in this activity. The open items generated in invoicing are subject to this selection procedure.This depends on the billing settlement type for the invoicing unit.
    The selection is dependent on the settlement type of the invoicing unit.
    Note-If you maintain a particular subtransaction, along with the main transaction,then the particular set of main\sub combination will only be valid for account mainatinenance. However, if you maintain only the main transaction, all the sub transactions under the main will be picked up for the account maintaineance during invoicing.
    Hope it helps....
    Thanks,
    Amlan

  • FQ event to populate invoicing party in DFKKOP during invoicing from EASIBI

    Hi Experts,
    I am looking for an event to update invoicing party field in DFKKOP table during invoicing from transaction 'EASIBI'. As per standard process Invoicing party field is populated in DFKKOP when Invoicing party at contract level is a third party.
    In my case invoicing party at contract is not third party but still invoicing party field need to be populated in DFKKOP. I tried event 402 and 432 but these are not workig.
    Any help on this is appreciated.
    Thanks for your help in advance!!!
    Vibhor

    Hi Vibhor,
    Try using the event R408\R433.
    The event is called up after the posting document for consumption billing has been created.
    Here, you are getting the FICA document no. (DFKKOP-OPBEL) against which the invoicing has happened.
    Once you get the FICA document no., you can update the corresponding INVOICING PARTY field in DFKKOP by using any std FM.
    Hope it helps...
    Thanks,
    Amlan

  • Duplicate Invoice Check during Invoice Parking

    Hi All,
    We have activated duplicate invoice check for our company code.  All the required pre-requisites have been activated w.r.t configuration and master records.  In our case we had checked only Reference document number and company code for considering duplicate invoice check.
    So during invoice parking the system is checking the gross invoice amount also for validation. 
    For example, we had parked an invoice document with gross invoice amount 100 USD, reference doc number 123, vendor code X, company code Y and currency USD.  We are trying to create another invoice document with same parameters as created for first document except gross invoice amount (for this new document the gross invoice amount is 150 USD)  In this case the system is not showing the message number M8-462 (Check if invoice already entered as logistics inv. doc. number & &).  If the Gross invoice amount is same, then the system is showing the message.
    But if we post the invoice and then try to create another invoice with same reference with different gross invoice amount, then system is showing message M8-108 (Check if invoice already entered under accounting doc. no. & &)
    Please provide your inputs on why system is considering gross invoice amount for parked invoices.
    Thanks

    If it's User specific it's probably the message setting . . .
    MM \ LIV \ Define Attributes of System Messages
    Help text:
    Define Attributes of System Messages
    In this step, you can define the category of message received by individual users for certain messages in Invoice Verification. This allows you determine whether a user receives a message as an indication of:
    Information
    Warning
    Error
    Or whether no message should be issued at all
    Regards,
    Nick

  • MHKIM:(AP)AP invoice가 Validated, Accounting 되었는지. GL Transfer되었는지 확인방법

    QUESTION
    ==========
    SQL로 AP Invoice의 status를 알수 있는 쿼리를 요청할수 있나요?
    AP invoice가 Validated되었는지.Accounting이 되었는지. GL Transfer되었는지를
    쿼리했으면 합니다.
    ANSWER
    =========
    원하시는 형식으로 한꺼번에 결과가 나오게 하는 script는 따로 없지만,
    각각의 항목에 대한 값을 조회하는 부분은 도움을 드릴 수 있습니다.
    1. Approve여부
    ap_invoice_distributions_all table의 match_status column값을 확인하시면 됩니다.
    "A" 값이면, 해당 invoice distribution line은 Validate되었음을 나타냅니다.
    2.
    Accounting여부
    ap_invoice_distributions_all table의 Posted_flag값이 Y인 경우, Accounting이 되었음을 나타냅니다.
    혹은
    ap_invoice_distributions_all table의 accounting_event_id값으로 ap_accounting_events_all table data를
    확인하셨을때, event_status_code column값이 "ACCOUNTED"여도 Accounting이 되었음을 나타냅니다.
    3. GL transfer여부
    ap_invoice_distributions_all table의 accounting_event_id값으로
    ap_ae_headers_all table자료를 확인하시면 gl_transfer_flag column이 있는데,
    "Y"이면 GL로 transfer되었음을 나타냅니다.

  • How to get values from a table(in jsp) for validation using javascript.

    hi,
    this is praveen,pls tell me the procedure to get values from a table(in jsp) for validation using javascript.
    thank you in advance.

    Yes i did try the same ..
    BEGIN
    select PROD_tYPE into :P185_OFF_CITY from
    magcrm_setup where atype = 'CITY' ;
    :p185_OFF_CITY := 'XXX';
    insert into mtest values ('inside foolter');
    END;
    When i checked the mtest table it shos me the row inserted...
    inside foolter .. Now this means everything did get execute properly
    But still the vallue of off_city is null or emtpy...
    i check the filed and still its empty..
    while mtest had those records..seems like some process is cleaining the values...but cant see such process...
    a bit confused..here..I tried on Load after footer...
    tried chaning the squence number of process ..but still it doesnt help
    some how the session variables gets changed...and it is changed to empty
    Edited by: pauljohny on Jan 3, 2012 2:01 AM
    Edited by: pauljohny on Jan 3, 2012 2:03 AM

  • AP Invoice Validation problem

    Hi,
    Invoice R12 (12.1.3)While trying to validate an AP Invoice getting the following error :
    APP-SQL-10000: User-Defined Exception occurred in 
    AP_INVOICE_UTILITY_PKG.CALCULATE_VARIANCE<-AP_APPROVAL_MATC
    HED_PKG.Exec_Matched_Variance_Checks<-AP_APPROVAL_PKG.Genera
    te_Distributions<-AP_APPROVAL_PKG.Approval<-APXINWKB
    with parameters (Distribution Id = 13113101)
    while performing the following operations:
    CALCULATE_VARIANCE - Close cursor invoice_dist_cursor
    Hence, requesting if anyone of you have come cross this kind of problem in R12,  AP invoice validation kindly post your valuable comments.
    regards.
    Arup

    Hi,
    Welcome to Communities.
    Please review this note
    R12: AP: Unable To Validate Freight Invoices Matched To Receipts Errors APP-SQL-10000 ORA:01403 (Doc ID 1350996.1)
    Thanks
    George

  • IS-U INV: Creation of FI-CA documents during invoicing

    Hi,
    I need to create a couple of FI-CA documents during invoicing process. I found the Event R402, is there possible to create more then one FI-CA document?
    Thanks for answers.
    Vlado

    Vlado:
    The R402 event only allows for one document.  You can populate the one document with multiple lines representing various scenarios if necessary.   If multiple docs are required, then you need to explore additional events - and likely need to create logic for reversal scenarios.  Implementing all of the posting in R402 enables standard reversal integration.
    regards,
    bill.

Maybe you are looking for