Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BOPF : modify DO

Madjid
Participant
0 Kudos

Hello
i get data of Textcollection DO of TRQ BO with navigation in sub nodes.

with help of service manager that created from TRQ BO

i want update the TEXT_CONTENT sub node of TEXT_COLLECTION with the instance of servicemanaget that created from TRQ

may be guide me how to do it ?

i know the structure of "/bobf/s_frw_modofication" but i have unsuccessful to use it

as illustrated

thanks

Data: lt_fields_dtl  type /bobf/t_frw_name.
append 'TEXT' to lt_fields_dtl.


DATA lr_text_content     TYPE REF TO /BOBF/S_TXC_CON_K.
CREATE DATA lr_text_content.
lr_text_content->key        = wa_Content_DBkey-KEY.
lr_text_content->TEXT       = '00000000000000000000'.


DATA lt_modify       TYPE /bobf/t_frw_modification.
DATA ls_modify       TYPE /bobf/s_frw_modification.
*--Fill Modification Structure
CLEAR ls_modify.
ls_modify-node        = ?.
ls_modify-key         = ?.
"ls_modify-root_key   = ?.
ls_modify-data        = lr_text_content.
ls_modify-source_node = ?.
ls_modify-source_key  = ?.
ls_modify-association = ?.
ls_modify-change_mode = /bobf/if_frw_c=>sc_modify_update.
ls_modify-changed_fields = lt_fields_dtl.
INSERT ls_modify INTO TABLE lt_modify.

0 REPLIES 0