OCreditNotes added but nothing in A/R Credit Memo

Is there someone who understand this behaviour ?
I just added a oCreditNotes.  Everything is fine, no errror.  The .Add() works fine but when looking in SAP, what I just added isn't there in A/R Credit Memo
Maybe I'm not creating the right Document ?
or maybe I'm not looking at the right place in SAP ?

Here's the code that works fine.  No errors at all.
        private void CreateCreditMemo()
            SAPbobsCOM.Documents Document = (SAPbobsCOM.Documents)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oCreditNotes);
            SAPbobsCOM.BusinessPartners bp = (SAPbobsCOM.BusinessPartners)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners);
            SAPbobsCOM.Items Items = (SAPbobsCOM.Items)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);
            string CardCode = HeadersTable.Field["Pos_CardCode"].ToString();
            // The business partner is necessary
            if (bp.GetByKey(CardCode))
                Document.CardCode = CardCode;
                Document.HandWritten = BoYesNoEnum.tNO;
                Document.PaymentGroupCode = -1;
                Document.DocDate = DateTime.Parse(HeadersTable.Field["Pos_DocDate"].ToString());
                Document.DocTotal = double.Parse(HeadersTable.Field["Pos_DocTotal"].ToString());
                Document.DocType = BoDocumentTypes.dDocument_Items;
                Document.DocCurrency = bp.Currency;
                Document.NumAtCard = HeadersTable.Field["Pos_Ref1"].ToString();
                // Now adding the detail for this invoice
                while (!DetailsTable.EOF)
                    // I did it this way to debug variables faster.  That's all
                    string ItemCode = DetailsTable.Field["detail_ItemCode"].ToString();
                    string ItemDescription = DetailsTable.Field["detail_ItemDesc"].ToString();
                    double PriceAfterVAT = double.Parse(DetailsTable.Field["detail_PriceOfVat"].ToString());
                    double Quantity = double.Parse(DetailsTable.Field["detail_Quantity"].ToString());
                    string WhsCode = DetailsTable.Field["detail_WhsCode"].ToString();
                    string TaxeCode = "";
                    if (!Items.GetByKey(ItemCode))
                        LogError("The ItemCode " + ItemCode + " doesn't exist in SAP Inventory when adding CardCode " + CardCode + " : " + DateTime.Now.ToString() + " Can't continue adding the credit memo...");
                        return;
                    else
                        Document.Lines.ItemCode = ItemCode;
                        Document.Lines.ItemDescription = ItemDescription;
                        Document.Lines.PriceAfterVAT = PriceAfterVAT;
                        Document.Lines.Price = double.Parse(DetailsTable.Field["detail_Price"].ToString());
                        Document.Lines.Quantity = Quantity;
                        Document.Lines.WarehouseCode = WhsCode;
                        // From here, we're trying to get the taxe code...
                        TaxeCode = GetTaxeCode();
                        if (TaxeCode == "" | TaxeCode == "SAPERROR")
                            if (TaxeCode == "SAPERROR")
                                LogError("The taxe code from pos_Taxes table doesn't exist in SAP - Sales Taxes Code when adding the ItemCode " + ItemCode + " : " + DateTime.Now.ToString() + " Can't continue adding the credit memo...");
                            else
                                LogError("The taxe code doesn't exist is the pos_Taxes table for the ItemCode " + ItemCode + " when adding CardCode " + CardCode + " : " + DateTime.Now.ToString() + " Can't continue adding the credit memo...");
                            return;
                        Document.Lines.TaxCode = TaxeCode;
                        DetailsTable.MoveNext();
                        if (!DetailsTable.EOF)
                            Document.Lines.Add();
                if (Document.Add() != 0)
                    oCompany.GetLastError(out ErrorCode, out ErrorMsg);
                    LogError(ErrorCode.ToString() + " : " + ErrorMsg + " when adding the credit memo " + CardCode + " - " + DateTime.Now.ToString());
                else
                    //TODO: To activate when deployed...
                    CreateOutgoingPayment(Document);
            else
                LogError("The business partner " + CardCode + " doesn't exist in SAP Business Partners");

