cancel
Showing results for 
Search instead for 
Did you mean: 

Howto: edit Universal Worklist User Interface - com.sap.netweaver.bc.uwl.ui

Former Member
0 Kudos

Hi,

In the Universal Worklist, I'd like to add a button that would handle the Substitution action.

This action is currently accessible in a drop down menu, but my client doesn't like it.

I know that it's possible to customize certain things like removing actions, by changing the iView parameters.

But this can't help me "create a new button" in the UWL view.

So I wanted to modify the webdynpro UI UWL application.

It seems to me that application is called com.sap.netweaver.bc.uwl.ui, that I found in a PAR file (com.sap.netweaver.bc.uwl.ui.par) with FTP and that I found in a SCA file :

UWLJWF12P_3-10003490.sca

And this SCA file contains an EAR file :

- DEPLOYARCHIVES/sap.comtckmcbc.uwl.uiwd_ui.ear

And this EAR file contains an WDA file AND a ZIP file :

- sap.comtckmcbc.uwl.uiwd_ui.wda

- src.zip

So It seems I got the UWL UI projet sources, but I reallly wonder if I can use it in a new Web Dynpro project in NWDS and how can I add it ?

Thank you for your help in advance,

I will reward helping contributors!

Accepted Solutions (0)

Answers (3)

Answers (3)

valeri_nikolov
Explorer
0 Kudos

Hello,

The correct way to do this is by modifying the UWL XML Configuration.

I would not recommend modifying the UWL Web Dynpro application.

Please see the following topic for example how buttons are added:

Manage UWL action buttons | SCN

Best regards,

Valeri

former_member182645
Participant
0 Kudos


Hi Valeri

Thanks for reply. I tried lotsof way to do it. Also follow some log like

http://scn.sap.com/thread/3308400

etc

Create new view,iView,Navigation, task info in webflow. But getting one error

This Action is not valid for this item.

Also  think it not hit backend also.

Any idea...

valeri_nikolov
Explorer
0 Kudos

Hi Radhesh,

You say that you get an error: This Action is not valid for this item.".

It may be that there is some error in the XML configuration.

Just for the sake of investigation, if you revert (remove) the customized configuration do you still get the error? Do not forget to clear cache after each configuration change.

Best regards,

Valeri

former_member182645
Participant
0 Kudos

hi valeri

Thanks for reply..

yes if i remove cutomized configuration its work file. i try lots way to do configure but still etting same error.

Finally developing cutomized screen in ABAP WebDynpro

DO you have any ready made XML for MASS Approval Process.

valeri_nikolov
Explorer
0 Kudos

Please find this blog for Mass approval scenario.

Depending of your work item types you need to use different action handlers. If workitems are of type user decision then use the UserDecisionHandler in your XML.

See this SCN article.

http://scn.sap.com/community/netweaver-portal/administration-and-development/blog/2011/03/11/mass-pr...

In the above article the work items are not decision so function module handler is used:

Back on the original topic, the adding of the button to the UWL to handle the substitution action should be pretty straightforward.

If you post your XML here I will take a look at it and see what can be wrong with it.

former_member182645
Participant
0 Kudos

you found any olution for this?

Former Member
0 Kudos

Create a new webdynpro project.

Save and close it.

On the OS go to the project directory and replace the src folder from your project folder.

Open the project and rebuild it.

I hope this will help you.

Former Member
0 Kudos

Hi Santosh,

It didn't work.

The structure of the file doesn't correspond at all with the structure of a wdp project.

Thank you for your answer though.