06-20-2007 3:41 PM
Hi All
I want to initialize the Employment Status to Active employee that is 3.
Does any body know how can I do it.
Thnaks in advance.
Regards
AJ
06-20-2007 4:04 PM
p0002-stat2 = '3'. or ur internal table..
do u want to change it in PA30 screen...
For more help.. pl post ur ?'s in ECM(HR)..
06-20-2007 4:13 PM
Hi Raj
I am creating a report, which uses PNP logical database. So when I run the report, by default the Employee Status should be defaulted to 3 which is Active Employee.
If you know how to do that, that would be gr8.
regards
AJ
06-22-2007 12:06 PM
Hi AJ,
here a simple codeexample, try it:
*
Log. datenbank PNP (P-Stammdaten)
*
TABLES: PERNR.
*
************************************************************************
INITIALIZATION.
*
REFRESH PNPSTAT2.
CLEAR PNPSTAT2.
PNPSTAT2-SIGN = 'I'.
PNPSTAT2-OPTION = 'EQ'.
PNPSTAT2-LOW = '3'.
APPEND PNPSTAT2.
*
************************************************************************
*
START-OF-SELECTION.
*
GET PERNR.
*
WRITE: / PERNR-PERNR.
*
END-OF-SELECTION.
*
Regards, dieter