Wiki NewForum | Latest Entertainment News

Wiki NewForum | Latest Entertainment News (https://www.wikinewforum.com//index.php)
-   SAP HCM OM & PA Forum (https://www.wikinewforum.com//forumdisplay.php?f=380)
-   -   Topic 57: SAP HR Ad-Hoc Query (https://www.wikinewforum.com//showthread.php?t=85633)

welcomewiki 04-23-2009 03:40 PM

Topic 57: SAP HR Ad-Hoc Query
 
One of the key requirements of a Human resources management system is the ability to facilitate decision-making use of the information in the system. The reporting functionality within SAP HR is one of the main reasons why clients have chosen SAP rather than another HRIS - one of our former research articles takes a closer look at the different reporting tools available and how to make most use of them.


Reporting can become very challenging when the differing needs of many decision-makers - human resources, payroll and benefits professionals, line managers, and executives - must be met. SAP HR has responded to this challenge and offers a variety of access methods designed for the needs of different users. This article focuses on the functionality of Ad-hoc Query, a tool that still isn’t used by all companies who have SAP HR. Some of these organizations are still unfamiliar with the full potential of Ad Hoc query and are afraid to use it. This article has a closer look at how easy it is to use ad hoc query and how this simple but powerful tool can make your reporting so much more efficient and less time consuming.

welcomewiki 04-23-2009 03:41 PM

AD HOC QUERY AS AN IDEAL TOOL FOR DIFFERENT TYPES OF USERS
http://www.insightcp.com/images/grey_line.gif

The advantage of Ad Hoc Query is that it enables occasional system users or people with little experience to define their own reports according to their personal requirements in an easy and quick fashion. It is an ideal query tool for anyone who needs to obtain human resource information when and as needed.

An overview of different types of available HR information (for example Personal data, Addresses, Basic pay, Organizational assignment etc.) is displayed in a list, which includes all the infotypes and the relevant fields, users need to pull the information from. This list is obtained by creating a functional area. Users simply select the information they want by marking checkboxes in the list. Report results can then be formatted to users' needs and preferences; for example the presentation style or the sequence of columns in the report can be changed. Users can create and then format the output of the desired report all in one screen and save the query to run it whenever needed.

https://2.bp.blogspot.com/_ZYzSVDOY_...ND8/s400/1.jpg

welcomewiki 04-23-2009 03:43 PM

HR Professionals


The Human resources, payroll, and benefits departments need to run a great array of reports – SAP provides reporting tools supporting both regulatory reporting via a series of standard reports as well as query options that support customized reports and strategic analysis tools. While the legally required reports are included as a standard part of the SAP HR system and have some degree of selection options (usually organizational assignment selection options), these reports cannot be altered by the user to suit his or her specific requirements – they might not include all the data users need to obtain, might not have the option to be downloaded to an Excel spreadsheet or might not have the right format. This is where Ad Hoc Query is so significant. HR Ad Hoc Query enables users to create company-specific reports that respond to their ever-changing needs for information about employees and the organization.

The user simply selects the fields he needs to report on from a check-box screen. This report creation process requires minimal training and allows users to perform detailed analysis of human resources, payroll, and benefits information to support the needs of their organization. Integration with Microsoft Word and Excel allows users to format and modify the output to suit their needs or to save their reports in HTML format in order to e-mail them to other users.

welcomewiki 04-23-2009 03:44 PM

Occasional Users

Even individuals such as Managers outside the HR/Payroll/Benefits departments who have no previous experience with SAP HR can use Ad Hoc Query to define the reports they need. It is critical for these managers to be able to report on information about their staff. It happens all too often that they need a specific report and have to ask HR to produce the right data – this is both frustrating for the Line Manager having to wait and for HR who might have other critical deadlines. Ad-hoc reporting, which provides occasional users with easy access to the right information for their specific decision-making needs is an ideal solution. And since users can run and create their own reports, it frees both HR and the User considerable amounts of time.

Line managers are able to access information about their specific organizations when they need it, in the formats that they require and can easily access data in the SAP HR system, as well as information from other business applications, to obtain the company-wide information they need for analysis and planning.

welcomewiki 04-23-2009 03:45 PM

ACCESS
http://www.insightcp.com/images/grey_line.gif

As will all other SAP applications, flexible security and access authorization can ensure that access to information is restricted to defined areas for each user. HR reports almost always contain confidential data and special attention needs to be brought to setting up proper activity groups.

Whereas regular HR users will use the Ad hoc screen within the HR module to create and run their reports, Line Managers – rather than using the HR module should be using Manager’s desktop which provides access to the same standard and ad hoc reporting capabilities as described above but also include cross-application functions such as workflow tasks or CO reports, the display of Intranet and Internet pages etc...

welcomewiki 04-23-2009 03:45 PM

AD HOC QUERY IN PRACTICE
http://www.insightcp.com/images/grey_line.gif


Prerequisite Activities


Before users can create and run their own reports, an administrator must create a functional area and a user group. These are created using the ABAP query component and necessary to set up the appropriate working environment for end users. The R/3 System contains hundreds of thousands fields in logical databases and tables and a logical database is simply a special ABAP program that combines the contents of specific database tables. For example the logical database “PNP” contains all tables related to HR Master data.



Since a user cannot be presented with thousands of fields to choose from – even from one particular logical database, to create a report, functional areas are created. When creating a functional area, first a logical database is selected, such as PNP which contains all the relevant tables for a particular module or sub-module. When selecting PNP which is relevant to HR master data, the administrator needs to pick which infotypes should be included in that particular functional area from the total number of infotypes attached to the logical database. A functional area determines which fields of a logical database can be evaluated in queries.



A functional area also allows defining auxiliary fields. In many cases, the information that a logical database supplies is insufficient. For this reason long texts are normally stored in tables that are not part of the logical database. These long texts are, however, useful when evaluating queries, for example when you want to display the full text of an advertisement (within recruitment) rather than just its number. Both additional tables and additional fields can be added to a functional area. Any table can be added as additional tables, provided they are defined in the ABAP Dictionary and when adding a field, the ABAP code must be specified and the field assigned to a functional group.

welcomewiki 04-23-2009 03:53 PM

  • By creating functional areas and assigning them to user groups, the system administrator determines the range of reports the end-users can access.
  • Four essential questions have to be answered before creating a functional area in order to determine the reporting requirements:
  • <table width="550" border="0" cellpadding="0" cellspacing="0"><tbody><tr> <td valign="top" width="20">
    </td> <td class="bodytext"> 1) Which logical database do we need data from? PNP – HR Master and time data, PCH – Personnel Development, PAP – Applicant Master data or other?
    <table width="90%" align="right" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td class="bodytext">Choose Database PNP if you want to create a functional area covering only Human Resources master data and/or time management data.
    http://www.insightcp.com/images/9x10.gif
    </td> </tr> <tr> <td class="bodytext">Choose PCH if you want to create a functional area covering only Human Resources Planning data.
    http://www.insightcp.com/images/9x10.gif
    </td> </tr> <tr> <td class="bodytext">Choose Database PCH, (since this database can refer to Database PNP) if you want to create a functional area covering Human Resources master data and following an organizational structure from Human Resources Planning.
    http://www.insightcp.com/images/9x10.gif
    </td> </tr> </tbody></table>
    </td> </tr> <tr> <td valign="top" width="20">
    </td> <td>http://www.insightcp.com/images/10x10.gif</td> </tr> <tr> <td valign="top" width="20">
    </td> <td class="bodytext"> 2) Which infotypes do we need to include in the functional area?
    <table width="90%" align="right" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td class="bodytext">PNP includes infotypes 0000 to 0999 and 2000 to 2999,
    http://www.insightcp.com/images/9x10.gif
    </td> </tr> <tr> <td class="bodytext">PCH includes infotypes 1000 to 1999 and
    http://www.insightcp.com/images/9x10.gif
    </td> </tr> <tr> <td class="bodytext">PAP includes infotypes 4000 – 4005 (as well as some PA infotypes)
    http://www.insightcp.com/images/9x10.gif
    </td> </tr> </tbody></table>
    </td> </tr> <tr> <td valign="top" width="20">
    </td> <td>http://www.insightcp.com/images/10x10.gif</td> </tr> <tr> <td valign="top" width="20">
    </td> <td class="bodytext">3) Is there any information we need that is not available in the logical database? If so, where is this information? This step might involve having to create additional fields – (e.g. to display the long text of the ethnic origin instead of the code only).</td> </tr> <tr> <td valign="top" width="20">
    </td> <td>http://www.insightcp.com/images/10x10.gif</td> </tr> <tr> <td valign="top" width="20">
    </td> <td class="bodytext">4) What should the report selection criteria be? For example, employee subgroup, job, personnel subarea etc.</td></tr></tbody></table>

