cancel
Showing results for 
Search instead for 
Did you mean: 

WDA Component->View->Context - Default Enhancement

Former Member
0 Kudos

Hi,

Currently Web Dynpro Component HRRCF_C_RELEASE_PROF_UIu2019s profile status Radio Button defaults to u2018Lock Profileu2019. I need to enhance the same Web Dynpro Component HRRCF_C_RELEASE_PROF_UIu2019s profile status Radio Button defaults to u2018Release Profileu2019.

Contextu2019s attribute u2018Profile Statusu2019 points to Domain u2018RCF_PROFILE_STATUSu2019 which has the value range u20180 u2013 Lockedu2019 and u20182 u2013 Releasedu2019. Since u20180u2019 is first entry, WDC defaults to u20180u2019. I need to set u2018Profile Statusu2019 radio button to u20182 u2013 Releasedu2019.

It seems I canu2019t enhance the method u2018WDDOMODIFYVIEWu2019 of view u2018VW_RELEASE_PROFu2019.

Please let me know, how to achieve my requirement with in SAP enhancement option. Do let me know, if you need more details.

...Naddy.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Enhance the controler and set the required value in post-exit of WDDOINIT method.

Former Member
0 Kudos

Hi Khandal,

Can you please give me more information?

If i go to WDDOINIT through enhancement mode, it is in display mode.

What do you mean by post-exit?

...Naddy

Former Member
0 Kudos

Hi Naddy,

You could possibly go thru the following [WDP ABAP documentation|http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm].

Go to the Advanced Concepts section -> Modification free enhancements.

Hope this helps

Regards

Wenonah

Former Member
0 Kudos

Hi,

Once you create an enhancement implementation for the WDP component, you will get a pre-exit and post-exit method associated with each existing method. Do you can change the value in one of these methods.

Hope this helps

Regards

Wenonah

Former Member
0 Kudos

Hi Wenonah,

Documentation does not say about how to go to/Navigate pre-exit or post-exit. Would you please explain me how to put my logic in post-exit of WDDOINIT?

...Naddy

Former Member
0 Kudos

Hi,

The documentation mentions how to create an enhancement implementation.

Once you do that, in the concerned view, go to the method tab. There you will see a button which corresponds to the pre-exit / post-exit method. Click on that, you will be able to enter the source code for this method. You can code this method as any other.

Hope this helps,

Regards

Wenonah

Answers (0)