cancel
Showing results for 
Search instead for 
Did you mean: 

How to create the Check box and Text Area inside the Assignment block

Former Member
0 Kudos

Dear all,

I am new to web UI development. my requirement is to create the Check box and Text box in the Assignment block. Can anyone help me to do this requirement.

Thanks & Regards,

Ashok.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please place the below code in the GET_P methods of the fields.

For Text Area

CASE iv_property.

WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.

rv_value = cl_bsp_dlc_view_descriptor=>field_type_textarea.

ENDCASE.

For Check Box

CASE iv_property.

WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.

rv_value = cl_bsp_dlc_view_descriptor=>field_type_checkbox.

ENDCASE.

Regards,

Lakshmi.Y

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ashok,

In Get_P method of the fields you need to define the field type. For Check Box it should be 'FIELD_TYPE_CHECKBOX' and for Text area it should be 'FIELD_TYPE_TEXTAREA'. Hope this helps.

Regards,

Lakshmi.Y