Iconet Services Ltd - SAP ABAP / SAPScript Consultant

Home Page
Company Profile
Search Internet for SAP Information
Subscribe to SAP R3 Mailing list
Sample ABAP Programs
ABAP How to
General Purpose layout set

Convert a Work Centre to a Personnel Number

P = Personnel number that we need to find from work centre.

Select HROID into X from CRHD where ARBPL = Work Centre and OBJTY = 'A'.

Select SOBID into Y from HRP1001 where OBJID = X and SCLAS = 'S'.

Select SOBID into P from HRP1001 where OBJID = Y and OTYPE = 'S' AND SCLAS = 'P'.

Back to How To list