I'm implementing the BADI if_ex_me_process_po_cust~process_header to change the PO header when saving in ME21N.
The method im_header->set_data( re_data ) was not working and I fixed it by adding these lines
data :cl_po_header_handle_mm type ref to cl_po_header_handle_mm.
cl_po_header_handle_mm ?= im_header.
cl_po_header_handle_mm->my_ibs_firewall_on = 'X'.
cl_po_header_handle_mm->my_cust_firewall_on = ''.
Can someone tell me if what I've done is okay / are there any risks?