Service PO Invoice posting through BAPI

Hi Gurus,
Please help me to resolve the issue explained below:
We are using a third party tool for scanning incoming invoices from vendor.The scanned invoice details pass though SAP Interface and with the help of standard BAPI_INCOMINGINVOICE_CREATE in SAP ECC, invoices are automatically posted.
Till now , we only had material/Goods PO invoices which use to get posted with quantity blocks before GR done.In future,SAP PM
module will be implemented and service PO invoices will also be posted using this process.We have following issues for posting
of invoices for service items:
1.For service PO Invoice to get posted though BAPI, service entry number is mandatory without which system does not allow to post the invoices that is we can not have quantity blocked invoices if services have not been entered for service items.Even invoices can not be parked without service entry sheet no. for service items using BAPI.Please advise how this scenario can be handled.
2.Second scenario is that if a particular service line has multiple service entry sheet numbers then which service entry sheet number should system use to post the invoice?
Kindly advise.
Thanks & Regards,
Niti

Dear Vipin,
May I assume the following scenario. When you post an invoice manually and there's a small difference between the vendor amount and the total of the suggested amounts on items (plus VAT), you just adjust one of the items or enter unplanned delivery costs and this way avoid the disbalance.
However, when you post the invoice automatically through BAPI, no such adjustment is made and the system tries to post the difference to the account defined behind the account key DIF. For this posting the system shall assign a tax code. One way to define this code is to assign the default tax codes in IMG for IV -> Incoming Invoice -> Maintain Default Values for Tax Codes.
Or just make sure you define all the item amounts explicitly in the BAPI and there's no disbalance.
BR
Raf

