BAPI for clearing vendor invoice

Dear SAP Guru's,
                             I need to make clearing of the invoice made for particular vendors on daily basis, i have tried to look in the forum but i find regarding the posting of vendor invoice but ---
My requirement is to schedule a z-program which will automatically clear the vendor invoice. i am looking for any relevant BAPI that can be used for the said purpose.
Thanks in advance,
Rahul

Hi Rahul,
Hey did you get any BAPI to clear vendor invoice.
Regards
Neeraj Sharma

Similar Messages

  • BAPI - For Clearing Vendors by using Document Number in F-51.

    Hi One and All,
    As I have searched Forum before posting, I found few BAPI's and FM's which are not helpful for my requirement.
         a. 'BAPI_PAYM_ITEM_POST_CLEARING'
         b. 'POSTING_INTERFACE_CLEARING' and soon.
    I am Posting the Vendor Invoice as in F-43 Using 'BAPI_ACC_DOCUMENT_POST' , Now I want to Clear these generated Document no.s in F-51.
    By manually I can do it, But I need a BAPI / FM to do Clear a bunch of Vendor Document Numbers.
    Welcome for all suggestions.
    Regards,
    Suneel G

    Hi Suneel,
    The FM is the correct one,,,! But you have the Above Exception,,,
    Read the RFBIBL00 Documentation,,, Look how to pass the data in a Batch I/P....
    Now lets put a break there,,, The RFBIBL00 Still calls the FM 'POSTING_INTERFACE_CLEARING', By this, the error may(I am not sure, But there is a chance) trigger again...!
    The Alternate Solution may be, The FM 'POSTING_INTERFACE_CLEARING' calls
    Include LFIPIF00 And if yo utry to look into that include,
      FT-PROGRAM  = REP_NAME_A.
      FT-DYNPRO   = '0105'.
      FT-DYNBEGIN = 'X'.
      APPEND FT.
      IF NOT BELNS IS INITIAL.
        CLEAR FT.
        FT-FNAM     = 'RF05A-BELNS'.
        FT-FVAL     = BELNS.
        APPEND FT.
      ENDIF.
      IF NOT BUKRS IS INITIAL.
        CLEAR FT.
        FT-FNAM     = 'BKPF-BUKRS'.
        FT-FVAL     = BUKRS.
        APPEND FT.
      ENDIF.
      IF NOT GJAHS IS INITIAL.
        CLEAR FT.
        FT-FNAM     = 'RF05A-GJAHS'.
        FT-FVAL     = GJAHS.
        APPEND FT.
      ENDIF.
      IF NOT BUDAT IS INITIAL.
        CLEAR FT.
        FT-FNAM     = 'BSIS-BUDAT'.
        FT-FVAL     = BUDAT.
        APPEND FT.
      ENDIF.
      CLEAR FT.
      FT-FNAM     = 'BDC_OKCODE'.
      FT-FVAL     = '/11'.
      APPEND FT.
      PERFORM TRANSAKTION_BEENDEN USING P_NO_AUTH.
    I have seen the 100's of lines like the above code...! Which means You can simple write a BDC for your requirement...(Its just an alternate when no other option)
    Thanks & regards,
    Dileep .C

  • BAPI for Clear Vendor (F-44 transaction)

    Hello,
    I have two documents. One is of Z5 document type(MM Invoice Reversal) and other is of RE document type (Invoice - gross). I clear them using F-44 (Clear Vendor Transaction). Is their any BAPI through which i carry out the same process as it is in F-44 transaction >?
    Thanks,
    Shehryar.
    Edited by: shehryar dahar on Sep 17, 2008 7:08 AM

    hii
    try using  BAPI_PAYIT_POST_CLEARING 
    regards
    twinkal

  • Bapi for clearing reversed items of invoices

    Hi,
    Is there a BAPI for clearing invoice against its reversed item and down payment against its invoice.
    I know we can do it using BDC but was looking for a BAPI.
    I greatly appreciate feedback.

    Hi,
        Use this
    BAPI_PAYIT_POST_CLEARING
    <b>Reward points</b>
    Regards

  • How do i check ensure that SAP checks for duplicate vendor invoice numbers?

    Hi Experts -
    How do I verify that SAP checks for duplicate vendor invoice numbers and blocks duplicate invoices from being paid?
    Thanks!

    Hi
    Pls chek the settigs by following the path
    IMG>Materials Management>Logistics Invoice Verification>Incoming Invoice>Set Check for Duplicate Invoice.
    Here you make the settings for creating a duplicate invoice check.
    Moreever, in the vendor master, you need to tick the check box for duplicate invoice check.
    I suggest you search the Forums before posting a query. There are lots of postings on this issue.
    Thanks & regards
    Sanil K Bhandari

  • BAPI for clear open item in FI module

    Hiu2026
    Anybody knows if there is a BAPI for clear open item in FI module?
    Manually we can use F-03 or F-04 for clearing open item.

    http://www.se80.co.uk/sapfms/b/bapi/bapi_ctraccontractaccount_clr.htm

  • ARIBA Integration with SAP (based in iDoc interchange) with deviating "remit-to" addresses for incoming vendor invoices

    Hi,
    We are currently trying to implement our ARIBA interface for incoming vendor invoices (purchase order based invoice verifiction) and facing currently some major challanges of a business requirements to interface alternative "payment remit to" addresses of vendor invoices. Our current setting consider the data exchange via iDocs into our SAP system, but unfortunately we are unable to process any deviating "remit to" address in the incoming document. As an ARIBA private ID we indicated the combination of "company code" with "vendor number". Can anybody advise how other companies resolved this challange? Thanks for your input, Jakob Kistler

    Hi,
          I am sending only answers.If wrong pls correct me.
    1.A,C
    2.C
    3.A,B,D,E
    4.ACE
    5.ABCD
    6.B
    7.BE
    8.ALL
    9.ABC
    10.ABCDE
    11.A
    12.ABCD
    13.E
    14.BC
    15.ALL
    16.ABC
    17.ACD
    18.AC
    19.B
    20.ACDE
    21.DE
    22.B
    23.ABCD
    24.CD
    25.C
    26.BDE
    27.BCE
    28.C
    29.CDE
    30.BCDE
    31.BDE
    32.A
    33.B
    34.ALL
    35.ABC
    36.ALL
    37.ABC
    38.A
    39.ACDE
    40.AB
    41.ABE
    42.CD
    43.ABCE
    44.CD
    45.ACDE
    46.BD
    47.AC
    48.CD
                         I have sent answers for the questions.If any answer is wrong pls correct me.
    Assign points if useful
    Regards,
    S.VINAYA KUMAR

  • BAPI for MIRO Incoming Invoice

    Hi All,
    I want BAPI for MIRO Posting ie for Incoming Invoice.
    .here MIRO is being done with Delivery Note number
    Following are the necessary entries for MIRO Posting
    Invoice date
    Reference
    Amount
    Calculate Tax
    Tax amount
    Delivery Note
    Vednor
    Business Area
    Please suggest me suitable BAPI for MIRO Incoming Invoice Posting with sample code.
    immediately.Please give some sample code for my reference.
    Rewards will be given.
    Regards.
    Ulhas

    Hi,
    BAPI for Invoice Verification: Post Invoice
    BAPI_INCOMINGINVOICE_CREATE
    The method can only carry out your function if no error messages were
    generated in the Return table. This is the case if the header data and
    all the items were processed successfully.
    Transaction control is not implemented. The calling program therefore
    has to execute the Commit Work itself after this method has been
    successfully called (in other words, if no errors were reported in the
    Return parameter).

  • Making Payment for Parked Vendor Invoice

    Hi All
    Is it possible to make payment for parked vendor invoice?
    if yes,please let me know how does it possible and what are the required configuration?
    Thanks in Advance
    Regards
    Praveen P C
    Edited by: Praveen Chirakkel on Apr 5, 2011 5:44 AM

    Hi,
    An Invoice in the Parked status cannot be paid.. it needs to be posted in the system in order to be paid.
    Post the Parked Invoice as mentioned by Atif here and then you can make Payment.
    Regards,
    SAPFICO

  • Who does know which bapi for Clearing,sucu as F-32 F-44  ,thank you!

    i want to find a bapi for Clearing,such as F-32 F-44 ,
    but i can't find it ,i don't kown whether have such bapi,
    who can tell me ,thank you very much!

    You can use the report RFBIBL00.
    Please read the documentation of this report to have a better idea.
    Generally, this report can post all type of FI douments like document creation, clearing of the documents. So, I think this will solve your purpose.
    Regards,
    Naimesh Patel

  • Mandatory Segments / Fields for Incoming Vendor Invoice for PO

    Hello,
               I have a Requirement to develop an Inbound Interface for Incoming Vendor Invoice with Reference to a PO. If I have to build an IDoc using WE19 tool, what are the Minimum Mandatory Segments / Fields that I need to populate in order to Post the Invoice successfully for the PO? Please let me know along with the Qualifiers.
    Thank You,
    Venkata Phani Prasad K

    Managed to Find the Necessary Segments along with the Qualifiers required to Post the Incoming Invoice. Closing the Thread.

  • Seeking BAPI to Park Vendor Invoice

    I am searching a BAPI to park vendor invoice?
    I tried to execute FV60 to park vendor invoice but the "trading partner" field is not populated. I think this auto-populated by the system once you tick save complete button.

    look <a href="http://forums.sdn.sap.com/click.jspa?searchID=37701593&messageID=8472358">here</a>
    A.

  • BAPI for Non PO Invoice posting?

    Hi Experts,
       I am posting invoices using BAPI_INCOMINGINVOICE_CREATE. These invoices have POs associated with the Item Details. This is working fine for me.
       I want to post invoices that DO NOT have a PO. Can someone please point me to a BAPI that is similar to BAPI_INCOMINGINVOICE_CREATE in functionality but does not require a PO?
    Thanks,
    - Vik.

    I too was looking for a BAPI for non PO invoice posting.  I found that the above counsel did not work for me.  Instead of creating a buyside invoice, it just created a journal entry.  What DID work for me was BAPI_ACC_INVOICE_RECEIPT_POST.
    Below, I am pasteing the subroutines that I created for its calling.  In it, for my purposes, only the invoice amount is parameter driven.  My needs allowed all other BAPI parameters to stay the same.
    I hope that this helps someone.
    Donald Nigro
    FORM create_buyside_invoice USING value(invoice_amt) TYPE p.
      DATA:
        gd_documentheader  LIKE bapiache03,
        it_accountpayable  LIKE bapiacap03 OCCURS 0 WITH HEADER LINE,
        it_accountgl       LIKE bapiacgl03 OCCURS 0 WITH HEADER LINE,
        it_accounttax      LIKE bapiactx01 OCCURS 0 WITH HEADER LINE,
        it_currencyamount  LIKE bapiaccr01 OCCURS 0 WITH HEADER LINE,
        it_return          LIKE bapiret2   OCCURS 0 WITH HEADER LINE.
      DATA:
      wa_obj_key(20)  TYPE c.
    fill header
      gd_documentheader-username   =  sy-uname.
      gd_documentheader-header_txt = 'E-Payables Invoice'.
      gd_documentheader-comp_code  = 'EAUS'.
      gd_documentheader-doc_date   =  sy-datum.
      gd_documentheader-pstng_date =  sy-datum.
      gd_documentheader-doc_type   = 'KR'.
      CONCATENATE 'BOA' sy-datum sy-uzeit(4)
                   INTO gd_documentheader-ref_doc_no.
    fill AP (line 1)
      it_accountpayable-itemno_acc = 1.
      IF sy-sysid(3) = 'DEV'.
        it_accountpayable-vendor_no  = '0600013370'.
      ELSE.
        it_accountpayable-vendor_no  = '0600009022'.
      ENDIF.
      APPEND it_accountpayable.
    fill GL (line 2)
      it_accountgl-itemno_acc      =  2.
      it_accountgl-gl_account      = '0001112227'.
      it_accountgl-comp_code       = 'EAUS'.
      it_accountgl-pstng_date      =  sy-datum.
      it_accountgl-fisc_year       =  sy-datum(4).
      it_accountgl-fis_period      =  sy-datum+4(2).
      it_accountgl-bus_area        = '0100'.
      APPEND it_accountgl.
    fill currency ammounts for lines 1 & 2
      it_currencyamount-currency    = 'USD'.
      it_currencyamount-itemno_acc  = 1.
      it_currencyamount-amt_doccur  = invoice_amt * -100.
      APPEND it_currencyamount.
      it_currencyamount-itemno_acc  = 2.
      it_currencyamount-amt_doccur  = invoice_amt *  100..
      APPEND it_currencyamount.
      CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_CHECK'
           EXPORTING
                documentheader = gd_documentheader
           TABLES
                accountpayable = it_accountpayable
                accountgl      = it_accountgl
                accounttax     = it_accounttax
                currencyamount = it_currencyamount
                return         = it_return.
      PERFORM invoice_error_check TABLES it_return.
      CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
           EXPORTING
                documentheader = gd_documentheader
           IMPORTING
                obj_key        = wa_obj_key
           TABLES
                accountpayable = it_accountpayable
                accountgl      = it_accountgl
                accounttax     = it_accounttax
                currencyamount = it_currencyamount
                return         = it_return.
      PERFORM invoice_error_check TABLES it_return.
      COMMIT WORK.
      WRITE: / 'ePayables Bank of America'.
      WRITE: / '  Invoice Document Number:',
                  wa_obj_key(10).
    ENDFORM.
         Form  invoice_error_check
    FORM invoice_error_check TABLES it_return STRUCTURE bapiret2.
      DATA:
      bapi_success(5) TYPE c VALUE 'false'.
      LOOP AT it_return.
        IF it_return-type = 'S' AND bapi_success = 'false'.
          bapi_success = 'true'.
        ENDIF.
      ENDLOOP.
      IF bapi_success = 'false'.
        WRITE: / 'Unable to post a buyside invoice with',
                 'BAPI_ACC_INVOICE_RECEIPT_POST'.
        LOOP AT it_return.
          WRITE: / 'Message Type:   ', it_return-type,
                 / 'Message Class:  ', it_return-id,
                 / 'Message Number: ', it_return-number,
                 / 'Message:        ', (80) it_return-message.
        ENDLOOP.
        ROLLBACK WORK.
        STOP.
      ENDIF.
    ENDFORM.

  • BAPI for post held invoice ?

    Hi,
    Is there a BAPI for posting held invoices?
    I have to post held invoices in background....I hope there is other option, then CALL TRANSACTION.
    I'm on release R/3 4.70x200, but it seems for BUS2081/IncomingInvoice there is no relevant BAPI.
    Method Edit was also implemented via transaction MIR4.
    OSS note 381593 mention that batch input problems with invoice related transactions. MIR4 is only mentioned as keyword, however I might have problems with it later on.
    Any comment?
    Can anyone on higher release check if there is relevant BAPI for this?
    Thanks in advance,
    Peter

    Hi Peter,
    You can use the following addition in the fm MRM_PARKED_INVOICE_POST call..
    CALL FUNCTION 'MRM_PARKED_INVOICE_POST'
    EXCEPTIONS
      error_message = 1.
    IF sy-subrc NE 0.
    ****Use syst message variables here..
    ENDIF.
    This will catch the error messages that terminate the process..
    Hope this helps..
    Sri

  • BAPI required for incoming vendor invoice (without PO)

    Hi,
    Which BAPI can be used to post a "vendor invoice" ie.like a utility bill where there is no PO or GR ?
    The few BAPI's that I have searched and obtained is:
    1. BAPI_INCOMINGINVOICE_CREATE
    2. BAPI_ACC_INVOICE_RECEIPT_POST
    Our exact requirement is to have a BAPI which can take the following fields as input:
    GL Account
    Cost Center
    WBS element
    Material No
    Customer
    Tax Code
    Trade Partner
    Customer group
    And give the following data as response
    Verification number in SAP
    Payment status
    Vendor master data
    Kindly help me to find the correct BAPI.
    Greatly appreciate your help.
    Thanks,
    John

    Hi,
    When we use BAPI_ACC_INVOICE_RECEIPT_POST for posting an invoice without a PO, we are facing major issues.
    We have to input vendor account number and the amount. This should be entered in 'ACCOUNTPAYABLE'.
    Even though there is the field 'VENDOR_NO' for entering the vendor number, there is no field for entering the amount !!.
    Kindly help me to identify where I should input vendor amount as input (either in 'ACCOUNTPAYABLE' or elsewhere).
    Also, I am entering GL account number in field 'GL_ACCOUNT' in the segment 'ACCOUNTGL'. But there is not field to enter the amount.
    Kindly help me to identify where I should input GL account amount as input (either in 'ACCOUNTGL' or elsewhere).
    Thanks,
    John

Maybe you are looking for