Hi everyone,
I am trying to give out a message in the BAdI /SCMTMS/TCC_ENGINE where I implemented the method process_calculation_sheets. I use the following code which does not produce any errors but also does not print a message to the log with the nwbc.
DATA: | ||
lv_temp | TYPE string, | |
eo_message | TYPE REF TO /bobf/if_frw_message. |
IF eo_message IS NOT BOUND. |
CALL METHOD /bobf/cl_frw_factory=>get_message |
RECEIVING |
eo_message = eo_message. |
ENDIF. |
MESSAGE e000(zmsg_tcc_engine) INTO lv_temp. |
CALL METHOD /scmtms/cl_common_helper=>msg_helper_add_symsg( |
EXPORTING |
iv_key = /scmtms/if_tor_c=>sc_bo_key |
iv_node_key = /scmtms/if_tor_c=>sc_node-root |
CHANGING |
co_message = eo_message ). |
Is there something I am missing?
Thanks,
Christian