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|] 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.

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!!



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