on 02-27-2008 4:20 PM
Hello,
I would like to develop a Web Dynpro Screen for UWL. For that I want to access the IUWLService API. When I wrote code like the following:
IUWLService uwlService=(IUWLService)PortalRuntime.getRuntimeResources().getService(IUWLService.ALIAS_KEY);
UWLContext myContext = new UWLContext();
try {
IUWLSession mySession = uwlService.getUwlSessionForWebDynproClient(myContext);
} catch (Exception e) {
IWDMessageManager myMan = wdComponentAPI.getMessageManager();
myMan.reportSuccess(e.toString());
}
I am getting an error: IUWLService cant be resolved. I tried to add plugin, but there is no UWL Plugin.
Please let me know what are the settings needed to access UWL APIs in Web Dynpro?. In other forums, people were talking about adding library, I dont know how to add it.
I appreciate any kind of help. Thanks.
Sunita.
Sunita,
You will need to create a UWL project in NWDS by clicking File --> New --> Other --> Universal WorkList.
Please refer this [document|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/405729e9-314f-2a10-eab6-fcebe6fe8cba] for more details.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Additionally if you just want to add the UWL library do this.
Right click on your project in NWDS --> Java Build Path --> Add External JARs --> Browse to C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.netweaver.bc.uwl.plugin_1.0.0 --> lib --> Select both the jars and add it.
Note: The IDE path if differs use the path accordingly.
Chintan
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.