Skip to Content

BOPF : modify DO

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


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.

a11.png (51.5 kB)
a22.png (5.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.