Application Development 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: 

abap/hr isuue

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

Go to Program attributes.

Set Logical database as PNP.

Reward if useful.

Former Member
0 Kudos

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.

Former Member
0 Kudos

After giving the program name and the description select the attributes as PNP