• No results found

Creating a Customer Report Class

In document HR350 (Page 77-87)

Creating a Selection View

Exercise 3: Creating a Customer Report Class

Exercise Objectives

After completing this exercise, you will be able to: • Create customer report classes using the IMG • Assign report classes to customer reports

Business Example

All the components of the HR system have been implemented at your company, Caliber ’A’ Bicycle. The company wants to use the special features of report programming within Human Resources. As a member of the IT team, the

personnel department wants you to program the selection screens for the customer reports in such a way that they display the selection fields required for the

corresponding reports.

Task 1:

1. Use the IMG to create a customer report class, 000000##, where nn = group number, for the logical database, PNP. Sorting and matchcodes are

permitted and the start and end dates are permitted entries for both the data selection period and the person selection period.

Select the following fields for the first page of the SELECT-OPTIONS: Personnel number Employment status Company code Personnel subareas Employee group Employee subgroup Cost center

Task 2:

1. Assign the new report class to your report.

Continued on next page

Unit 2: Logical Databases PNP/PNPCE HR350

Solution 3: Creating a Customer Report

Class

Task 1:

1. Use the IMG to create a customer report class, 000000##, where nn = group number, for the logical database, PNP. Sorting and matchcodes are

permitted and the start and end dates are permitted entries for both the data selection period and the person selection period.

Select the following fields for the first page of the SELECT-OPTIONS: Personnel number Employment status Company code Personnel subareas Employee group Employee subgroup Cost center

a) Create customer report class, 000000##:

IMG

PersonnelManagement

HumanResources InformationSystem

Reporting

AdjustingtheStandard SelectionScreen

CreateReportCategories.

Select New Entries and enter the number of your report class and the name. Deactivate the For Logical Database PNPCE field.

Select the Matchcode allowed and Sort allowed indicators and allow the entry of a date interval for the data and person selection period. Save your entries and create a transport request. Return to the Overview screen.

Select your new report class and select Allowable Selection Criteria in the dialog structure, on the Overview screen. Choose New Entries. Use the possible entries help, F4, to select the specified selection fields and select the field for output on the first page. Save your entries.

Continued on next page

Continued on next page

Task 2:

1. Assign the new report class to your report.

a) To assign the customer report category to your own reports, select:

IMG

PersonnelManagement

HumanResources Information System

Reporting

AdjustingtheStandard SelectionScreen

Assignreportcategories.

Select New Entries and enter your program name and new report class. Save your entries.

Continued on next page

Unit 2: Logical Databases PNP/PNPCE HR350

Lesson Summary

You s h o u l d now be able to:

• Create and assign report categories • Create a selection view

Continued on next page

Unit Summary

You s h o u l d now be able to:

• List the functions of the logical database PNP • Retrieve period-based data

• Use the screening criteria to select data and persons • Sort data according to the organizational criteria • Use the logical database, PNPCE, in the PNP mode • Create and assign report categories

• Create a selection view

Continued on next page

Unit Summary HR350

Continued on next page

Test Your Knowledge

1. Processing with LOOP-ENDLOOP and PROVIDE-ENDPROVIDE provides the data for a specific period, which means the processing provides data according to the data selection period.

Determine whether this statement is true or false. □ True

□ False

2. The logical database PNP function enables you to select employees according to the organizational criteria.

Fill in the blanks to complete the sentence.

3. The sort function enables you to sort an evaluation in accordance with the organizational criteria.

Determine whether this statement is true or false. □ True

□ False

4. Fields for the data selection are defined in the structure, QPPNP. What are the possible values for the field, PNPTIMED?

5. When the events, GET GROUP and GET PERSON, occur, you must

declare them using .

Fill in the blanks to complete the sentence.

6. What needs to be used to enable the concurrent employment function?

7. isanoption that you can use to

add the selection criteria to the Selection screen. Fill in the blanks to complete the sentence.

Continued on next page

Test Your Knowledge HR350

8. How can you make the assignment to report classes for reports that you have developed?

Continued on next page

Answers

1. Processing with LOOP-ENDLOOP and PROVIDE-ENDPROVIDE provides the data for a specific period, which means the processing provides data according to the data selection period.

Answer: Tr u e

Processing with LOOP-ENDLOOP and PROVIDE-ENDPROVIDE

provides the data for a specific period, which means the processing provides data according to the data selection period.

2. The screening logical database PNP function enables you to select employees according to the organizational criteria.

Answer: screening

3. The sort function enables you to sort an evaluation in accordance with the organizational criteria.

Answer: Tr u e

The sort function enables you to sort an evaluation in accordance with the organizational criteria. For example, you can use the sort function to create a hierarchical list according to the personnel subarea and the administrator, or list employees in alphabetical order.

4. Fields for the data selection are defined in the structure, QPPNP. What are the possible values for the field, PNPTIMED?

Answer: The possible values for the field, PNPTIMED, are:

• D = Today (key date) • M = Current month • Y = Current year

• P = Up to today (from past to current date)

• F = As of today (from the current date into the future)

5. When the events, GET GROUP and GET PERSON, occur, you must declare them using NODES.

Answer: NODES

Continued on next page

Test Your Knowledge HR350

6. What needs to be used to enable the concurrent employment function?

Answer: To enable the concurrent employment function, you must use the

logical database, PNPCE.

7. Free delimitation is an option that you can use to add the selection criteria to the Selection screen.

Answer: Free delimitation

8. How can you make the assignment to report classes for reports that you have developed?

Answer: For reports that you have developed, you can make the assignment

to report classes using either the Customizing activity (client-specific) or the report attributes in SE38 (for all clients).

Continued on next page

In document HR350 (Page 77-87)

Related documents