0

I want to change default values which gets populated in the below picture.

enter image description here

I tried modifying get_v_role method but it didn't serve my purpose.

Please help.

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Jaithera
  • 122
  • 1
  • 7

2 Answers2

1

In personalize->personalize settings, there is sort option. It sometimes overwrites this arrangement of values of get_v method. Also code can be written in inbound plug of this view. I did it for overview page drop down and it worked. You can try for your search page.

0

For filtering/changing drop-down value of search parameter, You've to Re-define GET_DQUERY_DEFINITIONS method of ZCL_XXX_IMPL class of component. GET_V_XX methods are only used to modify drop-down/F4 help of view pages not the search view.

STEPS:

  1. Click F2 while placing the cursor on Account ID(for which parameter you want to modify) drop-down.

  2. Go to BSP Component using t-code - BSP_WD_CMPWB

  3. Enter the component name and Enhancement set
  4. Select the view.

enter image description here

  1. Go to Implementation class .

enter image description here

If your component is enhanced then it will be having ZCL_XXX_IMPL class. otherwise you've to enhance that component. Click on that class.

  1. After that find GET_DQUERY_DEFINITIONS method and implement same way as GET_V_XXX.
divScorp
  • 498
  • 1
  • 8
  • 17