A/P Cash Discounts Query

Hello Experts,
I am trying to query the list of all Open AP Invoices which are eligible for Cash Discounts.
Scenario : For Instance in OEC Computers,I have the following Open documents in SAP
DocNum   CardCode     PostingDate   DueDate         PaymentTerms
110           V10000       06/18/2010     07/19/2010      2P10Net30    ( Eligible for 2 % discount if paid within 10 days from posting date)
114           V20000       06/18/2010    08/09/2010      2P10Net45   ( Eligible for 2 % discount if paid within 10 days from posting date)
Let us say a user wants to run a check today and would like to know what documents are eligible for cash discounts based on duedate 07/02/10.
I am using the following query but does not seems to be working exactly:
select t0.DocNum,t0.CardCode,t0.CardName
,t0.DocTotal as Amount
,t0.DocDate as PostingDate
,t0.DocDueDate as DueDate
,t1.PymntGroup as PaymentTerms
,t2.Discount
,t1.ExtraDays
,t2.NumOfDays
from OPCH t0 inner join OCTG t1 on t0.GroupNum=t1.GroupNum
inner join CDC1 t2 on t1.DiscCode=t2.CdcCode
where  T0.DocDate>= '[%0]' AND T0.DocDueDate<= '[%1]'+DATEADD(DAY,10,t0.DocDate) and t0.DocStatus='O'
Any help would be appreciated.
Thanks,
Praneeth

Hi Gordon,
This works fine , but the user needs to input Due Date. Based on the due date, the query should return the documents that are eligible for cash discounts.
For Instance  :
Assume that there are two Open AP Invoice Documents 110,114 which has a posting date of 06/18/10.
There are eligible for cash discounts if paid with in 10 days from posting date i.e in this case 06/28/10.
Now the user wants to input the due date as 07/02/10 , because he would like all open AP Invoices that are eligible for cash discount with in this due date.
Since 06/28/10 falls with in the range of the user due date  07/02/10 the query should retrieve data.
Any advise would be appreciated.
Thanks,
Praneeth

