How to calculate Length of service for an employee

Hi All,
I need to calculate Length of Service for an Employee in PA.
Is there any Function Module for that?
Thanks and Regards
Partha.

Here is what we use in our reports...
    CALL FUNCTION 'COMPUTE_SEARVIS_YEARS_J'
      EXPORTING
        first_date                  = start_date
        second_date                 = end_date
      IMPORTING
        years_between_dates         = llength_service
      EXCEPTIONS
        sequence_of_dates_not_valid = 1
        OTHERS                      = 2.

Similar Messages

  • How to calculate work in process for maintenance order

    how to calculate work in process for maintenance order i.e raw materials not used

    Hi,
    Generally, when u create PR from maintenance order, account assignment category should be F. Cost of services first settles on the order when u create service entry sheet. Further it got settled onto settlement receiver given in order.
    If you want to change the category from F to K for maintenance orders then follow the IMG menu path as given below.
    Plant Maintenance and Customer Service > Maintenance and Service Processing > Maintenance and Service Orders  >
    General Data > Define Account Assignment Cat. and Document Type for Purchase Requisitions

  • How to calculate number of rows for perticular characterstic in SAP BI Bex

    Hi experts,
    Please let me know how to calculate  ' number of rows  ' for perticular characterstic in Bex query. 
    Thanks & Regards,
    Babu..

    Hello,
    You can try this
    Create a CKF and assign the vale 1 to it. Open the query and select Character where you want to display ' number of rows ', go to properties windows, select 'display', in the results row drop down box, select  'always display'.
    Thanks.
    With regards,
    Anand Kumar

  • How can I get a service for new powerbook 15" 1.67 screen?

    I would like to know how I can get a service for my brand new PB15" screen.
    Today I have read an message on the Korean apple forum that New unit of 15" 1.67 doesn't have any line problem.
    So, I really want to know whether it is true or not.
    If it is, Can I get an exchange for my new 15" 1.67 in India?
    Could you help me Apple?
    I bought it in Korea 15,Nov, 2005 and Now I am in Mumbai India.
    There is a apple international Mumbai in India.
    I have a 1 year world worranty.
    If the new unit doesn't have any line problem, It means that mine has a problem.
    Now I am falling in love with powerbook 15" 1.67 which is my first Mac in my life except line problem.
    How can I get a service for it.
    Please Help me.

    Yes I have read of other reports from people saying theirs are fine. I am really looking forward to purchashing one but I do not want to take a 2000 dollar chance that I might end up with a bad screen. I am still waiting for apple to make an announcement. I have also begun seing reports on some "news like" websites but not really the major ones.

  • How can I show icon Services for Object in PA30 Infotype 0019

    Hi guy.
    How can I show icon Services for Object in PA30 Infotype 0019 ?
    This icon display in some infotype example infotype 0024(Qualifications).But I wanna use in Infotype 0019.
    I don't wanna use menu "Assign facsimile".
    Best regards.
    Chutima.

    Sorry - should have said I'm using JDev 10.1.3.0.4 with JSF & ADF BC.

  • How can i config Oracle Services for Microsoft Transaction Server in  9.2

    how can i config Oracle Services for Microsoft Transaction Server in 9.2

    There's nothing to configure on the client side. On the database side you just need to run a script once to setup an ORAMTS admin account and some other infrastructure.

  • LSO and   Self-Service for My Employee

    Hi,
    Anyone know whether the LSO BSP application is compatible with MSS   Self-Service for My Employee ....ie the manager acts as the employee.....
    Any info on this greatfully received....
    Thanks
    J

    Hello Jambo,
    unfortunatelly it is not. The ESS in MSS functionality is a hightly integrated application, with the XSS Floorplan Manager (FPM) as the integrating part. The LSO BSP application does not have access to this FPM. Thus it would not get notified if you select an employee.
    A possible solution tho could look like this:
    Create a FPM application (WD Java) which serves as a proxy application
    check this link out (How to guide) https://wiki.sdn.sap.com/wiki/display/profile/How-toaddacustomWebDynproiViewtotheMSSEmployeeProfile%28ECC+6.0%29
    Call the BSP application within this WD Java application and somehow pass the pernr to  it.
    Just an idea tho
    regards,
    Markus

  • Error in self service for my employee - Related Activities in MSS

    Hi,
    NW2004s SP9  EP7.0 ECC 6.0
    we are trying to implement the self service for my employee in related activites functinality from the general information of team workset ( Team --> General informatio --> Related activities --> Self service for my employee ) in MSS which is a replicaiton of ESS in MSS functionality from the previous versions.
    When
    I click on any of the options like Personal data or Addresses it gives me a blank page with no information on it. (It does give a DONE message with error/warning message on the status bar of Internet explorer. The error message says getactivetrackingEntryValue() is null)
    Do I need to do anything to get this page working. I do not see any config related to this.
    Appreciate any inputs.
    regards
    sam

    James,
    I think the note refers to note been able to display the general infromation iView itself. I have implemented the note and am able to see the genral information iView. My issue is I am not able to perform "Self service for my employees" in "related activities" iView.
    Thank for you reply and correct me if I am wrong.
    Sanjay, I have raised the issue with SAP, in the mean while if you can please let me know the patches or a list of them that are requried thyat would be awesome. Sorry for asking you this, but the basis team here asks to tell them what is requried even though I do not have sufficient authorizations to check them.
    Appreciate you help on the same.
    regards
    Sam

  • Removing links in Self-Service for My Employee

    Hi
    We are trying to implement BP ESS and MSS 1.0 on EP 7 and ECC 6.0. We have imported the source code into NWDI track and are able to make changes in the source code. Now our requirement is that we want to remove the link in "Self-Service for My Employee" under Related Activities iView. We couldnt find the application which shows this iView.
    Path: MSS -> Team -> General Information under Related Activities.
    Please help.
    Regards,
    Piyush.

    Hi Sharadha,
    I have already tried modifying that DC. But I am unable to find the exact component (view). When I tried executing the application through NWDS its not showing "Related Activities" area and links. Also when we log in with a user who doesnt have any MSS rights "To display data, first select an employee" is displayed. And for MSS user whose configuration is not complete in R/3 "No data available" is displayed. Can this be controlled from R/3?
    Regards,
    Piyush.

  • How to calculate no.of records for a specific company Code and Transaction

    Hi All,
    Could you please help me how to calculate or count no.of records, in a table which are having a specific Company Code and Transaction Code and populate  in an output table displaying that these many records are present for this company code and Transaction code.
    The table is having the data like this:
    LOB   TRAN CODE    COUNT
    X1                             1   
    X1                              2   
    X1                              3   
    X1                              4   
    F1   NB                      5   
    F1   NB                     6   
    F1   NB                     7   
    F1   NB                    8   
    F1   NB                    9   
    F1   NB                    10  
    F1   NB                    11  
    F1   NB                    12  
    F1   NB                     13  
    F1   NB                     14  
    F1   NB                     15  
    F1   NB                     16  
    F1   NB                     17  
    F1   NB                     18
    F1   NB                    19  
    F1   NB                    20  
    F1   NB                   21  
    F1   NB                   22  
    F1   NB                   23  
    F1                          24  
    F1                         25  
    F1                         26  
    F1                         27  
        In the above table there are totally 27 records,where as the no.of records with F1 as company code and NB as transaction code are 18..so i have to display like F1 NB and 18 as one record as output.
    Thanks and Regards,
    Johny

    You can go for Control Breaks for your requirement.
    First sort the internal table by company code and transaction. Declare a counter variable.
    Now loop the internal table and increment the counter variable. within the loop use AT END OF tcode.......ENDAT. Within the control break append the counter variable as well as the company code and tcode to some other ITAB and clear the counter.
    This will give you the total number of records for a combination of co code and tcodes.
    This will be a good reference for your requirement. What I am doing here is, for each Vendor i am calculating total number of deliveries and amounts for that vendor. For every new vendor i am writing the ouput on to a list and clearing the counter variables.
      LOOP AT t_vend_prod_grp INTO fs_vend_prod_grp.
        w_total_delv = w_total_delv + 1.
        w_total_amt = w_total_amt + fs_vend_prod_grp-dmbtr.
        AT NEW matkl.
          w_mat_grp = fs_vend_prod_grp-matkl.
    * To display the material group and the header texts for the data
    * grouped by material group and vendor.
          SKIP 1.
          WRITE:  text-mtk  COLOR COL_HEADING
                                  INTENSIFIED,
                / w_mat_grp COLOR COL_NORMAL
                                  INTENSIFIED OFF.
          SKIP 1.
          FORMAT COLOR COL_HEADING ON INTENSIFIED.
          ULINE  1(54).
          WRITE:/ sy-vline,
                2 text-ven,
               12 sy-vline,
                  text-dlv,
               26 sy-vline,
               38 text-amt,
                  sy-vline,
               46 text-cur,
               54 sy-vline.
          ULINE /1(54).
          FORMAT COLOR COL_HEADING OFF INTENSIFIED.
        ENDAT.                             " AT NEW MATKL
        AT END OF lifnr.
    * To display the actual data for the grouping based on Material group
    * and Vendor.
          FORMAT COLOR COL_NORMAL ON INTENSIFIED OFF.
          WRITE: / sy-vline,
                 2 fs_vend_prod_grp-lifnr COLOR COL_KEY,
                12 sy-vline,
                   w_total_delv,
                26 sy-vline,
                   w_total_amt CURRENCY text-usd,
                   sy-vline,
                46 text-usd,
                54 sy-vline.
          FORMAT COLOR COL_NORMAL OFF INTENSIFIED OFF.
          CLEAR: w_total_amt,
                 w_total_delv.
        ENDAT.                             " AT END OF LIFNR
      ENDLOOP.                             " LOOP AT T_VEND_PROD_GRP

  • How to write a web service for uploading a file

    Hi all,
    I want to write a web service for uploading a file to some specified folder under application server, how to do that? Thanks

    I believe the "difference" that you're seeing is that one web service is "RPC" style (The Hello World example) and one web service is "Document" style (The WSDL you have downloaded).
    Document-style web service methods always have one element as a parameter, and this parameter manifests itself as a SOAPElement in the service interface.
    RPC-style web services are true "remote procedure calls", and are more functional in nature, in that they accept multiple parameters. JAX-RPC will bind these parameters to generated Java types.

  • How to design a wcf service for specific requirement

    i have 2 question on wcf.
    1) suppose some one develop a bus booking service using wcf and expose the same service over 2 different endpoint like tcp and http but i like to know what would be the advantage of having 2 or more endpoint for single service ? in what kind of situation
    people use this trick? discuss in details.
     2) how can i offer some extra functionality for tcp client. suppose my service has 5 function but http client can call only 2 and tcp client can call all. how do i design wcf service in this way. any idea would be appreciated. thanks

    Hi Mou_kolkata,
    >> 1)what would be the advantage of having 2 or more endpoint for single service ? in what kind of situation people use this trick? discuss in details.
    In my mind the advantage of providing different endpoints for a single service is that each endpoint could use different binding and we would use different endpoints for logical grouping by function, we could also apply different levels of security
    in the binding for each endpoint. For example you can expose an interoperable endpoint for Java, PHP, ... clients and a proprietary binary endpoint which could be faster but only for .NET clients.
    Besides, please also try to check this similar thread:
    http://stackoverflow.com/questions/6033788/when-why-would-i-use-multiple-endpoints-vs-a-single-endpoint-in-a-wcf-service .
    >> 2) how can i offer some extra functionality for tcp client. suppose my service has 5 function but http client can call only 2 and tcp client can call all. how do i design wcf service in this way. any idea would be appreciated.
    An esay way is to create two services. One service is for http client with 2 functions and the other service is for tcp client with 5 functions.
    Or maybe you need do some authentication, for more information, please try to refer to:
    http://stackoverflow.com/questions/11566182/how-do-i-restrict-access-to-some-methods-in-wcf .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to calculate TLF Text Position for PHP

    Hi, we are using TLF Text for creating a simple application, to create PDF files from PHP.
    We tried with our TLF and Classic text difference for y Position. there we got 20% approx gap, from top, in TLF. Can anybody tell me? How to calculate Y position of TLF Text including line height for the new line text, for PHP?

    Holy cow... by the loop you just mentioned you're literally trying to make a TextField for every single character?! That's really unadvisable as an approach overall.
    I'm not sure how this suits your needs but finding a common medium is the best route here. Here's a couple route change suggestions and then at the end if you really still want to persue this method I'll let you know the method you want to use.
    One way is is to make a stylesheet that is re-usable between both TLFTextField and TextField. As long as the same classes are applied to both fields they will look "as close as possible" to identical as long as the same stylesheet is applied to both. Then it's just copying all the text from one field to another once.
    The other way which offers a bit less flexibility but still can work is to use HTML directly to style the text. Some attributes like line spacing and such are not supported directly in HTML without stylesheets but you can do a bit of common formtting (like color, font family, font size, bold, italic, etc). Then if you enable the classic TextField's .html property to true you can again just copy the text directly into it and it will format based on the HTML.
    If you can't persue either of these, the method you're looking for is this:
    http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/fl/text/TLFTextFie ld.html#getCharBoundaries()
    getCharBoundaries() returns a Rectangle which contains the x, y, width and height boundaries of the character index you supply. So in your loop you would do something like:
    txt.y = tlft.getCharBoundaries(i).y;
    The height and width would also be useful for you in certain cases where exotic formatting is used.

  • How to create a winsow service for managed server 11g

    Hi
    We have just installed Fusion Middleare 11g weblogic 10.3.6 , our Admin server and managed server are on this very same server.
    we are trying to create a window service for start and stop both admin and managed server, we have created a window service for the admin server followed the instruction, but how can we create a window service for the managed server?
    any idea?
    thanks a lot

    Hi Andrew
    Thanks for the post. I have already followed that document link. My problem is the DTC does not failover to Second node when I try to move the SQL Server Engine to the other Node or I do a simulate failure option.
    But when I shutdown Node 1 all the services move to Node 2 without any issue.
    Thanks & Regards
    Ravinder

  • HT204088 Does anyone know how to speak to customer service for iTunes? I got charged for something and have no clue what I got charged for. I have not used iTunes yet. There is no way on the apple site to get this resolved.

    Does anyone know how to speak to human being in customer service for iTunes? I got charged for something and have no clue what I got charged for. I have not used iTunes yet. I have spent a lot of time trying to get this resolved on the apple site and there just seems no way to do it. Thanks.

    iTunes Customer Service is an online service unless they feel they need to call you.
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

Maybe you are looking for

  • Delete button in tableviewcell disappear after orientation

    I create a table view, every time orientate, I will reload it. When i swipe to make the delete button appear, and then orientate the device, because of the reload, the delete button disappear. How can I solve it?

  • How to build a form with fields in iWeb

    I'm excited about using iweb for my personal printing business. One of the pages in my website will need to have a form that users fill out with name, date, description of needs, etc., which then gets emailed to me. Where can I find information on ho

  • IPhoto Missing Photos, Unique Situation

    Hi everybody, I am in what I believe to be (after a bit of Googling and forum searching) in a unique position with my iPhoto Library. The library in question used to be maintained without keeping copies in the actual library (by using the relevant op

  • No signal mode

    my iphone 4 when enters in no signal mode/network doesn't come back automatically to the carriers network, so I can not receive calls or messages. In this case, I have to reset the iphone. Why does it happen?

  • Trying to migrate OE local folders to TB

    Details on how to accomplish-not only the folders but the contents