Automatic clearance of existing Credit memo from Lockbox

Hi All,
I am trying to implement a scenario where
The credit memo is already existing in the system
when user executes the uploads and executes the Lockbox file system should automatically clear the credit memo.
Currently its just doubling the amount of credit and keeping in open items.
At the EDI level we have manipulated the bank data and added 081 and moved the amount to -ve side (but this works fine when there is no credit memo )
680000400007955000110001380729244           000017212                                  
4800013    9240223423      00000000000000160000081                              
4800014    9241457414      00000000000000088200081                              
4800015    9241684533      00001617000000000000                                 
4800016    9241794368      00009702000000000000                                 
4800017    9241805197      00000000000000088200081  
I am implementing the user exit FEBLB001 component EXIT_RFEBLB20_001              Lockbox Data
Can anybody suggest what tweaks I should do in my user exit to achieve this automatic clearance of Credit memo
Thanks
Smita
PS Help will definately be rewarded

Hi Sridhar,
thanks for your reply. The problem I am facing is that if the credit memo exist in system, i will post the amount once again, thus making total amount double.
This is because of 081 and the imposing of -ve sign.
Now this 081 is working fine when there is no credit memo. I want to manipulate the data at the user exit level if credit memo exist in the system. so that it will post and clear the credit memo.
I believe I am clear with what I want to achieve
Regards,
Smita

