Application Development and Automation 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: 
Read only

GET OBJEC and GET PERNR

Former Member
0 Likes
1,848

I am new to ABAP-HR.......

what is the difference between GET OBJEC and GET PERNR.

Iam asked to write a program using logical databases .. which one should I use ...

thanks,

shekhar....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,081

GET Objec is used with LDB PCH and GET pernr is used with LDB PNP.

Check what data U want to display ..

pernr , name .. or Object ID , object name ... etc ...

ex : If U declare LDB PCH ..

tables : objec.

start-of-selection.

get OBJEC.

*write the coding

end-of-selection.

ex : If U declare LDB PNP ..

tables : pernr.

infotypes : 0000 , 0001.

start-of-selection.

get PERNR.

*write the coding

end-of-selection.

5 REPLIES 5
Read only

Former Member
0 Likes
1,081

get objec is used in the PCH logical database

and get pernr is used in the PNP logical databse

Read only

Former Member
0 Likes
1,082

GET Objec is used with LDB PCH and GET pernr is used with LDB PNP.

Check what data U want to display ..

pernr , name .. or Object ID , object name ... etc ...

ex : If U declare LDB PCH ..

tables : objec.

start-of-selection.

get OBJEC.

*write the coding

end-of-selection.

ex : If U declare LDB PNP ..

tables : pernr.

infotypes : 0000 , 0001.

start-of-selection.

get PERNR.

*write the coding

end-of-selection.

Read only

Former Member
0 Likes
1,081

GET Objec is used with LDB PCH and GET pernr is used with LDB PNP.

Check what data U want to display ..

pernr , name...

ex : If U declare LDB PCH ..

tables : objec.

start-of-selection.

get OBJEC.

end-of-selection.

ex : If U declare LDB PNP ..

tables : pernr.

infotypes : 0001.

start-of-selection.

get PERNR.

end-of-selection

Regards,

Prasad.

Read only

Former Member
0 Likes
1,081

Hi

GET OBJEC :logical database for PNP

GET PERNR:logical database for PCH

regards,

Sravanthi

Read only

Former Member
0 Likes
1,081

Hi Nevali.

I would like to suggest,

OBJEC - Work Area for Database PCH

PERNR - HR Master Data Reporting - PNP

Differences,

GET OBJEC - Reporting on Personnel Planning data

GET PERNR - Reporting on HR master data.

I would like to suggest a Reference,

[SAP HELP - Standard Reference for HR Logical Databases|http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/content.htm]

Hope that's usefull.

Good Luck & Regards.

Harsh Dave