Similar Messages

  • No taxes on the original invoice but they are on the credit memo

    My client is US based.  In a specific case, customer invoice created in SD process, does not have tax line item in accounting document. In this scenario, material is like a service material. Ship-to party is actual Canada customer where services are delivered and Payer is Canada subsidiary of client.
    I analysed and found -
    In condition type information, tax related condition type UTXJ & XR1 are not seen in Invoice, but they are seen in Credit Memo.
    When I go to Conditon Analysis, UTXJ Condition type is determined through access 015 in credit memo. It has one of the fields 'Tax Class1-Cust.', and shows value '1' for this field in credit memo analysis.
    Same field 'Tax Class1-Cust.' in Invoice does not show any value in condition analysis. Hence UTXJ condition value is not determined in invoice.
    In above cases, I checked Ship-to partner and I can not trace any change in tax classification indicator in customer master.
    Please suggest -  How I can find root cause of why tax is not posted ?
    Tax procedure TAXUSX is assigned to US & Canada country.
    -Regards
    Kapil

    Hi Kapil,
    1.Kindly check the Tax code assignment as well as Sales INvoice Procedure as well as condions which are used in Sales Invoice Procedure.
    2.Check the Codition % as well as GL assigned behind this is correct or wrong.
    3. Check the reversal condition as feel so the Invoice Procedure will not feaching the data according to your scenerios where as Credit memo Scenerios got connect this check both setting where does system configuration is missing.
    I feel you can able to get resolve with that steps.
    Regards
    Milind Joshi

  • Create payment batches for credit memos

    Hi,
    I want to create payment batch to pay several credit memos.
    When I issue "Select invoices" and "Build payments" processes, it does not select any of credit memos.
    I try to add manually the credit memos on "Modify payment batch" window, but after selecting the first credit memo it displays the message:
    "You cannot create a negative mount payment.".
    Please help me how to create payment batches for credit memos.
    Thank you.

    Hi Manish,
    I am using 11i version.
    Actually I followed the advices on this note, but still the same problem, the payment batch does not allow credit memos (as they are with negative amount), even when adding them manually.
    Please help me to find where is the problem.
    Thank you.

  • Credit Memo and A/R Invoice linking

    Hi
    Please help me, how to find relation field  between Credit Memo and A/R Invoice.
    I delete invoice using credit memo with copy from function.
    But when I view last credit memo, i cant find the corelation with my deleted A/R invoice number.
    I found remarks, but i think remarks is not the link for document.
    I really confuse about this. can anyone help me?
    ps: i cant found the relation return and A/R invoice too..
    Thanks so muchh

    Just thought of another trick or two that you might try...
    1.  Open ANY Credit Memo and use the "Find" Icon (the binoculars in the Icon Line) or use "Ctrl+F" to put the credit memo window in find mode.  Put an asterisk in the field where the credit memo number usually is and hit enter...
    It should pop up a list of all credit memos with Remarks - look to see if your credit memo is there.  Or you can sort the whole screen by double clicking on the "Due Date" column of the display. 
    You can view an individual credit memo by highlighting the line (making it yellow) and pressing Enter Key to check that out also...
    2. If that does not work for you, you can always use the SQL route where the OINV.DocEntry = RIN1.DocEntry and get a list that way where you can look through it.
    OINV = Invoice Headers and RIN1 = Credit Memo Lines
    Good Luck - Zal

  • A/R credit memo with due date

    Hi Gurus,
    when we create A/R credit memo, it become due immediatly and next it become over due. But user want to see credit memo as net due 30 day or more. Is there any way that when ever user create credit memo it does not become due immediatly but net due in 30 days
    Thanks

    Hi,
    If you are using Payment term for A/R invoice same terms of payment can be linked for credit memo by entering invoice  number in inv. ref field in payment tab of credit memo. In this way all terms of payment from original invoice are copied to credit memo.
    Else you can also create a payment term for 30 day net and while entering credit memo you have to enter that payment term manully and also V in inv. ref. field to validate this payment term.
    Thanks
    Javed

  • Excisable Material - Credit Memo

    Dear All,
            When i am posting the Document of A/P and A/R Credit Memo those are Excisable Materials, i am trying to post the Credit memo after the creation Invoices i am getting error like
           No matching Record found G/L. Accounts.
    But when i am posting Credit memo for Non - Excisable Material System is allowing to post the particullar transcations.
    The Excisable Materials comes under Chapter ID. RG 23 D (Finished Goods) so 100% Cenvat credit.
        How to solve this quarry.
    Please guide to me.

    hello again.
    for freight and insurance, your approach will depend on how these are treated.  if freight and insurance are represented by material numbers, then these are entered in the credit and/or debit memo requests (also in sales orders).  this will then be a straight-forward process.  these items can have a set price, or the value can be manually entered.
    however, freight and insurance are sometimes represented as condition types,  these can then be entered manually in the order at header and/or item level again depending on your approach.
    regards.

  • FB10 - Default payment term for Credit memo

    Hi,
    I have question regarding the Payment terms in FB10- Credit memo entry (KG).
    You must be aware that when we use F-43 or FB60 for posting Vendor Invoices (Document type KR), the payment terms on the screen will be "*", which means it should be picked up from the Master data. Similarly for posting Vendor Credit Memos (Doc type KG) using F-41 or FB65, the payment terms field is blank, which means 'Immediate payment'.
    In case of FB10, Fast entry transaction code for both Vendor Invoice and Vendor Credit memo, the Payment terms for KR document is *. But for doc type KG (Credit memo), payment terms field is not blank. Instead, it is shown as *. Why is it? How can we make this blank for KG document postings. Please advise. Kindly revert in case you have any questions.
    Regards,
    Vinod

    HI,
    Please check the note 17410 for explanation.
    Regards
    Ravinagh Boni

  • Problem in cacellation of credit memo via MR8M

    Dear team,
    i have did an GR and posted one invoice with 40000 CHF. later the ggods were fiund defective. then i returend the goods using 122 movemnt type. then i posted credit memo for 30000 CHF. in the credait memo, i have given unplanned delivery costs of 10000 CHF. after posting the credit memo the sytem is posting 10000 to PRD account. 30000 to KBS and 30000 to WRX accounts.
    But when i cancel the credit memo using mr8m, the value of 30000 is only showing in the system. What happened to 10000 CHF

    Hi,
    Check this OSS note : Note 1568040 - Wrong commitment when reverse invoice with unplanned acct
    Regards,
    Ram

  • MIRO - Credit memo considering freight costs

    Dear friends ,
    We need to process a Goods Return  to the vendor, but the goods has additional costs like Freight.
    So we are doing the reversal process as follow:
    MIRO - Credit memo
    => but when we process the credit memo the System brought together the freight costs.
          we need to return but not remove the freight costs from the material cost.
    MIGO movement 122.
    => here everything is ok.
    Question:
    How treat that situation where we need to keep the freight costs in the material account ?
    Best regards,
    Alessandro

    hi
    in that case, in miro header, there is a tab "details" here u have a option to enter unplanned dlvy cost.. u can enter ur unplanned dkvy cost.
    ref the link
    http://help.sap.com/saphelp_erp2004/helpdata/en/cb/370d3ae4533072e10000000a11402f/frameset.htm
    Edited by: Jayakumar Raju A.S on Aug 17, 2009 3:00 PM

  • Goods Return can't copy to AP Credit Memo

    Hi,
    We had customer who is operating in computer gadget. The store keeper is returning stock to supplier by issuing Goods Return with old unit price. When suppliers issues AP credit memo to the customer, the unit price differs. Customer is copying Goods Return to AP credit memo and put in new price but when add AP credit memo, the following error message appears:
    "Amount to credit is greater than credit balance"
    Customer is curious why system allows to add AP Invoice if unit price differs from GRPO but disallow to add AP credit memo if unit price differs from Goods Return.
    Customer is now running on 2005A PL23 and we are tested in PL34. Same result.
    Any idea how to resolve?
    Regards
    Thomas

    Hi  Thomas,
    Please also make sure that the Expense and Stock account is defined under Administration -> Setup -> Financials -> G/L account Determination ->
    Purchasing tab -> Variance Account (Expense and Stock account).
    Hope it is helpful!
    Regards,
    Ivy

  • Mass change of pricing date and billing date in credit memo request

    Hi,
    Can i change the billing date pricing date on credit memo request docs using MASS transaction?
    If i enter the regular sales order number it prompts me to change the value but if i enter the credit memo request doc number,the message "No data meets the selection criteria" is displayed.I also checked with IDES ,message is the same
    Is there any different way to do mass change for credit memo requests or am i missing something here.
    Please Suggest
    Thanks
    Abhilash Nayak

    Hi,
    Go to the transaction code MASS  and enter the OBJECT  TYPE as BUS2032 and enter
    It will lead you to the next screen where you can find the  Table and Field TABS
    Select the  SALES ORDER HEADER DATA  and choose the fields data and choose the fields PRICING DATE and BILLING DATE  and execute
    In the subsequent screen you can see the selection screen where you can enter all the Sales documents for which you want to change
    Key in all the documents and execute
    Now change the date as per your requirement and check the effect
    regards,
    santosh

  • Rebate - Credit Memo Cancelled after Rebate is Finally Settled

    Hi Friends,
    Request your inputs on the correct way to handle the following scenario:
    A Rebate had been finally settled on14.08.2011. The Credit Memo which was created for the final settlement on the same date 14.08.2011 has been cancelled later on 16.09.2011.
    This has been done because we realized later that we do not want to give the credit to the rebate recipient. In this scenario; we have an open amount in the rebate because of the cancellation of the credit memo.
    Please give your inputs on the following:
    1) As per the standard SAP Process; Is it correct for a rebate to have an open amount after its final settlement has been done ? Is it correct to leave the Credit Memo Request in Open Status and NOT Bill it again ?
    OR
    2) If we again bill the Credit Memo Request ; we end up giving the credit to the rebate recipient; how would you suggest to reverse this accounting ?
    OR
    3) Any Other Option to handle this scenario ?
    Looking forward to your valuable inputs
    Thanks & Regards

    Hi
    When the customer is eligible for the rebate amount why you dont want to give that amount to the customer.Can you share the reason beyond this analysis
    For  your First Point , as per the standard SAP once the final settlement is done  then credit memo request can be open or it can be billed.But it depend on the client requirement
    For your second point, If you want to reverse the billing document,then again you have to create the credit memo with reference to the credit memo request again but it is not advisable.
    But you can create the Credit Memo billing document and forward it to accounting also.But you can tell to FI team not use the credit amount for the customer transactions
    Regards
    Srinath

  • Credit memo billing document

    Today we came to know that system not generating the credit memo billing doc # & accounting doc # for those credit memo order raised on 24th march. approx 42 credit memo order raised.
    Actually once the credit memo order created in the system w.r.t original sale billing doc # then system will automatically generate the corresponding credit memo  billing doc & accounting doc thru system batch job but here for those 42 credit memo order raised yesterday the corresponding credit billing doc not generated till now by the system automatically.
    Can anyone suggest the cause

    Hi,
    Goto SM37, Give the JOB name and user name as  * and execute.
    Check the job and then click on Job Log to see the log of the job.
    you can also check on the spool icon if you see a page like icon next to the job

  • 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

  • Different tax codes for a Sales order and Credit memo

    Dear All,
    We have created a sales order and in the invoice some X Tax code is determined in the Account document.
    But when we created a Credit memo request with reference to the same Sales order, we are getting different tax code in the Accounting document of Credit Memo.
    Kindly clarify how is it possible.
    Regards,
    Mullairaja

    HI
    Credit memo request with reference to the same Sales order
    Because Suppose 
    Case 1 : you created Sale order 100 PC & Delivery  50 PC, Invoice raised 50 PC
    In that above case if you take Sale order reference system will take 100 PC , but logically you need to raise Credit memo for 50 PC
    Like that we can create Some cases , so try to create credit memo request based on Invoice not for based on Sale order number
    Coming to you Query , try to check the Ship to party for that line item and also check the master data's once
    I hope you understand
    Regards,
    Prasanna

