on 10-15-2008 9:27 AM
Hi all,
does anybody know how to write a web dynpro application, which accesses the enterprise portal UWL and gets the work-items for its current user?
I have seen, that there is a uwl-api, but it is just overwhelming and I am not getting any entry point for using this whole stuff.
It would be nice, if someone could post some code examples here, for solving this issue?
Thank you for your help in advance!
Kind regards, Patrick.
Hi Patric,
This [link|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/405729e9-314f-2a10-eab6-fcebe6fe8cba] gives info about UWL API. This might be helpful.
Alternatively, if you want to access tasks from a particular backend SAP system like SAP ECC you could create your application as follows:
You need to create a Webdypnro application which uses ABAP Function module using ADAPTIVE RFC MODELs. The tutorial for same can be found from here.
https://www.sdn.sap.com/irj/sdn/adobe?rid=/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3
In this application, first you have to determine your current logged on user. The followign thread will be helpful to you.
Once you have the current logged on user, you need to execute the function module "SAP_WAPi_CREATE_WORKLIST". You need to pass teh user name obtained as an import parameter here to get all the tasks for that user. You can limit the number of tasks returned by specifying the task numbers in IMPORT parameter. The return from this function module will return all the details of all tasks for that user.
Hope this helps!!
Regards,
Jigar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
other RFCs which can be useful are...
a. SAP_WAPI_WORKITEMS_TO_OBJECTS (returns WorkItem IDs and description)
b. SAP_WAPI_SET_WORKITEM_STATUS e.g. COMPLETED
c. SAP_WAPI_SET_WORKITEM_COMPLETED
executes the workitem only if it is assigned to the user ID passed as a parameter to it.
d. SAP_WAPI_CREATE_WORKLIST
return the workitems assigned to a user (even task ID can be given as a filter.
Regards,
Sushil
other RFCs which can be useful are...
a. SAP_WAPI_WORKITEMS_TO_OBJECTS (returns WorkItem IDs and description)
b. SAP_WAPI_SET_WORKITEM_STATUS e.g. COMPLETED
c. SAP_WAPI_SET_WORKITEM_COMPLETED
executes the workitem only if it is assigned to the user ID passed as a parameter to it.
d. SAP_WAPI_CREATE_WORKLIST
return the workitems assigned to a user (even task ID can be given as a filter.
Regards,
Sushil
please check the following threads
that will help you.
http://www.galileo-press.de/download/dateien/1461/146_leseprobe.pdf
with regards
shanto aloor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.