How to get no. of active employees in a employee subgroup on a particular date

Dear Experts.
Sorry for the basic questions.
I want to get the no. of active employees in a employee subgroup on a particular date.  I am not using logical database.
I am  facing problem with the date .
my select query as below .
SELECT PERNR PERSK
        FROM PA0001
        INTO TABLE LT_DATA
        WHERE PERSG = '1'
        AND ( PERSK = 'M1' OR
              PERSK = 'M2' OR
              PERSK = 'M3' OR
              PERSK = 'M4' OR
              PERSK = 'M5' OR
              PERSK = 'M6' OR
              PERSK = 'M7' OR
              PERSK = 'P1'  )
              AND BEGDA = LV_DATE .  with this select query i am get only those entries which are created on LV_DATE.
Please suggest the select query so the i can get no. of active employees working in employee sub group on LV_DATE.
I hope its clear.
Thanks & Regards,
Bhushan

Hello ,
You have to use a join with  table PA0000 on PERNR with the condition ( PA0000-STAT2 = 3 ) Active and , LV_DATE >= BEGDA AND LV_DATE < ENDDA   .
Regards

Similar Messages

  • TS2446 I just got my Ipad and I can not download apps.  I get a message saying my Apple ID has been disabled.  I have reset my password, I can access itunes and icloud but still can not download apps.  Can someone please tell me how to get my ID activated

    I just got my Ipad and I can not download apps.  I get a message saying my Apple ID has been disabled.  I have reset my password, I can access itunes and icloud but still can not download apps.  Can someone please tell me how to get my ID activated?  TY

    Depending on why it's been disabled you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    Or you might need to contact Apple : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
    If it then works on your computer's iTunes but not your phone/iPad then try logging out of your account on the phone/iPad by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in and see if that 'refreshes' the account on it

  • How to get the user active stauts in jspdynpro

    How to get the user active status in jspdynpro.
    I want check weather a user is active or not (Collaboration Launch Pad functionality)
    in jspdynpage.
    Thank's in advance,
    Mr.Chowdary

    Hi Eddy,
    Here the scenario is to get the data of a field from the user defined table to pass the extracted values as a input to the XL reporter, which will be selected while generating the report.
    It would be great if you provide any solution for this problem.
    Thanks.

  • How to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    how to get list of active users with the details like samaccountname, name, department, job tittle, email in active directoy?

    You can use third party software True Last Logon 2.9.You can export the file in excel for report creation.You can use the trial version this will achieve what you are looking for.
    True Last Logon displays the following Active Directory information:
    --Users real name and logon name
    --Detailed account status
    --Last Logon Date & Time
    --Last Logon Timestamp (Replicated value)
    --Account Expiry Date & Time
    --Enabled or Disabled Account
    --Locked Accounts
    --Password Expires
    --Password Last Set Date & Time
    --Logon Count
    --Bad Password Count
    --Expiry Date
    --You can also query for any other attribute (Example: Description, telephone Number, custom attibutes etc)
    Refer the below link for trial version:
    http://www.dovestones.com/products/True_Last_Logon.asp
    Best Regards,
    Sandesh Dubey.
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator |
    My Blog
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to get the fixed result in a DES/CBC mode with fixed input data and fix

    How to get the fixed result in a DES/CBC mode with fixed input data and fixed key. Below is my program , I tried to get the checksum of the DESInputData with the DESKeyData, but each time the result is different.
    below is my code:
    byte[] DESKeyData = {(byte)0x01 ,(byte)0x01 ,(byte)0x01 ,(byte)0x01, (byte)0x01 ,(byte)0x01 ,(byte)0x01 ,(byte)0x01 };
    byte[] DESInputData = {(byte)0x31 ,(byte)0x31 ,(byte)0x31 ,(byte)0x31,(byte)0x31 ,(byte)0x31 ,(byte)0x31 ,(byte)0x31 };
    SecretKeySpec skey = new SecretKeySpec( DESKeyData, "DES" );
    Cipher cipher = Cipher.getInstance("DES/CBC/NoPadding");
    cipher.init( Cipher.ENCRYPT_MODE, skey );
    byte[] result = cipher.doFinal( DESInputData );

    Use class javax.crypto.spec.IvParameterSpec to specify IV for CBC mode cipher:
    // Create CBC-mode triple-DES cipher.
    Cipher c = Cipher.getInstance("DESede/CBC/PKCS5Padding");
    // Specify IV.
    IvParameterSpec iv = new IvParameterSpec(new byte[] { (byte)0x01, (byte)0x23, (byte)0x45, (byte)0x67, (byte)0x89, (byte)0xAB, (byte)0xCD, (byte)0xEF });
    // Initialize cipher with proper IV.
    c.init(Cipher.ENCRYPT_MODE, yourKey, iv);
    // Encrypt and decrypt should work ok now.
    For more info about cryptography, search the Internet for IntroToCrypto.pdf from mr. Phil Zimmerman. This document is also part of PGP (http://www.pgp.com).
    An excellent book is 'Applied Cryptography' from Bruce Schneier (http://www.counterpane.com/applied.html).
    Regards,
    Ronald Maas

  • How to get top 10 actively used TFS projects?

    We have 100+ projects inside a TFS collection, how to find the (say to 10 or 15) most actively used projects? Idealy the activities will include any actions like CI/CO, build, member addition, etc.
    Thanks

    Hi Peter,  
    Thanks for your post.
    As far as I know there’s no a default way to get such top 10 actively team projects report. You should create your custom report using TFS API to achieve that, pleas refer to the discussions in this similar post:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/984d1796-e195-4765-9f55-e2a45bc37c80/how-to-get-a-list-of-active-projects-from-tfs-?forum=tfsgeneral. 
    For this scenario, please submit it to User Voice site at: http://visualstudio.uservoice.com/forums/121579-visual-studio. Microsoft engineers will evaluate them
    seriously.  
    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 get EBS instance activity for one hour?

    Hi
    Our users are complaining that, the system is very slow during early morning of the day. The sales order entered in oracle is taking 2 hours to appear in interface. How can i find the complete activity of the system including database sessions during particular hour of the day? I tried to search through OAM but in vain.
    Any hints?
    Regards
    Ariz

    Hi Ariz;
    Our OS: AIX 5.3.7, R12.0.6, 10g (10.2.0).Please check below to enable OEM on R12
    How to Enable Enterprise Manager on the Oracle E-Business Suite Release 12 [ID 458533.1]
    Regard
    Helios

  • Reg: How to get the trip activity values in user exit.

    HI Experts,
    I have scenario like I need calculate the trip advance amount for an employee.
    Based on the employee travel days and employee’s activity type.
    Activity types means:  types of employee trips like
    1. Domestic
    2. International
    Here my problem is not getting trip activity values into my user exit.
    I am getting the all selection values in trip header except this TRIP ACTIVITY values.
    Please give me idea how I can read this trip activity value in to my user exit.
    I have written the below code for user exit.
    CHECK SY-TCODE EQ 'PR01'.
    MOVE TRIP_HEADER TO IT_PTRV_HEAD.
    APPEND IT_PTRV_HEAD.
    CHECK SY-TCODE EQ 'PR01'.
    MOVE TRIP_HEADER TO IT_PTRV_HEAD.
    APPEND IT_PTRV_HEAD.
    Thanks & Regards
    Sameera

    Hi,
    Try to use Enhancement  FITR0003.
    REWARD IF USEFUL

  • How to get OTL Alternate Name From (Timekeeper or Employee) Preference

    Hi there
    In the current implementation our OTL functional consultant setup Alternate Name Definition:-
    FOR EMPLOYEE Preference as follows:-
    Definition Name = XX Employee DEF
    Alternate Name
    Leave Without Pay
    Values (DFF)
    Payroll Element (ATTRIBUTE1) “LEAVE NO PAY”
    Expenditure Type (ATTRIBUTE2) “Absence No Pay”
    System Type (ATTRIBUTE3) “SYTEM”
    ID (ATTRIBUTE4) “Employee”)
    Definition Name = XX TIME KEEPER DEF
    FOR TIME KEEPER Preference as follows:-
    Leave Without Pay
    Values (DFF)
    Payroll Element (ATTRIBUTE1) “LEAVE NO PAY”
    Expenditure Type (ATTRIBUTE2) “Absence No Pay”
    System Type (ATTRIBUTE3) “SYTEM”
    ID (ATTRIBUTE4) “Timekeeper”)
    So If employee Go Enter Leave himself he get XX Employee DEF “ALTERNATE NAME”
    AND IF Time Keeper go Enter Record for employee, he use Time Keeper “XX TIME KEEPER DEF” Setup
    My Question is how I can build a query to get the Alternate Name for that selected Leave. I am able to get the element easily, I use to do it when there is one to one relationship between ELEMENT & ALTERNATE NAME.
    Regards
    Discoverer

    Your question is not clear. Why do you want to get the alternate name?
    You can always get that from the employee OTL preference setup and yes, based on whether you check the employee or the TK , it will be different.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to get Loan Outstanding Bal amount of an employee in HR Payroll table

    HI Friends,
    I need your guidance to find out the Outstanding loan balance amount of an employee (str: Q0045-OPELO as in PA30).
    I tried with FM : PYXX_READ_PAYROLL_RESULT. But the wage type of /LLB or /LFP or /LTE are not available in my RT or any other payroll tables.
    Please advise me how to arrive it.
    thanks & regards
    sankar.
    Edited by: sankar babu on Jan 22, 2009 6:51 AM

    just check if you have maintain infotype 78 with relevant details. If not then please maintain because its prerequisites of these wage types

  • How to GET RID OF ACTIVE X TRIAL???

    Adobe Active X did not work very well to edit a PDF file so I did not want to purchase it; HOWEVER now I am unable to uninstall it and also unable to use Adobe Acrobat to view PDFs. I am a business person and there are pdf's I must view ASAP, somebody please help me get rid of this trial and get back the program that was working for me.

    Thank you sooooooo much. It worked immediately. I couldn't be happier! You can't know about all the troubles I am having, (started new biz Aug. 16, became temporarily disabled--unable to walk--Sept. 1, have 7 month old baby, have 4 teens in home...ugh) and this was just a small thing but it ate up my whole morning. I called a hotline that was supposed to be representing Adobe and they tried to get me to spend $150.00 to have work done on my computer. I'm just trying to say that I really appreciate the simple fix. I needed it badly. It makes my life easier. I hope you are very blessed and have a great day. Thanks again.

  • How to get reporting manager and HR of an employee

    Hi everyone,
    I am new to HR , i have created an org unit (O) in PPOC_OLD tcode which is having three positons (S),
    Pos 1  is an HR pos which is assigned to a Holder (Pernr ) with relation Incorporates.
    Pos 2 is Project Manager which has also a Pernr as Holder with relation as Incorporates.
    Pos 3 is a Developer which has also a pernr attached to it with relation as incorporates.
    Now i need to create a reporting stricture that shows the developer repoting to its Project manager as well as to the Hr in Pos 1.
    I hope you all got the idea ..!!!
    Thanks
    Ravi

    Hi Ravi,
    <li>Get the Organization unit maintained for Employee from Infotype 0001(PA0001) field ORGEH.
    <li>Use below function module to get the manager of that employee.
    DATA: swhactor TYPE swhactor OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'RH_STRUC_GET'
      EXPORTING
        act_otype      = 'O'
        act_objid      = p0001-orgeh
        act_wegid      = 'B012'
      TABLES
        result_tab     = swhactor
      EXCEPTIONS
        no_plvar_found = 1
        no_entry_found = 2
        OTHERS         = 3.
    I hope that it helps.
    Thanks
    Venkat.O

  • How to get process instance activity information

    We have the following need:
    The process instance will be created either manually or by integration from another system. It is not possible to have two instances running for the same process, so we want to check if there is already one instance running for a given process. The business information that identifies the process uniquely are attributes of the process data object.
    We need to find out how to:
    1) check if there is already existing instance for the process giving the business information that identifies it
    2) check if the existing instance is running or is ended/terminated
    We want to know if there is any existing API we may use to achieve the needs above, what are them and where we can find more information of their use.
    We have tried searching in the API documentation what methods could be of use but we were not able to identify by the existing documentation any one that could attend our needs.
    We also didn't find any topic in this forum about it.
    If possible please give us some examples of use.
    Version: Oracle BPM 11g

    Hi,
    In the SOA Suite 11g you can use the Java API together with Composite Sensor to achieve these behavior:
    1. First, create a composite sensor in the operation that create the process composite instance, initializing the sensor with the business information that identifies the process uniquely. This composite sensor can be used to search for the composite instance either on EM or via API. For more information about how to create Composite Sensor, see http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/sca_compsensors.htm#insertedID0
    2. Using the Java API (http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/toc.htm), search for the composite instance by the Composite Sensor, as explained at: http://blogs.oracle.com/soabpm/2009/08/soa_suite_11g_-apipart_3_-_f.html. With a reference to the composite instance, you can check its internal components states.
    The following libs must be imported in your java project:
    - <middleware_home>/oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar
    - <middleware_home>/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar
    - <middleware_home>/wlserver_10.3/server/lib/weblogic.jar
    - <middleware_home>/oss_11gr1/soa/modules/oracle.soa.fabric_11.1.1/oracle-soa-client-api.jar
    - <middleware_home>/oracle_common/webservices/wsclient_extended.jar
    I hope this can help.
    Regards,
    Rafael

  • How to get rid of activation required popup on unlocked iPhone 4s?

    I bought an iPhone 4s online around a month ago and got it in the post a few days after, I had bought it from America and I live in Ireland and when it got here it was locked only to the Sprint network. I got an e-mail a few days ago to say that the seller had been in contact with Sprint and they had unlocked it and all I needed to do was to restore it and then connect it to iTunes with my irish sim (48 is the one i have). This seemed to work as now i can see signal bars and the 48 icon in the left corner but then a few seconds after the it comes up activation required and I can't work it until I take the irish sim out. Does anyone know anyway I could resolve this? There's two photos below of the problem, thanks!

    Other is usually around 1 GB...
    A  ' Large Other ' usually indicates Corrupt Data...
    First Try a Restore from Backup... But... if the Large Other Persists, that is an Indicator of Corrupt Data in the Backup... Then a Restore as New is the way to go...
    Details Here  >  http://support.apple.com/kb/HT1414
    More Info Here...
    maclife.com/how_remove_other_data_your_iphone

  • How to get the current active browser url in my iPhone app?

    I have confusion in two points i.e. .
    1 - Ios have not NSAppleScrit class for execute script like Mac os.
    2 - There are no such API for providing the information .
    How can make possible it ?  

    You should probably try asking in the developers forums.

