Apply credit memo to invoice using API

Dear All ,
my question is how to apply a credit memo to invoice .
I want to make a credit memo then apply invoice to this credit memo , you can check this in the transaction form by creating a credit memo then check application from action menu then apply the invoice.
So i want to simulate this process using API.
i searche and f ound there is API called Ar_cm_application_pub.activity_application but it is not clear to me .
So if anyone know this API and how to use it and any example for it .
thanx in advance .

No Answer??!!!!

Similar Messages

  • API to Apply Credit Memo to a Deposit

    We have a requirement to apply the Credit Memo to an outstanding Deposit in Oracle Financials through a program. Can someone provide me
    1. An API to Create a Credit Memo
    2. An API to apply the Credit Memo to a Deposit
    Thanks
    Vasu

    Errors:   1) Your credit memo transaction can only credit an invoice or a debit memo line (1018863)
    My Question is - Can we apply the Credit Memo towards a deposit through Autoinvoice Program ? If yes, please let me know the columns that we need to populate in interface table.Please see these docs.
    Listing of AutoInvoice Error Messages and Troubleshooting Tips to Resolve each Error [ID 1138254.1]
    Credit Memo Errors During Autoinvoice Process - Invalid reference line attribute value (REFERENCE_LINE_ATTRIBUTE1-15) [ID 405445.1]
    Thanks,
    Hussein

  • Accounts Reveivable-Applying Credit Memo to and Outstanding invoice

    I have a remote client that can't apply a credit memo to an outstanding invoice in AR. They are on 12.1.3. This seems simple enough. Am I missing something.
    Thanks
    Rob

    Hi Rob,
    can you check with your client ...
    1) Whether this is happening for this particular customer or for every other customer ..
    2) Whether this is happening for this particular Invoice and credit memo combination or for all invoice and credit memo combinations ....
    3) Has it been working fine previously, is this the first time they are encountering this issue ...?
    4) Also did they receive any error message, whenn trying to apply credit memo to the Invoice ....
    5) How was the credit memo created in the Receivables module, was it interfaced from any third party source ..?
    The above would help us narrow down to the cause of the issue .....
    References:
    Transaction Workbench Error: Credit Memos cannot be Applied to Invoices Having Customer Names Exceeding 50 Characters [ID 1374662.1]
    Regards,
    Ivruksha

  • R12: Create on-account Credit Memo with invoicing and accounting rules

    In R12.1.2: when using the AR_INVOICE_API_PUB it seems to be impossible to create a on-account Credit Memo with invoicing and accounting rules. The next errors are returned by the API:
    - AR_INAPI_INV_RULE_NOT_REQUIRED
    Do not include an invoicing rule if the transaction type's class is Debit Memo or Credit Memo.
    - AR_INAPI_RULE_NOT_ALLOWED
    Do not enter an invoicing or accounting rule for on-account credit memos
    Please advice how to create on-account Credit Memo with invoicing and accounting rules using an API.
    Edited by: nl05517 on Jan 17, 2011 10:43 PM

    We will use the AR_CREDIT_MEMO_API_PUB api.

  • What is the difference between credit memo in invoice year and in next year

    Hi!
    I'm new here.I'm study SAP ERP.I don't know what is the difference between credit memo in invoice year and credit memo in next year (asset accounting).Can you show and give me an example, please!
    Thanks and best regards!
    Edited by: dinhtuan on Jun 28, 2010 3:10 PM

    Hi,
    Maybe have a look at the SAP Help for further information (http://help.sap.com) : e.g. 'Posting Credit Memos Integrated with Vendor'  or 'Posting a Credit Memo Offset Against a Clearing Account' 
    Transaction type 105 for credit memo on current acquisition made in the current year, posting key 75. Or transaction type 160 for credit memo on acquisitions from prior years. posting key 75.
    Note: determine if the asset was acquired in the current fiscal year or in a closed fiscal year (Display asset values).
    If the asset was acquired in a fiscal year that is now closed, correct the past depreciation using a write-up (in that case check out and refer to Posting Write-Ups).
    I hope this helps.
    Kind regards,
    Brigitte

  • Why need to link credit memo with invoice

    Hi, gurus,
    I received an AP invoice valued $2222 and then received a credit memo valued $222 about 1 week later.
    Now I need to make payment.
    I was told it's good to link credit memo with invoice by entering invoice number in the field "invoice reference" when creating credit memo. But I'm not sure why it's better because system will pick up both items anyway when i entered $ 2000 using f-53 to make outgoing payment.
    The only reason i can think of is this link will guarantee that credit memo has the same terms of payment with invoice.
    Is there any other good reasons? Any help will be appreciated.

    Dear,
    We need to link credit memo with invoice against for two obvious reasons
    1.. Future tracking of all credit memo i-e if we gave excess credits to vendor then it was against which invoice. This will create linkage and tracking of credit memo with invoice that will be shown in FBL1N .
    2..At the end of specific time period ,month or quarter ,its a normal practise to reconcile vendor balance as per SAP ledger to that of vendor's own book. At that time you will need credit memo track also that against which invoice was the credit given.
    This all can be achived after posting credit memo with refrence to invoice number. Audit perpective should also be kept in mind. Hope this will help you
    Regards

  • How to determine the credit memo and invoice in table RBKP?

    Hi all,
    I want to specific the credit Memo and invoice in the table RBKP using MIRO.
    Does any body know that any field can be specific that ?
    Regards,
    Luke

    Hello
    The Field  XRECH - Invoice will be populated with an "x" if it is an invoice else will be blank if it is a credit memo in the  table RBKP.
    Regards
    Anis

  • I need to append details of credit memo to invoice

    Hi,
    I have invoice  and credit memo for the same sales order.  I can be able to see invoice and credit memo with the help of tcode VF03. I want to append some details of main window of credit memo to invoice. Is it possible and if yes then please tell me how to do that  ?...I am using same smartform and print program for both invoice and credit memo.
    Thanks.

    Hi,
    I want to place 3-4 fields like quantity, unit rate, amount etc.,which displays on main window of CM to main window of invoice. Can you tell me how to do this ??.
    When i debug function module of the smartform i got bill type of CM as 'RE' and bill type of invoice as 'F2'.
    Thanks.

  • Create a Credit Memo from invoice  (Sales)

    Hi
    How Can I Create a Credit Memo from invoice (Sales)?
    Thanks

    Hi Joe,
    Check our SDK sample C:\Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\05.OrderAndInvoice to understand the procedure. You will have to create your own sample by using Invoice and Creditmemo you just have to instantiate your document object as oCreditNotes.
    Check the documentation as well of the Document Object.
    Regards,
    Felipe

  • Create a Credit Memo from invoice

    Hi,
    When I Create a Credit Memo from invoice, I get the next error : -5002 , "-"
    What is that?
    regards

    Hi Joe,
    I have tested your code and it seems to me that it is working fine. Make sure that the numbers of the document that you are using is correct and that you are doing it for the same business partner. Try doing the exact same thing in SBO. Please remember that you can have different document numbers and document entries for every document. The BaseEntry refers to the DocEntry field in the OINV table and not the DocNum field. The DocNum field is the one you see on screen in top right corner of AR Invoice screen.
    Hope it helps,
    Adele
    PS: Sorry for previous text that was in this message. I had it all wrong
    Message was edited by: Adele le Roux

  • Credit Memo Without Invoice

    Hi friends.
    Is their Any BAPI OR FM To Create Credit Memo Without Invoice.
    Or if We can do it By Any Other Method Then Please Tell Me.
    Thanks.

    Hi swapnil,
    for that u wud 1st need to create a settlement order i.e SO & in reference to that u wud be able to create a credit memo.
    try FM BAPI_SALESORDER_CREATEFROMDATA, BAPI_SALESORDER_CHANGE.
    Going further u can use BAPI_BILLINGDOC_CREATEFROMDATA or BAPI_BILLINGDOC_CREATEMULTIPLE.
    This is what i'd done for my requirement, not sure if this helps u.
    but from what i understand credit memo is a billing doc/invoice itself.
    Regards,
    Amit

  • The Credit Memo & Original Invoice do not have the same net due date.

    The issue is that for returns of goods from the customer, the credit memo that gets created does not have the same net due date as the original invoice.  To accomplish this, in the credit memo, the indicator "V" must be entered in the credit memo field BSEG-REBZG "Invoice Ref".  This will make the credit memo due based on the payment terms. In the OSS message 50388, SAP identifies a user exit in SDVFX008 which will fill field BSEG-REBZG with the value "V".  Doing this should automatically make the credit memo for returns due the same date as the original invoice.SAP says to do the following:
    The function module called by SDVFX008 is EXIT_SAPLV60B_008
    Make the ABAP coding in include program ZXVVFU08.
    Populate field ACCIT-REBZG with "V"
    Despite doing this , we couldnt get the same net due date as the credit memo & Original invoice.
    Can anyone help? POINTS WILL BE GIVEN.
    Thanks
    Anita

    Hi Anitha,
    Does the value 'V' gets paopulated?.
    I mean to ask whether the program goes into the user exit logic?.
    Please let me know.
    Thank you.
    Regards,
    Karun M

  • Subtracting a Credit Memo from Invoice

    I have looked all over the forum for the right answer and cant locate what I need.
    I am witting a Royalty Report and need to find the best way to subtract credit memo's from invoices.
    I know that the OINV.DocEntry = RIN1.BaseEntry but the numbers are not correct.
    If anyone can help on a query or more info on the best way to do this I award points..
    Thanks,
    Craig

    hi,
    Check this links
    LINKING CREDIT MEMO TO INVOICE
    Credit Memo and A/R Invoice linking
    Jeyakanthan

  • MIR4 - how to know  a transaction type is credit memo or invoice ?

    hi gurus.
    In transaction MIR4 ( display invoice), How can we know that an invoice is "credit memo" or invoice. Supposing that we know the fied RBKP-VGART.
    I see that with RBKP-VGART = 'RS' this will be Credit memo in tcode MIR4
    and if RBKP-VGART = 'RD' this will be an invoice.
    how about the other types such as : RP, KP....etc
    I am processing for the purchase order.
    Thanks in advance

    The transcation type are as follows
    RP     Invoice receipt
    KP     Account maintenance
    KS     Account maintenance reversal
    PR     Price change
    BL     Material debit
    PF     Std cost estim. release
    RD     Logistics invoice
    ML     Material ledger settlement
    MI     Material ledger initialization
    RS     Logistics invoice, cancel

  • Creation Of Credit Memos and Applying to Invoices Using API in Payables

    Hi Guys,
    I have a requirment that when ever I create an AP invoice with VAT . I need to create a credit memo with the vat amount aganist that invoice Line and supplier.I adopted the process to create an alert and i will write a interface for this this.I will call the interface procedure inthe alert.Here the problem is i am able to create credit memo but the amount is not applying to invoice.i.e., amount of the main invoice is not reducing. If U guys have any Idea regarding the credit memo applying to invoice using interface,please let me know.
    Thanks In Advance,
    Naresh
    Edited by: Naresh on Sep 23, 2010 5:58 AM
    Edited by: Naresh on Sep 23, 2010 6:01 AM

    we have to link the CM thru PARENT_INVOICE_ID (Parent Invoice).

Maybe you are looking for

  • Epson USB or USB not appearing as an option in Printer Set Up Utility

    I am trying to get my Epson Stylus RX510 (RX500 outside Australia) multi function printer to work with my MacBook Pro. I have the latest, correct Intel drivers installed (3.0aEs and scanner software CSPC3_PCF_OSX_27w41). When I connect via USB and se

  • EDI Partner Profile creation at Transaction Code FI12

    How is the partner profile created when you select the Icon Partner Profiles, which is transaction code WE20 that is accessing from transaction code FI12. The type is B for bank. Can the partner number be a end user defined number? Can this be the ve

  • Delete Button doesn't work

    I have 2 accounts in my Inbox. When the Inbox is highlighted in the Source list ( as opposed to highlighting one of the 2 .Mac accounts) the Delete button works fine when highlighting a message that will be moved to the Trash. However, when an indivi

  • Resetting PRAM without USB ports functional

    Hello, I've been searching for a solution to this but to no avail. I had my 2008 Mac Pro unpugged for a few days. When I turned it back on the USB ports weren't functioning.  I can't reset the PRAM as my keyboard is not working.  Any ideas? Thanks in

  • Planning Web client

    hi, I have an issue that for one of my User the web client for planning freezes up when he tries to save the form . He is not able to access any menus etc on the web client. i tried logging in by my user id on his machine as well and encontered same