cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Changing default dropdown value in SAP CRM Web UI

0 Kudos
329

Hi there!

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

Instead of showing (Nicht ausgewählt) i would like show the input field empty.

Is there any way to make that possible?

I tried to debug the component but the table with values of the drop down list for each object (Vorgangsart, Zugeordnet zu, ...) is empty.

I dont know where is the placeholder defined.

 

cristiano_feldhaus_0-1733850025960.png

Thanks a lot in advance!

 

Accepted Solutions (0)

Answers (1)

Answers (1)

DHU
Explorer
0 Kudos

What you see in the dropdown fields is the value that is assigned to a specific key in the key/value table that serves as the basis for your dropdown. If you want to see the technical key for your 'not defined' value, go to 'personalization' on the top right of your WebUI screen and check the box 'display keys in dropdowns'. I am assuming your respective keys are initial.

The dropdowns are defined in the context node classes within your WebUI component. You should do the following:

  • Find out which component you have to adapt: click and hold some editable part of your component in WebUI, then press F2
  • Open your component in BSP_WD_CMPWB. If it is not enhanced yet, you have to enhance it.
  • Go to your search context node and look for the GET_V_ methods of your search fields. You will see how a table is passed to the value help descriptor, this is the table you need to change.
  • If this doesn't help, debug the GET_ method to check which value is displayed