Hello Experts,
I have written a script logic which copies certain central Premise from a specific combinations to all the cost Centers. When I run the script it terminates with a dump:
Category ABAP Programming Error
Runtime Errors ITAB_DUPLICATE_KEY
ABAP Program CL_UJK_CALC_ENGINE============CP
Application Component EPM-BPC-NW-ADM-LF
Script:
*XDIM_MEMBERSET PERIOD = %PERIOD_SET%
*XDIM_MEMBERSET VERSION = %VERSION_SET%
*XDIM_MEMBERSET ACCOUNT = HC_RATE_INCREASE
*XDIM_MEMBERSET FLOW = F_NONE
*XDIM_MEMBERSET CURRENCY = LC
*XDIM_MEMBERSET AUDIT_TRAIL = CC_PLAN_INPUT
*LOOKUP CC_PLANNING
*DIM M:COST_CENTER=CC_NONE
*DIM M:COMPANY_CODE=COMPANY_NONE
*DIM M:SEGMENT=SEG_NONE
*DIM M:PROFIT_CENTER=PC_NONE
*DIM M:FUNCTIONAL_AREA=FA_NONE
*DIM M:INTERNAL_ORDER=IO_NONE
*DIM M:PARTNER_CC=PCC_NONE
*ENDLOOKUP
*WHEN COST_CENTER
*IS <> CC_NONE
*REC(EXPRESSION=1*LOOKUP(M),COMPANY_CODE=COST_CENTER.COMP_CODE, SEGMENT=COST_CENTER.SEGMENT, PROFIT_CENTER=COST_CENTER.PROFIT_CENTER, FUNCTIONAL_AREA=COST_CENTER.FUNCTIONAL_AREA)
*ENDWHEN
Can you pls suggest what is wrong in the script.
Regards,