on 06-14-2012 11:21 AM
Hi experts,
I develop some simple application, the Workflow application directly to a DB or a BAPI to SAP; but, what happend if I haven´t Internet or if I have a court of Internet? Can i work with this Workflow applications?
Happend the same with the application development by SAP, such us CRM Sales?
Thanks in advance,
Regards,
yes ofcoure you can develop offline application for HWC based workflow application. when you dont have any internet connection you can store the data internally and whenever your device got any connectivity then our app will automatically sync with the backend.
Happy Coding
Dinesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
exactly we need to follow the same porcedure. We need to do some customization in our generated workflow package code to avheive this. In that package you should be able to see one class called Custom.js we need to write all our customization in that class only. Basically offline application means when you try to subit your data to backend if there is no connectivity, app should save the data locally and needs to synchronize when network is available. so we need to handle this situation.
Generated code is basically javascript, there are many ways to check the connectivity in JS. So in that Custom.js class write a code in the method named BeforeSubmit() by this way you can create offline based HWC application.
Happy Coding
Dinesh.
exactly we need to follow the same porcedure. We need to do some customization in our generated workflow package code to avheive this. In that package you should be able to see one class called Custom.js we need to write all our customization in that class only. Basically offline application means when you try to subit your data to backend if there is no connectivity, app should save the data locally and needs to synchronize when network is available. so we need to handle this situation.
Generated code is basically javascript, there are many ways to check the connectivity in JS. So in that Custom.js class write a code in the method named BeforeSubmit() by this way you can create offline based HWC application.
Happy Coding
Dinesh.
hi dinesh,
can you share the code to store the data offline in beforeSubmit() method u are talking about.
i think there is other way to submit the data to the backend if network is not available is "submit Workflow" instead of "Online Request".
Also i have a Scenario like if want to have my data in device using workflow how do i do that? i mean if i want see my records if network is not available. is there any way to download and store the data using workflow.
prem
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.