Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Web Dynpro applicationl, which accesses portal UWL and gets the work-items

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.

Former Member
Former Member replied

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.

how to get the ep user information data in the web dynpro?

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question