Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect vendor line splitting using BADI MRM_WT_SPLIT_UPDATE. BADI.

Former Member
0 Kudos

Hi, gurus !

Custom MIRO vendor line item splitting implemented throw BADI MRM_WT_SPLIT_UPDATE. BADI is active and called.

At transaction MIRO we try to imitate invoice posting. I see, that at badi method te_rbvs table is updated correctly. At invoice posting imitation screen incorrect amounts for vendor splitted lines appear.

At badi call start

I_RBKPV-H_RBVS

1 0000 000001 963.99

TE_RBVS[]

Initial

TI_DRSEG

1 ST 8000 607.02

2 ST 8000 172.64

3 ST 8000 49.18

4 ST 8000 16.02

5 ST 8000 119.13

At badi call end

I_RBKPV-H_RBVS

1 0000 000001 963.99

TE_RBVS[]

1 0000 000001 607.02

2 0000 000007 172.64

3 0000 000008 49.18

4 0000 000009 16.02

5 0000 000010 119.13

At imitation screen items appear as follows:

1 K C 607,02- LTL

2 S G 607,02 LTL

3 S G 172,64 LTL

4 S G 49,18 LTL

5 S G 16,02 LTL

6 S G 119,13 LTL

7 K C 607,02- LTL

8 K C 607,02- LTL

9 K C 607,02- LTL

10 K C 1.464,09 LTL

7-10 lines are incorrect.

Thanks in advance.

Edited by: Gabtia on Aug 7, 2009 4:00 PM

1 REPLY 1

Former Member
0 Kudos

Had anyone used BADI MRM_WT_SPLIT_UPDATE succesfuly ?