on 07-30-2014 2:36 PM
Hi Experts,
We have a requirement to execute a web dynpro Java program every day at a specified time (Like a SAP ISU Batch program). Is there any probition in NWDS 7.30 to schedule a Web Dynpro Java Program
Hi,
if you deploy a wd java application, then it will be started automatically, or if it is in stopped state or stopped manually, it will start up again at first invocation of the application.
I assume you rather mean a specific action inside a wd java application that has to be triggered periodically.
If yes, then you can achieve this using the TimedTrigger UI element you can read about more at
TimedTrigger - Developing Java Web Dynpro Applications - SAP Library
Regards,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun,
Thanks for your reply.I have NWDS 7.30.There are any way to schedule a web dynpro java application in NWDS 7.30. I have tried also ejb module and success on that.But there have a problem that is i have to call a RFC in my program and that rfc return some output and based on that output i have to send mail in daily basis.I can not call a RFC in ejb module.
Please help.
Regards,
Amit
Hi,
just a small note, on JEE environment you should probably choose to use JCA/JRA instead of jCO directly.. it won't change much, but JCA/JRA should be container managed - will be more future proof.
@Amit: your requirement is probably incorrect, and they want some functionality that is embedded in the WDJ Application to be executed in a scheduled way.. if so, the above should do it for you, code into an EJB and schedule using the JEE.. if not, if you really need to use events and far too much of the application, then I would suggest you having a look into Quartz + a Selenium Driver script to fire it up.
Hope it helps,
D.
Thanks to all of you guys for helping me.My problem is resolved now.
I made a EJB Module and under this take a Scheduler job.Using jrfc.jar connect to SAP.
In the NWA->Operations->Job here i has been scheduled my program successfully and it runs fine.
Thanks to all of you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Possible solutions:
You can try using java scheduler from NWA , but it wil need atleast onehuman interaction.
http://scn.sap.com/docs/DOC-2665
or may be use of Asynchronous views
For RFC, you can write an helper class inside your application.
Or if you can use BPM for this. You can write your custom code on Boundary event, which will do all the work you intended.
Regards,
Nikhil Joshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Amit,
As ervin specified he has given wonderfull hint ...that is only way we have to the far best of my knowldge .
The above specified applicaiton which you to call daily at specific time, put it in a method , and using a timed trigger event you can call this method periodically , it solves your requirement .
put it in a method -- means that application (functionality) you can code it in a method and call that.
Regards
Govardan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.