Skip to Content
1
Former Member
Jul 28, 2007 at 12:21 AM

syntax error in ABAP HR program

137 Views

Hello Experts,

I am new to programming in HR. I am getting a syntax error "PERNR is not defined for the current logical database" with the following piece of code.

TABLES: PERNR.

INFOTYPES: 0002, 0006.

GET PERNR.

PROVIDE * FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA.

WRITE: P0002-PERNR, P0002-NACHN, P0002-VORNA.

ENDPROVIDE.

Am I missing a statement or something needs to be configured in the system?

Any help will be highly appreciated.

thanks...

Rony.