04-03-2008 6:31 AM
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.
04-03-2008 6:37 AM
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.
04-03-2008 6:58 AM
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
04-03-2008 7:37 AM
Hi,
Welcome To SDN!!
Make use the BADI INVOICE_UPDATE.
Regards
Kiran Sure