Need BAPI to clear a payment using invoice number.

Hi,
I have a requirement. Payments are done through a another system and after the payment  a inbound is send to SAP system with the invoice number. in SAP the paymenst should be updated to cleared using that inbound for that invoice number.
Is there any BAPI to do this.
Thanks
Sachin
Edited by: sachin Sambharia on May 24, 2011 12:05 PM

Hi,
Check- BAPI_ACC_INVOICE_RECEIPT_POST
Regards
Milind Sonalkar

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 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

  • Clearing partial payments using POSTING_INTERFACE_CLEARING

    Hi
    I'm trying to clear partial payment of a document number.
    I succeeded to clear full payment but not partial.
    where and how should  i send the partial amount??
    Thanks.

    you can only clear partial payments with tcode fb05 (Dynpro partial pmt.)
    A.

  • Using Invoice Number Series thru the  DI

    Hello,
       I am posting invoices to the system. Everything
       is working fine. Know we activated the Numbering Series for
       invoices, based on our branchs.
        As I know I need to send the series for the specific branch at the
        time of the invoice post, I crawled to the tables(nnm1 and others)
        to find the series.
        Know I am using the code below to post the series. But, Nothing
        is happening. I mean the serie is not used, instead it uses the default
        one.
                Documents  invoice = SAPConnector.GetInstance().GetInvoice();
                invoice.CardCode = BasicSAP.GetSAPCardCodeFromID(vo.CustomerID);
                invoice.CardName = GlobalData.GetInstance().GlobalCustomer.CustomerName;
                invoice.DocDate = vo.PostingDate.Value;
                invoice.DocDueDate = vo.DueDate.Value;
                invoice.TaxDate = vo.DocumentDate.Value;
                //invoice.SequenceCode =1;
                invoice.Series = 1;
             //invoice.SeriesString = GobalData.GetInstance().GlobalBranch.SAPInvoiceSeries;
    As you see I've tried with the sequence Code, the Series property, the Series String Property. But, nothing. The DI is not applying the series to the invoice.
    Am I missing something. ? Is there another way to force the use of series?
    Joao,

    Joao,
    Have a look at the "Order and Invoice" sample code that come with the SDK for the DI API as this will give you an example of auto incrementing the document number or entering your own.  The sample is located at ...
    ..\Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\05.OrderAndInvoice
    HTH,
    Eddy

  • AUC Down payment : Open invoice at year end

    Hi All
    For LATAM countries I need to complete the Down payment to AUC
    At present the configuration is working fine for the following
    Create Order type Z60 (KO01).Create distribution rule for the order.
    Create AUC (AS01) and assign order number (AS01) .Create receiving asset.
    Create purchase order for the asset and assign asset number created above to the PO (ME21N)
    Create Down payment request  (F-47) with the PO assignment
    Create Down payment F-48 with reference to the Down payment request sent earlier
    Create Goods Receipt (MIGO)
    Create Invoice Receipt (MIRO)
    Clear down payment against invoice.(F-54)
    ACC entry generated
    1
    Say 100 was paid as DP against the PO
    50 Bank Cr  100
    29M Vendor dpecial GL Dr 100
    70 AUC DP A/C Asset Dr 100
    50 AUC Clearing A/c Cr 100
    2
    Asset acquisiton invoice posting (ME21N)
    70 AUC Asset Dr 2000
    31 Vendor Cr 2000
    3.
    Clearing Vendor down payment (F-54) against invoice
    39A Vendor Special GL Cr 100
    26 Vendor Dr 100
    75 AUC down payment Cr 100
    40 AUC clearing GL Dr 100
    Now I need to test the scenario wherein the invoice is not recd at period end SAP proposes the creation of a reserves for expected invoice and reversal when the invoice is recd .I have already enabled the transaction types necessary for dp at period end but require assistance on what should be the next steps to test this
    Anyone having done a year end close with outstanding invoice....can you please send me the necessary steps for transfer ...is it manual..posting details would be great
    Regards

    Hi
    has anyone encountered a similar situation ?

  • Is Invoice Number a unique customer account number which can be linked to payments?

    Is Invoice Number a unique customer account number which can be linked to payments?

    Invoice number is the order invoice number. The customer has their own ID. IF that person makes more orders they get more order ID's and if they are purchased and completed transactions they get a another invoice number.
    Its not one invoice per customer if thats what you mean?

  • Urgent : Confirmation and invoice number of a line item of a Shopping cart

    I have developed an end to end report in SRM which gives us an end to end report of a shopping cart .
    I have got the Shopping Cart details using FM : BBP_PD_SC_GETDETAIL 
    for each item of the shopping cart in the table E_ITEM  , getting the Po number for it from  E_ITEM- BE_OBJECT_ID
    I called FM BBP_BE_PO_GETHISTORY to get the  Confirmation and Invoice number from  E_HEADER_REL of  BBP_BE_PO_GETHISTORY.
    But this function  module  gives me the confirmation and invoice number  of a particular purchase order and
    I am stuck here as I need to find out the confirmation and invoice number of  a line item and I am not finding a link  between them .
    I  tried using  FM BBP_PD_PO_GETDETAIL ,
                             BBP_PD_PO_GETLIST 
    BBP_PD_PO_DOC_FLOW  and other function modules also , however they give me the confirmation and invoices o a particular PO but I am not    able further drill down to find  confirmation and invoivce of a particular line item of a shopping cart …..
    Please let me know if there is a way to find this out ????
    Useful answers would be rewarded .
    Regards,
    Prabhu

    Hi All ,
    I was able to get a link using the function module  BBP_PD_SC_GETDETAIL . in the tables E_item  has fields BE_OBJ_ITEM  and the BE_OBJ_ITEM which give the po number and po line item number of each line item .
    then i used BBP_BE_PO_GETHISTORY Fm to get the history of the po and read the line item history based on the BE_OBJ_ITEM  no .
    Thanks to all .
    Prabhu

  • How to get the pop up of Down Payment Clearing while posting an Invoice using MIRO tcode

    Hi,
    I am having a requirement where I need to display the Down Payment Clearing pop up.
    Scenario: While posting an Invoice, user have to check whether he had done any downpayment for the Purchase Order, if so, then there will be a Information displayed saying "Down Payment for Purchase Order xxxxxxxxx exist". Then user  has to click the Down Payment Clearing button in the header level, then a pop up window is displayed.
    But now my requirement is when the Information Message is displayed, if I click enter button to goto next screen, that time itself I need to display the Down Payment Clearing pop window, rather than clicking the down payment clearing button in the header level.
    Kindly suggest any user exit or badi to do this customization
    Thanks & Regards,
    Karthikeyan G.

    Hi,
    At the time of entering the invoice from MIRO/FB60, system gives a pop-up for downpayment clearing. If you go in the help, the following thing is mentioned in the part Procedure.
    Procedure
    Check whether a transfer posting or a clearing of special G/L transactions (for example down payments) is necessary after you have posted the present document.
    Here SAP has clearly mentioned that we can do the clearing after posting of this document.
    Regards,
    Amit
    Edited by: amit kulkarni on Nov 13, 2009 2:53 PM

  • 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

  • Clear  Single  Payment for Two Invoices

    Hi All,
    I am working on lock box file.where iam geting the payment information of customer.File contains record type as '1'  '2'  '5'  '6'  '4'  '7'  '8' '9' .They already developed a program based on standard programs like :
      RFEBLB00    Import Lockbox File
      RFEBLB20    Lockbox: BAI Format Processing
      RFEBLB00    Main Lockbox Program
      RFEBBU01    Post Temporary Storage Data Call
      RFEBBU00    Update Account Statement/Check Deposit Transaction
    that program working for Single Payment for Single Invoice.It clear the invoice for Single Payment for Single Invoice.But when they are trying to run for  Single  Payment for Two Invoices then its not posting.How can i clear the  Single  Payment for Two Invoices .Is possible to clear the  Single  Payment for Two Invoices .Please do need ful help ASAP.
    Thanks

    If the lockbox file being processed by RFEBLB00 has more than one invoices for a single check (i.e. multiple type '4' records for a type '6' record), the payment doc created will be for both these invoices.
    Now when you clear the payment doc using FBRA or F.80, both these invoices will be cleared.

  • PO number and Invoice number paying the payments using FBZ1 tcode?

    Hi all,
    i developed a report for pending payments as per client requirement.
    i'm getting the records in my output.
    but some records are not getting the PO number,Invoice number and due date as per requirement.
    the client some times doing the payments using the FBZ1 tcode.
    That items not displayed in my report.
    so, plz give me suggestions for getting the above fields data in my report.
    Thanks,
    Srini

    Yes..But they need Po number, Invoice number and due date fields in the report
    and they need days of pending  payments also.
    That is the reason, They need z report
    Thanks,
    Srini

  • When we should use F-54 clear down payment

    Hi,
    When should I use T-code F-54 clear down payment? Is this necessary to perform this step?
    1. F-47 down payment request
    2. F-48 post down payment
    3. MIGO post good receipt of PO
    4. MIRO post vendor invoice
    5. F-58 payment by check (for outstanding balance)
    Any advice are welcome.
    Thanks,
    Wendy

    Dear Wendy,
    usually the steps to perform, when You're using DP,  are the following ones:
    1. F-47 Down payment request
    2. F110 Down payment
    3. FB60 Invoice
    4. F-54 Down payment Clearing
    By F-54 that is the downpayment clearing, the System will close the
    first line item of the downpaymewnt with PK 29A
    by the first line item of downpaymewnt clearing with PK 39A;
    and it opens a new vendor line item by the posting key 26.
    This means that from the financial point of view the system transforms
    the original downpaymen into a partial payment.
    Therefore the downpayment clearing has an economic value.
    It changes the Down payment (that is posted using a special G/L
    indicator) into a partial payment (that does not have any special
    G/L indicator).
    I hope this can help You.
    Mauri

  • UDF IN PAYMENTS IS NOT ACTIVE WHEN USING INVOICE+PAYMENT

    We have created some UDFs in Payment header. When we use Invoice + Payment, these UDFs are not active. How to update them at the same moment with invoice issuing and without going to Banking module?

    Hi,Marina Chuprys .
    I think you need to click  a check box in settings under  Setting User definde fields.
    See the Path Tools--->Userdefined fields>Settings-> Click on Active to your UDF.
    Regds,
    Samapth Kumar devunuri.

  • Clear Down payment against Vendor Invoice through Automatic Payment Program

    Hi
    We have to adjust vendor invoice against down payment (Advance) made through automatic payment program (F110)
    Please guide us is there any configuration require to consider Down payment transactions during F110 to clear against Vendor Invoice
    Ex :1. Advance payment made through special GL indicator 50K.
    2. Invoice document 75K posted in vendor.
    3. Now we have to clear down payment made (50K) against 75K through F110.
    Regards
    Sreenivasulu

    Hi srinivasulu,
    First u create down payment request through F-47 and define the spl gl indicator for down payment and assign the gl account for down payment gl code..
    Regards,
    Nivas

Maybe you are looking for

  • Why do i keep getting the "internet connection timeout" error message?

    i have been upgrading a few standard itunes albums to itunes plus versions through my 3g mobile broadband connection, while not exactly a fast process, it was working fine until i started to get a backlog of 3 or 4 albums which were waiting in a queu

  • Very Slow if the Mini is in Sleep Mode

    I used my Mac Mini as file server. I use a Powerbook G4 to access files that are store in the Mac Mini through a wireless network. Everything work great except I found the following issue: I noticed that when the Mini is not logged on by user AND whe

  • No Update OS 10.3.1 possible Q5 where I should take the space?

    After I read now a lot of post for the problems of the update, Im still not able to make it. I deleted all!!! my apps, what was not blocked by the system but its still telling me, that it need 781 MB more space! I have no data there, no pictures, no

  • Adobe Air Application Descriptor

    Installer file damaged.  I have installed and re-installed Adobe Air at least 10 times.  How do I correct the error?

  • How to install old version of Flash Player ActiveX

    Hello, I have to install Flash Player ActiveX 10.1.x or 10.3.x because it is required by my application. 11.x version I tried made issues. I downloaded various 10.x versions : they all told me that this version is not the newest => I can only quit th