Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using BADI (MRM_WT_SPLIT_UPDATE) in MIRO

In some cases i will use the BADI (MRM_WT_SPLIT_UPDATE) to clear the table of Withholding Tax in miro

I want to clear the table of Withholding Tax, look my font:

METHOD if_ex_mrm_wt_split_update~whtax_split_update.

DATA: wa_rbws TYPE rbws,

wa_rbvs TYPE rbvs.

te_rbws[ ] = i_rbkpv-h_rbws[ ].

te_rbvs[ ] = i_rbkpv-h_rbvs[ ].

LOOP AT i_rbkpv-h_rbws INTO wa_rbws.

CLEAR wa_rbws.

MODIFY te_rbws FROM wa_rbws INDEX sy-tabix.

ENDLOOP.

LOOP AT i_rbkpv-h_rbvs INTO wa_rbvs.

CLEAR wa_rbvs.

MODIFY te_rbvs FROM wa_rbvs INDEX sy-tabix.

ENDLOOP.

ENDMETHOD.

But does not work.

Please help me.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question