Overdue calculate

Hi Experts,
How to Caluculate the below overdue situation:
'For analysis priority for confirmed delivery date will be given as this confirmation is given by vendor.If confimation is not updated in PO then requested delivery date will be considered.If both exists then priority for confirmed delivery date will be given.Below is the logic
*Consider first date of "This week" from input.
*Search Purchase Orders for delivery dates from (first day of selected week - 365 days) to (first day of selected week - 1 day)
*First search purchase orders "EKES-EBELN" in EKES. To get Purchase Orders, select Delivery date "EKES-EINDT". "From date" is  (first day of selected week - 365 days) & "to date" is (first day of selected week - 1 day)
*Sort Purchase Orders for Vendor EKKO-LIFNR,Plant EKPO-WERKS from input,Storage Location EKPO-LGORT
*Count not delivered Qty for above sort criteria.
Not Delivered Qty= (Sum of EKES-MENGE)-(Sum of EKES-WEMNG)
*If Purchase Order history is blank in EKES,then select delivery date from EKET.Search purchase orders "EKET-EBELN" in EKET. To get Purchase Orders, select Delivery date "EKET-EINDT". "From date" is  (first day of selected week - 365 days) & "to date" is (first day of selected week - 1 day)
*Sort Purchase Orders for Vendor EKKO-LIFNR,Plant EKPO-WERKS from input,Storage Location EKPO-LGORT
*Count not delivered Qty for above sort criteria.
Not Delivered Qty= (Sum of EKET-MENGE)-(Sum of EKET-WEMNG)
Thanks in advance

Hello,
I do not know why are you doing this exercise in EXCEL, when SAP has provided ready-made solution for this?
Execute FBL5N - Open items
Change Layout (Ctrl+F8)
Select "Arrears after net due date".
Just for your information: Overdue date are the difference between the "Current Date" and "Net Due Date", but NOT "Document Date" and "Net Due Date".
Out of SAP Scope:
If you want to find out the number of days between two dates then
A1 = 31/10/2008
A2 = 29/12/2008
A3 = Formulae = DAYS360(A1,A2)
Please make sure that the values in cells A1 and A2 are in DD/MM/YYYY (valid date format)
Hope this will help you.
Thanks,
Ravi

