cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Dear experts,

While execution NWBC tcode, I am trying to read the fields BU_TYPE and BU_GROUP from the buffer in the MDG System, but they keep comming empty. This is what I am currently doing in the code:

CONSTANTS: lc_bp_central TYPE USMD_ENTITY VALUE 'BP_CENTRL'.


data(lr_delta_buffer) = cl_usmd_delta_buffer=>get_instance( ).

lr_delta_buffer->read_data( EXPORTING i_entity = lc_bp_central i_struct = if_usmd_model_ext=>gc_struct_key_attr
IMPORTING er_t_data_ins = data(lr_t_ins_bp_ctrl)
er_t_data_upd = data(lr_t_upd_bp_ctrl)
er_t_data_del = data(lr_t_del_bp_ctrl)
er_t_data_mod = data(lr_t_mod_bp_ctrl)
er_t_data_old = data(lr_t_old_bp_ctrl) ).

Am I too far from the correct answer? 😉

Thank you in advance!

Alm

0 Likes
View Entire Topic
Former Member
0 Likes

The NWBC tcode is to launch all the MDG roles you have which in turn launches all the MDG access like Material, Customer, Supplier, Business Partner and FI views. Can you please share what exact steps are you performing and what is the exact use-case?

flvia_s
Participant
0 Likes

Dear Partha,

Thank you very much for your message.
In this case we are creating a new Organization BP, trying to read the data through BADI USMD_RULE_SERVICE.

BR,
Alm