pls see if this below one helps
DATA : lr_view TYPE REF TO cl_bsp_dlc_configuration2.
lr_view ?= me->configuration_descr.
lr_view->if_bsp_dlc_configuration~set_custom_text(
EXPORTING
iv_element_id = '//RESULT/STRUCT.BP_NUMBER' " Generic element ID for short text elements
iv_text = 'BPID' " Work Area Length 128
* iv_langu = SY-LANGU " Language Key
).