Hi Experts,
Can anybody explain me the procedure to Update Taxcode in Item Level at ME21N transaction using BADI.
I'm using the BADI "ME_PO_PRICING_CUST" .But was unable to update the same.Is there any other BADI to do the same??
Here i used the code in BADI as below:
data: w_zsrm_taxcode type zsrm_taxcode.
if im_ekko-bsart = 'EC' and im_ekpo_matnr is initial.
select single tax_code from zsrm_taxcode
into w_zsrm_taxcode
where plant = imekpo-werks
and material_group = im_ekpo-matkl.
if sy-subrc = 0.
ch_komk-mwskz = w_zsrm_taxcode-tax_code.
endif.
endif.
Please do the need full.
Thanks in advance.