Hello All
I have a requirement to remove the select option description (which SAP displays by default from the field label maintained in the data element),
I thought the best way to achieve that requirement is by passing "space" to the parameter 'I_DESCRIPTION' to the method IF_WD_SELECT_OPTIONS->ADD_SELECTION_FIELD, however, it turned out that SAP still displays the label from the data element inspite of passing space(blank) to the parameter 'I_DESCRIPTION', to overcome this limitation I have created a data element without maintaining any labels this approach worked expect that SAP still displays ":"(colon) as the label, is there any way to get rid of this ":" too?
As shown above, ":" is still displayed as the label of the date select option. I'm also looking for a way to reduce the distance between the last radio button and the select option, any pointers would be appreciated.
Thanks for looking into this.
-Vikram.
Hi Vikram,
Mr. Samuli's code will not work if you place it in your component as selection screen belongs to other used component.
Only possible option to remove ':' from selection screen is to copy the component WDR_SELECT_OPTIONS and write the above suggested code in view SELECT_OPTIONS.
Now, use this ZWDR_SELECT_OPTIONS in your component for bulding selection screen.
Or, you can also enhance the view SELECTION_SCREEN of component WDR_SELECT_OPTIONS and add the code to meet your requirement.
But, it is not suggested as it applies to many components.
Hope this helps you.
Regards,
Rama
Add a comment