09-19-2008 9:42 AM
This is a simple query of employee number, name, location and phone number based on selection criteria of Personnel Area (P0001-WERKS), Employee Status (P0000-STAT2) and Key date(P0001-begda) is parameter.
The following Data need to be fetch:
Employee Number(P0709-PERSON_TXT)
Employee Name(P0002-NACHN,VORNA,MIDNM)
Primary Location (SAP Business Area, P0001-GSBER)
Location Description (SAP Business Area Text)
Location Main Phone Number (where P0006-COM0X "Work", return AREAX and TELNX to produce formatted number, ex: 305-882-5300).
Please help me out.
09-19-2008 9:45 AM
Hi
first based on Selection criteria get all the employee numbers into an internal table. then use multiple internal table for different infotypes data to get those details.
Use JOINS / indivual selects with FOR ALL ENTRIES on first internal table.
09-19-2008 10:46 AM
use PNP logical database and event get pernr. Selction screen of the program can be modified with report categories.
thnkas,
krishna