on 04-05-2007 2:27 PM
hi guys,
i am getting data using jco interface via rfm's
i am retrieving the data while executing the java program ,,,
but i want to retrieve the data automatically ,when ever updation happened in the sap table..
i s it posiible means plz send me necessary steps....
with regards
tony
Hi Tony,
I can give you some Java Script code to refresh a page every N seconds automatically, If you can call your Java Program from this page then this page will execute your Java program automatically...
<script type="text/javascript">
function reFresh() {
location.reload(true)
}
/* Delay in milliseconds,
1 minute = 60000 milliseconds. */
window.setInterval("reFresh()",300000);
// End -->
</script>
-- Award points if u feel it leads you to a solution
Regards,
KumarR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create an EventListener which will hit some action in as soon as there is change in the sap table.
regards,
Prashil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tony,
I am not having much idea how to create an event from ABAP code.
But i can help you in creating an event in which will fire a method if a JCO state is changed. Check the pdf.
<a href="http://https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/dd1e55eb-0401-0010-e886-e3297a90becb">How to Handle the JCO Server Status</a>
If you can manage to create an event which modify your JCO state. Your problem can be solved.
Hope the pdf helps!!!!!
Regards,
Prashil
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.