Credit memo inversal sign routine 2lis_13_VDITM

in a BW SD  project we have a problem with 2LIS_13_VDITM extractor- for the key figures the SAP standard  routine on net value
IF COMM_STRUCTURE-DOC_CATEG CA DEB_CRED.
    RESULT = RESULT * ( -1 ).
  ENDIF.
doesn't seem to invert the signs of  reversal invoice (N) credit memo  (O)
internal credit memo (6)
So we have wrong value on our net values of invoice .
How can i solve this problem ?
Thanks in advance

Hi,
try with
RESULT = - RESULT.
Bhaskar

Similar Messages

  • Change price sign during copy from Sales order to credit memo

    Dear All,
    due to external system reasons we I need to manage one sales order type using not necessarily positive amounts.
    A custom logic (based on structural elements, tax information and sign of the amount) permits to identify the right billing type document to use.
    Example (using a simplified logic)  if the amount is positive the custom logic will determine an invoice.
    and if the amount is negative a credit memo.
    In VTFA copy rules has been defined but it seem that using transfer rules at item level (defined on VOFM) it is not possible to access and change the sign of the amount (net price will be enough) in order to have a negative amount copied into a positive amount of a credit memo.
    The following test has been done without succeed:
    custom routine on VOFM to change sign of VBRP-NETWR...but the price is 0 when the routine is called
    Using pricing type M - No effect
    Every hint will be highly appreciated.
    Regards

    Hi Sudha,
    The coding added in 101 is not enough to achieve your requirement, because of the fact that the VBKD-ZTERM will be filled again with the original value from CVBKD in the copy routine on the item level. (For example 102 for OR to OR in standard system)
    Could you please create another routine 902(adding the addition coding to 102) and replace it on copy control for item level?
    It should work then.
    Regards,
    Smile

  • Credit Memo Error AR-RAXTRX: TAXACT ERROR- Others Exception in Tax accounti

    Hi All,
    We are getting the following error when we interface Credit Memo record to AR using Auto Invoice
    Error Message: AR-RAXTRX: TAXACT ERROR- Others Exception in Tax accounting routine
    This is not the actual error
    Following is the setup
    Transaction Type for Credit Memo and Invoice ( Creation Sign: Allow any Sign )
    Now first create a Invoice with following line amounts ( Using Auto Invoice )
    Line 1 : 100
    Line 2 : 500
    Line 3 : - 300
    Now Create a Credit Memo using LIFO rule having following line amount
    Line 1 : -100
    Line 2 : -500
    Line 3 : 300
    On submitting the Auto Invoice import program, the Concurrent program error out.
    Following is the Snippet from CP
    AR-RAXTRX: TAXACT ERROR- Others Exception in Tax accounting routine
    Error calling raacae()
    Error calling raapic()
    Following the above example if we have a invoice
    Invoice Amount 300
    Line 1 : 300
    Line 2 : 200
    Line 3 : -200
    Now create a credit memo using LIFO rule using following line type
    Line 2: -200
    Line 3: 200
    The credit memo gets created but with no distribution on the credit memo.
    This lead me to think there is some issue with the distribution.
    Note we have no tax on the invoice neither we have any tax distribution records on the invoice.
    Any suggestion/advice/ solution on the above error. Btw on account Credit Memo works okay.
    Thanks.

    What is the complete error message? Please post it here.
    Please see if these docs help.
    Troubleshooting AutoInvoice for Oracle Receivables Release 11.5 Through 12 [ID 1075757.1]
    AutoInvoice Setup for Release 12: A Case Study Using a Simple Script [ID 1067402.1]
    If none of the above helps, please log a SR.
    Thanks,
    Hussein

  • Credit memo in Sales

    Hi,
    I have a scneario wherin I have overcharged a customer . In that case as per my knowledge, we will create
    1.Credit memo request against the Invoice
    2.Create a credit memo consequently.
    Please confirm that there is no other SALES RELATED document to be created once we create a credit memo (Basically the sales order and delivery will remain untouched).In that case how should I settle the credit memo so that I can get an accounting document.
    The other way I can think of is by using a document type RK.I am not sure how should we go about it.Can anybody please throw some light on it?

    Hi,
    Regd Doc Type RK-Invoice correction request.
    Invoice correction request - A sales document used in complaints processing to correct the quantity or price of one or more items in an invoice.
    You can create an invoice correction request if the wrong prices have been calculated for the customer. The invoice correction request can be automatically blocked by the system until it has been checked.
    The system calculates the difference between the amount that was originally calculated and the corrected amount for each item.
    Once it has been approved, you can remove the block. The system creates a credit memo with reference to the invoice correction request. If the remaining amount is positive, the total value does not have a + sign, if the remaining amount is negative, the total value has a – sign.
    Free of charge delivery - You can create free of charge deliveries for sending samples of your products to the customer. The system will then generate a delivery based on the free-of-charge delivery.
    Both these things are used to handle customer complaints
    Example :
    You raise a Sales Order (OR) with a net price of Rs/- 1000 and
    carryout the Outbound Delivery with Picking and PGI and
    raise a Invoice and change the Price in Invoice as Rs/-990 and save the Invoice.(Note down the Document number)
    Now goto VA01 and raise a Sales Order with Document type (RK) and give the Billing Document number as refernce then Click on Copy and now Goto Item Condition Screen and change the Price to Rs/-1000 and remove the billing block and save it.
    Now goto VF01 and raise the Invoice and you can see the Difference amount Rs/-10 in the Netprice.
    Cheerzz..
    Subbzz..

  • Material Cost is not coming in Credit Memo

    Dear SAP gurus,
    My Client is from Brazil & they created a cycle of Sales Order (Export Order) to Billing (with Nota Fiscal)
    & with Reference to Invoice, they created the Return Order, Return Delivery (PGR) & finally generated Credit Memo.
    The Problem is Material Cost (VPRS) is getting captured in Billing, but in case of Credit memo,
    Material cost is not getting posted in G/L accounts.
    What we analyzed till now:
    * Pricing Procedure & found that there is no requirement/routine maintained for Cond Type VPRS.
    * Copy Control related Settings (from Delivery to Billing).
    * Item Category Related settings.
    but we could not find anything specific.
    For more clarity, I am providing the below details of Accouting Entries:
    G/L account details after Billing:
      1 99999S2L10 Industrias John Deer USD     122.102,07
      2 50 1100200000 Venda Prod.Int-OUsC  USD      38.131,66-
      3 50 3651100000 Custo Frete Unid Dee USD       2.397,41-
      4 50 3652100000 CustoManusFaturDeere USD         171,59-
      5 50 6450000000 Inv. Prod.Acabado-Tr USD      35.534,11-
      6 40 3400200000 CPV-Prod-Int-OUsC    USD      35.534,11
    G/L account details after Credit memo:
    1 11 99999S2L10 Industrias John Deer USD     122.189,84-
    2 40 1100200000 Venda Prod.Int-OUsC  USD      38.159,09
    3 40 3651100000 Custo Frete Unid Dee USD       2.399,12
    4 40 3652100000 CustoManusFaturDeere USD         171,71
    5 40 6450000000 Inv. Prod.Acabado-Tr USD           0,02
    6 50 3400200000 CPV-Prod-Int-OUsC    USD           0,02-
    Please pay attention to 5th & 6th Lines.
    Can anyone suggest where things have gone wrong. Do let me know if you need any other information.
    Thank you in anticipation,
    MAYANK

    Hello Mayank,
    If your VPRS is being captured in your billing document, but IS NOT being posted to a G/L account, then your problem is on account determination.
    I suggest the following:
    Step 1. Go to your billing document overview.
    Step 2. Go to Environment>Account Determination Analysis>Revenue Accounts.
    Step 3. Go to the VPRS condition of your material and based on the access sequence, check the problem.  For example: "No G/L found in Account Determination Type KOFI" (if your account determination condition type is KOFI in your case)
    Step 4. In Step 3, you will see the values for each field based on the fields in your access.  Then go to VKOA and compare if you have a valid entry there corresponding to the revenue account determination analysis.  Otherwise, if there is no matching entry then I suspect this is why your G/L is not being determined for your VPRS.
    Step 5.  If the VKOA entry is missing and it is REALLY NEEDED, then add the VKOA entry tied to the G/L account.  Otherwise, review your master data and your VKOA.
    Let me know if this solves your problem.
    Hope this helps,
    Eva

  • Creating a credit memo by referring Billing document

    Hi All,
          I am creating a Credit memo Say <b>CM</b> by reffering a Billing document say <b>B</b>.The Billing document has been created from a Contract say <b>C</b>.
          Now while creating the CM the contract dates need to be copied from C to the contract data screen of CM.
          I have used <b>Copying control Billing Document to Sales Document</b> for achieving this.
         I have edited the VEDA(Contract data) in the routines 302,303,402 etc. but its not reflecting in Contract data of CM screen.
         Please help me in resolving this.
    Thanks and Regards,
    Siva

    Hi,
    Create a new pricing procedure without the condition type you donot wish to appear in the credit note. create/ use a different document pricing procedure for the credit note, do the required assignments.. this will meet the requirements
    Regards,
    Ajit

  • Creating a Credit memo with reference to Billing document

    Hi All,
    I am creating a Credit memo say CM by with reference to a Billing document say B.The Billing document has been created from a Contract say C.
    Now while creating the CM the contract dates need to be copied from C to the contract data screen of CM.
    I have used Copying control Billing Document to Sales Document for achieving this.
    I have edited the VEDA(Contract data) in the routines 302,303,402 etc. but its not reflecting in Contract data of CM screen neither at header level nor item level.
    Please help me in resolving this.
    Replies appreciated.
    Thanks and Regards,
    Blessy

    Dear Rupak,
    Your price / Quantity is copying correctly from Billing means your Copy Control settings are proper.
    Now while creating Credit Memo Request, after you change Quantity you are currently selecting Update & "B" - i.e. Carry out new pricing.
    Here instead of "B" select "A".
    A means - Copy price components and redetermine scales.
    Here the system:
    1. does not determine any new condition types
    2. and only redetermines the scale prices for changed quantities
    I guess this will definitely solve your problem.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • Credit memo for returns with multiple reference deliveries

    Hi Experts,
    I have few credit memos for returns with multilple return orders and return deliveries in document flow.
    I want to find out where do we configure this setting in which there will be single credit memo for multiple deliveries.
    And how system decides the common factors in deliveries for this credit memo?
    Please guide.
    -Chetan Barokar.

    Hi,
    In copy control settings of delivery document to billing document you can maintained the requirement routine Data VBRK/VBRP as 03 - Single invoice for an item category, as theinvoice spliting will be control from copy control.
    with regards
    Vivek.

  • In Credit Memo Net Value is coming 0.

    Dear SD Expert,
    I have created Credit Memo with Reference Credit memo request. While creating Credit memo (VF01) the Net Value is 0. But the Billed quantity is coming correct in the system. In Credit Memo request(VA01) every thing is ok, Quantity and Net Value are correct. But in credit memo net value is not coming as per credit memo request. I have also maintained Copy control(VTAF) for this. In copy control I have maintained following fields.
    Billing document to Sales document
    Choose sales document type [G2] and Billing document type [F2]
    Go to Header details
    [52] = Billing document header
    [052]:
    This routine transfers general billing header data from the reference document to target document.
    [103]:
    This routine transfers business data Ex: Inco-terms from preceding document to new document.
    [003]
    = Billing header partner:
    This routine copies Bill u2013 to u2013 party form invoice to sales document.
    Copying requirements [021]:
    (Billing header)
    This routine checks Sold u2013 to u2013 party, sales area, and currency is same or not when copying billing document to
    sales document.
    Item level
    = TAN
    153 = Item from billing document:
    This routine copies all relevant data from preceding document to new
    document at item category level (invoice to invoice cancellation).
    104 = Business data item billing:
    This routine copies business data from invoice to sales document.
    Ex:
    Inco-terms at item level.
    004 = Billing item partner:
    This routine copies Bill u2013 to u2013 party or payer from invoice to sales document.
    Copying requirements [303]
    = Always an item
    All standard items are copied into target document
    [] Uncheck copy schedule lines
    [X] Update
    Pricing type [D] = Copy pricing elements unchanged
    As per given information kindly guide me where I was wrong and what Input is requires?
    Regards,

    Hello Mancy,
    Indeed Naveen is correct to use Transaction VTFA.  Sample Standard Settings:
    HEADER:
    Target Billing Type = G2, From Sales Doc Type CR
    Copying requirements = 001:Header/order/related (can be customized of course)
    Hint: You may COPY item number from reference
    ITEM:
    Target Billing Type = G2, From Sales Doc Type CR
    Item Category Proposal <--THIS IS OPTIONAL (i suggest to leave this blank and input something only if you have a special business requirement wherein you need to change the item category in your credit memo, you may check Help/F1 for sample scenarios)
    Item Category = G2N <--this is the item category coming from your source document i.e. item cat. from your Sales Order
    Copying Requirements = 002: Item/order-related
    Data Transfer Routine = 002: Ord-rel.credit memo
    Pricing Type = D: Copy pricing elements unchanged
    Please let me know if this helps you.
    Kind regards,
    Eva

  • Freight on credit memo for returns PO

    We are trying to achieve the below solution for a returns PO, created 2 condition types, assigned to the pricing procedure to achieve the GR posting. When we use MRRL to create a credit memo for both the material and the freight. the system creates a credit memo for the material and an invoice for the freight. Can someone tell me, what drives the credit memo generation for both freight and material
    GR
    Cr INV
    Dr GRIR
    Dr Freight clrg
    Cr Freight
    Credit Memo/ERS settlement/ MRRL
    Dr Vendor
    Cr GRIR
    Cr Freight Clrg
    We were able to create the GR side of the entry, using two other condition types on the PO.
    Now when we do ERS settlement,
    the system creates a credit memo for the INV line item and an invoice for the freight line item.
    Both the freight and the material is charged to the PO vendor, we dont charge separate to the freight vendor at this point.
    Any help will be appreciated.
    Thanks

    Ganesh,
    Thx for the reply!!
    We did that before as well, Even as we select it, it creates 2 documents
    1. credit memo for the inventory to the vendor
    2. invoice for the freight to the same vendor
    I guess i am missing some config piece that makes the freight on the PO to be also a credit memo while doing the MRRL
    i am using 2 condition types FRA1 and a ZFR1 (mimicking FRA1 with a negative sign)
    i have assigned 2 diff (ActKey/Accrual Key) combination to each one of them
    FRE/FR1 and FRE/ZR1(Mimicking FR1) respectively.
    I am not sure which config drives the freight as a credit memo on the MRRL side.

  • MIRO subsequent Credit Memo

    Hello Everyone,
    When I am posting a subsequent credit memo through MIRO for a Purchase Order with account  assignment category Asset,
    I am getting the following error message
    "Balance for transaction type group 10 negative for the area 01
    Diagnosis
    With the transaction entered, the balance for the transactions in group 10 in area 01 will be negative in this fiscal year. However, the balance of transaction type group 10, according to its definition, must be positive in each fiscal year.
    System Response
    The system rejects this posting.
    Procedure
    Check the transaction type, the amount and the fiscal year in your posting. If you want to post a credit memo to an acquisition from the previous year, then use a transaction type for a retirement. If necessary, you can change balance rules after talking with your SAP consultant".
    Can you please let me how to change the Transaction type in MIRO or how to go abt this issue.
    Thanks in Advance
    Vaman A

    Hi,
    Good evening and greetings,
    The solution for your problem is as below
    For this posting change the +/- sign allowed for the transaction type group to '*'.
    First you must activate the maintenance of the table in the ABAP dictionary for table TABWG (transaction SE11).
    You should then call transaction SE16. Enter table TABWG and select the affected transaction type group. Set the value '*' in field VZJSA.
    Once you have made the posting, you should decide whether you want to set the /- sign check again (VZJSA = ''), or whether a negative balance should continue to be allowed for this transaction type group.
    Alternatively, you can also change the proposed transaction type for the invoice receipt of affiliated companies. To do this, go to IMG Asset Accounting -> Transactions -> Determine transaction type for internal transactions.
    Instead of transaction type 152, enter transaction type 151 there under 'Acquisition from invoice receipt (affiliated)'.
    Check whether transaction type 151 in your system corresponds to the transaction type 151 described in note 327088.
    This is as per SAP OSS Note 139899 - AA629 when posting MR01/MRHR/MIRO invoice receipt
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Credit Memo is posting Debiting Customer Account instead of Crediting

    Hi Gurus,
    When i use SD Document Category "K" (Credit Memo) for Sales Order type "Credit Memo", first system shows all figures with Negative Sign "-" during my Pricing Condition maintanence at line item level of an Order (Credit Memo).
    Second and most importantly, System is posting the figures as "Debit" to Customer Account when i do the billing for the Credit Memo.
    If I change the SD Document Category to "C" (Order type), only then System Post the figure as "Credit" to Customer Account.
    But the problem is, i cannot use SD Document Category "C", because SAP would not let me reverse the Billing Doc, as it looks for SD Document Category "K" and hence the incomplete Reversed Credit Billing Doc would sit in VFX3.
    Pls advise, how can i fix/configure system with SD Document Category "K", so that, Figures are posted as "CREDIT" to a Customer Account.

    Check the T.Code: VKOA, OBYC & OB40 settings for account determination.
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Creation of sales order(Credit memo request) w.r.t invoice

    Hi want to create a Credit memo request (sales order) with respect to a invoice.
    Can any body suggest me a bapi or Fm which will directly create a sales order with input as invoice number?
    Also all mandatory import export parameters to be filled?
    Thanks in Advance,
    Rohan.

    You should be able to use one of these BAPIs (depending on your release - the ...2 one is the lates and greatest, it seems):
    BAPI_SALESORDER_CREATEFROMDAT1
    BAPI_SALESORDER_CREATEFROMDAT2
    BAPI_SALESORDER_CREATEFROMDATA
    You'll find a lot of information on them anywhere, please use search. There is also a decent documentation available for each one of them.
    The invoice reference will have to be entered as follows (note that it's always at line level):
        order_items_in-ref_doc = <invoice number = VBRK-VBELN>.
        order_items_in-ref_doc_it = <<invoice line number = VBRP-POSNR.>.
        order_items_in-ref_doc_ca = 'M'.   " or whatever category is applicable
    Keep in mind though that BAPIs do NOT always work the same way as VA01. If, for example, you have the requirements and copy routines (VOFM), they might get bypassed when creating an order with BAPI.
    Any follow-up questions I'd suggest to post in ABAP forum. Good luck!

  • COPA -Credit Memo without reference to a Billing Document

    Hi -
    When we create a credit memo without reference to a billing document ( Manully entering a value in condition type), Data flows to COPA as -ve irrespective of +/- sign ticked in KE4I. This creates inconsistancy  if we chose +/- for some discount condition types as they come to COPA as positive when the credit memo is created with reference. Any ideas, how to handle this ??
    More info: In SD conditon type maintenance plus/minus = positive. It has to be postive then only customer gets credited when a credit memo is created.
    Thanks
    Krishna

    Thanks Ajay -
    Example:
    1) I have a condition type in billing  Z012 - Additinal Discounts... asigned to VV230 - Discounts. From billing, VV230 gets a +ve value lets say $100.
    2) I have a credit memo ( stand alone, not refering to a billing doc), it has a condition type ZZ12 which can be manually entered and is also assigned to VV230. Now, VV230 gets -ve values lets say -$50.
    In reporting, VV230 shows $50 ( +100-50), but the total discounts given to customer is $150.
    Where is it going wrong?
    Thanks
    KP

  • Net value of Credit memo must not increase, but accountingdoc must generate

    HI All
    This is my sales- return process
    Sales order has been created for
    Material : Ax001:   10 Qty : Total price : 100$   Per unit = 10$
    Sales order has been created :  for 10 units        (sales doc number:AAAAS)
    Billing has been done : 10 units for the value 100$
    Accounting documents posted : Credit :100$   Debit accout: 100$
    Returns sales order:
    This is done with reference to the sales order
    Return Sales order has been created with reference to sales order :  (sales doc number:AAAAS)
    Qty :1 Value of the product =10$   Material: Ax001
    A manual condition type is defined to reduce the value of the actual price .. The company is planning to give only 5$ for the return material
    Manual condition has been included in the Return saels order  Total net Value = 5$ qty = 1
    Credit memo has been created : for 5$
    Accounting doc: Credit account = 5$ debit account =5$
    Issue: The account team wants one more account document to be created for the original value of the product i.e 10$
    The net value in the billing document must not increase, but the account document must be created for the value=10$
    This is for nullifying the original value of the product from the book of accounts
    Solution tried : Manual condition for the original value =10$ keeping it as statically condition type : issue: account doc will not generate if it is statically . CND ref: 100% discount it did not work the net value in the order/billing is increasing
    Please let me know how to generate the Accounting document with out increasing the net value.. Using standard SAP. we can create a routine and we can do this .. but we are looking for the Standard SAP solution if any,.....
    Thanks for your help in Advance
    Chandra

    Hi Chandra,
    In your scenario create new condition type and update that condition type with accruals at control data 2 section and create relevant access sequence  and update the condition type in your return pricing procedure and create new account key one for regular posing and one for accruals and take help from FI /CO to create new two accounts one for regular updates  and one for accruals posting ,
    in your pricing procedure mark this condition as statistics relevant  it will create automatically accountancy document for reference,
    Try this and let me know if you have any questions.
    Regards
    Nishad

Maybe you are looking for

  • Some programs crash but not in safe mode or for guest user

    Hoping that some talented and kind Mac wizard will help me solve a bizarre problem: Some but not all of my programs have started crashing immediately upon launch, but not in safe mode, nor when I log in as a guest user. The problem began on February

  • Where can I download a zipped version of 4.0 RC1?

    I test all releases in portable mode using the "Profile" switch from a batch file. I'm already running Firefox 4.0 beta 13 (Minefield) this way without missing up my standard install. Where can I get a zip version of the release of 4.0 RC1?

  • Want to know the Websites to test the Knowledge

    Hi All, I want to test my SAP XI Knowledge We can check ouir ABAP Knowledge in this site http://www.codeexcellence.com/braincheck.php Is there any sites are there like this Please share the Info.... REgards Suman

  • VERY URGENT: need to access back to trial account - also paying

    Hi, my trial account for Adobe Connect is expired. If I'll pay for new session, will I be able to access to my trial account? (I need to download the flv registration.) I've already asked to the Adobe Marketing: NOBODY replied to me. It's very urgent

  • What are best pdf converters?

    I want to know the best pdf converters that give the original pdf layout in converted file. I want to convert pdf files to images,word files,xml,html and many other popular formats. Please help.