Negative reporting - Show employees who haven't attended a course

Hi
I have two infocube, one containing all employees within the company and on containing courses (incl employee participant information).
Now I would like to create a query which shows employees which havent attended a specific cause. It should be possible to select the course in the variable screen and then get the list of employees which havent attended the course.
How can I do that?
Thanks and kind regards.
Torben

Hi Torben.
I think I made a mistake with constant selection on 0employee - it should be a constant selection for course-ID and a count of 0employee in both cubes, because, IF you have attended a course, you will be in BOTH cubes, so the count will be greater than 1. If you have not attended a course, you will only exist in the "all employees, no course info"-cube and the count will be exactly 1.
Also, I think you would have to utilize exception aggregation for the 0employees in your counter, to count them correctly for any selection of time, costcenter, etc. (In 7.0 you can use a calculated kf for this, in 3.5 you need to use an infoobject just for this)
In the query, make two restricted key figures, one counting the employees in each cube (restriciton on inforprovider). Use constant selection on emplty course-ID selection to count employees in the "all employees, no course info"-cube. Put a variable for course-ID in the other RKF, to let users select a specific course.
Then add the two RKFs in a calculated key figure and make a condition on the calculated key figure = 1 (set it to evaluate for employee only, I think). Hide the two restricted key figures.
Put 0employee in the rows.
Now the query should return only the employees who did not attend a specific course. You can add variables for other common dimensions, fx time, costcenter, etc. If you want to drill on the course-ID, fx in the rows after employee to see who attended what, you need to switch off the condition.
Well, it should be possible to make it work that way and I hope the above will help to get you there.
Good luck!
Jacob