Maybe you are looking for

  • After successfully installing Acrobat 7 in Windows 8.1 it fails to launch.

    I had  Acrobat 6.0 Professional, running in Windows XP.  After moving to Windows 8.1 I tried to install from the original disk.  Windows warned me that it had problems, and couldn't start the program, suggesting that I contact Acrobat, which I did. 

  • Drum loops

    Hi,       I have a midi drum loop i have dragged out for the length of the song. How do i turn the loop into real (or non copies) so i can delete certain sections of th drums. Thanks. Rob

  • T530, Windows 8/8.1 Multiple Screen Random Automatic and Frequest Discontect/Re-connect

    I'm running 3 external monitors on a Lenovo T530 docked laptop. With Windows 7 on my previous lenovo T500 it was running perfectly. Since 'upgrading' (and I use the term loosely) my laptop and OS to Windows 8.1, at the most inopportune times, randoml

  • Picture Thumbnail Missing in Firefox

    A few of my product pages with products picture in thumbnail cannot be displayed. It seems it is not loaded at all when I use firefox. Everything looks ok in Chrome. Please help.

  • (Solved) compiz 0.9.12.1-2 Will not build

    Hello,        Just went to update to 0.9.12.1-2 and it stopped building with a error. (  mkdir: cannot create directory 'build': File exists   )     Looks like this is a new package update as of today 3-18-2015.  I will look deeper to see if I can fi