on 04-06-2009 7:20 AM
Hi,
Is it possible to run widgets in an offline mode ...?
Thanks in advance,
John
Hi John,
If you are running your Widgets offline, you cannot display the data, unless you provide some caching, I dont think it will work..
Regards,
Shilpa B.V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Do you mean to say that:
"You have created a Widget in SAP widget Foundation which displays data from R/3, and when your backend is down, you still want the data to be dispalyed"
If yes,
First thing : I can suggest you that it might not be a very feasible idea, because Widgets are usually used to display dynamic data and if you want to cache the data, it will be static.
Second : But if you have a requirement to do so, one way to do would be...
STEP 1: Create one more view "cache_View" in the same project and insert a table into it, but do not map any data, we will fill it later.
STEP 2 : Switch to Controller tab...
to be contd...
// getting data from the SAP system
Model.call_BAPI_CURRENCY_GETLIST ( importParams,
function(data){
exportParams["BAPI_CURRENCY_GETLIST"] = data;
View.showMain_View({"IMPORT" : importParams, "EXPORT" : exportParams});
// STEP 3 : Now you would have got the data from the backend, //Go to View tab, keep a copy of the data on your desktop.
},
to be contd...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.