Similar Messages

  • FI posting through BAPI

    Hi experts
    Can i have the sample program for invoice posting through bapi ,

    hi,
    Please refer this link
    BAPI_ACC_INVOICE_RECEIPT_POST Error
    or
    search on this
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=invoicepostingthrough+bapi&cat=sdn_all
    thanks

  • Configuring double invoice check for vendor invoices posted through FB60

    Dear all
    Can anyone tell me how to configure double invoice check for vendor invoices posted through FB60.
    for miro documents..we can use Tcode OMRDC
    Is there any such tcode which can be used for configuring fi invoices for double checking..
    regards
    Expertia

    Dear Expertia,
    In FI,when checking for duplicated invoices, the system compares the
    following :Vendor, currency, company code, gross amount of the invoice,
    reference document number and Invoice document date.
    SAP Note 305201 clarifies this in a more details; please read it.
    The following fields must be identical for Duplicate invoice check
         Company code                              (BUKRS)
         Vendor number                             (LIFNR)
         Currency                                  (WAERS)
         Reference number                          (XBLNR)
         Amount in document currency               (WRBTR)
         Document date                             (BLDAT)
    If the document is having any one of the above filed different then the
    system does not consider it as a duplicate invoice.
    Also It will check duplicate invoice check in vendor master data and
    in posting key is there check box selected for sales related
    The setting you making in OMRDC i.e Materials management->Logistics
    Invoice Verification->Incoming Invoice ->Set Check for Duplicate
    Invoices is only valid for MM and not  FI invoices posted via FB60/FB65
    You should check the F1 help on field "Chk double inv." (LFB1-REPRF)
    in the relevant vendor master record (transaction FK03).
    Please also check, that message F5 117 has been set correctly in the
    IMG using this path:
    Financial Accounting -> Financial Accounting Global Settings ->
    Document -> Default Values for Document Processing -> Change Message
    Control for Document Control For Document Processing
    Finally & mainly, go to the relevant posting key is defined as sales
    related in transaction OB41. You have to flag this field if the
    duplicate invoice check should work.
    I hope this helps You.
    mauri

  • Vendor invoice posting through IDOC - Cost center determination (OBCC)

    Dear experts
    As per SAP Notes 31126 and 137686 I have maintain all configuration settings for "Automatic posting of vendor invoice from Billing" in different company codes.
    It is working perfectly the way we need,
    we need help in Transaction Code "OBCC - Assign Additonal Accounts Assignments for EDI Procedure" here system asks for "Account Assignment ID" for determination of cost center for invoice flowing through IDOC.
    I would like to know, what values I can give here so that system will determine the relvant cost center in KR document posted in FI.
    SAP Note says minimum entry here as " * "
    At present system is determining only one cost center for all services mapped.
    Thanks advance for the help.
    Best regards
    S. Habib Pasha.

    Hi all
    request your help on above issue.
    reg
    S HABIB PASHA

  • Invoices posted through MIRO

    Hello All
    Does anyone know which table the documents posted through MIRO are held in?. I am particulery interested in the payment block flag. I have an invoice where it differs from the finance document
    I have already check tables BSIK and BSAK
    Thanks
    Prakash

    Hi Prakash,
    The Accounting document of the invoice created thru MIRO will be saved in BKPF and BSEG.
    AS

  • Workflow not starting for invoice posting through MIRO...

    Hi,
    I have a blocked invoice workflow in Release status. The business object BUS2081 is used and POSTED event is activated in the workflow.
    Hello Gurus,
    Now when I try to post invoice through MIRO, the workflow does not start. I go to top called service for object icon and click on Workflow, but I cannot see the workflow started.
    Please help.
    Regards,
    Rajesh.

    Hi
    This was already discussed. Check in SWEL Tcode whether the Posted Event is getting triggered or not. If not then find out whether this event gets triggered automatically or through Coding. If thru coding check ur code. If thru config check ur config.
    Please close thread when this gets resolved

  • Service po-invoicing Posting key-WRX

    Hi i have a problem......when i post the service po for invoicing through MIRO. the system isthrowing an error that posting WRX for co cd.... is not possible.
    i would like to know that WRX is GR/GI posting but service po is nothing to do with GR
    kindly let me know where i have missed the point.
    Note: i was working in development client for testing & could do the posting of invoices without any problems......pls  HELP
    Regards
    Bheemasimha
    09900163939

    hi,
    GOTO OBYC  WRX is gr/ir clearing double click on that and for the valuation class assign the GL gr/ir clearing account ....
    then ur problem will be solved...
    if useful assign points...
    regards,
    santosh kumar

  • Problem in Payment term field in invoice posting through MIRO

    We are using BAPI_INCOMINGINVOICE_CREATE FM to post the invoice in MIRO transaction.
    We are passing the following things in the BAPI FM
         CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
            EXPORTING
              headerdata       = l_wa_header
            IMPORTING
              invoicedocnumber = l_v_belnr
            TABLES
              itemdata         = l_i_itemdata
              accountingdata   = l_i_accountingdata
              taxdata          = l_i_taxdata
              return           = l_i_msg.
    Its successfully creating the invoices but when we check in MIR4 for the created invoice all the fields are populated properly except the 'Pmnt terms' field in the Payment Tab.
    Note we are getting the Number of days in payment tab
    and even the Basic data tab has values like 'Paymt terms : 30 Days net'
    What could be the possible problem?
    Please help me ASAP.
    Thanks in advance.
    Bhaskar R

    Hi,
    Currently, we are also facing the same problem.
    The payment term are not getting populated after posting the invoice.
    Could you please help to overcome the issue.
    Thank you.
    Warm Regards,
    Kalyani

  • Invoice posting through SRM

    Dear Experts,
    Currently we are implementing SRM 5.0 classic scenario and backend system is ECC 6.0.
    We are posting invoice through SRM. Is there any possibilty when we post the invoice through SRM then instead of directly posting we should park the document.
    Can you please let me know how to control this report?
    Thanks and Regards,
    Ravi

    Hi,
    Thanks for your reply. I understand that we can activate the workflows if we post invoice by an employee.
    We are implementing MM-SUS scenario and in this case vendor will post the invoice through SUS. I wan to control this invoice in mm instead of posting directly it should park the invoice.
    Pleas let me know if anybody implements MM-SUS scenario with this scenario.
    Thanks and Regards,
    Ravi

  • Vendor Invoice posting through IDOC's

    Hi All,
    I had a requirement of Posting Vendor Invoices from a third party to R/3 through IDOC's. I want to know how can this be possible like what is the procedure to be followed? Any Inputs will be rewarded
    Regards
    Srikanth

    Hi Gurus,
    I have some documents which are not getting cleared and showing the followig error message Posting Only Possible With Zero Balance: corret your document
    even if the debit and credit are balancing
    I have checked the document it has value in Hard currecny( Local Currency 3) But the hard currency is deactivated in the Year 2007 only. so we are unable to clear the Openitems.
    Can you please help to resolve the issue
    Thanks In advance
    Anand.Kandarpa

  • Problem in  vendor invoice creation through BAPI

    I am trying to create vendor invoice using bapi_acc_document_post but what value have be passed to obj_key and obj_typ fields of header is not clear to me.
    regards,
    anu

    Hi,
    Don't pass any values to OBJ_TYPE,OBJ_KEY.  Many threads are available in SDN regarding this BAPI.
    Search SDN to get more details.
    Regards
    Vinod

  • Invoice posting through SUS

    Dear Team,
    We are implementing MM SUS scenario, currently we are using SRM 5.0 with ECC 6.0 as backend.
    We understand that the invoice submission by Vendor in SUS, will post invoice in ECC. However, we are looking for option of Parking the invoice in ECC on submission of Invoice by Vendor in SUS.
    Please advise us for necessary development
    Thank you,
    Regards,
    Ravi

    Hi,
    As a standard functionality, you can not park the document. however you can achieve this funcationality thorugh enhancement.
    As a standard function, system will post the document...but not parking
    Thnaks

  • Regarding invoice posting through IDOC

    Hi ,
    I have created an interface to create invoice data thru INVOIC idoc which is in EDI810 Format,  It is working fine but for payment ref field for vendor line item is
    not updating for all the line items , it is only updating for lost line item .Please help me out in this.
    Thnaks,
    Rambabu.

    thanks.

  • Problem while posting FI document through BAPI - Multiple Exchange Rates

    I am able to post FI document with multiple exchange rates for the same currency using FB01. But, when I try to post the same document details using BAPI_ACC_DOCUMENT_POST , it throws an error F5 701 - Inconsistent Rate for Currency XXX .
    How can we avoid this error while posting through BAPI ?
    Thanks & Regards,
    Nidhi

    Hi Nidhi,
    Value range
        The field CURR_TYPE (currency type) describes the role played by a
        currency in the SAP System.
        The currency type can take on the following values, for example:
        o   00      Transaction currency
        o   10      Company code currency
        o   20      Controlling area currency
        o   30      Group currency
        o   40      Hard currency
        o   50      Index-based currency
        o   60      Global company currency
        If an entry is not made in the field CURR_TYPE, the default value "00"
        is retained.
        If only one data record is transferred in transaction currency for each
        line item, the field CURR_TYPE does not need to be filled out. If
        several data records are transferred for each line item, the currency
        type must be entered for each record.
    If the parameter CurrencyAmount is filled with the currency fields,
    a complete document check including characteristics and value
    components of profitability analysis (CO-PA). Otherwise, the account
    assignment objects are checked.
    Check the BAPI documentation SE37.
    Regards,
    Boobalan Suburaj

  • F-28 Post incoming payment through BAPI with Clearing

    Hi Gurus
    I have a requirement to post Customer incoming payment through BAPI, I have seen some post where using
    BAPI_ACC_DOCUMENT_POST , we can post on account and later using f-32 we can clear. but there s some limitation doing that.
    In f-28 residual line items also got generated for short or excess payment. There is a problem for residual item posting also.
    If  residual amount belongs to more than one Profit Center then GL currency view and Local Currency view is also mismatching.
    Is is possible to clear customer line item also at the time of posting through BAPI.
    If any one implemented BAPI or any automatic process to post F-28 please share your experience and challenges.
    Thanks in advance
    Subrata Sarkar

    Hi
    There could be multiple approaches to this depending on what you want to achieve. If you just want to uplaod the documents, than the BAPI you mentioned could be the right approach. If however, you have fixed criterion for cash application for open items, you can probably look at a BDC to do the clearing.Once the BDC is recorded work with your ABAP colleague to write this up in a custom transaction. This is particualrly useful if you have more items to clear against an incoming payment.
    regards
    Sanil Bhandari

Maybe you are looking for