Batch details in Ap credit memo

Hi expert s
i want to add some fields from oibt table in ap credit memo pld can anyone help me
regards
Jenny

Hi jennifer
You can add  database field for that credit memo....
In the field properties,under content tab,select the table by Holding ALT and clicking the 'Dropdown',
so that it will display all the table and in that you can select the OIBT table and select the column which you need...
kindly revert for any clarification....
Edited by: kambadasan on Aug 19, 2011 12:44 PM

Similar Messages

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

  • Remove Billing Block in Credit Memo Req. in Batches

    Hi Friends,
    We have a requirement where we need to create multiple credit memo requests (in 1000s) in the next few days. Only one specific person is authorized to remove the billing block for these Credit Memo requests. Do we have a standard report/ functionality that can be used to remove the billing blocks from these Credit memo requests in batches and subsequently post credit memos for the released requests.
    Regards,
    Abhishek.

    Dear AG,
    You can also use VKM3 and select all an dPress the Flag(Release) icon. You can also use V.23 and check mark the Delete Billing block and save.
    Regards,
    Vinod

  • Copy AR invoice to Credit Memo

    In B1 2005A SP01 PL 36, you cannot create a Credit memo from a closed invoice. This is extremely restrictive as the majority of product returns occur after the invoice has been paid. Is there an update to 2005A that provides this capability or does 2007 offer it? If not, this really should be considered since the Credit memo is used to return money to the customer. Not having to reenter the information would be a time saver and a potential reduction of entry errors. In our instance, all of our products are under Batch management and the credit memo has to put the stock back into the correct batch. This should automatically done from copying the original AR.

    Hi Art,
    Here are the postings as performed in my UK localisation testdatabase:
    AR invoice:
    BP account Debit 117.50
    VAT @ 17.5% Credit 17.50
    Revenue Credit 100.00
    Credit Card Payment:
    Credit Card account Debit 117.50
    BP Account Credit 117.50
    Cancellation of Credit Card Payment:
    Credit Card account Debit -117.50
    BP Account Credit -117.50
    The payment is reconciled with the original invoice & the cancellation.
    The invoice is reconciled with the payment & the cancellation, yet in status 'open' because the payment has been cancelled & the balance due is back on the account.
    The invoice will appear in the open items list as unpaid & is available as base document for a credit memo. You can then use the 'copy from' or 'copy to' functionality to creste the credit memo based on the invoice.
    The invoice will then be reconciled with:
    a) the payment
    b) the cancellation of the payment
    c) the credit memo
    If you use the invoice as base document for only a partial credit memo, then you will need to either create another payment to clear the balance due or another credit memo.
    As I outlined above, the reason for 'locking' a fully reconciled invoice is because this particular transaction is completed. This is of importance, especially if there is stock with serial/batch numbers involved. Depending on the industry, it is of vital importance to keep track of batches & being able to duplicate a batch/serial number when the original transaction is completed, would lead to inconsistencies. Also,
    if there has been no stock transaction prior to the invoice, this is done on the same journal entry. So if, say 100 items of your stock left the warehouse at a MAP of 1 each at the invoice stage, the value of your warehouse is reduced by 100. If you base the credit memo on the invoice, this stock is always received back with a value of 100. If the MAP changes, say to 1.5 & you the create an independent credit memo, then the items are received back with the new MAP of 1.5 since there is no link to the original, outgoing, document.
    Therefore, the process should be:
    1. AR invoice (Status: open)
    2. Payment (AR invoice status: closed)
    3. Cancel Payment (AR invoice status: open)
    4. Credit memo (full- AR invoice status: closed, partial-AR invoice status: open)
    5. Payment/credit memo if balance due (AR invoice status: closed)
    All the best,
    Kerstin

  • How does Goods Issue know which Batches to deallocate from A/R Credit Memo?

    Hi,
    I am creating an addon that runs after a A/R Credit Memo is created.  It creates a Goods Issue, and enters the Item Code and the Quantity from the line items on the Credit Memo into the Goods Issue.
    After it writes the Goods Issue to SAP, I open up the document it created and see that the line items are in there correctly, and that somehow the batches assigned to those line items are also in there.
    There is nothing in the code that does anything with the Batches, but somehow SAP knows which batches to work with.
    I haven't been able to find any info about it.  Can you please help us understand what is happening?  How does SAP know and make assignments to batches in line items in Goods Issues?
    Thank you,
    Mike

    Hi Michael and Gordon,
    Sorry Gordon, I'm quite sure you misunderstood Michael original question. Michael asked how the add-on he created could link corresponding batch number from an A/R Credit Memo document could be selected by Goods Issue document which generated by the add-on, while he actually never wrote a code to select any batches numbers which available in the system.
    Maybe a little bit of illustration:
    1. Item A, qty 10 - (batch A qty 5, batch B qty 3, batch C qty 2)
    2. A/R Credit Memo occurred, return of Item A with 3 qty (batch A qty 1, batch B qty 1, batch D qty 1). Therefore, item A latest position should be (batch A qty 6, batch B qty 4, batch C qty 2, batch D qty 1). This A/R Credit Memo created by add-on.
    3. Goods Issue document triggered by add-on. The problem is, Michael never write any code to select any batch numbers, and somehow the system choose batch number precisely as occurred in number 2 (A/R Credit Memo document), which is (batch A qty 1, batch B qty 1, batch D qty 1). Therefore the stock position for Item A back to as being displayed in number 1.
    I believe this shouldn't be possible at all. Unless, there is a certain mechanism in SAP that automatically choose batch number to used in Goods Issue document using LIFO (Last In First Out), which is, as far as I know never exist in any SAP B1 version. Yes you could automatically choose batch numbers according to available batch, but you could do this when system prompt you when you tried to issue certain document using SAP application itself, not using add-on.
    And of course, you could write a code to choose certain batches based on certain A/R Credit Memo, but still, you need to write a code, you can't do this without a code, selection of batches is compulsory when you tried to add a goods issue document which consist of items that managed using batches.
    In my opinion, I think it is better for you to re-write those codes and relate batches you want to attach with your Goods Issue document based on corresponding A/R Credit Memo. It is much safer, and the error message you encountered won't happen again in the future.
    Best Regards,
    Hendry Wijaya

  • Credit Memo Details in CRM_ORDER_READ

    Hi All,
    I have to read the credit memo details for a particular Opportunity.  For this can anyone let me know through which export parameter of FM CRM_ORDER_READ, we can find the Creadit Memo details of an Opportunity.
    Regards,
    Vinny

    Hi,
    I think it wont be visible directly.
    What you can do is read documetn flow (ET_DOC_FLOW) and then check if Credit Memo is in teh Documnet flow.
    Kindly reward with points in case helpful.
    Sharif.

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

  • HOW TO ADD A NEW ITEM ON CREDIT MEMO REQUEST DETAILS PAGE?

    Dear friends,
    Please help me to do this by personalization or extension. This is very important for sustaining in my job. Please post your thoughts as soon as possible.
    Thanks so much for your help and support.
    Here is the scenario:
    In credit memo request page, I need to add a new item.
    In the 'About this page', I checked for the view objects CMRequestVO and CMRequestLinesVO but the item is not available in the view objects.
    There is an item called Requestor Comments shown on this page. The item to be added is the Approver Notes. These 2 columns are populated through the workflow.
    How to find about the Requestor Comments item? If we know this then the Approver Notes item can be easily added to this page, I think.
    Also I enabled the FND_PERSONALIZATION_REGION_LINK profile option so that
    I can create a new item using personalization. But I could not see the create item icon in the create item field.
    Can adding the Approver Notes be achieved by personalization?
    EAGERLY WAITING FOR YOUR HELP.
    CK.

    Hi VK,
    You need to look at both VO's and see where to add the credit memo field.
    To extend the VO object...you have to use Jdeveloper.
    Check the below this site for the details steps:
    http://apps2fusion.com/apps/oa-framework/14-fwk/119-oa-framework-faq-extending-view-objects
    After extending the, you need to copy your objects under webserver and the bounce the apache.
    Then you need to do personalization..
    Here are the steps for personalization:
    Click Personalize page and click "Expand All" under Personalization Structure..
    Go to the corresponding Advance Table and Click on Create Item. This will create a Column Field
    1) Enter Unique ID-- ex; CreditMemoEx
    2) Rendered -- True
    3) Click Apply
    In the advance table search the newly created "CreditMemoEx"
    Click on the Create Item field again.
    1) Select Item Style " Message Styled Text"
    2) Data Type -- Varchar2
    3) Enter the Prompt = "Credit Memo"
    4) Scope -- Enter the full path of VO object...ex: /xx.../oracle/apps/...
    5) View Attribute -- Enter Exact name the attribute defined in the VO object.
    6) Enter other attributes required for Business.
    7) When Finished Click Apply.

  • Credit Memo details

    Hi,
    Is there anyway in CRM from where I can get the details of credit memos created during a day?
    Regards,
    Vikrant.

    Hi,
    I think it wont be visible directly.
    What you can do is read documetn flow (ET_DOC_FLOW) and then check if Credit Memo is in teh Documnet flow.
    Kindly reward with points in case helpful.
    Sharif.

  • Credit Memo API AR_CREDIT_MEMO_API_PUB.CREATE_REQUEST end with error,

    Hey Guys,
    I have to create credit memo for invoice but the api API AR_CREDIT_MEMO_API_PUB.CREATE_REQUEST end with the following error.
    Error Calling arp_process_header.post_commit ORA-20001:
    Failure encountered in AR_CREDIT_MEMO_API_PUB.Create_request call to arw_cmreq_cover.ar_request_cm
    My environment detail are following
    Database : Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    Application : 12.0.6
    Patch Level - R12.AR.A.6
    Kindly help me its urgent bases
    Regards
    Mazhar Hussain

    The code is following
    CREATE OR REPLACE PACKAGE BODY DMAPAR03_PVT AS
    NAME: DMAPAR03_PVT
    PURPOSE: CREATING CREDIT MEMO FOR INVOICES
    REVISIONS:
    Ver Date Author Description
    1.0 29-Dec-2011 MAZHAR HUSSAIN 1. Created this package.
    PROCEDURE CREATE_CM(
    ERRBUF OUT VARCHAR2,
    RETCODE OUT VARCHAR2,
    P_ORG_ID IN NUMBER,
    P_TRX_TYPE IN NUMBER,
    P_TRX_NUM_FR IN VARCHAR2,
    P_TRX_NUM_TO IN VARCHAR2
    IS
    V_TRX_DATE DATE := '31-AUG-2011';
    CURSOR C_TRX
    IS
    SELECT TRX.TRX_NUMBER, TRX.CUSTOMER_TRX_ID, RS.CREDIT_MEMO_BATCH_SOURCE_ID CM_SOURCE,
    NVL (SUM (TL.EXTENDED_AMOUNT), 0) LINE_AMT,
    (SELECT NVL (SUM (L.EXTENDED_AMOUNT), 0)
    FROM RA_CUSTOMER_TRX_LINES_ALL L
    WHERE L.CUSTOMER_TRX_ID = TRX.CUSTOMER_TRX_ID
    AND L.LINE_TYPE = 'TAX') TAX_AMT, RS.NAME SOURCE_NAME,
    RS.DEFAULT_INV_TRX_TYPE DEF_TRX_TYPE, TYP.NAME TRX_TYPE_NAME,
    RS.BATCH_SOURCE_ID, TYP.CREDIT_MEMO_TYPE_ID
    FROM RA_CUSTOMER_TRX_ALL TRX,
    RA_CUSTOMER_TRX_LINES_ALL TL,
    RA_CUST_TRX_TYPES_ALL TYP,
    RA_BATCH_SOURCES_ALL RS
    WHERE 1 = 1
    AND TRX.TRX_NUMBER BETWEEN NVL (P_TRX_NUM_FR, TRX.TRX_NUMBER)
    AND NVL (P_TRX_NUM_TO, TRX.TRX_NUMBER)
    AND TRX.CUSTOMER_TRX_ID = TL.CUSTOMER_TRX_ID
    AND RS.BATCH_SOURCE_ID = TRX.BATCH_SOURCE_ID
    AND TYP.CUST_TRX_TYPE_ID = TRX.CUST_TRX_TYPE_ID
    AND TYP.TYPE != 'CM'
    AND TYP.CUST_TRX_TYPE_ID = P_TRX_TYPE
    AND TRX.TRX_DATE <= V_TRX_DATE
    AND TL.LINE_TYPE = 'LINE'
    AND TRX.ORG_ID = P_ORG_ID
    AND NVL (TRX.ATTRIBUTE7, 'N') != 'Y' --PREVENT DUPLICATE IMPORT
    AND TRX.ATTRIBUTE2 IS NOT NULL ------ MIGRATION REP
    GROUP BY TRX.TRX_NUMBER, TRX.CUSTOMER_TRX_ID, RS.NAME, TYP.NAME,
    RS.DEFAULT_INV_TRX_TYPE, RS.CREDIT_MEMO_BATCH_SOURCE_ID,
    RS.BATCH_SOURCE_ID, TYP.CREDIT_MEMO_TYPE_ID
    ORDER BY 1 ;
    V_MSG_COUNT NUMBER;
    V_MSG_DATA VARCHAR2 (2000);
    V_RETURN_STATUS VARCHAR2 (1);
    V_REQUEST_ID NUMBER;
    V_CM_REASON VARCHAR2(100) := 'A/R ERROR';
    V_DUMMY VARCHAR2(240);
    V_CM_TRX_NUM RA_CUSTOMER_TRX_ALL.TRX_NUMBER%TYPE;
    V_CM_TRX_ID RA_CUSTOMER_TRX_ALL.CUSTOMER_TRX_ID%TYPE;
    V_TRX_SOURCE VARCHAR2(100);
    V_ORG_NAME VARCHAR2(100);
    BEGIN
    -- DBMS_SUPPORT.START_TRACE;
    BEGIN
    SELECT NAME INTO V_ORG_NAME
    FROM HR_OPERATING_UNITS
    WHERE ORGANIZATION_ID = P_ORG_ID;
    END;
    IF UPPER(V_ORG_NAME) LIKE 'CN003 (OU)'
    THEN
    V_TRX_SOURCE := 'CN003_CM_MIGRATION';
    ELSE
    V_TRX_SOURCE := 'CN001_CM_MIGRATION';
    END IF;
    FND_GLOBAL.APPS_INITIALIZE
    (USER_ID => FND_PROFILE.VALUE('USER_ID'),
    RESP_ID => FND_PROFILE.VALUE('RESP_ID'),
    RESP_APPL_ID => FND_PROFILE.VALUE('RESP_APPL_ID'),
    SECURITY_GROUP_ID => 0
    MO_GLOBAL.SET_POLICY_CONTEXT ('S', P_ORG_ID);
    ARP_GLOBAL.INIT_GLOBAL;
    FOR C_TRX_ROW IN C_TRX
    LOOP
    /*F P_TRX_TYPE <> NVL(C_TRX_ROW.DEF_TRX_TYPE, -1)
    THEN
    FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'Default Transaction Type Not Defined
    or Not Match with Invoice Transaction Type on Transaction Source: '
    ||C_TRX_ROW.SOURCE_NAME);
    EXIT;
    ELSIF
    */ IF C_TRX_ROW.BATCH_SOURCE_ID <> NVL(C_TRX_ROW.CM_SOURCE, -1)
    THEN
    FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'Credit Memo Batch Source Not Defined
    or Not Match with Invoice Transaction Source on Transaction Source: '
    ||C_TRX_ROW.SOURCE_NAME);
    EXIT;
    ELSIF C_TRX_ROW.CREDIT_MEMO_TYPE_ID IS NULL
    THEN
    FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'Credit Memo Transaction Type not Assigned on
    Invoice Transaction Type : '||C_TRX_ROW.TRX_TYPE_NAME);
    EXIT;
    ELSE
    BEGIN
    AR_CREDIT_MEMO_API_PUB.CREATE_REQUEST
    (P_API_VERSION => 1.0,
    P_INIT_MSG_LIST => FND_API.G_TRUE,
    P_COMMIT => FND_API.G_FALSE,
    P_VALIDATION_LEVEL => FND_API.G_VALID_LEVEL_FULL,
    P_CUSTOMER_TRX_ID => C_TRX_ROW.CUSTOMER_TRX_ID,
    P_LINE_CREDIT_FLAG => 'N',
    P_LINE_AMOUNT => -C_TRX_ROW.LINE_AMT,
    P_TAX_AMOUNT => -C_TRX_ROW.TAX_AMT,
    P_CM_REASON_CODE => V_CM_REASON,
    P_SKIP_WORKFLOW_FLAG => 'Y',
    P_CREDIT_METHOD_INSTALLMENTS => NULL,
    P_CREDIT_METHOD_RULES => NULL,
    -- P_BATCH_SOURCE_NAME => C_TRX_ROW.SOURCE_NAME,
    P_BATCH_SOURCE_NAME => V_TRX_SOURCE,
    P_ORG_ID => P_ORG_ID,
    P_DISPUTE_DATE => V_TRX_DATE,
    -- P_TRX_NUMBER => 'CM-'||C_TRX_ROW.TRX_NUMBER,
    X_REQUEST_ID => V_REQUEST_ID,
    X_RETURN_STATUS => V_RETURN_STATUS,
    X_MSG_COUNT => V_MSG_COUNT,
    X_MSG_DATA => V_MSG_DATA
    FND_MSG_PUB.COUNT_AND_GET (P_ENCODED => FND_API.G_FALSE,
    P_COUNT => V_MSG_COUNT,
    P_DATA => V_MSG_DATA
    DBMS_OUTPUT.PUT_LINE ('Return Status ==> ' || V_RETURN_STATUS);
    DBMS_OUTPUT.PUT_LINE ('Credit Memo request_id ==> ' || V_REQUEST_ID);
    DBMS_OUTPUT.PUT_LINE ('V_msg_count ==> ' || V_MSG_COUNT);
    -- FND_MESSAGE.RETRIEVE (V_DUMMY);
    DBMS_OUTPUT.PUT_LINE('Error in Create Credit Transaction:'
    || SUBSTR (SQLERRM, 1, 80)||' -- '||V_DUMMY
    -- FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'Return Status ==> ' || V_RETURN_STATUS);
    -- FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'Credit Memo request_id ==> ' || V_REQUEST_ID);
    -- FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'V_msg_count ==> ' || V_MSG_COUNT);
    IF V_RETURN_STATUS = FND_API.G_RET_STS_SUCCESS
    THEN
    IF V_REQUEST_ID IS NOT NULL
    THEN SHOW CM TRX NUMBER
    BEGIN
    SAVEPOINT NO_DATA;
    SELECT TRX.TRX_NUMBER, TRX.CUSTOMER_TRX_ID
    INTO V_CM_TRX_NUM, V_CM_TRX_ID
    FROM RA_CM_REQUESTS R, RA_CUSTOMER_TRX_ALL TRX
    WHERE R.REQUEST_ID = V_REQUEST_ID
    AND R.CM_CUSTOMER_TRX_ID = TRX.CUSTOMER_TRX_ID
    AND R.CUSTOMER_TRX_ID = C_TRX_ROW.CUSTOMER_TRX_ID;
    FND_FILE.PUT_LINE (FND_FILE.OUTPUT, V_RETURN_STATUS|| ' - AR invoice: '
    || C_TRX_ROW.TRX_NUMBER
    || ' | Generated Credit Transaction Number: '
    || V_CM_TRX_NUM||' | Success: '||V_MSG_DATA);
    DBMS_OUTPUT.PUT_LINE ( 'AR invoice: '
    || C_TRX_ROW.TRX_NUMBER
    || ' | Generated Credit Transaction Number: '
    || V_CM_TRX_NUM||' | Success: '||V_MSG_DATA);
    ---REMARKED THE AR INVOICE WAS GENERATED CM--
    UPDATE RA_CUSTOMER_TRX_ALL TRX
    SET TRX.ATTRIBUTE7 = 'Y',
    TRX.ATTRIBUTE8 = V_CM_TRX_ID,
    TRX.ATTRIBUTE9 = V_CM_TRX_NUM,
    TRX.ATTRIBUTE10 = V_REQUEST_ID,
    TRX.INTERFACE_HEADER_ATTRIBUTE12 = NULL
    WHERE 1 = 1
    AND TRX.ORG_ID = P_ORG_ID
    AND TRX.CUSTOMER_TRX_ID = C_TRX_ROW.CUSTOMER_TRX_ID;
    UPDATE RA_CUSTOMER_TRX_ALL TRX
    SET TRX.TRX_DATE = V_TRX_DATE
    WHERE 1 = 1
    AND TRX.ORG_ID = P_ORG_ID
    AND TRX.CUSTOMER_TRX_ID = V_CM_TRX_ID;
    UPDATE RA_CUSTOMER_TRX_LINES_ALL RCTL2
    SET RCTL2.INTERFACE_LINE_ATTRIBUTE12 = NULL
    WHERE RCTL2.CUSTOMER_TRX_ID = C_TRX_ROW.CUSTOMER_TRX_ID
    AND RCTL2.ORG_ID = P_ORG_ID
    AND RCTL2.LINE_TYPE = 'LINE'
    AND RCTL2.INTERFACE_LINE_ATTRIBUTE12 IS NOT NULL;
    COMMIT;
    EXCEPTION WHEN NO_DATA_FOUND
    THEN
    FND_FILE.PUT_LINE (FND_FILE.OUTPUT, 'AR invoice: '
    || C_TRX_ROW.TRX_NUMBER
    || ' | Generated Credit Transaction Number not found. '
    DBMS_OUTPUT.PUT_LINE ( 'AR invoice: '
    || C_TRX_ROW.TRX_NUMBER
    || ' | Generated Credit Transaction Number not found. '
    ROLLBACK TO NO_DATA;
    ---REMARKED THE AR INVOICE WAS GENERATED CM--
    END;
    END IF;
    END IF;
    IF V_RETURN_STATUS = FND_API.G_RET_STS_UNEXP_ERROR
    OR V_RETURN_STATUS = FND_API.G_RET_STS_ERROR
    THEN
    FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'Invoice Number: '||C_TRX_ROW.TRX_NUMBER||
    ' | Error:' || V_MSG_DATA );
    DBMS_OUTPUT.PUT_LINE ('Error:' || V_MSG_DATA
    ||' | For Invoice Number: '||C_TRX_ROW.TRX_NUMBER);
    END IF;
    IF V_MSG_COUNT > 1
    THEN
    V_MSG_COUNT := 0;
    LOOP
    V_MSG_DATA :=
    FND_MSG_PUB.GET (FND_MSG_PUB.G_NEXT, FND_API.G_FALSE);
    IF V_MSG_DATA IS NULL
    THEN
    EXIT;
    END IF;
    FND_FILE.PUT_LINE (FND_FILE.OUTPUT, 'msg_data:' || V_MSG_DATA);
    DBMS_OUTPUT.PUT_LINE ( 'msg_data:' || V_MSG_DATA);
    END LOOP;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    FND_MESSAGE.RETRIEVE (V_DUMMY);
    FND_FILE.PUT_LINE (FND_FILE.OUTPUT,
    'Error in Create Credit Transaction:'
    || SUBSTR (SQLERRM, 1, 80)||' -- '||V_DUMMY
    DBMS_OUTPUT.PUT_LINE('Error in Create Credit Transaction:'
    || SUBSTR (SQLERRM, 1, 80)||' -- '||V_DUMMY
    END;
    END IF;
    END LOOP;
    END CREATE_CM;
    END DMAPAR03_PVT;
    /

  • A/P Credit memo after GRIN Quality Inspection

    Hi all,
    We have to implement GRIN Quality Check module for one implementation. What we have done in the add on that for one GRIN, we go to Quality Check Program where item wise we enter the Accepted Quantity and Rejected Quantity . Then for all the Rejected Quantity we move the items from Raw Material W/Hs (GRIN W/Hs) to Rejection W/Hs and then create the invoice for complete GRIN Quantity for all the items . We have thought  to return back the rejected items using A/P Credit memo which will both nullify the Invoice affect as well as Stock Affect . But there is a problem that we are encountering during A/P Credit memo :
    When we perform Copy From from A/P Invoice to A/P Credit Memo , all the details form A/P Invoice are copied don to A/P Credit memo , but we want to return the goods not from RM WHs but from the Rejection WHs as we had already moved the Rejected Items stock to Rejection WHs ,when we change the code of Warehouse from RM WHs to Rejection WHs , it removed the tax code from Tax Code columns for that row and later does not even allow to edit the Tax Code for that row without which we are not able to save the A/P Credit memo.
    please suggest the best way of implementing the complete scenario so that we could both be able to maintaining the separate stock of Rejected Items, Return it back after creating the complete Invoice . We also wanted to create the complete invoice after GRIN irrespective of the no. of items rejected.
    Thanks and Regards,
    Pooja Singh.

    Hi,
    Might be I have elaborated too much thats why I have not received any solution so far.
    Actually I just want to confirm one thing first, that we are working for GRIN Inspection as follows :
    1. GRIN
    2. Inspection of all the items in a particular GRIN
    3.Stock Transfer of Rejected Items to Rejection Locations
    4.Now we want to create Complete Invoice that is invoice for Complete Quantity irrespective of Rejected Qty.
    5.Now Returning back the Rejected Qty of items from Rejection Whs and Credit note for Vendor to reduce the due balance.
    But when I try to create A/P Credit memo from AP invoice I want to change the WhsCode from RM Whs to Rehection Whs which if done , Tax code disaapears and disables.
    What should be done.
    Thanks and Regards,
    Pooja Singh.

  • 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

  • AP-Credit Memo-Clear Vendor/Credit Memo

    Hi all, I am facing Problem during Vendor Credit memo, Clear it (F-44), and Manual Check using F-58
    Can I have different Due date For Vendor Credit memo , as I can see we have different Payment terms in Master data but whenever I post it gives the Due date as Immediate but if I see Open item report it says not Due and shows the Payment terms and the net due dates. Is this Normal?
    I would like to clear the credit memo using the F-44 with reference to another open line item but system says Difference is too large for clearing.
    The third thing I am trying to issue manual check I gave details, as per "J03_AP_CreditMemo_BPP_EN_US", when I hit Process open Items "system is not allowing to post document getting error "Select a valid function"".
    Any Ideas How to deal with the above 3 situations?
    Sandhya.

    Hi,
    To answer few queries,
    Data can be entered in the field for the terms of payment key in various ways as you enter a business transaction:
    In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.
    In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.
    Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:
    item level in sales orders header level in purchase orders and invoices
    F-44--clearing problem
    If the amount of open item is not equal to clearing amount you enter and the difference is not with in the tolerance limit you specify in the configuration, you will face this error. If the whole amount of open item need not be cleared, then try partial payment/residual payment  options.
    The third situation I am not clear.
    Thanks
    Aravind

  • Credit memo for Inter-company billing

    Hi
    We are trying to create a credit memo with reference to an inter company billing document. The business requirement is to create a credit memo  to adjust the invoice value due to wrong value posted in the original inter-company invoice. Hence we do not want to use the sales returns route for this.
    So, we are trying to create a credit memo request (ZCR) in VA01 with reference to the Inter company billing document (ZIV). We have maintained the copy control between ZCR and ZIV.
    However, when creating a credit memo request (ZCR) with respect to the intercompany billing document, we get the below error in the sales order.
    "Item category ZNLC is not defined" and "Check Item copy" with Message No: V1324.
    ZNLC is the item category that we used in the intercompany delivery document.
    We are able to ignore this message in sales order screen and save the credit memo request in VA01 and also create credit memo (ZG2) in VF01.
    Pl provide your inputs on whether we are missing any other configuration.
    Regards,
    John

    Hi
    I have maintained the item level copy control settings as below.
    In the copy control (VTAF) between ZCR (Credit memo request) and ZIV (Inter company billing) at the item level for ZNLC (Inter company item category coming source document), the following setup has been maintained
    Copying requirements : 303
    Copy schedule lines : Blank
    Pos / neg qty : Blank
    Pricing type : D
    Update doc flow : X
    Do not copy batch : blank
    Pl let me know if there are any other settings to be done in config.
    Thanks,
    John

  • SALES REPORT (Credit memos Subtracted)

    Hi all,
    I would like to come up with a detailed Sales Reports that shows the Quantity and Value of items sold per day (AR Invoices) excluding the credit memos. I later want to use the same query in crystal reports. I came up with the below query; the select statements are executing individually but using 'UNION ALL' I am getting a 'Conversion' error.
    SELECT T0.[CardCode]Code, T4.[SuppCatNum]cat, T4.[FrgnName]frn, T1.[Quantity]InvQ, T0.[DocTotal]InvT,0 MemoQ,0 MemoT FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry full outer JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode full outer JOIN OUSR T3 ON T0.UserSign = T3.USERID full outer JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE (T1.WhsCode='MLO01' or T1.WhsCode='ARG01')  AND T0.DocDate=[%0]
    union all 
    SELECT  0 Code, 0 cat, 0 frn, 0 InvQ,0 InvT, T1.[Quantity] MemoQ, T0.[DocTotal] MemoT FROM ORIN T0  INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry full outer JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode full outer JOIN OUSR T3 ON T0.UserSign = T3.USERID full outer JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE (T1.WhsCode='MLO01' or T1.WhsCode='ARG01') AND T0.DocDate=[%0]
    kindly assist refine this query or come up with a better one altogether. Thank you.

    Hi,
    Try:
    SELECT T0.CardCode Code, T4.SuppCatNum cat, T4.FrgnName frn, T1.Quantity InvQ, T1.LineTotal InvT,0 MemoQ,0 MemoT
    FROM OINV T0
    INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
    LEFT JOIN OITM T4 ON T1.ItemCode = T4.ItemCode
    WHERE (T1.WhsCode='MLO01' or T1.WhsCode='ARG01') AND T0.DocDate=[%0\]
    union all 
    SELECT  '', '', '', 0,0, T1.Quantity, T1.lineTotal
    FROM ORIN T0
    INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry
    LEFT JOIN OITM T4 ON T1.ItemCode = T4.ItemCode
    WHERE (T1.WhsCode='MLO01' or T1.WhsCode='ARG01') AND T0.DocDate=[%0\]
    Thanks,
    Gordon

Maybe you are looking for

  • After updating to iTunes 11.1.2 constantly hanging then crashing

    I am no longer able to use 64-bit iTunes at all on Windows 7 64-bit. I downloaded and installed the latest version and now cannot access any of my content. I am constantly receiving "Unable to load class data" errors, then iTunes hangs and eventually

  • PDF Thumbnail view in windows explorer

    Hi guys, hope you can give me a hand! I`m about to lose my mind here. I have 4 machines with adobe reader 8.1 installed and in those 4 machines I can see my pdf files as thumnails (they´re books, so I see the cover of each one of them). On my 5th com

  • Get size of the mailbox before/after backup

    Hi there i've been assigned to do a specific report related to exchange and its backup  so what we want is a report that would give us the global size of all our databases before and after the backup ( even the size of the logs before and after) (exa

  • How to start universe development with excel reports?

    hi, I have about 6 reports in excel with the help of which i have to create universe. Please help how to start and how i can make the universe? Examples will help much better. How to study the reports and start with development?

  • Keynote presentation stuck on iPad

    I used to have a lot of keynote presentations on my iCloud account. I have since deleted them all, but there is still one that shows on my iPad as if it's still updating. I cannot select it to delete it or to anything with it. I have even deleted the