Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

using ldb PCH in HR

Former Member
0 Kudos

hi ,

can somebody give me sample code for using PCH logical database. and the events used in it

2 REPLIES 2

Kanagaraja_L
Active Contributor
0 Kudos

In Human Resources (HR), the following logical databases can be used as a data source for HR InfoSets:

PNP (PNPCE)

PAP

PCH

By selecting a logical database, you determine the HR data that can be reported on using an InfoSet.

PCH

This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.

The InfoSet is based on logical database PCH

Provided that object selection is switched on, InfoSets based on this database enable you to use InfoSet Query to select objects of one object type, such as business events, qualifications, and positions. You can use all of the fields of infotypes allowed for the object in question, and all of the object types and their allowed infotypes that can be related with the selected object type, as selection criteria and for output.

When you create an InfoSet, you determine the object type that you can select using an InfoSet. The generated InfoSet can only be used to select this particular object type. If you want to create reports for business events, qualifications, or positions, for example, you must create three separate InfoSets. This means the reports can only be executed separately.

If you do not select an object type when you create the InfoSet, you can only use the InfoSet for InfoSet Query if object selection has been switched off.

Kanagaraja L

Former Member
0 Kudos

Hi,

PCH is for Organisational Management .

Logical Database PCH

This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.

Check this SDN thread.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/report%2bin%2bhr%2babap%2b(LDB)

Regards,

Maha