Difference Between 2 Months

Hello,
Is there a function module that will give the no of months, If we give any 2 months as input parameters ?
I know we can write code for the same , but want to check if there is something already available.
Thanks,
Raju.

Thanks for looking into this. I wrote code to calculate no of months

Similar Messages

  • Difference between months

    Hi Friends,
    I have two requirements
    1. Get difference between two months. Example
         first month = 201005
         last month = 201101
         Difference = 6
    2. Get 6 month back month from a given month. Example
        Given Month = 201101
        6 months  back = 201007

    Hi
    If the calcultaions are reuqired at Data model level you can use FM's.
    If the calculations are reuired at Report level you can use Custoemr exit.
    For the first requirement create two formula varaibles(FV1 , FV2) and create a formula with FV1-FV2.
    For the second requirement you can use the offset value -6.
    Hope this helps,
    Aparna Duvvuri

  • How to calculate the month difference between two date char. in Query?

    Customers would like to see how many months passed between two date type of characteristics (e.g., the month difference between the current date and the scheduled delivery date in the record) and put the result into the column as KF. 
    We would have to grab the fiscal year/period kind of value and then do the subtraction, e.g., if the current date value is 2/28/2008 and the scheduled delivery date value in the record is 12/01/2007, the correct result should be 2 month difference between these two date values, but could someone here give us the technical light on how to make this happen in query design?
    Thanks and we will give you reward points for the correct anwsers!

    Hi Kevin,
    The Badi is RSR_OLAP_BADI.
    You can create an implementation using Transaction  SE18.
    The implementation is per cube and is defined in the filters.
    In the Implementation you have the following methods :
    1. Define : Here you will provide the Keyfigure you need as a virtual one.
    2. Initilialize : Any Init Function you want to do.
    3. Compute. This is called per datarecord and here you can cimpute your value.
    Hope this helps.
    Pralay Ahluwalia

  • Hi I have the old photo shop elements 10 on my computer and want to update and was wondering what the differences between photoshop, lightroom and photoshop elements are? Also when I upgrade does it have to be with a monthly membership or can I just purch

    Hi I have the old photo shop elements 10 on my computer and want to update and was wondering what the differences between photoshop, lightroom and photoshop elements are?
    Also when I upgrade does it have to be with a monthly membership or can I just purchase the product out right like you use to be able?

    You cannot "update" from what you have to any of the applications you mention. It will have to be a straight purchase or subscription at full price.
    Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.
    Lightroom is all about volume, and very light editing.
    The Photoshop Elements forum is at:
    https://forums.adobe.com/community/photoshop_elements/content
    Remember, you are not addressing Adobe here in the user forums.  You are requesting help from volunteers users just like you who give their time free of charge. No one has any obligation to answer your questions.
    I do not know where there is such a comparison table as you seek, but someone else might, or you can google.

  • Difference between date to calculate months in BPEL

    Hello Team,
    I need your help to calculate Date difference between input date with current date and get the months in BPEL 2.0
    Please suggest.

    getting below error, input is xsd:date
    <bpelFault>
    <faultType>0</faultType>  
    <subLanguageExecutionFault>
    <part  name="summary">
    <summary>An error occurs while processing the XPath expression; the expression is xp20:month-from-dateTime(xp20:current-date()) - xp20:month-from-dateTime($inputVariable.payload/client:inputDt).</summary>  
    </part>
    <part  name="detail">
    <detail>XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is xp20:month-from-dateTime(xp20:current-date()) - xp20:month-from-dateTime($inputVariable.payload/client:inputDt). The XPath expression failed to execute; the reason was: internal xpath error. Check the detailed root cause described in the exception message text and verify that the XPath query is correct. </detail>  
    </part>
    <part  name="code">
    <code>XPath expression failed to execute</code>  
    </part>
    </subLanguageExecutionFault>
    </bpelFault>

  • What is the difference between the plan i currently have now and the 9.99 a month for both photoshop and lightroom?

    I currently am paying 29 dollars a month for just photoshop.. there is an option for 9.99 a month for both that and lightroom? what is the difference?

    This document explains the differences between the Creative Cloud Photography Plan and the Photoshop single app plan - https://helpx.adobe.com/photoshop/kb/differences-photoshop-creative-cloud-photography.html
    Thanks
    Bev

  • Difference between 2 dates in form of years,months and days.

    Hi friends,
      i need one function module for finding difference between 2 dates and the output is
    no. of years
    no.of months
    no. of days.
    it means the input is begin date and end date
    output is no.of years,no.of months and no.of days.
    for example begin date is today i.e., 08/02/2008 (dd/mm/yyyy) and end date is 07/03/2008 then the output is
    no.of years -
      0,
    no.of months----
      1,
    no.of days----
      0.
    and one more example if begin date 08/02/2008
    (dd/mm/yyyy) and end date is 01/02/2008 then the output is
    no.of years -
    0,
    no.of months----
      0,
    no.of days----
    -7..
    Please help me it's very urgent

    Hi,
    Use FM HR_AUPBS_MONTH_DAY.
    It Calculate the years, months, days & cal days between 2 dates.
    Hi,
    The FM is 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
    Check the following example:
    DATA: EDAYS LIKE VTBBEWE-ATAGE,
    EMONTHS LIKE VTBBEWE-ATAGE,
    EYEARS LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
    TODATE LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
    exporting
    i_date_from = FROMDATE
    i_date_to = TODATE
    I_FLG_SEPARATE = ' '
    IMPORTING
    E_DAYS = EDAYS
    E_MONTHS = EMONTHS
    E_YEARS = EYEARS.
    WRITE:/ 'Difference in Days ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.
    Also You can write your own function module for this..
    just extract day and month and year from the two dates and then get the difference.
    suppose date 1 - y1m1d1
    date 2 = y2m2d2
    data : y1(2) type n,
    m1(2) type n,
    d1(2) type n,
    y2(2) type n,
    m2(2) type n,
    d2(2) type n,
    y1 = date1(4).
    m1 = date1+4(2).
    d1 = date1+6(2).
    y2 = date2(4).
    m2 = date2+4(2).
    d2 = date2+6(2).
    then get the differnce between years and days and months and store them in ur variables
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • Difference between this month amount and last month amount.

    Hi experts,
    in report i am showing amount in one coloumn for one year and month wise. in another coloumn i need to show the difference between present month amount and last month.amount for the total months..how to done this..
    regards...roi

    Hi,
    You may do this using cell definition.
    If number of months and format is finite then you may do this creating seperate RKF/Selction for each month and then use the same in required CKF/Formulas for deducting. You may display the CKF/Formulas in report for your requirement and hide the rest.
    I hope it will help.
    Thanks,
    S

  • The difference between iPhone and iPod earphones with mic ?

    What is the difference between the Apple iPhone Headset with Microphone and the Apple Earphones with Remote and Mic ?

    mamarro wrote:
    The iOS just WORKS as it should and is not glitchy at all like my experience has been with Android.
    I had 6 Droid X's since laundh day on July 15th, and my wife has had 4 Droid Increidble's since she got her phone around that same time - and that one had been out for a few months before she got it even, so the "initial bugs" should have been worked out by then as there were a couple software updates to the phone (not even the 2.2 update I am talking about - just 2.1 updates to fix bugs) before she even got it.
    And, that's another difference.....whenever there is a software update for the iPhone you get it IMMEDIATELY as there is no "hold" by carriers to tailor it to their own needs, etc., like there is with Android. 
    Good point about the updates, I believe the Fascinate just got the update that's been out for months already.

  • What is difference between GL and PA period common and GL and PA period is

    Hi Experts,
    Can you please help me in understanding the difference between having common PA and GL period and uncommon PA and GL period. I am only aware of common PA and GL period where in implementation option there is one check box which need to check to make sure that you are using common PA and GL period.
    As per my understanding, if u open the GL period in GL module then you can able to copy those GL period in PA module.
    So once you open the GL period in PA module accordingly your PA period will also get open.
    Please confim my understanding is correct or not.
    On the other hand how is uncommon PA and GL period works? I mean in which buisness scenario you will use uncommon PA and GL period?
    Also what is the hierarchy you have to follow in order to open GL and PA period in PA module? Is it something different from common PA and GL period?
    Also In case of uncommoan GL and PA period, if the GL period for month MAY-11 is closed in GL module but present as future in PA module then what will be the impact of the transaction unposted to GL in month of MAY-11?
    Any help on this topic is appreciated.
    Regards
    and Thanks in Advance :-)

    Hi
    Your understanding of the common GL and PA period is correct. That means the period start date and end date are the same in both modules. You open a period in GL and it is open for PA as well. You can close the period in PA, so no new transactions will hit that period in PA. On the same time that period may still be open in GL, in case you need to capture journals from other sources or enter manual journals directly in GL. You should not close a period in GL before closing it in PA, AP, AR, PO etc... You can expect to see that for most PA transactions, the value of the PA period and the GL period are the same.
    Some companies manage projects by weekly periods and not by months. In that case, the PA periods are separate and different from the monthly GL periods. You need to open and close the periods independently in each of the modules. A transaction will get to separate attributes, the PA period value and the GL period value.
    Dina

  • 1)Now I use Lightrom 5.7 how to upgrade to 6 or CC? 2) What is the difference between 6 and CC vercion? 3) When I used lightromm 3, I could see inEXIF the distance in meters till the object I took, in the later virsions that function disappeared, it is ve

    1)Now I use Lightrom 5.7 how to upgrade to 6 or CC?
    2) What is the difference between 6 and CC version?
    3) When I used lightromm 3, I could see in EXIF the distance in meters till the object I took, in the later virsions that function disappeared, it is very sad  I am stiil waiting and hope that it would be possibble in the new  versions. Or this indication may  possible by setting?

    1)Now I use Lightrom 5.7 how to upgrade to 6 or CC?
    Purchase the standalone upgrade from here: Products
    Download CC version from here: Explore Adobe desktop apps | Adobe Creative Cloud
    2) What is the difference between 6 and CC version?
    See this comparison chart: Compare Lightroom versions | Adobe Photoshop Lightroom CC
    3) When I used lightromm 3, I could see in EXIF the distance in meters till the object I took, in the later virsions that function disappeared, it is very sad  I am stiil waiting and hope that it would be possibble in the new  versions. Or this indication may  possible by setting?
    Rob Cole's ExifMeta plugin displays the Subject Distance field (and much more).  Unfortunately, his Web site appears to be down again.  He used to be very active here, but he hasn't posted in several months.

  • 1KEK and 1KEI Difference between FI and PCA KE5U

    Hello All,
    We have a difference between our FI and PCA and that is shown when we run the Transaction KE5U.
    we have a calendar year with 4 special periods as our fiscal year and 12 2010 was the last normal period
    The business made some postings in period 13 during their year end close.
    These postings in periof 13 2010 are not shown in PCA.
    I have tried the following
    Ran 1KEK and 1KEI for period 13 => System response: You cannot run these transactions for special periods
    Ran 1KEK and 1KEI for Period 12 => The difference still exist.
    I dont think we can open period 12 2010 again as the fiscal year 2010 is closed.
    Is there a different way to run these transactions and reconcile the balance?
    Please advice
    Subhani

    We figured it out.
    we had to perform the following steps in sequence to resolve the issue
    1KEK and 1KEH should be run periodically, every time we run the previous month we have to run it for all the proceesing months
    1. Ran 1KEH and 1KEK for Dec 2010 => this will transfer all the postings made in the special periods of 2010
    2. PCA balance carry forward 2KES
    3. 1KEH and 1KEK for Jan 2011 and Feb 2011 in sequence.
    Thanks

  • Credit Management: Difference Between Static and Dynamic Credit Check

    Hi,
    Could anyone tell the difference Between Static and Dynamic Credit Check?
    According to website: http://www.sap-basis-abap.com/sd/difference-between-static-and-dynamic-credit-check.htm ... this is the answer:
    ====================
    Simple Credit Check : Tr.Code - FD32
    It Considers the Doc.Value + Open Items.
    Doc.Value : Sales Order Has been saved but not delivered
    Open Item : Sales Order has been saved , Delivered, Billed & Transfered to FI, but not received the payment from the customer.
    Static Credit Check it checks all these doc value & check with the credit limit
    1) Open Doc.Value / Sales Order Value : Which is save but not delievered
    2) Open Delivery Doc.Value : Which is delivered but not billed
    3) Open Billing Doc.Value : Which is billed but not posted to FI
    4) Open Item : Which is transfered to FI but not received from the customer.
    Dynamic Credit Check         1) Open Doc
                                                2) Open Delivery
                                                3) Open Billing
                                                4) Open Items
                                                5) Horizon Period = Eg.3Months
    Here the System will not consider the above 1, 2, 3 & 4 values for the lost 3 months.    
    ====================
    Question 1: Could you further explain the above information, if there is any?
    Question 2:: What is the Tcode to customize settings of:
    a) Simple Credit Check (isn't this same with b) below?)
    b) Static Credit Check
    c) Dynamic Credit Check

    Hi Tanish,
    Diff between Static and Dynamic Filters.
    Example One at report Level.
    Create a variable for a Infoobject say ,Material .
    1)In the Query Designer and if u restrict it to some 10 materials at query level, the report will display for only those 10 materials only.This is Static Filter.UR AHrdcoding it to those materials.You cant change them at Query Run time.i.e not changeable by user.
    2)If u give the variable as input ,and when u run the query ,u can can choose the material,may 10 may be 1 or may 20 .It is dynamic.Changeable by user at run time
    Example Two at DTP and Start Routine Level,say Document Type.
    1)If u give filters in Start routine it is Static as u cannot change it in Production,not changeable by user.
    2)f u give filters in DTP it is Dyanamic as u can change it in Production.U can give any doc type,Changeable by user at run time.
    Hope it is Understood.
    Rgds
    SVU

  • What'z the difference between the Commercial Invoices and

    What'z the difference between the Commercial Invoices and
    Invoices/Excise Invoices? Also I understand that we can combine 2~3
    invoices and can create one commercial invoice? If it is possible, how
    to create the same?
    cheers
    shalsa007....

    Hello,
    A commercial invoice is a bill for the goods from the seller to the buyer. Commercial invoices are utilized by customs officials to determine the value of the goods in order to assess customs duties and taxes.
    In general there is no standard form for a commercial invoice although they tend to contain many of the following features:
    •     seller's contact information
    •     buyer's contact information
    •     consignee's contact information (if it is different from the buyers)
    •     invoice date
    •     a unique invoice number
    •     sales terms (usually in incoterm format)
    •     payment terms
    •     currency of sale
    •     full quantities and description of merchandise (Generally this includes unit price and total price. Product descriptions should be consistent with the buyer's purchase order. Including the Harmonized System commodity codes can be helpful, especially in countries that are WTO members.)
    Excise invoice “Original for Buyer copy”, whether  prices are inclusive or exclusive of excise duty.
    The invoice in which the Excise duties are included.
    As per Indian tax system, Excise duty (16%) is payable by each manufacturing unit on the value of manufactured goods / on the value added. The manufacturing plant is supposed to submit an excise duty report on fortnightly / monthly basis. Various registers (RG1, RG23A, RG23C, PLA) are maintained for that purpose, which record all the transactions including movement of goods, cenvat credit available and cash balance available.
    In SAP, we use transaction j1id for configuration and j1iin, j2i7, j1i5, j2i5, j2i6, j1ip for creating, extracting and printing excise invoice. 
    *Please reward if this helps**
    Regards
    AK

  • Whats the difference between Launchpad

    I don't really understand if there's a difference between the new Launchpad feature and the Applications folder on the dock?  Some people have told me it's the same thing and just a different way of looking at it (more like the ipad or iphone I guess).  Others say something different.  People have told me that everything in my Applications Folder should be easily seen in Launchpad.  But as far as I can see, it's not.  For example, my Lexmark printer files/folders icon is in the Applications Dock Folder, but is not in Launchpad.  Skype is in my Applications Folder and Dock but no where to be found in Launchpad.  Neither is Microsoft Silverlight (which I think is a way to view videos online)....Nor is my Coupons printing application (although that seemed to stop working with Lion although the Coupons.com people say it should still work)
    So Im confused.  One person told me they are probably in folders...But I haven't created any folders...and I don't see where they could be.  These things also are not in Utilities.  So what goes into Launchpad & what doesn't...and what is the purpose of Launchpad except for a bunch of pretty icons...or maybe it's useful to people who have a lot more apps since I've only had the computer for a month and haven't really used the App store because I don't understand what most of those things do, and I havent really downloaded too many third party software at this point.
    Or am I supposed to put things in Launchpad by dragging icons from Applications Folder on the Dock to Launchpad?  I haven't tried that because Im afraid to do anything because my experience so far is everytime I follow an Apple employee's suggestions, I end up with hours and hours of work trying to fix it.  But I haven't read anything that said you need to create Launchpad; It just says it should be.
    Apple's website says Launchpad is a place for your apps so I could see if Lexmark printer files are not considered an app (but it is in the App folder on the Dock) but what about something like Skype? 

    Ok thanks, that helps a lot - and better than the response I got from Applecare.  First off, I didn't know (and they didn't tell me) that there was a second page.  Then, I found some of the files were spread out and needed to be merged...so for example, the Lexmark files (which were on the second page) were not grouped under Lexmark.  I was able to go into the Finder and find the individual file names and then group them together in a Lexmark folder - which I guess is the intention.  So check one, check two...my only other question is you said that you can move them...how do you do that?  How do I move the ones on page two to page one...There seems to be plenty of room left on page one of Launchpad...It seemed to group some of them on page two for some other reason (maybe they were new or non-Apple)  Thanks

  • What is the difference between Firefox 7.0.1 and Firefox Desktop? I like what I see in Desktop. How do I get it.

    How do I go about getting Firefox Desktop. I have Firefox 7.0.1 now as my browser. Do I have to download Desktop or do an add-on?

    1)Now I use Lightrom 5.7 how to upgrade to 6 or CC?
    Purchase the standalone upgrade from here: Products
    Download CC version from here: Explore Adobe desktop apps | Adobe Creative Cloud
    2) What is the difference between 6 and CC version?
    See this comparison chart: Compare Lightroom versions | Adobe Photoshop Lightroom CC
    3) When I used lightromm 3, I could see in EXIF the distance in meters till the object I took, in the later virsions that function disappeared, it is very sad  I am stiil waiting and hope that it would be possibble in the new  versions. Or this indication may  possible by setting?
    Rob Cole's ExifMeta plugin displays the Subject Distance field (and much more).  Unfortunately, his Web site appears to be down again.  He used to be very active here, but he hasn't posted in several months.

