Hi Bathineni,
No need for BADI, this values are calculates automatically by the BAPI.
In the Currency table you just have to pass CURR_TY = 00 document currency and CURR_TY = 40 strong currency with their amount for each record.
For example:
gs_currencyamount-currency = gs_bkpf-waers.
gs_currencyamount-curr_type = '00'.
gs_currencyamount-amt_doccur = gs_bseg-wrbtr.
gs_currencyamount-amt_base = gs_bseg-wrbtr.
APPEND gs_currencyamount TO gt_currencyamount.
gs_currencyamount-currency = gs_bkpf-hwae2.
gs_currencyamount-curr_type = '40'.
gs_currencyamount-amt_doccur = gs_bseg-dmbe2.
gs_currencyamount-amt_base = gs_bseg-dmbe2.
APPEND gs_currencyamount TO gt_currencyamount.
Kind Regards,
César