Skip to Content
0
May 12, 2016 at 10:05 AM

Change the Tax Code in Tcode - MIRO

638 Views

Hi All,

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,

Kind Regards,

Venkat

Attachments

Tax Code_MIRO.png (47.1 kB)