Maybe you are looking for

  • How can I turn off noise cancellation in the iPhone 5C?

    I'm having trouble finding the noise cancellation on this iPhone. I know you're supposed to go into settings, then general, under accessibilty, and it's supposed to be the last option under hearing but it's not there. I'm not sure if I can find it so

  • Sales Order rejected or approval

    Hi, How to reject or approval process automatically  when i am creating the  sales order after entering the material and qty,  and also this should not reflect in MRP requirement MD04. regards Ravi

  • Exchange & Mail Settings?

    I have been using Apple Mail in OS X and from the Web (FireFox and Safari) to access my work mail on an Exchange server. However, during Xmas break, IT changed something and "This combination is no longer supported." (I don't want support. I just wan

  • Rapidwiz fails host/domain check

    Hello all, I started rapidwiz to install R12.1 on windows 2003. He did al the checks, but fails on the check off host/domain. The following error occurs: Host/Domain command: ping -n 1 incoredemo Pinging IncoreDemo [172.30.26.159] with 32 bytes of da

  • Problème de texte sur photoshop éléments 8 -urgent svp !-

    Bonjour, J'ai un petit soucis avec PS élément 8. Lorsque je tape une phrase, les lettres sont collées les unes aux autres, le texte en devient presque illisible, c'est assez embêtant, je ne sais pas comment régler le problème donc si vous pouviez m'a