Similar Messages

  • Date Format - Calculate Overdue Days

    Hi Friends,
    We have downloaded the Customer Statement in excel and want to verify the overdue days by comparing the 'Document Date' and the 'Net Due Date' as per the payment terms. However, after we download the Customer Statement and put the formula for deducting the Document Date from the Net Due Date, the formula gives an error "#Value!", We are trying to change the date format which is in dots, but are unable to do so.
    Can anyone help as to how can we do this?
    Thanks for the help.
    Regards

    Hello,
    I do not know why are you doing this exercise in EXCEL, when SAP has provided ready-made solution for this?
    Execute FBL5N - Open items
    Change Layout (Ctrl+F8)
    Select "Arrears after net due date".
    Just for your information: Overdue date are the difference between the "Current Date" and "Net Due Date", but NOT "Document Date" and "Net Due Date".
    Out of SAP Scope:
    If you want to find out the number of days between two dates then
    A1 = 31/10/2008
    A2 = 29/12/2008
    A3 = Formulae = DAYS360(A1,A2)
    Please make sure that the values in cells A1 and A2 are in DD/MM/YYYY (valid date format)
    Hope this will help you.
    Thanks,
    Ravi

  • Interest calculation on overdue customer open items

    Hi.
    I need to calculate the interest on the customer overdue open items. for that i have configured the following steps.
    OB46 - Interest Settlement Calculation Type
    OB82 - Interest Terms 
    OBAC - Define Reference Interest Rates 
    OB83 - Enter the Reference Interest Rates Value 
    OB81 - Define Time Dependent Terms 
    OBV1 - Prepare Interest on Arrears Calculation
    I have assigned the interest inidicator in the customer master record.
    Now when i run the interest calculation using FINT, it is giving me the error " Problem class very  important" and showing as "No records selected".
    Can anyone help me in this issue.
    Regards,
    Padmavathi

    Dear Mauri,
    Now i got the issue solved.
    In the step Prepare item interest calculation, i have given the ref date as 3 - positng date so only system is not picking the open items.
    Now i changed it to 4 - Payment baseline date. its done.
    Thanks.
    Regards,
    Padmavathi

  • Calculation of Interest on overdue witholding taxes

    In my scenario the interest needs to be calculated on the overdue payments that have not yet been paid by the client to the goverment of TDS so deducted by the system. The interest needs to be calculated from the 7th of next month till date the amount is actually paid. The tds so deducted in the period 1-7th of the month will not be liable for interest calculation. Again in the next month the same cycle needs to be repeated for interest calculation.
    Can anyone help me out if how to achieve the same.
    Regards,
    Anurag Gupta

    Hi
    You may like to check the config from the below angles :
    1) interest payment is produced if the credit interest (because of interest calculated on items paid before the due date) is greater than the debit interest.
    2) Calculate interest on items paid before due date
    Indicator which means that credit interest is calculated for items paid prior to their due date, provided that the item paid was not subject to a cash discount. Interest is calculated using credit interest rates.
    Note
    The system calculates credit interest only on those clearing transactions where all payments were made before the due date. If you do not select this option for those transactions then the items are ignored.
    This option has no effect in the case of clearing transactions where payments are made both before and after the due date. For transactions such as these, interest is always calculated on the basis of debit interest.
    For partial payments and down payment offsetting items that are made before the due date of the invoice, interest is calculated from the document date if this indicator is set. If it is not set, interest is calculated from the due date of the invoice.
    3) Calculate Interest as of Due Date for Net Payment
    Indicator which means that interest is calculated as of the due date for net payment; otherwise, you pay interest as of the settlement period lower limit (if the due date for net payment is before it) or as of the date of the last (according to the master record) interest caluclation (if the corresponding parameter is set).
    Regards
    S

  • Overdue report - how to

    Hello,
    I have date A and date B.
    In routine I calculated number of days (A-B).
    In Query Designer I want to create an overdue report.
    Menas: If result of calculated days = 1 -> One column should be named as "Overdue 1".
    How to?

    Hi,
    We can't give any discriptions in reports, but we can give some flags i.e. 1, 2, or 3 like that.
    I have date A and date B.
    In routine I calculated number of days (A-B).
    You can do it at Transformation level, but it is not advisable and better calculate at run time in reporting level using Formula Variables with Replacement path.
    Create Two Formula variables with replacement path for A and B and replace with Key and in Dimension select Date and then drag and drop that TWO Variables in two formulas in Columns and in another column do simple subtraction and see the result.
    Calculating the Ageing of the Materials
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    Thanks
    Reddy

  • Calculating Overdue Payment

    Need to find field or calculate if an item is overdue for payment.
    e.g. from transaction fb5ln (BSID)
    Is there a table which stores this field?  If not how hard is it to calculate?

    Yeah its just open customer items i need to deal with therefore just BSID entries.
    Is there any functions or something I can use to work out if the item is overdue?  Or do I just look at the due date and terms of payment?
    Thanks

  • Days Overdue analysis Query

    Hi
    I have a requirement to change the query which is exactly
    the same as Days Overdue analysis query (0FIAR_C03_Q0005)
    based on FI_AR line item cube which calculate the ageing buckets.
    In this query we have a key due date and all the ranges are
    calculated on this and they are all fixed 30, 60, 90,....
    But In my case the user want to have the flexibility to enter the  bucket values as 15, 25, 35,....
    and then all the key figures should calculated accordingly..
    Please advise how this can be achieved....
    Many Thanks in advance.
    Kind Regards,
    Kate.

    Kate
    U will have to create a variable on a date which is a basis for overdue calculation and then make a replacement path for the same, in a coding for make a fields as a parameter (so that it will appear in the selection screen of the query) Now, u will offset date by this parameter value. This u have to Code in ABAP in Exit with the help of ABAPer, it's bit of abnormal requirement, It will great if u could manage to do this.
    Please let me know the progress so that i can add a bit whenever required.
    Message was edited by: sunraj

  • Overdue amount calculation

    hi all,
    how to calculate overdue amount for account statments.
    is there any function module to calculate the overdue amount .
    regards,
    deepthi

    Loop on the items and find the difference between
    PSNG_DATE of each item and SY-DATUM which gives the
    number of days from which it is open.
    If the days is between 1-30 add the amount (LC_AMOUNT) to this cap else check if the days between 30-60 and add amount and so on for opther two caps.

  • Calculating Stock Overdue

    HI all,
    I have a report requirement for a Stock Report. The scenario is to calculate the stock qty from last year. but the requirement is as follows:
    1) the User input is in Week, For Ex the 25th Dec is thursday and this belongs to 52nd week ie. 522008.
    So the user inputs in the week selection as 522008.
    2) the logic must start calculating from the first cal day of the week, i.e Monday 22nd Dec 2008.
    3) The logic must give YTD values of the stock from 22nd Dec 2007 till 21st Dec 2008.
    So this gives the complete stock overdue from vendors from 22nd Dec 2007 till 52nd week of 2008 ie. 21st Dec 2009.
    Please tell me how shud i proceed.
    Thanks

    Hi Raihaan,
    You can try writing a customer exit for 0caldate or for the date object in your report.
    Use step type 2, and code under the variable name to populate the variable with the required range.
    Before you start this I recommend you to go to se37 and key in the following function modules and press run and try and test run them. The remaining part is just normal ABAP substraction.
    Function module:-
    DATE_GET_WEEK. Will return the week for the date entered.Check the format of the date that is required.I think yyyy/mm/dd.
    Once you get the week use WEEK_GET_FIRST_DAY.
    This will return the first dae of the week.
    Subtract one from this date to get the previous day.
    Take this date in a character variable and then play with seperation , addition and concatenation to prepare the date of the previous year.
    Note while doing subtraction of dates use variables of type date, so that it calculates the correct day-1 for 1s day of the month(01.01.2009 say).
    Regards,
    Sunmit.

  • How sap calculate the arrears interest?

    Hi All,
    I am doing the configuration about arreas interest.
    My configuration:
    Interest Type:Item interest calculation
    Calendar type:30/360
    Time-based Terms:
        Credit interest: arrears interest calc
        Premium:0
    Reference Interest Rate Values:1.0
    I make some tests.
    overdue day: 1 day
    overdue_amount |interest|increased_interest
    1000           | 0.834  |            
    2000           | 0.917  | 0.083
    3000           | 1.001  | 0.084
    4000           | 1.084  | 0.083
    Could you help me to find how sap calculate the arrears interest?
    Many Thanks!
    Message was edited by:
            Chen Zhonghua

    Hi
    First u have to define interest calculation types ( i.e. Item interest calculation typeP)
    u have define GL accounts Interest Recevied account
    then u have to define prepare interest areas calculations in that u have to define interest indiacator .
    then
    u have to define refeence interest rates
    define time based terms
    enter interest values
    then u have to define AR calculation of interest on arrears  in that u have to define business transactions
    then u have to assign interest indicator to customer master
    then execute the Interest calculation F.24
    Regards
    Suresh

  • How to calculate the OPEN QUANTITY in delivery Duelist Report

    Hi Everybody,
       I have a query for finding out the OPEN QUANTITY for schedulines for a delivery.
    If for example the report is run for 2nd of February, it is necessary to
    determine whether there are delivery relevant schedule lines before the
    2nd.
    If yes, we need to know whether there is an open quantity to this line
    item.
    If yes, this open quantity is a negative deviation (we delivered not
    enough).
    If there is no open quantity it is necessary to determine whether for the
    earliest future to be deleviered schedule line, the open quantity equals
    the ordered quantity (VBEP-WMENG),
    if No the the difference between both values equals the positive deviation
    (we delivered more than requested)
    If the open quantity equals the ordered quantity there is no deviation.
    The problem is to calculate the open quantity and the SAP standard there is function
    builder used in SAP standard include MV45AF0O_OFFENE_WERTE_ERMITTEL, the
    function builder is called RV_SCHEDULE_CHECK_DELIVERIES'. But how could we use in this formulae in a Custom delivery report.
    Looking for your helpful suggestions.
    Many thanks in Advance,
    Mira Saikrishna

    Krishna....have a look in the below threads where there was a similar requirement..
    error while using BAPI_OUTB_DELIVERY_CHANGE
    change outbound delivery

  • How can I calculate the total size of my email messages?

    I have an iMac and MacBook Pro. I use Apple's Mail application on each computer and have three email accounts that are feeding into it. I currently synchronize everything through MobileMe. I want to know how to calculate how many MB (probably several GB!) of space my email messages are now using, as I want to upgrade to Lion on the two computers and will soon be getting a 32BG iPad on which I would like to use the Mail application as well. I'd like to know in advance if I need to pay for more than the 5GB of free storage that iCloud will give me before making these changes, as I don't want to lose my email messages. For various reasons, I'd prefer not to go the route of archiving the messages. I can't figure out how to calculate how much space the messages are currently using.

    The important detail is the cylinders not the partition numbers. The partitions are simply slots where cylinder space can be assigned if its available.
    The backup partition (2) represents the whole disk and shows you have 14086 cylinders available.
    But you'll notice that all of those cylinders are already assigned to various partitions. So there is no free space available.

  • Is there a way to automatically calculate a persons' age from their birthda

    Using iCal 3.0.5 and address book 4.1.1, following these instructions:
    _Displaying birthdays on an iCal calendar_
    http://docs.info.apple.com/article.html?path=AddressBook/4.1/en/9218.html
    Results in an all-day meeting in iCal for each birthday in the address book. It shows the current birthday date, not the year the person was born.
    I can add that to the "notes" section in the address book, but that will not automatically be attached to the notes on the calendar event. (or is there an option for that someplace?)
    Is there a script or plugin that I can create or write to calculate the age of the birthday person and add that to the note? Or display it in a popup??
    I'm very new to this, not afraid of a little coding work. Just need direction.
    Message was edited by: Richard E. Cooke

    Hi Richard,
    See my post here:
    http://discussions.apple.com/thread.jspa?messageID=6686705&#6686705
    This shareware adds the birthdays and anniversaries to iCal with ages and the possibility of multiple alarms.
    Best wishes
    John M

  • Posting of Commission Exp to calculate the Cost of Goods Sold

    Hi Team,
    I do work in an automobile manufacturing organization and is new to SAP FI module. I have a business requirement which I need to fulfill; I would appreciate if all you gurus help me with finding the solution.
    Business Scenario:  at present, we are posting the following entries to record the commission we paid to dealers for selling vehicles.
    Commission Exp (DR)
         Customer (CR)
    Customer (DR)
         Dealer (CR)
    With these entries we are not been able to track the commission based on vehicle variants i.e. Toyota GLI, XLI etc.
    New Requirement:
    To calculate the Cost of Goods Sold for a variant, I need to track the commission expense based on vehicleu2019s variants. Please help me in finding the solution.
    Thanks

    Thanks for quick response.
    Let me give little more details of type of commission entries we have
    1) Normal Commission - Fixed commission variant wise and is derived from SD.
    2) Additional Commission - No predefined formula, this is totally based on top management discretion. Management decides how much would be paid to a particular dealer.
    3) Sliding Commission deduction - Deduction of certain amount from commission on late payments.
    4) Additional Sliding Commission - Payment of additional commission based on early payment terms.
    Currently, FI department is calculating all these figures on Excel sheets and then post a JV for each type of above mentioned commission.
    How can I configure the system to calculate these amounts automatically without involving Excel Sheet help?
    and how to post these amounts variant wise along with dealers and customers.

  • In repeat run, can i calculate Depreciation for perticular period.

    Hi
    when I calculate the depreciation in Repeat Run, It shows the message that for 12 periods only the Dep is calculated.
    But I want to calculate the Dep for Particular period. Is it possible?????
    If possible pl give me the suggession
    Venkata Raju

    Hi,
    You can't do.
    See below note:
    It is possible to repeat the posting run within the period last posted. However, in contrast to the first run for a period, the repeat run can be restricted to specific assets. In the repeat run, the system posts changes to depreciation, as compared to the depreciation amounts from the previous run.
    Normally the repeat run is carried out at the end of the fiscal year, if completing postings are necessary because of corrections to manual depreciation or depreciation terms.
    Regards,
    Murali

Maybe you are looking for

  • Photoshop CS4 Installer File for Mac

    Hello, I bought CS4 for mac (student edition, I am not sure if that matters) a couple of years ago and have since misplaced my disks, though I still have the serial numbers.  Does anybody have the .dmg installer file for CS4?  The file name MAY be ph

  • Actual quantity in service tab page becoming zero after updation

    Dear friends, We updated validity start date, end date in header and the field "form.val.2" in service tab page in item details of a service line item(item category D) in a Purchase order using the function module 'BAPI_PO_CHANGE'. After updation we

  • How to have report which use the odbc name of the database

    First, sorry for my English... i have a BIG problem with Crystal 2008. I have a lot of report created with crystal report 8. In crystal report 8, when i create a report, i select the odbc and then add all the tables i need. then i go under "database"

  • Can't sync palm

    i just got a palm pilot z22, and it won't sync. so far, this is what i've done: - set /dev/tts/USB1 as the port - added user to group tty - created 01-palm-udev.rules with: KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP="users", MODE="0660" but noth

  • NMH305 second disk size

    Hello. I have very simple question, and I can't find the anserw anywhere.  The second disk that i would like to install, does it have to be in the same size as the first one?  Solved! Go to Solution.