cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic data

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

prashil
Advisor
Advisor
0 Kudos

Hi,

Create an EventListener which will hit some action in as soon as there is change in the sap table.

regards,

Prashil

Former Member
0 Kudos

hi Prashil,

thanks of giving valuable information

but i dont know how to create EventListner

plz send me coding .....

thanks

prashil
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

hi,

u have given link is not working (page cannot be displayed)

so please send me .....

thanks

prashil
Advisor
Advisor
0 Kudos

Hi,

Please search "How to Handle the JCO Server Status" in the code sample of the SDN.

This gives you only 1 search result.

I am sure this time it'll open.

Hope you find this article help!!!!

Regards,

Prashil