How to total No. of employees based on Org unit as well as Job ID in ALV

Hi ,
I need to subtotal no. of employees in an org unit and also another subtotal for employees under same job ids using ALV Grid display.
Regards,
Sarika.

Hi Sarika,
Create an additional column in your output for integer field and populate the same with value 1 fro each row.
Then, SORT the internal table by Org. Unit and Job and perform sum operation on the column for integer field.
You can SORT by adding fields to the IT_SORT parameter in REUSE_ALV_GRID_DISPLAY and mark the DO_SUM in the new integer column fieldcatalog entry.
Cheers,
Aditya
Edited by: Aditya Laud on Feb 14, 2008 2:25 AM

Similar Messages

  • Restrict employee postion to current based on Org Unit

    Hi,
    We have recently implemented structural Authorization and I am now trying to create a query based on Org Unit.
    The query is to show employee by position based on org unit. I have made org unit auth relevant and created a hierarchy variable as the restriction. In the row/columns I have included Org unit with hierarchy activated, position and employee. The KF is Actual time.
    When I execute the report it is bringing leavers and people in old positions. To remove leavers I included a restriction on person to remove anyone in the position 99999999.
    But this is still showing people in old postions. These positions have been end dated in the system and current positions have date 31/12/9999.
    Does anyone know how I can restrict position to only show current positions?
    Thanks

    Hi,
    as suggested i have made the query time dependant be selecting "key date" in the proerties, but this still brings in postions that have been end dated.
    Is there a way to restrict postions by validity. The query is based on time management info cube
    thanks

  • I really would like to know how to totally remove Yahoo toolbar from my Firefox browser as well as my computer. I don't like those special toolbars at all.

    I really would like to know how to totally remove Yahoo toolbar from my Firefox browser as well as my computer. I don't like special toolbars at all. I find it irritating that you included one in the newest version of your browser. In the future I would hope you would leave this or any other out. Firefox used to be my favorite browser to use, now I am not going to want to use it because of the extra toolbar. Please tell me there is a way to remove this, not just hide it.

    You can't move the Yahoo Toolbar from IE to Firefox, they are totally different "behind the scenes". However you can install it, [http://us.toolbar.yahoo.com/ http://us.toolbar.yahoo.com/] and I believe if you log in with your Yahoo account it will sync your data.

  • Assigning new employee to a org unit manager

    Once I had closed all the milestones of the firt implementation project(1. Design Accepted - 2 Solution Accepted - 3 Go Live Readness Acceptance) and tested some cenarios I found an error in the organization structure. To solve this problem I created a new Job D a new employee and had tried to assign this new employee as an org unit manager. The problem is that whem I Open the field " Select Organizational Unit Manager" the system does not show this new employee that I just have created. Does anybody knows whats is wrong? Should I have to create a new Project? Thank you in advance for you suport. Abilon Neves

    Hi Sushant,
    That´s the problem.
    I can´t assign this new employee to the org unit.
    The system does not list the new employees to be assigned. Only the old employees are listed.
    I´m in the first implementation Project and i closed all the milestones.
    Do you know if it can cause these problens?
    Should I open a new Project?
    Kind Regards.
    Abilon Neves
    SAP Consultant

  • CRM employee (business partner) & org unit extraction question

    Hi all,
    I have a question regarding extracting business partner and org unit in CRM. Basically user wants to report on employee level and org unit level.
    When I looked at the org unit hierarchy datasource (0BBP_ORGUNIT_HR01_HIER), it does not include the employee. I also tried the DS 0BP_UNAME_ORGUNIT_ATTR, but that does not give me the org unit of an employee.
    Any hint is highly appreciated.
    Best regards,
    Ben

    HI
    Try this DS  0CRM_POSITION_ATTR,here u will get the org.unit,but u need to add the users (employees) in the data source.
    Sridath..

  • Function Module for fnding all employees under an Org Unit

    Hi,
    Is there any Function module to find the employees of an ORG Unit .
    I need to specify the Org unit Name and get the employees out of it .
    I looked at the FM
    HRCM_ORGUNIT_EMPLOYEE_LIST_GET .
    It has import parameters as
    OTYP
    OBJID
    PATH_ID
    What values do i need to pass.

    hi,
    chk this.
    call function 'HRCM_ORGUNIT_EMPLOYEE_LIST_GET'
    exporting
    plvar = p_plvar
    otype = 'O '
    objid = s_orgeh-low
    begda = p_effdt
    endda = p_effdt
    * PATH_ID = 'O-S-P'
    tables
    pernr_table = i_pernr
    exceptions
    path_error = 1
    root_error = 2
    no_employees_found = 3
    others = 4
    Thanks,
    Anver

  • How to transfer the employees from one org unit to another org unit in OM.

    Hi Experts,
    I have a task of changing the employees, Positions & Jobs, from one Organization Unit to another Org unit, in the OM. I have around 50 position & Jobs and employees to be moved. Please suggest me how do I go about.
    I tried doing through PPOME (Org. and Staffing) but it is a lengthy procedure please suggest if there is an alternate option to do so in OM.
    Thank you in advance.
    Regards,
    Subbu.

    Dear Sharad,
    First of all I recommend to open a new discussion and not to post in a old-date one.
    Anyway, You can do it either PA40 or OOPME.
    In PA40 you should select an appropriate action like :Org. Change", "Promotion" and so on. In fact it depends what do you have in you action list.
    In PPOME you can do it by drag and drop also. Just take care about effective date. First you should select the right date in top of the screen.
    Regards,
    Omid

  • How to read employee user's Org unit name,Org unit add and user position

    Hi ,
    Is there any Function module or a class-method to read a user assinged Orgunit name ,Org unit address and the user position at that org unit.
    i have a given out a search on sdn but could not get the answer.
    Thanks for your time
    Seema

    Eswar,
    Thanks for your fast reply.
    I found this table before.But i do not have idea of passing what paramters to get my specific org and position of an employee data from this table.
    Let say i know my BP number for employee and Username of him.
    i could find out his Obj id using EMP user name.
    When i look into table HRP1001 using above Obj id, i could see there are 3 entries exist in table , among one of them is talking about position  as
    Sclas = S  and SOBID = 50020832.
    So how would i know by having this number , is it dealing with position and what kind of position it is,,,whether a manager or something else?
    Hope you got me.
    Basically am aslo looking for a FM where in i cold porvide aBP number or EMP username, where inturn i ll get a Emp position his org details.
    Seema
    Edited by: seema rajjot on Apr 9, 2010 8:40 PM

  • How to deassign a employee from a Org. unit by using function module?

    Hi,
    I want to deassign an employee from an orgnization unit in Org. model. Though I know I can do it manually in Org. Model. But since the number is big, I want to do it by using report. So do you which function module I can use to do it?
    Many thanks and Best regards,
    Long

    Hi,
    I feel following 2 Fms will be of use to you.
    1. BUB_BUPA_RELATION_MODIFY
    2. BUB_BUPA_RELATIONS_MODIFY
    I hope this helps.
    Regards,
    Venkat

  • Org. Mgmt: How to assign bp to a chief of Org.Unit

    Hi all.
    In Crm_dno_service_moniter we have checkboxes.
    Checkbox "My department" is not working...
    In ppoma_crm i have a chief of  organization ( marked flag "head of own org. unit"  ) and got some bp's below chief.
    But i can't find how i can assing bp directly to a CHIEF...
    To use then checkbox "my department".
    Regards Sindry.

    Hello Sindry,
    i do not really understand your problem, can you specify what you did please.
    One example how it works for me:
    1 Organizational Unit with 2 Positions, one of them is marked as "head of own org. unit".
    My BP is assigned to the "head"-position, a few others to the "normal"-position (just drag and drop....).
    When i check "My department" in CRM_DNO_MONITOR, i see all messages where the BPs of the "normal"-position are assigned.
    Best regards
    Daniel

  • Need FM for Org Mannagement, Employees from lower org units

    hi,
    I have a person/manager suppose in Org Unit 'A' from whome I need to find out employeees belonging to org units at lower level to 'A'.
    Now I also have to check that I should get employees of the lower org units till I get a org unit with manger position if manager position is available stop otherwise need to keep searching the lower level org units.
    I am in search of any function module available for such requirement.
    Please reply me if anyone has any idea on this.
    Its urgent.
    thanks and regards,
    Akash.

    BBPU_GET_USERS_OF_ORGUNIT
    Use this FM to get users below an ORG UNIT.
    BBPU_GET_MANAGER_FLAG
    Use this to get manager flag.
    Revert to me for any doubts.
    Regards
    Vishal

  • Employee relationship to org unit contains a wrong email id replica from HR

    We have an issue with HR employee replication from ECC to CRM.
    Employee1 and its assignment to Organization is replicated to CRM from ECC system through the standard process.
    Than for that employee, a relationship is created as u201Dis employee ofu201D for the same organization. Till here every thing is working fine.
    But when we open the relationship, it contains an email id which is of another, employee2 and no way related to this employee1.
    And in General data address tab of employee1 it contains the correct mail id of employee1.
    Now the problem is whenever a mail is triggered to the employee1,it goes to the email id of employee2 as this is present in the relationship of employee1.When trying to click on change button, it is showing the warning message that u201Demployee is changeable only in the HR systemu201D.
    When I run PFAL in ECC and BD87 in CRM again it is not updating.
    Could any body help me how to remove this second email id.
    Regards,
    Prasad
    Edited by: prasad voruganti on May 30, 2011 10:14 AM

    Hi,
    Since your HR Active Replication is ON, you cannot change it in CRM unless you deactive this settings, whic I dont think appropriate.
    However, you mentioned that in relationship tab you find a different email id of employee 2. It is worthwhile, to check the master data again for that employee in HR system, whether some fields might be wrongly updated.
    Or you can re-enter the email-id in HR system and run the PFAL.
    Let me know if this helps.
    Regards,
    Madde

  • In MSS, Other than Manager to access the employee in the Org Unit

    Hi all,
    IN our current project, for MSS, Head of the Org Unit (A/B 012) triggers the Personnel Change request, First Level Approver (HR-Partner from Custom Infotype) approves the PCR and Admin process the PCR.
    Now the requirement is changed... HR-Partner needs to trigger the PCR, followed by Approval from head of Org Unit and Admin to process the PCR.
    For the HR Partner to view the Position in the Org.Unit or only the positions,
    We can have custom A/B Z12 between HR-Partner Posiiton and Org Unit
    OR
    We can have custom A/B Z02 between HR-Partner Position and reporting postions.
    Now What are all the required OADP configuration required to Allow the HR-Partner position to view the reportees and create and submits PCRs for them..
    Regards
    Ramanathan

    yes this all comes to the evaluation path a user has he neednt be a manager, in OM, he can be another user with extra structural authorisation like HR admin,
    so change in T77AW and assign them in OADP.
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879

  • Need option to count the no. of pernrs based on org unit in ALV Grid Format

    Hi ,
    Do we have any option to count the no. of pernrs in an org. unit to be printed with subtotals in the pernrs column itself.
    Do we have any option for counter in SLIS itself.
    Thanks in advance,
    Sarika

    Hi Sarika,
    Create an additional column in your output for integer field and populate the same with value 1 fro each row.
    Then, SORT the internal table by Org. Unit and Job and perform sum operation on the column for integer field.
    You can SORT by adding fields to the IT_SORT parameter in REUSE_ALV_GRID_DISPLAY and mark the DO_SUM in the new integer column fieldcatalog entry.
    Cheers,
    Aditya
    Edited by: Aditya Laud on Feb 14, 2008 2:25 AM

  • How to delete Costcenter assignment with a particular org. unit.

    Dear Experts,
    Im having a simple doubt.Is it sufficient to delete particular cost center through po10 and by deleting particular relationship A 011.
    Could u please advice me to remove the inheritance with particular cost center with particular org. unit.
    Thanks and regards,
    Vishunu.

    Cost Center Can be inherited Via
    OU - Current or Any OU above inthe Hierarchy
    Position Hierarchy
    IT - Account Assignment for OU or Position
    Or IT-27 directly..
    Ensure Cost center ref is removed from all these sources if you dont want a Cost Center.

