2007 Mar 28 11:27 AM
Hi All,
I am sending data through an RFC ( changed records in material master ). This RFC is called from XI sytem. When it is called, RFC should fetch the data from the last date the RFC was executed. How should i get this date, is there any table which stores the date when it was executed. Please help me.
Points will be awarded for all, who gives reply.
Thanks inadvance.
Thanks & Regards,
Poorna
Hi All,
I am sending data through an RFC ( changed records in material master ). This RFC is called from XI sytem. When it is called, RFC should fetch the data from the last date the RFC was executed. How should i get this date, is there any table which stores the date when it was executed. Please help me.
Points will be awarded for all, who gives reply.
Thanks inadvance.
Thanks & Regards,
Poorna
2007 Mar 28 11:32 AM
Hi Poorna,
Your approach has a g=flaw. XI is not the only system that calls this RFC. There may be other users/ programs which execute/ call the RFC. So, even if a table holds the value of the last run date, it is not of much use to you.
INstead, build the logic inside the RFC function module in such a way that it fetches the records for a specified data range only.
Regards,
Ravi
2007 Mar 28 4:58 PM
Hi Ravi,
Very good answer. I got the answer when I was reading your answer. So your response has given a chance to think.
Yureka i got the logic, thanks a lot.
Thanks & Regards,
Poorna.
2007 Jun 20 7:36 AM