‎2007 Mar 21 2:28 PM
hallow
i wonder if some one now about macro that bring al the data he find in table
ex. rp_provide_from_last
bring just the last data thet he find in table
i wont macro that bring all the data
regards
‎2007 Mar 21 2:45 PM
or you can simply use the loop at..
for intotype 0001, I would use
get pernr
clear p0001.
loop at p0001.
**
endloop.
end-of-selection.
~Suresh
‎2007 Mar 21 2:35 PM
Hi Antonio,
RP_PROVIDE_FROM_LAST macro will give the last value in the infotype for the given BEGDA and ENDDA.
Instead perhaps you can do something like this.
...
DATA: BEGIN OF i_tab1,
pernr like pa0105-pernr,
usrid like pa0105-usrid,
abkrs like pa0001-abkrs,
plans like pa0001-plans,
agr_name like agr_users-agr_name,
END OF i_tab1.
GET pernr.
PROVIDE * FROM p0105 BETWEEN 01011900 AND 12319999.
MOVE-CORRESPONDING p0105 TO i_tab1.
ENDPROVIDE.
...
Regards,
Ferry Lianto
‎2007 Mar 21 2:45 PM
or you can simply use the loop at..
for intotype 0001, I would use
get pernr
clear p0001.
loop at p0001.
**
endloop.
end-of-selection.
~Suresh