Maybe you are looking for

  • File created with Trial version cannot be opened by Captivate 5.5 (Ensure that the file isn't open, the file isn't damaged....etc.)

    Hi, I have a file created by Trial version of captivate. It was created in a different computer. Now, I have to make some modification in the file. However, when I tried to open it with Captivate 5.5, I got the error shown below. I am not able to use

  • Insufficient Privileges when create materialized view as user system

    If I login as system (connect sys/****@DevDB) and try to create a materialized view for another schema (e.g. XDCONTROLDB), I get the insufficient privileges error. If I login as sys as sysdba then I can create successfully. I have searched some ariti

  • Deleting iCloud - or exporting contacts

    Hi! My dad and my brothers gave my mom an iPad for her 50th birthday. It was her second Apple product. The first one is her iPhone 4S. On her iPhone 4S she has all her contacts, all her photos and all of her messages. She wants this on her iPad as we

  • Tutorial For This!?!?!

    Does anyone know a good tutorial on how to create this effect??? I don't even know what to search for (what to call this)... Thanks in advance for your help. Example Link: http://www.eiseimedia.com/index2.htm

  • Business Transaction Event 1130

    Hello,   I am working on Business Transaction Event 1130 (Post Document: SAP-Internal field substitution.  For some reason it doesn't seems to work for me.   Here's what I did.  I copied SAMPLE_PROCESS_00001130 and created Z_SAMPLE_PROCESS_00001130.