Similar Messages

  • Query Regarding Cash discount In F110

    Dear all,
    We have a payment terms 0003(14 days 3% cash Discount,20 Days 2% cash discount & within 30 days due net).
    I have posted vendor invoice with this payment terms on 15.09.2009 & making payment to the vendor on the same day to avail 3% cash discount through F110 but when we go to edit proposal after scheduling proposal the system through an error Company codes XXXX/XXXX do not appear in proposal 15.09.2009 TEST; correct.
    It do not allow us to make payment to vendor until the invoice becomes due.because of this we cannot take cash discount from vendors.
    We have checked Max cash discount in All company codes in FBZP.
    Regards,
    D RANA

    Hi Deepak,
    Try giving the next run date after the due date say after 35 days or si and keep the other parameters as you are using now. The payment should get included. Normally, SAP will check if the the document is getting over due or not in the next payment run date and includes it in the current only then.
    Please revert.
    Thanks and Regards,
    Anit

  • *URGENT* Cash discount account configuration

    Hello SAP Gurus,
    We have the following requirement:
    The business would like to update the GL account that is automatically posted when cash discounts are taken in the AP payment run.
    Is there any functionality available in SAP to configure the cash discount account by company code or other org? 
    The only place I am aware of that this account is configured is through transaction OBXU and this appears to be a global setting (by world wide chart of accounts), so affects all geographies and vendor payments.
    PS: Suitable points shall be rewarded.
    Thanks and Regards,
    Sreeni.
    +91 99860 32960.

    Hi Sreeni,
    when evere you are posting transactions in SAP, It will defnitely belongs to one company code only. so when system will calcualte cash discount based on the terms of specified in document. it will post the cash discount in to that company code.
    hope it will clear your query.
    it will be configured in OBXU only
    Best Regards
    Ashish Jain

  • Automatic cash discount in sap fico

    Dear Experts
    i had a query in which i needed the solution for the query , My query is that i need to know that if i take the cash discount terms of payment as 60 days and some vendor pays me before 60 days i.e around 30 days then please let me know that whether the system would calculate for 30 days or will show the cash discount for 60 days .
    Thanks in advance for helping me in this query
    Regards
    Devendra Mohan

    Hello
    Please go through the link:
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/0783f54acd11d182b90000e829fbfe/frameset.htm
    When the total cash discount is calculated and if you desire to split the posting, check if document splitting is possible.
    Think of substitution or check if an user exit exits to posts the splits to a different GL a/c
    Reg
    assign points if useful

  • Exchange rate gains/loss  and cash discounts vs document splitting

    Dear all,
    I am facing the following problem. My customer wants to do the following:
    -Realized and unrealized exchange rate differences regarding accounts receivable has to be booked on the same profit center that the invoices was book on when they were created.
    -Realized and unrealized exchange rate differences regarding accounts payable has to be booked on the same profit center that the GR/IR account (offseting entry for accounts payable when receiving material vendor invoice)
    -Cash dicounts granted must be booked on the same profit center that the GR/IR-account (when registering the invoice) when doing the payment of vendor invoices in f110.
    Could this be received through document splitting? Anyone that knows what settings I have to do?
    Best Regards, Åsa

    Hi
    As for your query...When  realized loss/gain in that double click on line item you can update profit center.
    Same for cash discount granted.
    if you ask for document splitting assign Extended  document spliting scenario.
    it only work for profit center spliting.
    clear
    Regards
    prakash

  • Cash Discount Calculated for One Line Item and not for Other

    Hi All,
    We have devloped a Z program which is used to Write of InterCompany AR and AP recon Account to another GL Account. In this program to clear line item we have created a BDC which calls t-code FB05. Thsi program is running perfectly fine for all company codes.
    There is new company code SG20 for which it is not clearing the line items. It has created a Session in SM35, when we analysed the seesin we found that for some line items system is calculating Cash Discount and for some other line items it is not but the payment Term is same for all the douments with 3% 14days.
    I need your help in understanding that why for some line items system calculates the Cash Discout where as for others it is not calculation..also the Posting Date is same for all the documents.
    Please advise what could be the reson for this.
    Thanks!
    Regards,
    VIvek Srivastava

    Hi
    Cash discount is calculated based on the combination of baseline date and payment term conditions.
    Hence please check the baseline date for all the documents, in which the cash discount is not appearing.
    In your case, the possible reasons could be that 1) baseline date is different between these documents or 2) payment terms cash % is manually modified in the line item of the documents.
    Regards

  • PMT Terms with Cash Discount

    FI Experts,
    I created a new payment term with a 1% discount if paid whithin 10 days. Can some one give me some steps as to what else needs to be configured in order to have this difference deducted at the time of payment run. I know have to set-up an account but not sure what fields I have to check in order to make it work.  
    1- Create new payment terms
    2- I defined a G/L account for cash discount
    Can some one tell me when I set-up the account if I have to set-it up a certain way? in FS00.
    Thank You for your help.
    Edited by: Frank on Feb 9, 2009 10:42 PM

    Good to know that it is working.  When you maintain payment term in vendor master, it SHOULD get defaulted when you perform FB60 for that vendor in that company code.  Payment term for vendor cannot be maintained in General Data section, it is in Company code segment.  Are you sure you are performing FB60 for the vendor in the company code in which you maintained payment term for that vendor in vendor master record?  Please recheck.  Also, if you have payment term in Purchasing Organization segment in vendor master record, it would not get defaulted in FB60.  Here is what SAP help says on payment term field in vendor master record.
    In most business transactions, the system defaults the terms of payment 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.

  • Not able to post vendor payment in case of Cash discount received

    Hello
    We are on SAP ECC 6.0
    I'm not able to post an outgoing payment through F-53 T code when cash discount is received from vendor due to early payment before due date.
    I get the following error message -
    Tax code V0 for country IN has been deleted or incorrectly changed
    Message no. FS201
    Our tax calculation procedure is TAXINN and we are an indian company in India.
    GL account for cash discount received is already defined in OBXU t code for SKE transaction key tax code wise.
    V0 tax code is defined through FTXP.
    I'm able to display correct cash discount amount and cash discount % when i click on select process open item in F-53 after entering document date; posting date; company code; currency; Bank GL A/c; Amount (Net of discount); value date and Vendor Account.
    What am i missing? Why am i not able to post vendor outgoing payment?
    Is it possible to post cash discount received to the credit of Stock / Inventory Account as quantity received is not consumed or quantity is lying in inventory?
    Thanks.
    Vimal

    Hello Chintan
    I have assigned GL A/c in OBXU t code with and without reference to tax code.
    Still, i am not able to post outgoing payment when cash discount is received as i am paying it before due date.
    Cannot i take credit of cash discount received to Inventory / Stock Account?
    Is cash discount received always posted to non-Inventory / non-stock GL Account?
    Thanks.
    VS

  • Clearing issue Incoming payment due to Cash discount ( customers)

    Hello,
    During processing automatic incoming payments the system don't clear the customer open item in case the customer has taken a cash discount.
    The clearing should be done automatically in the posting area 2 but now the the user needs to do manual interventions in the FEBAN in order to clear the customer
    We checked the payment terms and verified the discount taken by the customer and they are ok
    After investigation we guess that the original SD invoice don't send the Discount amount and Discount base amount to FI, because  we saw that those fields are empty in the FI document (RV),
    Also in Billing the Cash discount base field in empty...
    When i tried to create a manual customer invoice those fields are well filled in and the system clears the customer open item perfectly !
    Any one an idea how to fix it ?

    Hello,
    Thanks for your feedback but the issue is not solved.
    Is there difference in clearing behaviour in case the open item posting is orginated from  a SD invoice ( Billing) because as stated before, when I make a FI sales invoice (FB60) the system perfectly accepts the cash discount and post and clears in postingarea 2
    Also when I consult the open item position (FBL5N) the cash discount amount field is empty which is not the case when I post an FB60 invoice
    Summarized
    We are usiing the automatic bank statement program ( FEBC), during posting the system post perfectly posting area 1 (FEBP) but fails the post postingarea 2 ( the system makes a payment advice) the message the system generates ' Difference to large for clearing F5263'
    Many thanks for help

  • Cash Discount in absolute value, not in %

    Hello Friends,
    I have a scenario with respect to terms of payment, where the customer is entitled for a cash discount of Rs.100 per unit if the invoice is cleared within 7 days from the date of invoice, Rs.75 per unit within 14 days & Rs.50 per unit within 21 days with total credit period of 45 days.
    The problem I'm facing is that in the Terms of Payment configuration (transaction code OBB8), I'm able to store the cash discount in % and not in absolute value (field "percentage" under the "Payment Terms" heading in tcode OBB8).
    Request your suggestion at the earliest.
    Thnx & Rgds,
    Padmanabhan

    Hi,
    The CASH DISCOUNT will be given based on the Payment terms  with the CONDITION TYPE.
    In the Standard the CASH DISCOUNT condition types are SKTO & SKTV.
    If you are using the same condition types, change the CALCULATION TYPE  for these condition types in V/06  to B ( which is fixed amount)  and try.
    Hope it will solve your requirement.
    regards,
    santosh

  • Payment Term - Cash Discount

    All,
    I think that I have an easy question, but just wanted claridifcation.. I need to create a new payment term with a simple cash discount - just 2% if paid in full within 30 days and if not, no cash discount. Also, this is just for purchasing vendors. 
    Within configuration with the payment terms, is the following correct for what I need to do:
    Term 1. 2%   30 Days
    Term 2. 0%   30 Days (note, that I would leave the percentage field blank for this second line).
    At first I thought that I only needed the first line for it, but after reviewing other posts on this topic I have seen that I would probably need the two terms. However, I am unsure if I need to do anything with the Fixed Date and / or Additional Months field. Or, if what I have listed above should be correct.
    If you could provide any assitance, it would be much apperciated.
    Thanks!

    Okay, thanks!
    But just to clarify - the net due date is actually 30 days, and they offer a discount if we pay it within the 30 days - so basically if we pay it on time, there is a 2% discount!
    So setting it up it would be:
    2%  30Days
           30days
    Correct?
    Thanks for your quick reply!

  • F-53 and F-28, Customized columns for cash discount and %

    Hi Expert,
    With reference to the subject of: Customized columns for cash discount and % ...
    I faced the problem of not able to set / defined hidden column for cash discount and % by creating a new variant.
    Steps:
    Create a variant
    Click <administrator> button ... mark the columns hidden, and click <activate> button
    Then click <Save> button
    Problem: Every time I using the F-53/F-28, the layout is not working, and when goto check the variant settings, the cash discount and % columns remained unchecked.
    SAP version: 4.6
    Kindly advise.
    Thanks and regards,
    sbmel

    Hi JP,
    It is not working using field status group, as I am using F-53 and F-28 and not FB50/60/70.
    The purpose I want to create variant for screen after clicking <process open item> is to control column display (hide cash discount and %).  if the variant is working, I can create a customized Tcode for the F-53 and F-28.
    Now problem is that variant seem not working.
    Thanks and regards,
    sbmel

  • Purpose of Cash Discount field in Material Master

    what is the purpose of Cash Discount field in Material Master. what does it control. do it link to SKTO anywhere?
    please explain

    Hi,
    Cash discount is applicable for this material or not..
    This is for Sales only..
    Pricing Procedure (RVAA01) and if you activate SKTV and SKTO Condition types
    Cash Discount can calculate before tax or after tax
    Condition Type- SKTV(Statistical Condition Type)---If you check requirement is "14" which says Discount before Tax( This will calculate from the Filed Material master "Cash Discount Indicator" ie "SKTOF"
    Condition Type-SKTO-(Statistical Condition Type)--
    >Requirement "9" Discount After tax - here also it will consider filed "SKTOF" ie "Cash discount indicator in material master.
    SAM

  • F-28 cash discount error

    For making payment to the billing document from SD in f-28 t-code, we are getting the cash discount percentage but the cash discount amount is not displying even we specified the payment terms in Sales order creation. Even, if we specify manually the cash discount amount in f-28, its giving an warning message 
    ERROR : Cash discount-relevant amount is zero; check entry at the bottom left corner of the screen. When I click this warning, I get a pop-up screen with the same message and message no. F5073.
    We have maintained the field status as given below:
    Also check that in transaction OB41, Payment term is maintained as optional field in field status group Payment Transactions for posting key 31.
    Also go to FS00 for the reconciliation account assigned to your vendor, the go to tab 'Create/bank/interest" and double click on the field status gorup.Check that in group Payment Transactions, the field Payment term is marked as optional field.)
    And SD pricing for the material is also defined.
    condition type : SKTO for the cash discount.
    After doing all the abouve configurations, we are still getting the error,.
    From FI side, we have no issues as it is giving the cash discount percentage and cash discount amount in f-28 correctly. and we are able to process the cash discount document, which gets generated automatically.
    Only the problem From SD flow.
    Regards,
    Ketan

    hi
    check out this SAP Note
    185223  Posting of cash discount paid without tax code

  • "Max. cash discount" not taken in F-58

    We select u201Cmax. cash discountu201D in configuration, FBZP.  Payment program will calculate discount without considering base line date.
    However, this works only if payment run is done in F110 u2013 calculate discount based on only the payment term field.  But if the payment done in transaction F-58, discount is calculated based on the base line date AND payment terms.
    "Max. cash discount" works only in F110, but not in F-58.  Has anyone experienced a similiar issue?

    For manual paymenst i do not see any settings, but you can set the indication 'Cash Discount Terms Used for Displaying Items when Clearing' in Outgoing Payments> Manual Outgoing Payments> 'Define Tolerances (Vendors)' to display the first cash discount % (which is the max discount).
    This will display the max discount i F-58

Maybe you are looking for