cancel
Showing results for 
Search instead for 
Did you mean: 

How to change headings and titles in standard performance mgmt screen ?

Former Member
0 Kudos

Hi,

I am new to webdynro ABAP. Kindly help with inputs for below requirement

To change the process title for Manager overview screen

To change task descriptions (eg current description is- Schedule review meetings with employee and discuss goals. this needs to be changed to text given by the client)

To change tab descriptions (eg to change tab heading like Employee Documents, Team Goals etc)

To change section descriptions (eg Individual Goals, Competency and Developement Goals etc need to be changed)

will there be configurations or functions available to meet above requirement ?

thanks

B

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear B,

I'm so glad that it has helped you.

Now regarding your other request.

Adding new objects (UI or Context) to a standard WD can't be done by Personalization or Configuration, as you have confirmed already.

So how to proceed ?

1) First you need to enhance your WD. You don't use exits.

You simply enhance a WD by clicking on the "enhance" swirl button.

I will cut-short here, because I believe you know how to enhance a standard SAP object already.

WD is really no different.

There's only small differences.

For example here on the image below I've enhanced the standard WD FITV_POWL_TRIPS. Notice the 3 "exits" you see for each method.

[http://imageshack.us/photo/my-images/408/20111011140541.jpg/]

It is there that you will need to put your code

2) But where exactly and what code ?

You will need to change the View and the Context and Run-Time.

For the view you need to apply your enhancement on the method WDDOMODIFYVIEW

(by using one of the 3 exits above)

For the Context usually it is the WDDOINIT.

You need to have good ABAP OO skils for this, as it has some complexity.

But fear not, there's plenty examples on SDN on how to code for this.

Here's a good one:

[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4468] [original link is broken] [original link is broken] [original link is broken] [original link is broken];

This example, although for a custom WD, applies these principles (but without enhancements) - and it gives you a good example on how to dynamically change the View and the Context. And do the necessary bindings.

All at run-time.

But if you search on SDN for "dynamic webdynpro UI" or "WDDOMODIFYVIEW" or "webdynpro dynamic context" etc...

you will find plenty of other examples.

Kind Regards

/Ricardo Quintas

bhakti2
Active Participant
0 Kudos

Hi Ricardo,

Thank you once again for imparting knowledge about enhancement implementations and dynamic programming in WD4A

I happen to be reading NET310 ABAP Webdynpro which had chapter on dynamic modifications at runtime

Also there is this reference document [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true]

and all the links that you have provided

just one question - I realised we could also add UI elements and even context using the enhancement implementation.

I tried that in the same component what you have given screenshot.

http://img824.imageshack.us/img824/1866/enhancementimplementati.png

So is it ok to directly create UI elements, context and methods or I should only go for dynamic programming ?

thank you

B

Former Member
0 Kudos

Dear B,

it is perfectly all right to directly change your UI elements (or context) as well.

The only limitation if you do that, is that you can't change properties on standard UI elements.

I mean, you can directly add and remove UI elements. But you can't change properties on standard UI elements.

The choice between dynamic vs direct change of these objects is more related, in my opinion, with your requirements and what your program needs to do.

You free to choose.

;o)

Kind Regards

/Ricardo Quintas

bhakti2
Active Participant
0 Kudos

Hi Ricardo,

Many thanks for your help. I cud meet the purpose of basic approach of dealing with the WD4A requirement.

thanks

B

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear B,

Sure. That is easy.

Here's what you need to do.

You will need to Configure or Personalize your WD4A (Webdynpro for ABAP).

How do you Configure a WD4A ?

You need to click on a Application Configuration or Component Configuration on your WD4A on SE80.

And then you will be taken (on your browser) to the App. and Comp. Configuration environment.

And it is there that you can do some changes to your WD.

Here's an image that shows you what I mean (where you need to click)

[http://imageshack.us/photo/my-images/411/20111010152038.jpg/]

But you can learn more regarding Configuration here

[http://help.sap.com/saphelp_nw70/helpdata/EN/43/e86de5008b4d9ae10000000a155369/content.htm]

What about Personalization of a WD4A ?

For this you will need to run you WD4A in Personalization in Administration Mode

See here what I mean:

[http://imageshack.us/photo/my-images/685/20111010153034.jpg/]

When you launch your WD in Admin. Mode your URL will have an extra parameter at the end

named sap-config-mode=X

Here's an example

http://.......webdynpro/sap/fitv_powl_trips?sap-language=EN&sap-wd-configId=FITV_POWL_TRIPS&sap-conf...

By having this you can now personalize your WD for every user.

Just go to your desired field, tab, label, button, wathever and personalize it.

How ?

Simple, just CTRL+Click on top of it and choose the option "Settings for Current Configuration"

Here's an exmple:

[http://imageshack.us/photo/my-images/827/20111010153423.jpg/]

After this a popup will appear with all the options for that UI element, where you can make a lot of changes (modify text, change size, hide, etc...)

More on Personalization for WD4A here:

[http://help.sap.com/saphelp_nw70/helpdata/EN/fd/2da442dc030e31e10000000a1550b0/content.htm]

Hope this helps.

Kind Regards

/Ricardo Quintas

bhakti2
Active Participant
0 Kudos

Hi Ricardo,

thanks a lot for so many details. It is definitely very helpful. I appreciate your help. I am familiarising with implicit enhancement techniques in WD4A.

Please could you guide also for scenario of 'adding' new elements on the standard screen. (apart from changing properties of existing elements)

We need to add new UI elements, input fields and read only fields on HAP_PMP_OVERALL_APPRAISAL component main view.

and ofcourse the underlying code change , we would need new context element and populate them and bind them.

Should there be something like screen exit or user exit as in normal ABAP standard transaction ?

thanks

B

ChandraMahajan
Active Contributor
0 Kudos

Hi,

I guess you need to use FPM framework to do all aboe tasks.

Please refer below links.

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a09e999f-cc69-2e10-cfa4-e3899e7dcae2

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20faaa02-7521-2e10-d598-8b03c91c4...

you may need to understand few FPM related concepts such as Component Config, Application Config, UIBB, FPM types etc etc.

Thanks,

Chandra