06-26-2008 12:21 PM
Hi Expert !
plz explain me following code .
when i m executing this program i m getting following error .
1 ."pernr is not defined for currentlogical database "
2 statement RP_PROVIDE_FROM_LAST is not defined .
3. field PN-BEGDA is unknown .
TABLES: PERNR.
INFOTYPES: 2001 MODE N.
GET PERNR.
RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.
LOOP AT P2001.
WRITE: / P2001-ABWTG.
ENDLOOP.
06-26-2008 12:23 PM
hi,
while using time management infotypes, mention PAP LDB and specifies TABLES: APPLICANT. (not PERNR)
TABLES: APPLICANT.
INFOTYPES: 2001 MODE N.
GET APPLICANT.
RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.
LOOP AT P2001.
WRITE: / P2001-ABWTG.
ENDLOOP.
regards,
Ashok
Edited by: Ashok Reddy on Jun 26, 2008 1:25 PM
06-26-2008 12:25 PM
Go to Program attributes.
Set Logical database as PNP.
Reward if useful.
06-26-2008 12:43 PM
Hi,
Use PNP as Logical DataBase in the attributes of the program.
Pls do not replicate the questions.
If answers are satisfactory, close the thread.
regards,
teja.
06-26-2008 12:48 PM
After giving the program name and the description select the attributes as PNP