Skip to Content
0
Former Member
Apr 02, 2014 at 12:12 PM

BADI MRM_WT_SPLIT_UPDATE fail

116 Views

Hi guys.

I tryed use this BADI but it not work... I saw the notes:

http://service.sap.com/sap/support/notes/1286713

and

http://service.sap.com/sap/support/notes/1156325

but they cant help me too.

My problem is: I need to change the first "tax code" like below:

for that, I insert the code in BADI MRM_WT_SPLIT_UPDATE.

DATA: ls_rbws TYPE LINE OF mrm_tab_rbws.
te_rbvs[] = i_rbkpv-h_rbvs[].
te_rbws[] = i_rbkpv-h_rbws[].

LOOP AT te_rbws INTO ls_rbws.
ls_rbws-wt_withcd = 'I2'.
MODIFY te_rbws FROM ls_rbws.
EXIT. "change only first item
ENDLOOP.

after pass this BADI, the tax not change.

Please.. anyone can Help me?

Attachments