I need to change the tax code in the MIRO screen(Please see the attached image). I have created an implementation for the BADI 'MRM_HEADER_CHECK'. I programmed as below to change the tax code.
Note: I will change the tax code depending upon the custom values which we get, I just used VN for the test purpose.
method IF_EX_MRM_HEADER_CHECK~HEADERDATA_CHECK. FIELD-SYMBOLS <ls_drseg> LIKE LINE OF ti_drseg. LOOP AT ti_drseg ASSIGNING <ls_drseg>. <ls_drseg>-mwskz = 'VN'. ENDLOOP. endmethod.
But the tax code value is not changing. Is there any way to change the tax code? Please let me know.
Thanks in advance,