cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BOPF /SCMTMS/TCC_TRNSP_CHRG Select value CHILD_TCE

former_member774342
Discoverer
0 Likes
893

Hi All,

So as you experts know that Transportation Charges is a Dependent BOPF Node in SAP Transportation Management System.

How to get the value CHILD_TCE ?

I only got the value ITCHEL_TSUM

lo_srv_mgr->retrieve_by_association( EXPORTING
iv_node_key = /scmtms/if_tor_c=>sc_node-root
it_key = CORRESPONDING #( lt_root_key MAPPING key = key )
iv_association = /scmtms/if_tor_c=>sc_association-root-transportcharges
iv_fill_data = abap_true
IMPORTING
et_data = lt_tcc
et_target_key = DATA(lt_tcc_keys)
).

/scmtms/cl_common_helper=>get_do_keys_4_rba(
exporting
iv_host_bo_key = /scmtms/if_tor_c=>sc_bo_key
iv_host_do_node_key = /scmtms/if_tor_c=>sc_node-transportcharges
iv_do_node_key = /scmtms/if_tcc_trnsp_chrg_c=>sc_node-itemchargeelement
iv_do_assoc_key = /scmtms/if_tcc_trnsp_chrg_c=>sc_association-chargeitem-itchel_tsum
importing
ev_node_key = lv_it_elem_node_key
ev_assoc_key = lv_it_elem_assoc_key ).

lo_srv_mgr->retrieve_by_association(
exporting
iv_node_key = /scmtms/if_tor_c=>sc_node-transportcharges
it_key = lt_tcc_keys
iv_association = lv_chrg_it_assoc_key
iv_fill_data = abap_true
iv_edit_mode = /bobf/if_conf_c=>sc_edit_read_only
importing
et_data = lt_crg_itm_data
et_target_key = lt_crg_itm_key ).

Accepted Solutions (0)

Answers (0)