Similar Messages

  • Create a Credit Memo from purchase invoice

    Hi everyone,
    I am trying to create a credit memo from a purchase invoice, but it retuns the following error:
    "RFC is missing"
    I am using the JCO classes to develop this application. this is a sample of my code:
    IDocuments document = SBOCOMUtil.newDocuments(company,new Integer(19));
    document.setCardCode("P00055");
    document.setDocDate(new java.util.Date());
    document.getLines().setBaseEntry(new Integer(2852));
    document.getLines().setBaseLine(new Integer(0));
    document.getLines().setBaseType(new Integer(18));
    int lRetCode = document.add();
    if(lRetCode != 0){
        System.out.println(company.getLastError().getErrorMessage() );
    Do you have any idea about what is the problem?
    Many Thanks.

    Hi everyone,
    the problem was solve. I had to specified the FederalTaxID field on the document.
    just added the following field:
    document.setFederalTaxID("000000000000");
    Thanks.

  • How to hide net value of $0 on Credit Memos from rejected return?

    We are creating a credit memo request with a second line item which contains rejected returns.  Basically line item 1 contains the actual qty which we are refunding and line item 2 is the qty which we will not be refunding.  When we create the the credit memo from this document in VF04, the line item two is showing on the credit memo with a net value of $0.
    Is there a way to hide this net value of $0 or rejected return items from coming over onto the credit memo.  We would like to just show positive values on the CM.
    - Chuck

    The reason for rejection is set in when the credit memo request is craeted and the net value of $0 still appears on the credit memo.. how ever the pricing values are in an unprocessed (yellow) status.
    So after running a few test when the billing block was set on the credit memo request.. I noticed that the credit memo request was still open after VF04, would appear as unprocessed, and always show up when VF04 is ran.
    Is there some other way to get the net value of $0 to NOT appear on the credit memo beyone reason for rejection and billing block.  Maybe something in the configuration copy control??

  • Establish receivables and credit memos from suppliers

    hi,
    How I can Establish receivables and credit memos from suppliers to whom the authority has made duplicate or erroneous payments and indicate them separately so as consider this while processing future payments to the party
    how i can implement this functionality
    thanks

    Hello,
    That will help but we have 400 records. I guess we will write some logic in staging table to update all those records which have that prefix in invoice number.
    Thank you.

  • SD Credit memo from Dispute management

    Hi Experts
    I need help in creating credit memo from Dispute management. I have contacted SAP for it and they suggested that it would be customization. Requirement is to create Credit memo directly from Dispute management module (Having a tab in UDM_Dispute ). Once i select that option it should create VA01 credit memo belongs to dispute details (assuming dispute was created belongs to SD billing document).
    Can anyone direct me on which BAPI to be activated and which workflow event to get triggered etc?
    Appreciate any help and points will be rewarded.
    Thanks
    Aleem

    Hi Aleem
    Were you able to accomplish that? If yes, can you please share the details? We have a similar requirement and want to initiate a credit memo request from dispute case.
    Thanks
    Swati

  • 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

  • Invoice and Credit Memo from ECC to SUS

    Hi Gurus
    Is it possible to replicate Invoice or a credit Memo from ECC to SUS if the PO was delvired to vendor through SUS.
    with Regards
    Manjunath

    HI ,
    part1 :
      ERS Invoice from ECC is transfered to SUS system for display purpose to Vendor in MM-SUS scenario. IDOC "GSVERF01" is used for this purpose.
    part 2 : Invoices can be created in SUS system by vendor against ASN ( Advanced Shipping Notification or purchase Order . The invoice is transfered to ECC system through XI. Message Interface for the same is "InvoiceRequest_Out" .
    For reference please check
    http://help.sap.com/saphelp_srm70/helpdata/en/74/344c430fab4d0bbc30996d56cc293a/frameset.htm
    Regards,
    Kalandi

  • CS: Credit memo from Repair Order (RA)

    Dear Experts,
    I am trying to create a credit memo from my sales orderin lieu of return of a defective product,  I am using the repair procedure which generates item category IRGN for credit memo.
    My question; Since using repair procedure gives me a sub-item I am not sure how to go about billing it and also can I bypass the credit memo request creation and directly create Credit memo, how?
    Kindly advise with your inputs on this scenario.
    Thanks

    Solved. Used Invoice(for Repair) to create credit memo.

  • Credit Memo from Retro Billing

    Hello Gurus!!
    Can anyone please help me
    Scenario:
    I have created a credit memo from retro-billing due to price drop, and released the credit memo to accounting.
    Problem:
    When we look at the accounting document of the credit memo it doesn't have a controlling document and profitability analysis.
    I have simulated the document at KE4ST, and here is the error message I got
    Document is not profit-related and thus could not be transferred
    Message no. KF755
    Diagnosis
    Sales document was not transferred to Profitability Analysis (CO-PA) because it is not relevant for the analyses in CO-PA. This can be due to one of the following reasons (among others):
    The document type is not profit-related, such as an inquiry
    The sales document shows zero for the quantity
    The sales document has been denied
    The sales document is locked due to credit reasons
    Please anyone give me an idea on how can I resolve this..
    Thank You!!!!

    Hi Carla,
    I saw your the issue you posted on SDN.
    We are facing exactly the same problem. We could not see the solution how you resolved this problem.
    Can you tell us how have you resolved this ??
    Would be great help to us.
    Thanks,
    Apte C.M.

  • Assignment field being automatically populated in Vendor Credit Memo

    Dears,
    While posting Vendor Credit Memo with Reference Invoice (field Inv.Ref under Payment tab) the Assignment field (field Assign. under Details tab) is being automatically populated with assignment value from the referenced invoice.
    Is there a way to disable automatic Assignment field population?
    Thanks in advance,
    Robert

    Dears,
    No sorting keys exist for GL Master Vendor reconciliation account and still assignment is being copied (Data was copied
    Message no. F5343)
    Substitution is not an option as it's being done when posting, and not at the moment of invoice creation.
    Thank you for any ideas.
    Best regards,
    Robert

  • Exclude A/P Credit Memo from this Query

    Hello All,
    i am trying to figure out to exclude A/P Invoice that it was already Credit Memo with my existing Query
    SELECT
    max(T0.DocDate) as 'Date',
    max(T1.CardName) as 'Vendor Name',
    max(T0.Address) as 'Vendor Address',
    count(T0.DocNum) as 'No. of Invoices',
    max(T1.LicTradNum) as 'TIN No.',
    sum(T0.BaseAmnt) as 'Base Amount',
    sum(T0.VatSum) as 'Input Tax',
    max(T1.ECVatGroup ) as 'TaxCode',
    max(T2.WTCode) as 'WtaxCode'
    FROM OPCH T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    left join PCH5 T2 on T0.DocEntry = T2.AbsEntry
    WHERE T0.DocDate BETWEEN '[%0]' and '[%1]' and T0.VatSum <> 0
    GROUP BY T1.CardCode
    Please help mew revise my Query.
    this is connected with my previous question How to Identify A/P Invoice that was Credit Memo  but i cannot figure out how to incorporate PCH1.TargetEntry
    Please Help.
    Thank You.
    Fidel

    try the below query
    SELECT 
    max(T0.DocDate) as 'Date', 
    max(T1.CardName) as 'Vendor Name', 
    max(T0.Address) as 'Vendor Address', 
    count(T0.DocNum) as 'No. of Invoices', 
    COUNT(T5.DocNum) AS 'No of Credit Memos',
    max(T1.LicTradNum) as 'TIN No.', 
    sum(T0.BaseAmnt) as 'Base Amount', 
    sum(T0.VatSum) as 'Input Tax', 
    max(T1.ECVatGroup ) as 'TaxCode', 
    max(T2.WTCode) as 'WtaxCode' 
    FROM OPCH T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode  
    INNER JOIN pch1 t3 ON t3.DocEntry=t0.DocEntry
    LEFT JOIN dbo.RPC1 T4 ON T4.BaseEntry=T3.DocEntry left JOIN dbo.ORPC T5 ON T5.DocEntry=T4.DocEntry
    left join PCH5 T2 on T0.DocEntry = T2.AbsEntry 
    WHERE T0.DocDate BETWEEN '[%0]' and '[%1]' and T0.VatSum <> 0  
    GROUP BY T1.CardCode 
    --Manish

  • F110 - Exclude Credit Memos from original Invoice

    Good afternoon,
    Our go live was 1 month ago.
    We have prepared automatic payment process and everything works perfectly. Mainly, we base our process in the Payment Method Supplement field. Some payment methods group documents following different rules (restricted to 7 rows or as many as request).
    Our problem is that our customer does not want credit memos to be included never there (payment terms are taken from original invoice and when they pay the invoice, this credit is included). They want to identify ALWAYS what they are paying fulfilling the Payment Method Supplement field.
    Is there any chance not include the credit memo in these payments? For example, not copying Payment Method Supplement from the original invoice? any other idea? Please let me know. Regards,
    Javier

    Hi Renfe Proyecto Auge ,
    You can exclude Credit memos in Additional Fields there you have to select Excluded and from hidden field select document radio button and from the list select Document Type (BKPF-BLART),
    after this you have to choose Document type credit memo what ever you maintained for Credit memo, accordingly system will exclude the values from Automatic Payment Run.
    Regards
    Sridhar

  • Match Credit memo from Payables Open interface import.

    We have a requirement wherein we have to load Standard invoices as well as
    their corresponding credit memo match.
    The user guide only mentions about matching to a PO or reciept but not to a standard invoice
    As per metalink note 422659.1
    "So the Entered Invoice can be matched to PO or receipt only and not to another invoice .This
    feature is applicable only from the application interface by matching the credit memo invoice to
    standard invoice.
    A workaround is to setup Descriptive Flexfield on the Invoices Distributions and populates the
    Standard invoice Number in the DFF segment in order to be a reference".
    Can somebody help me understand this workaround?
    Thanks

    Check status is either null or rejected and source column matches the source you are passing to the concurrent program, group_id is either null or group ID you are passing matches the group_id column.
    Do you use workflow approval for the invoices?
    Thanks
    Nagamohan

  • URGENT!!! - Applying existing credit memo to existing invoice

    Hi All,
    I have found a package (not a public API) which can be used to applying existing CM to existing INV, package is 'ARP_PROCESS_APPLICATION.CM_APPLICATION'. There are many input parameters that need to go in but I am just listing out the ones identified in package documentation:
    p_cm_ps_id - PS Id of the Credit Memo
    p_invoice_ps_id - PS Id of the transaction p_amount_applied - TO amount
    p_apply_date - Application date
    p_gl_date - GL Date
    p_ussgl_transaction_code - USSGL transaction code p_customer_trx_line_id - Line of the transaction applied
    p_module_name - Name of the module that called this procedure p_module_version - Version of the module that called this procedure
    while testing locally, I did set up the org context, initialized the application and provided values for all the variables but sent
    --> null for p_ussgl_transaction_code
    --> null for p_customer_trx_line_id
    --> 'ARREREVB' for p_module_name (this is actually not the module calling this program but gave a random value since the input is not being validated by the package)
    -->'1.0' for p_module_version (random value since it is not being validated)
    After setting up all these values the API is still erroring out on execution. Should I pass any other values to this private API? Did anyone successfully execute this private API ? if yes can you please guide me,thanks.
    Ajay

    Hi
    In the Invoice window Enter Debit or Credit Memo, Form the Match Button ,Select "Invoice"
    Select Match
    In find Invoice Match window Enter Search Creteria for Invoice
    If you want to see a invoice matched to purchase order enter the purchase order mumber
    Then Match
    And while making Payment you have to select that Debit or Credit memo then only it is removed form the Supplier
    Thanks
    Sunil

Maybe you are looking for

  • Error in loading data into essbase while using Rule file through ODI

    Hi Experts, Refering my previous post Error while using Rule file in loading data into Essbase through ODI I am facing problem while loading data into Essbase. I am able to load data into Essbase successfully. But when i used Rule file to add values

  • Importing video to external hard drive

    How do I import DV directly to my LaCie external hard drive? I've daisy-chained my camcorder, hard drive, and powerbook via fire wire. I need the most basic step-by-step instructions required to tell the powerbook to send the video directly to the ex

  • Business Benifits acheived

    Hello, can you all gurus refer to some pointers or few presentations explaining the business benifits acheived by using SAP BI? Also some typical advantages/disadv. in case of SAP BI? thanks,

  • Opening image file from Form 6i deployed on Application server

    Hi I am working on an applictaion where a form 6i is deployed on application server.The application reads an image file from hard disk.The form works fine when I run in form developer . But when I deploy on application server the form using get_file_

  • Creating a slideshow

    Hi After editing a wedding I have exported all the images to another PC (that's just the way my workflow happens to be). On that PC I ahve selected images I want to be in a slide show. I now want to create the slideshow using LR. How do I do that? If