Calculation of due days

I have Invoice Date as character in my ODS. At the query level  i want to know at the time of execution of query, number of days due for an invoice. ie. todays date (system date) - invoice date. How to handle this. Please explain in detail, as this type of query is new for me.

I think you misunderstood the last reply.
You have been suggested to create a FORMULA VARIABLE, not FORMULA.
1. Create a formula
2. look at the bottom most part of the pane where key figure appears, there you would see a folder called formula variable.
3. Right click there and create a new formula variable - type (replacement path) - based on invoice date. (Formula 1)
4. create another formula variable based on type - (customer exit) - based on current date. (Formula 2)
5. create 3rd formula and mention date(formual 2) - date(formula 1).
Formula 3 should give your desired output.
- Danny

Similar Messages

  • Over due days calculation?

    Hi
    i want calculate over due days is system date _ net due data?
    here system date means can i take calday? or user enry i can create 1 formula?
    please let em know

    Hi
    Normally, the System date (0SYSDATEBEG)can be Created on date  and Net due date is Currency Key date.
    You can Use Char Formula Variable to calculate the same.
    You can even use FM -- DAYS_BETWEEN_TWO_DATES , if you are using Cust Exit --CMOD.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b025fab3-b3e9-2910-d999-a27b7a075a16
    Hope it helps

  • What are the Calculations of Compression days in MRP?

    Hi,
    Can anyone please explain me with example that what are the calculations for compression days calculated for planned orders?? I am using MRP planning.
    Thanks and Regards
    Farhan

    HI,
    compression days are the days by which lead time of your buy items gets compressed to fulfill the demand due dates.
    For ex,  Finished Good is having Due date ( as scheduled ship date/request date in SO)   on 15th of Feb, but the buy item used in this assembly has lead time of 20 days.
    Consider the plan is running today i.e. on 6th Feb, so buy item will be actually available  on 6+20=26th of  Feb,
    But your demand due date is 15th Feb, which needs to be met, so planning engine will suggest an exception for this buy item as 'Item with compression days'
    by compressing its lead time as 26th Feb-15th Feb=11days as compression days.
    Please mark this post as correct or helpful it serves your purpose.
    Thanks,
    Avinash

  • KMTL - How to add Column for OVER DUE DAYS in report

    Dear Concern,
          We are Microsoft Dynamics NAV 2013 users, We want a little change on Reminder Report (In report there is due date we inserted column for OVER DUE DAYS right side to Due Date column in we required Expression of which type of formula that
    shows us the Over Due Days for particular.
    Please every one confirm or suggest for this error.
    Thanks & regards,
    Laxman Sonar

    Hi Laxman Sonar,
    Per my understanding that you have an date field(Due Date) in the report and now you want to get the over due days based on this field and display at right of the date field in the report, right?
    I have tested on my local environment that we have two method to do this, one is to add the datediff functon in the query to get the overdue days and another method is to using expression in the report.
    Details information below for your reference:
    Method one:
    Modify the query as below to get the new field(OverDue Days):
    SELECT   DueDate, DATEDIFF(day, DueDate, GETDATE()) AS OverDueDays
    FROM      tableName
    Method Two:
    Add an calculated fields and then add the expression below to get the value for this field or just add expression directly in the new field:
    =Datediff("d",Fields!DueDate.Value,Today())
    If your problem still exists, please try to provide us some sample date and more details information about your requirements.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Interest calculating for 364 days in year

    hi
    i am calculating interest for 1 april to 31 march for the previous year but instead of taking 365 days it is calculating for 364 days. can you tell that what i have to do to correct it.
    Thanks

    Hi You can see in the payment terms you mentioned as one day due to this it will calculate the interest only 364 days.
    If the payment terms are correct then while running the interest( f.4b or f.2b etc.) there select the layout as open items include postings and select calculate the ineterest on net due dates then it will work properly
    If you have still doubt let me know

  • Interest calculation on due date and not on invoice

    Hello,
    Pls can some one let me how to start interest calculation on due date and not invoice date.
    In the interest calculation, T code FINT, the system calculates interest from invoice date till clearing date and not from due date till clearing date.
    BR,
    Zulfikar

    Hello,
    We have selected the Always calculate interest from net due date check box. but now when i run FINT transaction for a customer it is calculation interest from invoice date and not on due date. the item is already cleared.
    The scenarion is
    the net due date of the docuemnt is 30.07.2008 so the interest calculation should stard from 31.07.2008 till clearing date. but the interest calcualtion is starting from 01..07.2008 which is the invocie date.
    BR,
    Zulfikar

  • Why we set the indicator of ; payment per due day in app wht is the importa

    Why we select dayment per due day in app ?

    Hi Judy,
    The resource leveling command is not a resource optimization tool.  It's only job is to resolve resource overallocations by delaying tasks.  It will not:
    Change resource assignment units to tasks.
    Ensure the resource is "fully" utilized.
    For example:
    Resource with max units of 100% (the default).
    Task A starts on 20 January until 22 January and the resource is assigned at 75%.
    Task B starts on 21 January until 23 January and the resource is assigned at 50%
    The resource is overallocated on Tuesday (peak = 125%) and Wednesday (peak = 125%).
    Leveling produces this result:
    Project did not drop the assignment to Task B to 25% to allow it to continue while Task A was going on -- it simply delayed B (at 50%) until A was scheduled to finish.

  • Net due days from the base line invoide date

    Hi,
    I am doing a report inFI module.i need to find out the net due days that should be added to the base line invoide date to get the due date for the customer.
    in table T052 there are two fields
    ZTAGG
    ZTAG1
    which one is the field that i should use.
    Thanks
    Ansari

    Hi Ansari,
    look , ift that https://forums.sdn.sap.com/click.jspa?searchID=477154&messageID=2164673 will help you
    pls reward useful answers
    thx.
    Andreas

  • Create a table calculating amount of days in InfoPath form

    Hello,
    I am creating an InfoPath form and I want to have a table that will calculate the days needed to complete a project, it will allow the user to enter start dates and end dates and as that happens one row will have the calculated length of days it will take
    to complete based on use input and it would be real-time so no need to manually press a button to update.
    Here is my table for example:
    The first row will be the row that has the Total project time with the start time and end time based on user input.
    Is this something that can be done in InfoPath without any code? I am unable to use code so unfortunately that isn't an option.

    Hi compuluv,
    Based on your description, my understanding is that you want to Calculate the length between two date picker controls in InfoPath using rules and formulas - no code!
    Use rules, conditions, and the number(), floor(), and
    substring()   functions in formulas to calculate the difference between two date picker controls in InfoPath.
    Here is an article about it, you can use as a reference:
    http://www.bizsupportonline.net/infopath2007/calculate-date-difference-infopath-rules-formulas.htm
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • Calculation of due date based on Business Days for FICA documents

    Hi All,
    I am working on project where SD - FICA integration is in picture. We post some charges through SD and FICA document gets posted on relevant Contract Account.
    Normally we create Sales Order using transaction VA01 and then we do Billing for this Sales Order through VF01. After billng is done, FICA document automatically gets generated.
    We have following requirement to be fulfilled.
    For the SD bills posted as above, I want to calculate due date of these bills based on Business Days for FICA document generated (SAP Standard calculate due date based on Calander days). We can use factory calander for calculating business days in relevant function module.
    I have checked in the system and it seems that event 1330 ( FM - ISU_DUE_DATE_DETERMINE) is not working in this scenario. Is there any other FM which I can use?
    Can anyone help me on this?
    Regards,
    Pradeep

    Hello Praeva ,
    The event 1330 has a sample FM FKK_SAMPLE_1330. It doesnt even have a Standard Function Module.
    You need to create a Installation-Specific FM and put your code to determine the Due Date based on the logic.
    Rgds
    Ram Kumar.

  • Interest calculation on due date

    Hi
    I want interest calculation from duedate (which is 30 days from invoice date). In one of the step of configuration, i defined Interest calculation indicator as VK. In that there is a option which says from where interest needs to be calculated. There are options:
    Value Date (or Baseline Date for Net Payment)
    Document Date
    Posting Date
    Payment Baseline Date
    There is nothing as due date. Please let me know how to do this.
    Is Value date the due date ?

    HI Deepak,
    You do not need to select that interest should be calculated on overdue items which means from due date,,,this is standard settings...
    Regards,
    Chintan Joshi

  • Invoice Days are not calculating when a Days limit exists.

    Hello,
    We are having an issue with both our Customer and Vendor invoices.
    When using a 'payment term' with a 'Days limit' the Due date is not calculating at all.  The 'Days' field in the 'Payment tab' just comes up as a blank.
    This functionality used to work, something must have changed in the system.
    This is how I have the Payment term setup.
    ZY87 (days limit 10).  120 days invoice date (10th & 25th)
    Default for Baseline Date = Document Date
    Fixed Date = 10, Additional months = 4
    ZY87 (days limit 25)  120 days invoice date (10th & 25th)
    Default for Baseline date = Document Date
    Fixed Date = 25, Additional months = 4.
    When I choose this payment term in the invoice, I get no value to show up in the 'Days' box and when I save it, the Due date becomes the Baseline Date.
    Any idea why?
    thanks for your help!
    Brett

    Thanks for your immediate response.
    i have maintained all the ticks for the counting rule for LOP absence type. but in the infotype it still shows 22 days instead of 31 days for the month of oct.
    Regards,
    MVN

  • Discounts calculated on due documents

    Hello all,
    I have a mistake concerning discounts granted in AP, mean of payment is a due transfer customized as a bill of exchange. Payment term is "1% under 20 days, 110 days nets". The problem is as follows, whenever I launch the F110, discounts are calculated even if the document is due and so would not have discounts. Can someone help me?
    Thanks in adavance
    Emilie

    Hi
    I think it is not possible. Because, the discount calculation is purely based on the Vendor line item...when you do the posting with frieght, both material amount and frieght amount will be in different line items having only one vendor line item.
    regards
    ramana

  • FI: Payment condition calculating 2 due-dates depending on document-date

    Hello community!
    I'm searching for a definiton of a FI-payment-condition which is calculating two different due-dates depending on document-date.
    E.g.:
    Invoices dated from 01.03.08 till 09.03.08 should be paid on 10.04.08.
    Invoices dated from 10.03.08 till 31.03.08 should be paid on 10.05.08.
    Or must this be realized by a FI-substitution???
    Thanks for an answer.
    Kind regards,
    Bernd

    Hello,
    You didnot mention if u need posting date as base or document date. However your scenario, below is
    the answer for your query is
    1. Create one customised payment term only eg. XXX
        for first scenario,
       Day limit is 9 ;
       under payment terms tab , fixed date 10, Addl month 1
       for second scenario
       in the same payment term XXX
       Day limit is 31,
       under payment terms tab , fixed date 10, addl month 2.
    Explanation.
      as day limit is 9, what ever the dates of transaction between 1-9 it picks first setting
    and after 9th until 31st it picks second setting.
    I hope this clarifies you.
    Thanks
    G.Bharathi

  • Different interest percentages for different over due days

    Hi Experts,
    I have the following scenario with respect to the Interest calc for customers.
    1. If the line item is over due till 90 days interest will be charged 10%
    2. If the same line item is over due more than 90 days interest should be charged 12%
    Can you please provide me with a possible way to configure this scenario?
    Thanks in advance.
    Siva Cheruvu

    Dear Siva Cheruvu ,
    the programs for interest calculation for open items (RFDUZI00 or
    RFKUZI00) and for interest calculation for balances (RFSZIS00, RFDZIS00,
    RFKZIS00) calculate interest linearly.
    Kindly review the SAP  Note 403580. As this note states, you may
    have to use BTE 4152 for interest calculation changes, in case you want
    to use a different formula than the one available in the standard.
    About the new report RFINTITAR and RFINTITAP, please check the SAP note 736223 that gives You additional information to allow You to do own programming.
    Several Badis can help You by se19 to do it as FI_INT_CUS01 for example.
    Mauri

Maybe you are looking for