Skip to Content
0
Former Member
Aug 21, 2008 at 11:49 AM

requirement to replace select statements

14 Views

Hi,

We have to replace this query with macro RP_READ_INFOTYPE or funtiopn module HR_READ_INFOTYPE, also we dont need LDBs. so i have included DBPNPMAC too.

select single nachn

from pa0002

into name

where pernr EQ l_pernr.

i have tried with the following but still not working..

(i took additional values for Date variables)

rp_read_infotype l_pernr 0002 p0002 so_beg so_end.

move p0002-nachn to name.

Please provide inputs on this, if anyone knows it.

Thanks in advance