R12 apply receipt on several debit item of one customer automatically

Dear all,
The case is that,
I have 3 invoices of customer A, $100, $200, $300.
and now customer A pays me CASH of $450 as a whole.
So now I would like to create cash receipt in R12 AR receivable application,
and then apply this receipt amount on customer A's invoices. That means first applying on $100, then $200 and then $150 out of the $300 invoice.
Is it possible with using the AR_RECEIPT_API_PUB API? If so, how I can use it for such requirement? If not, how can I do this?
Thank you so much ~!

Duplicate thread (please post only once).
AR_RECEIPT_API_PUB.APPLY apply one receipt amount to invoices of 1 customer
Thanks!

Similar Messages

  • Transfering items from one customer to another customer

    Hi Gurus,
    I have a requirement where we have to transfer the items from one customer to another customer in the same company code.
    We should also be clearing the items from the old customer as part of the transfer.
    Is there a way/transaction in ECC 6.0 to achieve this.
    This is not a one-time transfer and the business would like the option of doing it every period (on a case to case basis.) so any standard SAP (transaction) way of doing it would be preferred.
    Best Regards
    ew

    Dear,
    SAP provides you F-51 t code to post transaction with clearing.
    Select radio button transfer posting with clearing and press choose open item button. Give customer name whose blance is to transferred and account key as D. Press process open item and in next screen select line items which needs to be posted. Proceed further give other customer number with posting 01 and do the transfer. Hope it will help
    Regards

  • Have a multirecord block with several unbound items, filled by calling just

    In oracle forms I have a form with a multi-record block, with several unbound items.
    One of these unbound items is a formula based item.
    The formula for this item fills the others unbound items.
    A procedure with several out parameters is called.
    E.g.
    :cmr.id (holding the unique id of a database record)
    :cmr.unbound_dummy, with formula f_fill_blk_unbound_items(:blk.id)
    :cmr.unbound_adres
    :cmr.unbound_contactperson
    function f_fill_blk_unbound_items(p_id in customers.id%type)
    return number
    is
    l_rc number;
    begin
    customer_pck.get_adres_and_contactperson
    (p_id => p_id --IN
    ,p_adres => :cmr.unbound_adres --OUT
    ,p_contactperson => :cmr.unbound_contactperson --OUT
    return(0);
    end;
    QUESTION: how can I do something similar in APEX; have a multirecord block with several unbound items, filled by calling just one procedure with several out parameters ?

    Thank you for your reply.
    I can write database functions as wrappers, one for each out parameter, and use these in a select.
    But:
    - having one procedure with several out parameters was done for performance reasons.
    - I want to leave my database as is, and just replace the client.
    Easy as this is using Oracle developer forms, I cannot find out how to do this in any of the APEX examples/documentation.

  • How to clear customer open items by another  customer open item

    Hi Guru's
    I have a problem, we need to assign  and clear the open items of one customer with another customer from same company code. is it possible?
    for eg: I have a customer X whose Debit balance is USD1000 and Cusomer Y is having Credit balance is 1000. Customer Y is agreed to settle the amount to customer X.
    since customers are not related , we dont maintain any relationship in SAP. how do we post and clear the open items?
    please let me know the procedure.
    regs
    kumar

    Hi,
    When the moment you finish choose open item for 1st customer and then you have to press F7 (Charge off diff.) new screen comes then press F6 (Choose Open Items), then enter required data for 2nd customer (such as customer code, doc number, etc). You can post partially, and residually for this clearing posting.
    Good luck.
    -dwih-

  • ABAP Question- line item transfer from one customer to another

    Dear SAP Guru's-
    I have a hot issue so any help would be greatly appreciate. 
    I have a customer that needs to move open A/R line items to one payer to another and without using F-30 or F-21, I recall seeing a program or t-code that gave one the ability to move the line items from one customer to another by selecting all line items or listing specific document numbers.  Does anyone know what I am talking about?
    If so, does anyone have any information that could share with me so that I can do it or any documentation to start me in the right direction?
    POINTS PROMISED

    Thank you Murali and Sunil
    These t-codes are not helpful and tideous if you have many like a 1000 line items.  In addition, you lose the history, the due date information and the document type change for invoices, etc. 
    I KNOW I saw something that moved all or selected items by document number from one customer to another.  It was called payer to payer transfer.  I cannot find any information on it.
    Any help or more input, more points awarded.
    THANKS!

  • Transfer Customer Open Item To another Customer

    Hi
    My  client wrongly uploaded some of the open item to a  customer  which are not belongs to him now my client wants to transfer open item of this customer to another customer line by line
    i know that from Tr. Code f-30 (Transfer with clearing ) we can transfer these line by line one by one  but it will consume hell of time and effort
    Can any one know any way through which we can transfer all open item from one customer to another customer line by line at a time
    I will appreciate your cooperation
    Thanks & Regards
    Kashif

    hi kashif,
    if u have abap team, then u can take thier help to solve this with a single shot.
    first we can select all those open items from database and keep them in one internal table, then we can uplaod these internal table records to the relavant customer via call transaction method or session method of BDC.
    there ends the matter.
    regards,
    seshu.

  • How to clear Vendor Debit item Through F110

    Hi All,
    I have a new requirement,
    I have a vendor for which transactions are posted in multiple currecies, like USD & EUR.
    I have 2 invoices for this vendor, one is in EUR, and other one is in USD, along with this i have a dabit balance for this vendor which generated through a credit note.
    now when iam trying to make the payament for this Vendor thrugh F110, and try to clear the debit amount also, the system is throwing one error message saying that "Enter incoming payment method for the debit amount "(whici is in USD)
    Please let me know how to solve this issue
    Thanks in advance

    Hi Robert,
    This is the content of SAP Note 164835 as follows:
    SAP Note 164835 - F110: Clearing credit memos and
    invoices
    Note Language: English Version: 14 Validity: Valid Since 29.05.2008
    Summary
    Symptom
    When you execute a payment run, you select credit memos and invoices for a
    customer or a vendor, but the system does not clear them together. In the
    payment (default) log, the system may generate the error message FZ
    347:"...none of the payment methods defined can be used for these items".
    Other terms
    F110, SAPF110S, clearing, FZ 347
    Reason and Prerequisites
    The items to be cleared do not match in particular fields (see below).
    Therefore, they are not paid together.
    You can set a payment method only for either outgoing or incoming payments.
    This explains the error message FZ 347.
    Example
    - Payment run is executed with payment method U for outgoing
    payment.
    - Credit memo is not cleared against invoice.
    - Invoice is paid with U.
    - Error message FZ 347 is generated for the credit memo.
    Solution
    The following explains in general how to clear, and describes some options
    for eliminating errors. The logic of the grouping in the payment program is
    independent of the type of the documents (for example, invoice, credit
    memo, down payment, cross-company code posting).
    General information
    o You can pay open items together using the automatic payment
    transactions, but only if certain fields are identical. The
    structure ZHLG1 specifies these fields. Important fields are:
    - Currency
    - Receiver
    - Payment method in the item
    - Bank details in the item
    o Whenever invoices and credit memos are in different payment groups,
    you cannot clear them together, even if the credit memo contains an
    invoice reference. If you set a payment group for a business
    27.12.2010 Page 2 of 4
    SAP Note 164835 - F110: Clearing credit memos and
    invoices
    partner (grouping key in the master record), then this is saved in
    structure ZHLG1 (field PAYGR). This way the invoice reference in
    the credit memo is overridden if they do not belong to the same
    payment group.
    o Invoice and credit memo must be due at the date of clearing. The
    due date of a credit memo without invoice reference (BSEG-REBZG) is
    the baseline date for payment (BSEG-ZFBDT), and for a credit memo
    with a fixed value date (BSEG-REBZG = 'V'), the due date is
    calculated in the same way as for an invoice. For credit memos with
    invoice reference, the due date of the invoice applies.
    o You cannot clear credit memos and invoices if the payment is
    supposed to be made using a payment method set for the POR
    procedure.
    Invoices are grouped with a POR number with the document number as
    an additional part of the grouping key so as to save the individual
    payment required for POR payment methods. Invoice-related credit
    memos for invoices with POR numbers receive the same grouping key
    as the related invoice. This ensures that the clearing is
    performed. However, you can no longer make payments using the POR
    payment method because this payment method allows only one item to
    be paid. However, you can make the payment using a different
    payment method.
    The POR procedure is only relevant for payment transactions with
    the Swiss Postal Service. Consequently, the relevant fields in the
    document and in the business partner master record are only of
    importance in Switzerland.
    What can you do?
    o Check the payment methods in the line items (field BSEG-ZLSCH). For
    clearing, these must be filled with the same value.
    o If you have entered a specific payment method for the items, then
    check Customizing for this payment method (transaction FBZP). The
    indicator "Single payment for marked item" should not be set there.
    o Check the field "Grouping key" in the master record of the business
    partner for payment transactions in the company code. If, for
    example, there is a grouping set according to assignment number,
    then the invoice and credit memo must have the same assignment
    number in the business partner line for clearing. Using transaction
    OBAP, you can define which fields of the key you want the system to
    use for grouping.
    o Check the indicator "Pay all items separately" (LFB1- or
    KNB1-XPORE) in the master record of the business partner for
    payment transactions in the company code. If this field is set,
    each open item for this business partner is paid separately.
    o If you have set the indicator "Separate payment for each Business
    Area" (T042-XGBTR) for the payment program (all company codes) in
    Customizing, check the business area in the items. They must match
    in this case.
    o Check the house bank in the line items (field BSEG-HBKID). The
    27.12.2010 Page 3 of 4
    SAP Note 164835 - F110: Clearing credit memos and
    invoices
    values must also match for clearing. A document without house bank
    can only be cleared with a document with house bank if this house
    bank is defined in the master record of the business partner
    (LFB1-HBKID or KNB1-HBKID).
    Make sure that the house bank from the payment program is filled
    for any reset clearing documents (see Note 159607).
    o Check the partner bank type in the line items (> Other data > field
    BSEG-BVTYP). These values must also match for clearing. You can
    specify the partner bank type in the master record of the business
    partner for general payment transactions.
    o For postings to one-time accounts, the address data is encoded and
    saved in field BSEC-EMPFG. The coding routine has been changed in
    Release 3.0E. Therefore, if you want to offset documents from an
    earlier release against documents from a later release (for
    example, after an upgrade) you need to check the contents of this
    field. These values must match for clearing. If this is not the
    case, the documents from the earlier release need to be reversed
    and be posted again. If reversal is not possible, contact SAP
    Support.
    o If you do not clear using a payment method set with POR procedure
    (with or without invoice reference in the credit memo), then check
    the contents of the fields BSEG-ESRNR, BSEG-ESRRE and BSEG-ESRPZ.
    They must not be filled if you do not enter a payment method in the
    item.
    o If you set a separate payment for each payment reference (for
    example separated by a CID number in Norway or reference number in
    Finland) (FBZP > Paying Company Codes > field T042B-XKIDS), then
    the items for a clearing in field BSEG-KIDNO must be the same. Note
    that the Customizing setting (T042B-XKIDS) is effective only if
    vendors are involved in the payments. When you separate the
    payments by payment reference, also take into account that no
    outgoing payment can be generated for a payment reference for which
    only credit memos exist.
    o Check the structure ZHLG1 in your system. If you have inserted
    additional fields there, the line items must also match in these
    fields. Contact your consultant.
    Header Data
    Release Status: Released for Customer
    Released on: 30.05.2008 10:55:56
    Master Language: German
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: FI-AP-AP-B Payment Progam / Payment transfer
    (DE, JP, US)
    Secondary Components:
    27.12.2010 Page 4 of 4
    SAP Note 164835 - F110: Clearing credit memos and
    invoices
    RE-RT Rental
    The Note is release-independent
    Related Notes
    Number Short Text
    1084325 FSCM-BD: Payment method for invoice-related credit memo II
    305414 F110: Unintelligible grouping of documents
    197626 Partner bank category in RAs and payment program
    159607 F110: Reset clearing is not offset against
    143311 F110:Incorr.due date for cred.memo w/ fix.val.date
    109233 F110: message FZ347 or several payment documents
    86578 Guidelines for F110 Payment Program (W/Check mgmt)
    33288 Payment methods for rental agreement
    22856 Customer credit memos are not paid
    20484 Payment program does not clear due items
    4904 Credit memo clearing or down pmnt clearing for POR

  • Apply Receipts and CM

    Hello all,
    We Have Oracle EBS R12.
    There are many invoices already entered to the application.
    There are more than 1000 Check (Receipts) already entered in the application, also there are 1000 Credit memo's Entered in the application.
    As there are no enough time to apply them one by one, Is there any thing (request, API ...) that can help in Applying those Receipts with invoices, and those
    Credit Memo's with invoices.
    As for applying receipts with invoice i tried the following procedure but it there are problem when applying 1 receipt with more than invoices, example
    receipt = 7000, invoice1=5000, invoice2= 3000. It apply 5000 with invoice1, but the remaining = 2000 doesn't apply with invoice2.
    CREATE OR REPLACE PROCEDURE xx_ar_receipt_apply_b (
    cr_rec_id IN NUMBER,
    rec_amount IN NUMBER,
    rec_no IN VARCHAR2,
    cus_id IN NUMBER
    AS
    l_return_status VARCHAR2 (1);
    l_installment NUMBER;
    l_msg_count NUMBER;
    l_msg_data VARCHAR2 (240);
    cash_receipt_id NUMBER;
    inv_no NUMBER;
    inv_date DATE;
    inv_amount NUMBER;
    new_amt NUMBER;
    rec_amt NUMBER;
    payment_id NUMBER;
    --- Define cursor c ---------
    CURSOR c
    IS
    SELECT ct.trx_number inv_no, rac.amount_due_remaining inv_amount,
    rac.payment_schedule_id payment_id, ct.trx_date inv_date,
    rac.terms_sequence_number l_installment
    FROM ar_payment_schedules_all rac, ra_customer_trx_all ct
    WHERE rac.customer_trx_id = ct.customer_trx_id
    AND ct.bill_to_customer_id = cus_id
    AND RAC.CLASS = 'INV'
    AND rac.amount_due_remaining > 0
    ORDER BY ct.trx_date, rac.payment_schedule_id;
    BEGIN
    DBMS_APPLICATION_INFO.set_client_info (102);
    fnd_global.apps_initialize (1374, 20678, 222);
    mo_global.init ('AR');
    mo_global.set_policy_context ('S', 102);
    new_amt := 1000;
    FOR REC_INV IN C
    LOOP
    IF new_amt > REC_INV.inv_amount
    THEN
    BEGIN
    ar_receipt_api_pub.APPLY
    (p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_true,
    p_commit => fnd_api.g_true,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    p_receipt_number => rec_no,
    p_cash_receipt_id => cr_rec_id,
    p_trx_number => REC_INV.inv_no,
    p_amount_applied => REC_INV.inv_amount,
    p_installment => REC_INV.l_installment,
    p_applied_payment_schedule_id => REC_INV.payment_id
    new_amt := new_amt - inv_amount;
    END;
    END IF;
    IF new_amt <= REC_INV.inv_amount
    THEN
    BEGIN
    ar_receipt_api_pub.APPLY
    (p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_true,
    p_commit => fnd_api.g_true,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    p_receipt_number => rec_no,
    p_cash_receipt_id => cr_rec_id,
    p_trx_number => REC_INV.inv_no,
    p_amount_applied => new_amt,
    p_installment => REC_INV.l_installment,
    p_applied_payment_schedule_id => REC_INV.payment_id
    new_amt := 0;
    END;
    END IF;
    IF new_amt = 0
    THEN
    EXIT;
    END IF;
    END LOOP;
    END LOOP;
    END IF;
    arp_standard.disable_debug;
    END;
    Thanks in advance.
    Edited by: 858923 on May 14, 2011 12:56 PM

    how do you create your receipt? if you are using lockbox, you can specify invoice number(s) so that the receipt will be applied to the invoices after creation.

  • IS Retail -  Automatic evaluated receipt settlement for return items

    Hello experts,
    I'm in a new instalation of SAP Retail (ERP 2005).
    Can anyone tell me how to use Automatic evaluated receipt settlement for return items?
    I know that i have to check this box in the vendor master.
    What i wanted to know is how does the system generates automatically debit notes to the vendor:
    - Aren´t debit notes used exclusevily for SD module? If so, do i need to create the vendor in the costumer master and associate it to the vendor master?
    - And after this, when i make the return to the vendor, the system generates the debit note automatically? how?
    - for this process what do i need to do in spro?
    Thank you in advance
    Answers will be rewarded
    Diogo

    Dear Diogo,
    You can use MRRL transaction code. Now, system will post credit memo
    Bye,
    Muralidhara

  • Combine selected Debit memo request Items into one invoice

    Hi
    The requirment is to select line items from multi debit memo request documents and combine those line items into one invoice.
    So far, our ABAP developer is designing an selection screen to list all the line items met certain criteria (e.g. certain material number, or certain service rendered dates etc.) from multi debit memo request.
    My challenge is how actually combine all these line items and push into one invoice ?
    I see that in VF01 SAP provides the capability to combine multi sales documents into one invoice processing . ( forget about the invoice split rule for now.) , but the item selection is greyed out.
    If I use VF06 do the collective billing, where to enter the line items ?
    Is there some user exit / BAPI can push line items from different sales document into one invoice creation ?
    Please let me know if my requirement is not clear.
    Thanks
    Edited by: Eric Y on Aug 25, 2008 6:04 AM

    Reply to R.Janakiraman:
    1.) As my understanding that debit memo is a billing invoice. Debit Memo Request is a sales doc. At least what I meant here debit memo and billing invoice is the same document.
    2.) We would like create the debit memo (invoice) through "SD" not FI.
    The challenge still exists, let me explain.
    Let's say we have 50 Debit Memo Request (DMR) Documents ready to bill the customer and each DMR has multi line items.
    e.g. DMR 001 has 20 line items and DMR 002 has 30 line items.
    The customer would like to take the 10 line items from DMR 001 and 20 line items from DMR 002 ( by certain selection criteria) to combine into one invoice.
    I was thinking use VF01 to combine the DMR 001 and 002 and let the program put billing block on those non-billed items, but in reality it doens't work; because some of the line items in the original DMR may have already been blocked the user. If the program put billing block, I can't tell whether the line item billing block is set originally by end user or the program.
    What I am trying to search for is the solution to take some of the line items from different DMRs and combine into one invoice, not combine several DMRs into one single invoice.
    Please help if there is any BAPI can do the job .
    Thank you, Ashish Mohapatra , I will ask our ABAP developer to investigate the bapi
    BAPI_SALESDOCU_CREATEFROMDATA1.
    SNavaneetha
    You said that "The line items being greyed out is due to the property of the Item category of the DMR". Does that mean I can config the item category to allow to be entered ? Which field in the Item category that I can do that ?
    Great thanks for all
    Edited by: Eric Y on Aug 30, 2008 7:13 PM

  • Doubt with applying receipt

    Hi all,
    When we try to apply receipt for our transactions using receipts window,we have the option to apply the receipt to Credit Memos,*Debit Memo's* and our Invoice. Now,my doubt is.Is there any way where we could limit this so that i can apply my receipt only to Debit Memos.
    Navigation:
    Receivables Manager-->receipts-->Receipts
    Before this i have created Credit Memo and Debit Memo for this Invoice.
    Hope i am clear enough.
    Any help is appreciated,
    Thanks in advance!!

    Hi.
    Well, one way of achieving you goal is to use Forms Personalization. Each time a user chooses a transaction different from Debit Memo to apply the receipt, raise an error message and clear the record from the form. This is only one approach. Forms Personalization allow you to use different ways of achiving the same result using different methods.
    Octavio

  • Clearing of open items from one Bank Account to one or several customer A/C

    The requirement herein is to do the Posting & clearing of open items from one Bank Account to one or several customer Accounts. We will have to use the Standard program RFBIBL00 to achieve this because the program can do the posting and clearing of open items. I know that we will have to use the structures BSELK (Header) & BSELP (item) to get the clearing functionality as well. Now the question is to which field we will map the Bank A/C No. and the Customer Clearing A/C. I need help on mapping the data to correct structure fields. I thought about it and I think the data should be arranged like the following:
    BGR00- Session Header
    BBKPF- Header
    BBSEG- Doc. data (Bank Account BBSEG-BANKN )----Can you confirm ??
    BSELK-AGKON (Customer A/C- open item/ Header )
    BSELP - Line Item
    BSELK-AGKON (Customer A/C- open item/ Header )
    BSELP - Line Item
    BSELK-AGKON (Customer A/C- open item/ Header )
    BSELP - Line Item
    I know that the clearing can happen from one Bank A/C to several customer accounts. I am thinking on building up data in this format & then writing it to a file to sumbit the file data to RFBIBL00. Can anybody help me in building up the data. Kindly provide your helpful insights. I want to be sure if this is correct or not ?? One more question how to fill the BSELP structure ??

    Solved Through forum

  • Applied Receipts Register Report in AR - RXi Report

    Hi Fincon,
    I have a client requirement wherein we need to customize the Applied Receipts register report in AR. After analyzing program andd the executable we discovered that the report is an RXi report spawned from a plsql program.
    From the SQL Trace analysis, we found that the report is not doing anything different from what a normal rdf report would do. Can someone throw me any lights on why is this report an RXi report? Has anybody done any customizations on this report? Were there any challenges in customizing this report? How was the customization of this RXi report done?
    Thanks.
    Srini.

    This has to be customized using :Oracle Financials RXi Reports Administration Tool, but it's not that flexible.
    http://download-east.oracle.com/docs/cd/B25516_11/current/acrobat/115finrxi.pdf

  • Goods Receipt for packaging material - Item cat. ELP

    Hi expert,
    I am facing a problem regarding receive Packaging Material Item i MIGO via inbound. Problem detail as below hope you can advise me:
    1. I create PO order 1pc of Throttle
    2. In Inbound Delivery Screen I do Packing for Throttle by using Handling Unit Function, packaging Material is Carton Box.
    3. After Pack complete, Item for packaging material is auto generated in inbound screen:
    - Item Cat. of Throttle = ELN
    - Item Cat. of Carton Box (Packaging Material) = ELP
    4. When i do MIGO via Inbound: there is only 1 item for Throttle is displayed. How to do Goods Receipt for Carton Box item? Do i Miss any setting for that?
    Thanks.

    i thnk u sould maintain material master with two units one is throttle and second is cartoon.
    u shud maintain that how many throttle is equal to 1 cartoon.
    this u can maintain directlt in PO (In condition tab, with these two field : OUN and UN). in PO as a OUN ,give throttle n UN , give cartoon in item overview as well as condition tab.
    and during delivery change the unit in cartoon. then while migo, material will show in cartoon.
    hope it will be helpful.
    Thanks
    Nisha

  • Need to apply a separate credit line item in Invoice doc.

    Dear SAP experts,
    Is it possible to apply a separate credit line item on a invoice document to reduce the net amount billed against that invoice and it has to show in invoice ouput form.
    Thanks and regards,
    Hari Challa.

    Hi,
    Yes it is possible.create a condition type of discount with access sequence containing Billing document type and say sales org.
    And in copy control maintain the pricing type to redertermine pricing.So this condition type will get executed in billing document only and not in sales order.
    Reward points if useful
    Regards,
    Amrish Purohit

Maybe you are looking for

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi, How to add the search help (Match code object) for the requisitioner field in transaction ME51N. Please  do the needful to me. Regards Rajesh

  • Event handling in multi state application

    Hi I am developing a flex application. I have a problem with event handling. my application has a common header with 4 buttons like edit,save,new and cancel. I created a header component with these 4 buttons.I attached click events to these buttons b

  • T400 dual monitors to standard display switch?

    Hello... I have a T400 I bought in August 2009 running Windows XP. When I am home, I use my T400 in conjunction with a second dual display that acts as an extended desktop. I also like to take the laptop with me. The problem is that every time I retu

  • How to get data from PostgresSQL to Oracle 11g

    I have a general idea on the topic but need more information on the procedure to get data from Postgres (version 8.2 on Linux) database to Oracle 11g (on AIX Unix). Thanks very much in advance!

  • Email in Batch Job

    Hello All, I need to set up a batch job and this would run daily. I can do this in SM36 and have done it. But the question is I have couple of email ID's from the company I am working in and some email ID's for a different company. The concern is whe