on 02-28-2011 10:27 AM
Hi everyone,
Do you have a list of steps to create a DDLB in Web UI screen?
Thanks in advance
Dave
Hi Dave,
If you want to implement a DDLB for a field in Web UI, you basically need 3 steps:
1. Implement GET_P method of field to specify field as DDLB (picklist) with following code:
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
ENDCASE.
2. Create new Class Attribute in Context Node Implementation Class:
GR_DDLB (instance attribute, private) TYPE REF TO CL_CRM_UIU_DDLB
3. Implement GET_V method of field to populate the DDLB:
E.g. DATA: lt_ddlb TYPE bsp_wd_dropdown_table,
ls_ddlb TYPE bsp_wd_dropdown_line.
IF gr_ddlb IS NOT BOUND.
CREATE OBJECT gr_ddlb EXPORTING iv_source_type = 'T'. "(T stands for Table)
" FIll Table lt_ddlb with key and value fields that you want in DDLB
...
gr_ddlb->set_selection_table( lt_ddlb ).
ENDIF.
rv_valuehelp_descriptor = gr_ddlb.
Kind regards,
Carl
Edited by: Carl Boden on Feb 28, 2011 2:12 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to add new fields to Web UI, please read this article:
/people/vikash.krishna/blog/2009/07/14/crm-70-how-to--4-adding-custom-fields-with-the-new-application-enhancement-tool-aet
Hope this helps.
Regards,
Bhushan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.