10-05-2008 3:18 PM
Hi,
I'm trying to get data from infotype using provide
but the record i get is not the last ,
i've trying using provide from last but still same record.
is there a problem with provide and ECC 5.0??
Thanks.
10-05-2008 3:32 PM
>
> Hi,
>
> I'm trying to get data from infotype using provide
> but the record i get is not the last ,
> i've trying using provide from last but still same record.
>
> is there a problem with provide and ECC 5.0??
>
> Thanks.
Hi Gil,
Assuming that you are using the macro rp_provide_from_last to retrieve the last record, kindly verify if your code is similar to the code provided in the link below
http://help.sap.com/saphelp_47x200/helpdata/en/4f/d527e1575e11d189270000e8322f96/content.htm
Also, please check if you are using the macro rp_set_data_interval, if yes, then this macro restricts the records returned by the LDB.
Please, post your code to help you further on this.
10-05-2008 3:48 PM
Hi ,
this is my code to get data from infotype 0222
rp_provide_from_last p0222 space aper-begda aper-endda.
still i don't get the last record.
do you any idea??
Thanks.
10-05-2008 4:30 PM
>
> rp_provide_from_last p0222 space aper-begda aper-endda.
Hi Gil,
Where are you writing this code? Is it not a report program? please post your entire code. How are you populating the values for the fields aper-begda aper-endda? Please ensure that the table P0222 and the fields aper-begda aper-endda are filled when the control reaches the above macro.