Skip to Content
0
Former Member
Feb 09, 2011 at 10:47 AM

Change a standard component dropdown with new values

102 Views

Hi Experts,

Could someone please throw some light on the issue below:

I have a standard web ui component which has a dropdown with the same 4 values in all scenarios. I need to delete and add few new values to this dropdown.

The existing standard code in the get_v of the attribute is as follows:

DATA lr_value_help TYPE REF TO cl_crm_mktpl_vh_bol_proxy.

DATA lr_node TYPE REF TO cl_crm_bol_entity.

lr_node ?= me->collection_wrapper->get_current( ).

CREATE OBJECT lr_value_help

EXPORTING

ir_bol_abstr_bo = lr_node

iv_fieldname = 'OBJECTIVE'

iv_add_empty_line = abap_true.

rv_valuehelp_descriptor = lr_value_help.

where rv_valuehelp_descriptor is type ref to IF_BSP_WD_VALUEHELP_DESCRIPTOR.

Like in webdynpro i was expecting a table type element that is used to set these values but i guess its different here,could some one pls help me get on the right track with these issues.

Regards,

Chaitanya