welcomewiki 04-23-2009 03:54 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...9QQ/s400/2.jpg

welcomewiki 04-23-2009 03:54 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...adc/s400/3.jpg

welcomewiki 04-23-2009 03:55 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...UC8/s400/4.jpg

welcomewiki 04-23-2009 03:55 PM

https://4.bp.blogspot.com/_ZYzSVDOY_...pEE/s400/5.jpg

welcomewiki 04-23-2009 03:56 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...NOo/s400/6.jpg

welcomewiki 04-23-2009 04:03 PM

https://3.bp.blogspot.com/_ZYzSVDOY_...vOU/s400/8.jpg

welcomewiki 04-23-2009 04:04 PM

https://3.bp.blogspot.com/_ZYzSVDOY_...vF4/s400/9.jpg

welcomewiki 04-23-2009 04:04 PM

https://4.bp.blogspot.com/_ZYzSVDOY_...Cg/s400/10.jpg

welcomewiki 04-23-2009 04:05 PM

https://4.bp.blogspot.com/_ZYzSVDOY_...QM/s400/11.jpg

welcomewiki 04-23-2009 04:06 PM

https://3.bp.blogspot.com/_ZYzSVDOY_...No/s400/12.jpg

welcomewiki 04-23-2009 04:08 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...BQ/s400/13.jpg

