2007 Jan 24 12:16 PM
REPORT YCL_TEST1 .
tables : pernr.
data : pn_begda type p0001-begda,
pn_endda type p0001-endda.
infotypes : 0001, 0002, 0006.
get pernr.
provide * from p0001
from p0002 between pn_begda and pn_endda.
write : p0001-sprps, p0006-locat.
endprovide.
2007 Jan 24 12:23 PM
Hi
When you use the Statement <b>get PERNR</b>. This referst to the Logical Database.
Define the Logical Database in the attributes of your program and you should not face this error.
Hope this helps and welcome to SDN
2007 Jan 24 12:20 PM
while creating prog. you have to define ldb name other wise it will not picked data
this may be the cause.
mukesh aggarwal
2007 Jan 24 12:23 PM
I have given the LDB name as PNP in my program attributes..
Still it is not getting executed.
2007 Jan 24 12:23 PM
Hi
When you use the Statement <b>get PERNR</b>. This referst to the Logical Database.
Define the Logical Database in the attributes of your program and you should not face this error.
Hope this helps and welcome to SDN
2007 Jan 24 12:25 PM
hi sowmya,
Give the LDB name(PNP) in program attributes,
and u dont need to declare pn-begda and pn-endda.
write project stmt for all three infotypes
regards,
srinivas
2007 Jan 24 12:29 PM
Hi Sowmya.
There's nothing wrong in your code.
Perhaps you didn't mentioned PNP as the logical database in the program attributes.
Best regards.
Valter Oliveira.
2007 Jan 24 12:38 PM
Check this weblog....
<a href="/people/alvaro.tejadagalindo/blog/2006/02/19/how-to-deal-with-hr-payroll-reports to deal with HR Payroll reports</a>
Greetings,
Blag.