Similar Messages

  • HR Report shows Employee & Supervisor details

    Hi All,
    I have requirement were I have to display list of employees personal and position data along with his supervisor position data (like job class, class title) and also few personal data (like work phone).
    Currently we have only the Personnel Actions and Headcount cube. How to display employee and its supervisor detail.
    Do I need to create another data target to store employee and supervisor relationship?
    Regards,
    Anand

    HI,
    I think there is no need to create supervisor data target.
    Supervisor for any employee will be another employee so we have to maintain the data for the supervisor.
    or we can onclude another field in the target where we can maintain this information.
    Another appoach:
    We can create supervisor master data  infoobject where we can main tain data for supervisor and all the attributes of supervisor can be used in the reports.
    You can follow any one of the above appoach.
    Hope this will help you..
    Thanks,
    Jitendra

  • Calling infotype 0002 in ALV  report for showing employee photo

    Hi all,
    The requirment from business side is a report in which employees personal data shuold be shown with employee photo, I had tried for employee photo in ALV report but it didnt sucessed, then I went for other solution like calling transaction in ALV report.
    In this case I am calling Infotype 0002 but the issue is that the transaction PA20 is coming with PERNR but I am not able to go directlly to infotype which shows employee Photo,please suggest any solution.
    Thaks.
    JAY

    Hi Jay,
    It is possible. Please refer the syntax for the CALL TRANSACTION
    CALL TRANSACTION ta { [AND SKIP FIRST SCREEN]
                        | [USING bdc_tab [bdc_options]] }.
    You can do a recording till the required page comes & call the transaction accordingly. Hope, you are aware about the same.
    For example, I just had a solution to go to the roles tab in the user profile and I did as below:
        CLEAR wa_bdcdata.
        wa_bdcdata-program  = 'SAPLSUU5'.
        wa_bdcdata-dynpro   = '0050'.
        wa_bdcdata-dynbegin = k_ok.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_CURSOR'.
        wa_bdcdata-fval   = 'USR02-BNAME'.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'USR02-BNAME'.
        wa_bdcdata-fval   = g_value.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_OKCODE'.
        wa_bdcdata-fval   = 'SHOW'.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-program  = 'SAPLSUU5'.
        wa_bdcdata-dynpro   = '0100'.
        wa_bdcdata-dynbegin = k_ok.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_OKCODE'.
        wa_bdcdata-fval   = '=ACTG'.
        APPEND wa_bdcdata TO it_bdcdata.
        g_opt-dismode = 'E'.
        g_opt-defsize = k_ok.
    *** if user click on the User Name, call SU01
        CALL TRANSACTION 'SU01' USING it_bdcdata
                    OPTIONS FROM g_opt.
    Regards,
    Selva K.

  • Report showing number of articles having negative on hand

    Hi,
    I have a requirement for a report showing no. of articles in a site that have negative on hands. I tried to develop it by creating a condition to restrict articles that have negative on-hands. I created a calculated key-figure by setting a value 1 and setting exception aggregation to total and reference characteristic as article. But it gives the total no. of articles in that site. It seems the condition is effective only for displaying the negative on-hands but while calculating the no. of articles, it considers everything instead of the condition to give only negative OH articles. Any idea how to achieve this? The report output will be:
    Site      No. of articles having negative OH
    Thanks,

    got it working after playing a little bit with calculated key figure.

  • Head count report showing list of employees as un assigned 0ORGUNIT

    Hi All,
    Some of my Head count reports showing a list of employees as not assigned to any organizational unit , but in infocube it is showing org unit .
    can any one clarify me onthis .
    Thanks in advance.
    Babu

    I have done investigation all inf cube and master data info objects .
    in 0ORGUNIT what i found is
    0SOURCESYSTEM
    0LOGSYS
    both fields are missing .
    those two fields effect any data loads.
    and one more thing when i reload the data it is showing diffrent amount of employees as un assigned org unit.
    Thanks for your prompt responce.

  • Report showing changes in Personnel group/subgroup

    Hi,
    We need a report that lists employees who have had changes in ther personnel group and/or personnel subgroup.  Is there a standard report we can use, or do we need to write our own?
    Thanks in advance
    Kirsten

    Hi Kirsten,
    I haven't come across any such report that gives only data related to Employee Group / Employee Subgroup changes......
    You will have to write Custom Report to achieve this functionality.
    Check this,
    There is a program RPUAUD00 (Trailing two characters are zeroes) provided by SAP which allows us to see any changes that happens to data in an infotype through add / modify / delete. When you execute this this program and specify the employee code and infotype in the selection screen, it gives us details of when the data was changed, who changed the data and what data was changed in a particular infotype.
    Good Luck !!!!
    Kumarpal Jain.

  • How to list those employees who do not have a certain pay rate type set up

    Hi,
    I'm trying to create a report that lists all employees who DO NOT have a certain pay rate role type set up.  An employee can have multiple pay rate roles - for example: chargeable miles, non-chargeable miles, subsistence, etc.
    I want to identify all those employees who do not have, say, subsistence yet set up.
    I joined the employee table to the employee rates table. The employee_role_id=20 is the particular rate role value that I am interested in. I want to only list those employees who do not have rate of role type 20 set up. That way I can go and set one up for these employees.  At present, I am using selection criteria where employee_role_id=20. This brings back only those employees that have an employee_role_id of 20 setup. I would like to do the inverse but setting <>20 only screens out those roles with value 20 and displays all of the rest of the pay role values for each employee.
    Any help is appreciated.
    thx!
    Mark

    if you are not sure about the linking i suggest to just show all roles associated to all the employees,
    group by employee
    create true/false formula for the role_ids  where ONLY your 20 role is TRUE per employee
    then exclude all false - that should give you only the employees that are missing that particular role.

  • Finding all employees who come under the manager

    Hi experts,
    I have created a report which is attahced in MSS. So i want to restrict the manager to view the details of  only the employees who come under this manager.  At present the report is showing the details of all employees. So pls tell me whehter i can use O-S-P relation for finding all direct and indirect employees of the mnagaer by passing the org unit of the manager (or) should i need to find all position holders who report to the manager's position?..  If so, how?
    Finding the list of all employees who come under manager org unit is same as finding the list of position holders who report to the manager position? Pls telll me which is correct and how to find the same?

    hello shanthi,
    mashhour is right, it largely depends on how data is being maintained in your system.
    first, you are generally mixing two concepts together of finding "direct" & "indirect" employees for a manager. In standard implementations, typically the data is maintain in such a way where only 1 method is appropriate to find a manager's employee, and the most common scenario is where the employee has an indirect relationship with their manager. 
    So typically the two are not used together.  In certain circumstances companies will implement both to create matrix like scenarios, but they are better ways to handle this. 
    The indirect method: is called this way, because the manager has a relationship to an org unit as the chief (a012), and his/her employees are in positions, which have relationships to those same org units, hence no direct relationship.
    In the direct method, a relationship is created directly between the manager's position and any subordinates positions using the A/B 002 relationship. 
    Assuming that you are using indirect only, then O-S-P with no depth defined, will all employees belonging to that entire org structure.  this is assuming your program knows the root ID of the manager relationship, which is the a012 to the root org unit. 
    best regards,
    michael

  • Update before a report shows with bind variable

    I need to update a table before a report shows. This report have bind variable and I need bind variable value for clause where in update, how can I do that?
    I would thank so much any idea

    Mery,
    If I understand correctly your application should display a report when it is called.
    But first, before the report is displayed, you want to update a table, using a bind variable passed into the report when it is called. Do I understand correctly so far?
    So while editing the report, in the last tab option you have (Additional PL/SQL Code), you need to put some pl/sql code into section titled '...before displaying the page.'
    declare
    begin
    update table_x
    set column_x = somevalue
    where column_y = bind_variable;
    end;
    I haven't yet passed bind variables into reports so I'm not quite sure how to retrieve them, but I'm sure there are other postings here about that.
    I'm mostly just trying to clarify if this is what your asking, and maybe somebody else can answer the rest of your questions.
    Good luck.
    Kurt

  • Generate report for employees on leave for a given period

    Hi,
    I want to know how can i extract a report of a list of employees who are on leave for a given period of time?
    For instance i want to a list of employees who are on vacation / leave (any kind of leave) for the period of April 2010
    Is there a standard report to generate this info? or any other way of doing it?
    Regards,
    Humaira

    HI all,
    Thanx for the response.
    The info set Query was great help.
    the Tcode PT_QTA10 only gives me the leave Quota of the employees which was also helpful. Thanx
    Regards,
    Humaira

  • There used to be a preview window in mail where you could read the message in the mail box but now its gone. It just shows me who its from and the date. I now have to click on the message twice to get it to display. How do I get the preview box back?

    There used to be a preview window in mail where you could read the message in the mail box but now its gone. It just shows me who its from and the date. I now have to click on the message twice to get it to display. How do I get the preview box back?

    There is a bug in Mail triggered by receiving a password-protected PDF as an attachment. According to reports, the bug is fixed in OS X 10.8.5.

  • Report Showing Account with No Activity Associated

    Hi
    1) Is it possible to show report which list all the accounts which do not have any activity associated with it?
    2) A report which shows All the accounts with Activity ( Even though there is no activity associated with it)
    Quick reply appreciated

    You can watch a webinar on how to do this by clicking on the training and support link from your production pod then search for "negative reporting".
    the process involves using combined analysis to generate the report.
    Ben

  • Block the processing of payroll for employees who do not have IT0185 ST01

    Hi People.
    I have a client requirement that payroll should be processed only for those persons for whom ID number (IT0185-ST01) is available. I am trying to do it for Portugal Payroll.
    I activated P0185 function in PE04 for Portugal and created 2 rules:
    *ZH01 Verifica existência do IT0185*
    *TABLEP0185 Ler campos de tabela*
    *" VARGBSUBTY Campo tab.VVVVV ArgV*
    *" 01*
    *NUM=1 Definir*
    *ADDWT&0185 VAR tab.variáveis*
    and...
    *ZH02 Verifica existência do IT0185 Subtipo 01*
    *NUM=& 0185 Definir*
    *" NUM?0 Comparação*
    *ZERO=&0185 Definir VVVV p/zero*
    *" =*
    *ERROR Cancel.processamento*
    And I put the rules in sequence in the scheme. But the function P0185 doesn't accept rules.
    How do I block the processing of payroll for employees who do not have infotype 0185 subtype 01?
    Thanks,
    Helio Rabello

    if you are not sure about the linking i suggest to just show all roles associated to all the employees,
    group by employee
    create true/false formula for the role_ids  where ONLY your 20 role is TRUE per employee
    then exclude all false - that should give you only the employees that are missing that particular role.

  • Display Photo in Employee Who is who search

    Hi,
    We are planning to display the photo of an employee in the employee Who is Who search
    Please let me know the procedure to do the same and points will be rewarded for sure
    Thanks
    Bala Duvvuri

    hi bala,
    Link photo to personnel number
    Transaction code OAAD
    Click on the Create – Store and Assign button. Enter Business Object PREL and Document Type HRICOLFOTO. Click on create(F8).
    Enter the Personnel Number of the employee you want to link the photo to. Choose also the infotype that you wish the photo to be displayed on (not sure how relevant this is. It works if you use 0002 but should also work if left blank. Suspect is only relevant if you wanted to store different photos for different infotypes)
    Click on Continue.
    Enter the path and filename of the photo. The dropdown will allow you to navigate to the appropriate directory.
    SAP will notify you that the Stored document is created successfully and you end up with something like:
    If you get an error 401 to do with missing authorisations, then try and redo the above step. It often only happens the first time you try and load the photo.
    Photo
    Technical Data
    Application Type
    Java iView
    Application Category
    Java iView based on master iView com.sap.pct.hcm.eeprofilephoto.default
    Available for Portal (Release)
    SAP EP 6.0 SP2
    Data Origin
    SAP R/3 4.6B / 4.6C / SAP R/3 Enterprise 4.70
    RFC function module called:
    HRWPC_RFC_EP_READ_PHOTO_URI
    Languages
    see Business Package
    Support
    Component: EP-PCT-MGR-HR
    Channel
    Manager Self-Service: My Staff
    Features
    This iView lets the manager display photos stored in the SAP R/3 component SAP ArchiveLink for applicants and employees in his or her area of responsibility .
    Integration
    The Team Viewer iView transfers the employee's personnel number to the iView using event handling.
    Prerequisites
    For general system prerequisites, see the Business Package.
    In addition, the interface of your archive system must have a HTTP 4.5 certification.
    Properties
    Information about settings for the iView properties (self-defined properties):
    Description
    (GUI)
    Property
    Maintained By
    Entry Type
    Example Entry
    Allowed Entries
    R/3 System (data source)
    SystemIdentifier
    Administrator
    Mandatory
    SAP_R3_Human
    Resources
    Name of logger to which messages for this component are written
    Logger
    Administrator
    Mandatory
    com.sap.pct.hcm.
    manager
    Name of JSP used for display
    JSP_MAIN
    Administrator
    Mandatory
    EEProfilePhoto.
    jsp
    JSP if no photo was found
    JSP_NOTHING_
    FOUND
    Administrator
    Mandatory
    EEProfilePhoto
    NotFound.jsp
    Determines if photo of employee or applicant is displayed
    ImageClass
    Administrator
    Mandatory
    Employee
    Determines if the photo is scaled to a fixed size
    ImageFixedSize
    Administrator
    Mandatory
    False
    Width of photo (if FixedSize=true)
    ImageWidth
    Administrator
    Mandatory
    120
    Height of photo (if FixedSize=true)
    ImageHeight
    Administrator
    Mandatory
    160
    Employee Search
    Technical Data
    Runtime Technology
    Java/Web Dynpro
    Technical Names of iViews
    &#9679;     com.sap.pct.erp.mss.employeesearch_geinfo
    &#9679;     com.sap.pct.erp.mss.employeesearch_coinfo
    &#9679;     com.sap.pct.erp.mss.teamviewer_persdev
    Technical Names of Web Dynpro Applications
    &#9679;     sap.com/mss~eepro/GeneralInformation
    &#9679;     sap.com/mss~eepro/CompensationInformation
    &#9679;     sap.com/mss~eepro/PersonnelDevelopment
    Available From
    SAP NetWeaver 2004s
    Data Source
    SAP ECC 6.0 or above
    RFC function modules called: function modules of the function group HRWPC_OADP_UI
    Software Component
    SAP_HR, EA-HR
    Support
    EP-PCT-MGR-HR
    Features
    This iView displays the employees in the manager’s area of responsibility, that is, employees who report either directly or indirectly to the manager. The display is based on the SAP application component Organizational Management.
    You can provide managers with various display options in this iView. To do this, you make the relevant Customizing settings in the back-end system (see the "Prerequisites” section) and in the iView properties (see the “Settings” section). Managers can also filter the data that is displayed.
    You can provide managers in your company with all or some of the following display options:
    &#9679;     Display employees for one or more organizational units
    Organizational units are displayed in a separate navigation area in which the manager can select the relevant organizational unit. You have the following display options for the navigation area:
    &#9675;     List display
    The system displays organizational units in a list. This view is suitable if the manager is responsible for only a few organizational units.
    &#9675;     Hierarchy display
    The system displays organizational units in a hierarchy. This is suitable if the manager is responsible for a large number of organizational units, or for part of the overall organizational structure.
    &#9679;     Display directly reporting employees in a list
    This view is suitable for managers located on a higher level in the hierarchy who require quick access to directly reporting employees.
    &#9679;     Search for employees
    The search function is useful for managers who are responsible for a large number of employees. The simple search function in the standard system provides managers with the following search criteria:
    &#9675;     First name
    &#9675;     Middle name
    &#9675;     Last name
    &#9675;     Personnel number
    The enhanced search function also includes the following search criteria:
    &#9675;     Organizational unit
    &#9675;     Personnel area
    &#9675;     Personnel subarea
    You can define additional search criteria in Customizing.
    Integration
    This iView is part of the General Information, Compensation Information, and Personnel Development pages. The iViews on these pages are called by a single Web Dynpro application. In the standard system they are not standalone applications, as users select most data for all iViews on a page, centrally using the Employee Search iView.
    Managers select an employee in the Employee Search iView. Using Eventing, the Floorplan Manager informs the remaining iViews on the page that a new employee has been selected. The iViews obtain the personnel number of the selected employee and display the relevant information for this employee.
    In the standard system, the Employee Search iView is integrated with the following iViews on the pages previously mentioned:
    &#9679;     Managers can use the following iViews to display further information for the selected employee:
    &#9675;     General Data
    Additionally, the Organizational Assignments iView is available by hyperlink from the General Data iView.
    &#9675;     Personal Data
    &#9675;     Monitoring of Tasks
    &#9675;     Absence Days
    &#9675;     Photo
    &#9675;     Company Property
    &#9675;     Archived Documents
    &#9675;     Salary Development
    &#9675;     Salary Survey Data
    &#9675;     Salary Data
    &#9675;     Compensation Adjustments
    &#9675;     Long-Term Incentives
    &#9675;     Appraisals
    &#9675;     Profile Matchup and Required Training
    &#9675;     Training Activities
    &#9675;     Qualifications
    &#9679;     Using the Additional Activities iView, managers can request data changes for a selected employee, or run an Employee Self-Service application for this employee.
    For more information about how you can include the Employee Search iView in other locations in your portal, see the documentation for the Business Package for Self-Service Administrator.
    Prerequisites
    &#9679;     The general prerequisites for business package are fulfilled.
    &#9679;     You are using the SAP application components Personnel Administration (PA-PA) and Organizational Management (PA-OM). The components are integrated with one another in your SAP ERP system.
    &#9679;     In Customizing for Manager Self-Service (mySAP ERP), you have made the settings in the Object and Data Provider section
    for details
    see http://help.sap.com/saphelp_erp2005/helpdata/en/ee/63ef41925b2135e10000000a1550b0/content.htm
    thanks
    karthik
    reward me points if helpfull

  • Employees who are 21 years of age or over AND work 35 hours or more a week

    Hi,
    I need to extract the employee details who are 21 years of age or over AND work 35 hours or more a week.
    Where can i find the weekly working hours?

    Thanks Yuvraj....
    I queried as below to find the working hours..(in my instance HXT_TIMECARDS table is null)
    SELECT COUNT (ppf2.person_id)
    FROM per_all_people_f ppf2,
    per_all_assignments_f paaf2,
    pay_all_payrolls_f pay2
    WHERE TRUNC ((SYSDATE - (ppf2.date_of_birth)) / 365) > 21
    AND ppf2.business_group_id = 1646
    AND ppf2.person_id = paaf2.person_id
    AND ppf2.business_group_id = paaf2.business_group_id
    AND paaf2.frequency = 'W'
    AND paaf2.normal_hours > 35
    AND TRUNC (SYSDATE) BETWEEN ppf2.effective_start_date
    AND ppf2.effective_end_date
    AND TRUNC (SYSDATE) BETWEEN paaf2.effective_start_date
    AND paaf2.effective_end_date
    AND ppf2.business_group_id = pay2.business_group_id
    AND pay2.payroll_id = paaf2.payroll_id
    AND TO_DATE (:p_date, 'DD_MON-YYYY') BETWEEN pay2.effective_start_date
    AND pay2.effective_end_date
    Actually my business requirement z to find count of employees who are 21 years of age or over AND work 35 hours or more a week and i need to use d parameter 'reporting dtae' Reporting date is used to determine the payroll period date..
    so i passed d parameter b/w effe.strtdate nd eff.end dt of payroll table is that right?
    Thanks,
    Vijay

Maybe you are looking for

  • Input/output error when copying a DVD

    I created A DVD some time ago using Roxio.  It plays in DVD Player on my Mac Pro, but I can't create a .dmg using Disk Utility.  I always get "Input/Output error".  I got the same result on my wife's newer Apple. I tried to Restore it but can't, and

  • In process order confirmation screen there should be 2 rows for down time.

    hi, We are using cor6n for process order confirmation, where we can put down time  with confirmation text at once, if there is two different down time, then user has to again  run cor6n with 0 yield  for put another down time, which gets more time. f

  • Need Help Importing CD's!

    I recently bought a new iPod and when I put a cd into the computer, iTunes will not recognizing the CD (these are brand new cd's and are not burned). I share a computer with my roommate and I do not have adminstrative rights, but this has not been a

  • Two iphones two accounts one itunes will it work ?

    Hi My girlfriend wants to move all her itunes stuff over to my HTPC including iphone apps and purchased songs I know that they'll all work onit as she can authorise her account on my machine. However will she be able to put my purchased items on heri

  • URGENT: Azure Storage Table Outage

    UPDATE: Problem appears to have been fixed, are affected accounts eligible for a refund due to the downtime? Hi. I'm having trouble querying an Azure Storage table that is essential to my business operations. The queries seem to simply not be going t