welcomewiki 04-23-2009 04:09 PM

https://3.bp.blogspot.com/_ZYzSVDOY_...R0/s400/14.jpg

welcomewiki 04-23-2009 04:31 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...AU/s400/15.jpg

welcomewiki 04-23-2009 04:31 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...uE/s400/16.jpg


CREATING A QUERY
http://www.insightcp.com/images/grey_line.gif

Users can access Ad hoc query via: Human resources -> Information system -> Info tools.

From the initial Ad hoc query screen, users must decide if they want to run the report they are about to create for either individual personnel numbers or use the function Selection via Organizational structure to restrict the display to those personnel numbers that belong to the organizational unit selected. If no organizational unit is selected, the system will select all employees that correspond to the selection criteria.

The next step is to select both the selection fields and the output fields. By clicking on the field “Field selection” – users will be presented with the functional groups inherent to the functional area attached to their user group. They simply need to open up the tree structure, select the appropriate fields. For each field, users can decide whether they want to select it as a selection field or as an output field. For output fields users can further decide if they want to display the value (i.e. ethnic origin code “50”) or the actual text of the field (i.e. “White non-Hispanic”)



Once all the fields have been selected, those marked as Selection fields will appear on the “selection fields” column of the screen and those marked, as output fields will appear under the output column. Choose a value for your chosen selection criterion (or leave it empty to select all employees) and proceed to the “define output” tab. The order of the output fields can be changed here as well as the layout of the report – users have the choice between a basic list, a spreadsheet, word processing document, statistics, ranked list etc

Now the report is ready to be run. By clicking on the “Select” ****on, the report will select all the relevant personnel numbers found. Personnel numbers, which includes employees’ names, can be displayed by clicking on the “list” ****on. If required, users can mark personnel numbers to be excluded from the report field.

The expert mode enables users to request more complex reports providing enhanced functions for the Selection and Output fields. It is particularly useful when reporting on specific subtypes or wage types which is only possible using expert mode – in “Simple mode” the report will select all subtypes or wage types of a particular infotype. The expert mode needs to be turned on each time before running the report – saving the report in expert mode does not suffice.

