Hi
Please check below ..
Basically you have to add value to ls_ctr_txt and then update it to ct_be_text.
I am attaching a sample code as well .. if you do not understand Kindly reach out to a ABAPer should not be that tough ..
SELECT SINGLE object_type INTO obj_type FROM crmd_orderadm_h
WHERE guid = iv_src_guid.
IF obj_type EQ 'BUS2121'.
CALL FUNCTION 'BBP_PD_SC_ITEM_GETDETAIL'
EXPORTING
i_guid = iv_src_guid
TABLES
e_itm_rel = lt_item_rel.
ls_ctr_text-object_id = cs_be_header-object_id.
ls_ctr_text-tdid = 'K17' .
ls_ctr_text-tdspras = 'EN' .
ls_ctr_text-tdline = ls_header-/locsrm/cup_num.
ls_ctr_text-LANGU_ISO = 'EN'.
APPEND ls_ctr_text TO ct_be_text.
CLEAR ls_ctr_text.
Regards
Vinita