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: 

Need BADI for MIRO...!!!

Former Member
0 Kudos

Hi,

I need to implement a change while executing MIRO.

I want to deduct the retention amount from the total invoice value and post the deducted amount to a different G/L account.

I also need the retention amount to be stored.

Something like this...

Once I put the Invoice amount, a pop up screen will ask for the retention amount, say X%. After that a background calculation will be performed where the retention amount will be deducted from the invoice amount. This deducted amount should be posted to a different G/L account and the retention amount will be held somewhere.

Kindly suggest any BADI to implement this. Will AC_DOCUMENT badi work in this scenario?

Please suggest. Its urgent!!

Regards,

Panchali.

3 REPLIES 3

Former Member
0 Kudos

Hi Panchali,

Display the code of the function module SXV_GET_CLIF_BY_NAME in SE37 and set a session breakpoint in the statement "CALL FUNCTION 'SXV_ADD_PREFIX'".

Then, go to a new session and run transaction MIRO.

When ever MIRO passes through a BADI, it will stop on this function module and the NAME parameters of the SXV_GET_CLIF_BY_NAME function module will contain the BADIs name.

Kindly Reward Points If You Found The Reply Helpful,

Cheers,

Chaitanya.

Former Member
0 Kudos

Hi,

You can try to use any of the following BADIs

BADI_FDCB_SUBBAS01

BADI_FDCB_SUBBAS02

BADI_FDCB_SUBBAS03

BADI_FDCB_SUBBAS04

BADI_FDCB_SUBBAS05

You can use the above tcode MIRO.

Regards,

Suma

Former Member
0 Kudos

Hi,

Welcome To SDN!!

Make use the BADI INVOICE_UPDATE.

Regards

Kiran Sure