Finally, by clicking on the “output” field, the report is run and will display all the found data in the chosen format. From this screen, the report can be emailed, graphical statistics can be run and the list can be sorted according the various criteria.

Before exiting, the system will prompt the user to save the Query. It makes sense to save a query so that it can be run again at any time in the future. A title and a name (proposed by the system but it can be overwritten) should be given at this point. The tab “Saved queries” allows to access all saved queries.
Users can also report on the selected personnel numbers using other reporting tools. By choosing Goto > Standard report, a dialog box appears in which they can either enter a report name directly or display a list of possible reports.

welcomewiki 04-23-2009 04:32 PM

<table width="90%" align="right" border="0" cellpadding="0" cellspacing="0"><tbody><tr> <td class="bodytext">Step 1: In the field Functional area, specify any name and choose Create. First, you enter a description of the functional area. Since the end-user sees this name when creating a query, it should easily identify the functional area.



</td> </tr> <tr> <td class="bodytext">http://www.insightcp.com/images/9x10.gif</td></tr></tbody></table>https://3.bp.blogspot.com/_ZYzSVDOY_...QQ/s400/17.jpg

welcomewiki 04-23-2009 04:32 PM

https://3.bp.blogspot.com/_ZYzSVDOY_...2U/s400/18.jpg

welcomewiki 04-23-2009 04:33 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...YE/s400/19.jpg

welcomewiki 04-23-2009 04:34 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...ro/s400/20.jpg

welcomewiki 04-23-2009 04:35 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...7Y/s400/21.jpg

welcomewiki 04-23-2009 04:35 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...Ow/s400/22.jpg

welcomewiki 04-23-2009 04:36 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...O8/s400/23.jpg

welcomewiki 04-23-2009 04:36 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...DU/s400/24.jpg

welcomewiki 04-23-2009 04:38 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...yY/s400/26.jpg


<table width="90%" align="right" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="bodytext">Step 2: You can also enter an authorization group at this point – which is not to be confused with user groups. Authorization groups can be assigned for any reports and determine a user’s right to execute a program whereas user groups help you to control access and change authorizations for queries. </td> </tr> <tr> <td class="bodytext">http://www.insightcp.com/images/9x10.gif</td> </tr> <tr> <td class="bodytext">Step 3: Next specify the logical database, </td></tr></tbody></table>

welcomewiki 04-23-2009 04:39 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...ho/s400/27.jpg

welcomewiki 04-23-2009 04:39 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...pQ/s400/28.jpg

welcomewiki 04-23-2009 04:40 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...G0/s400/29.jpg

welcomewiki 04-23-2009 04:40 PM

https://3.bp.blogspot.com/_ZYzSVDOY_...vg/s400/30.jpg

welcomewiki 04-23-2009 04:59 PM

https://3.bp.blogspot.com/_ZYzSVDOY_...Po/s400/31.jpg

welcomewiki 04-23-2009 04:59 PM

https://3.bp.blogspot.com/_ZYzSVDOY_...Sg/s400/32.jpg

welcomewiki 04-23-2009 05:01 PM

<table width="90%" align="right" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="bodytext">Step 4: In the Selection screen version field, you can enter an ID for the version of the selection screen. If you leave the field blank, the system calls the standard selection screen when the query is executed. </td> </tr> <tr> <td class="bodytext">http://www.insightcp.com/images/9x10.gif</td> </tr> <tr> <td class="bodytext">Step 5: Save the functional area, choose the infotypes you want to include – this list should have been determined previously and execute to fill the functional area with data.


</td></tr></tbody></table>
https://3.bp.blogspot.com/_ZYzSVDOY_...gc/s400/33.jpg

welcomewiki 04-23-2009 05:02 PM

https://1.bp.blogspot.com/_ZYzSVDOY_...J0/s400/34.jpg

welcomewiki 04-23-2009 05:02 PM

Select the fields

https://4.bp.blogspot.com/_ZYzSVDOY_...Fw/s400/35.jpg

welcomewiki 04-23-2009 05:03 PM

https://2.bp.blogspot.com/_ZYzSVDOY_...sk/s400/36.jpg


All times are GMT. The time now is 05:14 AM.

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.