Invoice Due Date Claculation

Hi All,
Please let me know is there any function module or logic to determine duedate for invoice document.
Thanks in advance
Venkat

Hi,
Found this old post when I was searching how invoice due date is calculated (field INVFO-NETDT from transaction FV60).
The due date for net payment is calculated from the baseline date for payment and the maximum permissible target dates in the terms of payment. It is not stored in the document line item but is always recalculated during ABAP evaluations via logical data bases (on the basis of the current terms of payment) and displayed in this field.
After investigation in the system I see that the best way is to use function module 'DETERMINE_DUE_DATE'.
BR,
Anete

Similar Messages

  • Error in invoice due date

    Hi all,
    i need to fetch invoice due date data(FAEDT) using the FM 'DETERMINE_DUE_DATE'.i passed ZFBDT(base line date) and ZTERM(payment terms) and fetching the invoice due date.
    DATA : ZFBDT TYPE DATS,
           ZTERM TYPE BSAK-ZTERM,
           FAEDT TYPE DATS.
      CALL FUNCTION 'DETERMINE_DUE_DATE'
        EXPORTING
          I_FAEDE                          = ZFBDT
         I_GL_FAEDE                       = ZTERM
         IMPORTING
         E_FAEDE                          = FAEDT
    EXCEPTIONS
      ACCOUNT_TYPE_NOT_SUPPORTED       = 1
      OTHERS                           = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    but iam getting error as zterm is not there in the parameters.can you please guide me how to fetch invoice due date.thank you.

    Yes Lakshmipathi,The Pricing type in Copy control is G and I also tried to replicate this Issue in our Quality system but I am getting the Netvalue copied from Sales order and no pricing error .
    Only thing odd I see on our Production System is that I am seeing this Message
    Unit of measure VPRS is not defined within the delivery or UoM group
    Message no. O3136
    We are in 4.7 IS-Oil System,would like to know the relevannce of this message with the Pricing error in Invoice.
    Thanks and Regards
    Mohammed Roshan

  • Outgoing payment vs invoice due date

    Dear Forum,
    Our management wants to get historical due date outgoing payment compare to invoice due date. So we know if out finance paid accordingly based on the invoice due date. 
    The fields ;
    Invoice Number     
    Invoice Date     
    Invoice Value     
    Invoice Due date     
    Outgoing Payment Number     
    Outgoing Payment Date     
    Type of Payment ( check / cash /bank transfer)     
    Due Date Check/Cash/Bank Transfer
    Out Going Value
    If any experts can help me to get the query? thanks

    Hai!
    Run this Query in SAP Query Manager.
    Declare @FromDate datetime
    Declare @Todate datetime
    set @FromDate = (select min(S0.DocDate) from OPCH S0 where S0.DocDate >= '[%0]')
    set @ToDate = (select max(S1.DocDate) from OPCH S1 where S1.DocDate <= '[%1]')
    Select
    P0.DocNum as 'Invoice Number',
    P0.DocDate as 'Invoice Date ',
    P0.DocTotal as 'Invoice Value ',
    P0.DocDueDate as 'Outgoing Payment Number',
    V0.DocNum as 'Outgoing Payment Date ',
    V0.DocDate,
    (case
    when V0.CashSum > 0 then 'Cash'
    when V0.CheckSum > 0 then 'Check'
    when V0.TrsfrSum > 0 then 'Bank transfer'
    end) as 'Payment Type',
    V0.DocDueDate as 'Due Date Check/Cash/Bank Transfer',
    V0.DocTotal as 'Out Going Value'
    From OPCH P0, OVPM V0, VPM2 V2
    Where
    V0.Docentry=V2.DocNum and
    V2.Docentry = P0.Docentry and
    P0.DocDate >= @FromDate and
    P0.DocDate <= @ToDate
    Regards,
    Thanga Raj.K

  • Payment Terms, Invoice Due Date

    Hi,
    I've got to set up a new payment term in our system. The requirement for this payment term is:
    A)     The invoice due date is either, whichever is the later of:
    i)     The 12th day after the day on which the invoice document was deemed to be received : and
    ii)     The 20th day after the last day of the billing period to which the invoice document relates.
    I don't know how to configure this, can anybody help?
    John

    Hi,
    do you mean net due date or document date In order to have days after?
    you can do it defining in OBB8 baseline date (document date) and No. of days (12th and 20th)
    Let me know if it is your case
    regards

  • PROBLEM IN A/P INVOICE DUE DATE

    Dear all
    I am using SAP 2007A. I am facing problem in due date when I add A/P Invoice after approval. Pls resolved
    Thanks & Best regards
    M. Rafiq Khan

    The problem is as under. These problem system show in all documents.
    DATE DEVIATES FROM PERMISSIBLE RANGE [A/P INVOICE - DUE DATE] [MESSAGE 173 - 11]
    Thanks
    M. Rafiq Khan

  • Invoice Due Date question

    Hi,
    1) Where can I view the INVOICE DUE DATE in the transaction for Sales Order, Delivery, Goods Issue & Billing?
    Can you tell me the path in the transaction?
    2) Next is, which table-field is it stored?
    3) Where is the value derived? Or is it explicitly populated in the transaction?
    Thank you.
    dong

    Check this thread
    [Re: Field name for invoice due date  |Re: Field name for invoice due date]
    thanks
    G. Lakshmipathi

  • Invoice due date

    Hi Gurus ,
    i want Invoice due date for invoice .
    points sure !
    regards,
    Rahul Deshmukh

    Hi,
    Can you give bit more details on what exactly you want....
    If u want to get the invoices due for a particular date, then go for T. Code VF04 and give the criteria on what you want to select the invoices!
    Probably it might help you
    Regards

  • AP Invoice Due Date column  R12

    Hi,
    Could you tell me from which table i can get AP Invoice Due_Date in R12.
    xla_trial_balances_gt
    ,fnd_application_vl
    ,xla_entity_types_vl
    ,gl_code_combinations_kfv
    ,gl_balances
    Thanks
    Pravin

    You can get the invoice due date in AP_PAYMENT_SCHEDULES_ALL table.

  • Need logic for invoice due date and discount due date uncear

    Hi Experts.. am new to ABAP
    i had an issue please need some logics for these..
    Formatting of the Invoice due dates and Discount due date is unclear e.g 20101109,
    Invoice due date and Discount due dates are in correct on 10 and 20 days  reminders on missing credit notes for blocked invoices.
    <removed by moderator>
    Thanks & Regards
    Edited by: Thomas Zloch on May 18, 2011 1:55 PM

    Can you provide more info?
    are you talking about BSID open accounts?
    if yes, use function module DETERMINE_DUE_DATE.
    <removed by moderator>
    Edited by: Thomas Zloch on May 18, 2011 2:10 PM - please do not ask for "award"

  • SD down payment invoice due date

    Hi,
    Down payment request invoice is generated in SD ,and its clear that the due date in FI document corresponding to this will show the posting date as Due date.but our client needs that the due in downpayment request should be according to the payment terms .i.e it should show due date according to payment term days in the FI document generated automatically when the invoice is saved.is there any user exit /any modification so that the due date should be calculated in background accoding to payment terms when the invoice is saved.
    warm regards,
    rohit

    Hi Glynn,
    I have gone through the sap note ,but in case if the payment terms day is only 5 days i.e  today i will do the invoice and after 5 days it should be due. how this can be done and also if 40 days is payment terms then how we can map this in SAP.
    Thanks & Regards,
    Rohit

  • Invoice Due Date is past due but not being selected for payment

    We have 12.1.3.
    An invoice has a due date of 7/19 in our system. We have run payments several times but it is not being selected. terms are net 30, terms date was 6/19, GL date is 6/28.
    The invoice has been validated and accounted. Is there something i should be looking for to see why this won't get picked up?
    Any help is appreciated.

    For this invoice to be picked up immediately in a Payment Process Profile you can change the payment terms to immediate.
    Further, while running PPR u can select pay through date as 7/19 and select this invoice from the batch to pay.
    There are multiple factors like PPR used, if discount is applied that might effect this.
    Hope this might help.

  • AR Payment Terms/Invoice Due Dates

    I need to be able to have a search that can search for invoices that have a specific payment term and are due within a certain period of time. (ex: all invoices with Net 30 payment terms that are due within the next two weeks). I have tried the collections>account details screen but there is no criteria for payment terms. Any suggestions would be greatly appreciated.

    You probably don't want to change the payment terms on existing invoices, unless there was a effective change date that was missed for changing the payment terms. You would have sent the invoice to the customer with the original terms and they would have entered it into their system with those terms. So not only would you have to change the due dates manually on your system, you would have to notify the customer somehow of these changes. That is why it normally is easier not to worry about existing invoices and just let the payment terms start showing on new invoices. Makes any sense?
    John Dickey

  • Change AR invoice due date

    I have a transaction that  a user accidentally posted with a doc date and due date of 2007.  I don't care about the docdate so much, but I need to update the due date to be 2009.  What table(s) and fields do I need to update in sql to do this?  I need my aging to put this doc into the right aging bucket.

    Even if you could change the tables directly, there is no way that you could keep database consistency.  That is much more valuable for a report.  You have to find a way from front end.  It is not true that no way to do it from front.  The invoice can be canceled and reconciliation can by restored.

  • Invoicing due date format

    hi
    invoicing company code belongs to UK and the bill to party is US customer  in the invoice the due date is appearing in US format client would like to change it to UK date format (dd/mm/yyyy), who ever the customer is if teh billing company code is UK then all the dates should be in UK date format(dd/mm/yyyy).
    pls guide.

    hi,
    company code wise date format setting is not there in SAP.
    what ever you have is, SU3 - MAINTAIN USER PROFILE - DEFAULTS - DATE FORMAT.
    please check and confirm
    balajia

  • AP invoice due date change

    Dear all,
    I think there is  a setting in SAP to allow the user to change/not change the due date on a posted AP invoice. But I can now not find it.  Is there anybody can recall where this is? Thanks a lot.
    Regards,
    Yuka

    Dear Jie Jin,
    I have searched the documentation but I cannot find anything that confirm your idea: possibility to block the due date of an ap invoice.
    The only option I can think of is the instalments.
    When the Payment Terms in the Business Master Data has got installments, then the due date is automatically blocked as soon as you enter the document.
    This applies to vendors and customers alike.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

Maybe you are looking for