Maybe you are looking for

  • H430: Windows 8.1 is not recognizing SD card slot

    I have Lenovo H430 and is working great for me.... yet i have a problem after upgraded windows from8 to 8.1 the SD card slot is not recognizable can't be found in device manager and when i try to add the device it is not found, so what i do is run th

  • Allocation by team leader of tasks to different team member (standard Badi)

    Hi All, Service request.:- I have a requirment that i need to allocate the taskto team members in sap crm through a Badi. Can any one let me know any standard badi in sap crm for allocation of task by team leader to team members. thnks.

  • Delivery Confirmation & Read Receipts

    Firstly, I am very new to Mac. I am used to Microsoft Outlook, particularly the 'Delivery Confirmation' and 'Read Receipt' options. Does Mail have these or similar options? I am sure they are right in front of me and I just can't seem to find them -

  • CSS tranisition effects

    Hello there, I want to design my Responsive Parallax Website.. Like this one http://themify.me/demo/themes/parallax/#animated-bars But i want to design my own. I found a tutorial here : https://ihatetomatoes.net/make-parallax-website-respo I want to

  • Creating a Slide Presentation | Adobe & You: Be Seen. Be Heard. Stand Out. | Adobe TV

    Showcase your personal brand in the classroom. View this quick turorial to discover how InDesign can help you create an amazing presentation. http://adobe.ly/OcYjGv