Hi Vadim,
Thank you for your reply. Here is the Runlogic script and Calculation script.
Runloigc Script
*START_BADI RUNLOGIC_PH
QUERY = ON
WRITE = ON
VALIDATION = OFF
DEBUG = OFF
LOGIC = UOM_DEFAULT.LGF
APPSET = ABC
APP = DIR_PROFIT
DIMENSION TIME = %TIME_SET%
CHANGED = TIME
*END_BADI
Calculation Script
*XDIM_MEMBERSET AUDITTRAIL=BAS(FSP_ADJUSTED),INPUT
*XDIM_MEMBERSET RPTCURRENCY=BAS(USD)
*XDIM_MEMBERSET TIME=%TIME_SET%
*XDIM_MEMBERSET RPTCURRENCY AS %RPTCURRENCY%=BAS(USD)
*XDIM_MEMBERSET AUDITTRAIL AS %AUDITTRAIL5%=BAS(FSP_ADJUSTED)
*START_BADI ZBPC_DIR_PR_CALC_UOM
QUERY = ON
WRITE = ON
RATE_INP_AUDITTRAIL=INPUT
VOL_INP_AUDITTRAIL=%AUDITTRAIL5%
USD=%RPTCURRENCY%
LV_LC=LC
*END_BADI