Because the HCM module is designed differently than many of the other SAP modules, there are some things you need to be aware of regarding your configuration. It is important to note a couple cautions related to configuring an InfoSet in the HCM module:
Adding Infotypes to an InfoSetAfter you create an InfoSet, you can return to it at any time to add infotypes. To do so, you follow these steps:
Reporting on Data from Two Modules in the Same QueryTo report based on any data from the Personnel Development module, you must perform evaluations according to your company's organizational structure. In other words, the Personnel Development submodule of the SAP HCM module evaluates objects in a hierarchy. So, unlike with basic reporting using the PnP Personnel Administration submodule logical database, you need to define a report based on a hierarchical structure. To be able to create an SAP query that contains data from infotypes within SAP's Personnel Administration submodule plus data from the Personnel Development submodule, you need to evaluate persons, not objects. You need to be able to include only data that functionally can be reported along a hierarchical line. Being able to report on data from the Personnel Development and Personnel Administration submodules within a single query-based report is one of the most popular challenges for users creating reports in the SAP HCM module, regardless of the tool used. With regard to query-based reporting, SAP describes two possible solutions, as described in the following sections. Using an InfoSet Based on the PnP Logical DatabaseThe logical database PnP enables you to access HR master data infotypes from the Personnel Administration submodule of HCM. Specifically, it includes infotypes 00000999 and 20002999, payroll result and custom 9000-series infotypes, and infotypes for personnel planning objects that can be related to persons. In other words, you can report on data from the Personnel Development submodule of HCM that is traditionally stored in the PcH logical database within your InfoSet based on the PnP logical database only if that data is related to a person. From a technical perspective, this means you can use the logical database PnP to report on all the infotypes that exist for objects (Infotype 1000) that have a direct relationship (Infotype 1001) with the Person object. For example, if you wanted to use an InfoSet based on logical database PnP to include Personnel Development data such as a list of organizational units and the default cost centers associated with each, you couldn't, because none of the fields mentioned (organizational unit or cost center) includes the Person object. They do not tie back to a person, so trying to use an InfoSet based on PnP with additional fields from PcH for this scenario would be unsuccessful. However, you could create an InfoSet using PnP and include fields from PcH if you were running a report to evaluate the costs, number of attendees booked, and instructor for a business event on which an employee is booked. In this scenario, you have data that is related to a person, so it would work. You activate the Personnel Development infotypes from within an InfoSet based on logical database PnP by using the same method outlined earlier in this chapter, in the section "Adding Infotypes to an InfoSet." The Personnel Development infotypes are listed at the very bottom of the list of infotypes in the Infotype Selection dialog box (refer to Figure 16.2). Using an InfoSet Based on the PcH Logical DatabaseThe preceding section discussed creating an InfoSet based on logical database PnP from the Personnel Administration submodule of HCM and then adding to it fields from the PcH logical database to include fields from the Personnel Development submodule of HCM. Now let's think about the opposite: creating an InfoSet based on logical database PcH and then adding fields from the PnP logical database. The inclusion of the Personnel Administration infotypes in the PcH logical database was not in place until SAP version 4.0. You activate the Personnel Administration infotypes from within an InfoSet based on logical database PcH by using the same method outlined in the section "Adding Infotypes to an InfoSet." The Personnel Administration infotypes are listed at the very bottom of the list of infotypes in the Infotype Selection dialog box. Now here is the difficult part: When you create a report that is based on an InfoSet that was built using logical database PcH but that includes fields from the Personnel Administration submodule, you are presented with a traditional Personnel Development-based selection screen. Traditional Personnel Development selection screens work differently than almost all other selection screens in that they are object-based. They require you to specify an object type (because Personnel Development is based on objects such as organizational units, positions, and so on) and enter an evaluation path to execute a report. An evaluation path represents the hierarchical relationship between objects (for example, path O-S-P represents the relationships between organizational units, positions, and persons). When you select persons and infotype records, the conditions of the underlying logical database apply. The time period selection refers only to the validity period of the infotype records. If the beginning or end of the validity period falls within the selected period, the length of the validity period is given when you output the data. Otherwise, the time interval of the selection is displayed. In other words, you have to be savvy about what you are trying to report. In Personnel Development object-based reporting, you are evaluating an object, such as an organizational unit. You can run a report of all associates and their race and gender based on the organizational units. The report will list each organizational unit and then the Personnel Administration information under each. Helpful Hint You can find step-by-step instructions on how to use evaluation paths in SAP Personnel Development reporting at http://sap.help.com, in the library under Evaluations According to a Company's Organizational Structure. |