Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

DropdownList Selection Problem?

Hi Experts,

I have an issue about selection values.

I inserted contex values via configuration tab on my screen . I want to use u201CPROD_PL_BASISu201D field as dropdownbox so I created GET_P_PROD_PL_BASIS and GET_V_PROD_PL_BASIS

Methods. I filled showing below. While PROD_PL_BASISu2019s second value selected , page reloaded my selection clearing .

How i save my selction values ?

method GET_V_PROD_PL_BASIS.

DATA:lt_ddlb TYPE bsp_wd_dropdown_table.

IF gr_ddlb_object_usage IS NOT BOUND.

lt_ddlb = cl_ws_design_tool_ui=>get_obj_usage_ddlb( ).

CREATE OBJECT gr_ddlb_object_usage EXPORTING iv_source_type = 'T'.

gr_ddlb_object_usage->set_selection_table( it_selection_table = lt_ddlb ).

ENDIF.

rv_valuehelp_descriptor = gr_ddlb_object_usage.

endmethod.

method GET_P_PROD_PL_BASIS.

CASE iv_property.

WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.

rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.

WHEN IF_BSP_WD_MODEL_SETTER_GETTER=>FP_SERVER_EVENT.

rv_value = 'adirection_selected'.

ENDCASE.

endmethod.

Regards,

Fatih.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question