点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
嗨,
我们正在使用BPC MS 10.1和SP 28
我在更改代码以将储量变动复制到基于时间维度的属性的预测月份时遇到问题。
有效的代码,但是在
时需要更改业务部门
公司购买了新的业务,然后我们需要复制代码并为其添加新成员:
* XDIM_MEMBERSET ACCOUNT = B1102700
* XDIM_MEMBERSET TIME =%TIME_SET%
* XDIM_MEMBERSET DATASRC = <全部>
* XDIM_FILTER DATASRC = [DATASRC] .PROPERTIES(" COPYACT")=" BUSUB"
* XDIM_ADDMEMBERSET BUSINESSUNIT = WLAUS,FLTWK,CCWG,JWA,UNW
* XDIM_MEMBERSET CATEGORY =%CATEGORY_SET%
* XDIM_ADDMEMBERSET CATEGORY = ACTUAL
* XDIM_MEMBERSET DIVISION = <全部>
* XDIM_MEMBERSET FLOW = <全部>
* XDIM_MEMBERSET RPTCURRENCY =
* RUNALLOCATION
* NAME CCWGRPMOVT
* FACTOR =
* DIM帐户WHAT = B1102700; WHERE = <<<
* DIM BUSINESSUNIT WHAT = CCWG,FLTWK,JWA,UNW,WLAUS; WHERE = CCWG
* DIM CATEGORY WHAT = ACTUAL; WHERE =%CATEGORY_SET%
* DIM DATASRC WHAT = [COPYACT] =" BUSUB"; WHERE = BUSUB
* DIM TIME WHAT =%TIME_SET%; WHERE = [MOVESALES] =" Y"
* DIM RPTCURRENCY WHAT = LC,USD; WHERE = <<<
* DIM FLOW WHAT = RESMVT; WHERE = <<<
* ENDALLOCATION
* COMMIT
我将其更改为以下代码,但问题是它无法根据属性识别时间维度成员:
* XDIM_MEMBERSET ACCOUNT = B1102700
* XDIM_MEMBERSET TIME =%TIME_SET%
* XDIM_MEMBERSET DATASRC = <全部>
* XDIM_FILTER DATASRC = [DATASRC] .PROPERTIES(" COPYACT")=" BUSUB"
* XDIM_MEMBERSET CATEGORY = ACTUAL
* XDIM_MEMBERSET DIVISION = <全部>
* XDIM_MEMBERSET FLOW = RESMVT
* XDIM_MEMBERSET RPTCURRENCY =
* SELECT(%MEMSUM%," [ID]",BUSINESSUNIT," [SUMTARGET] <>''")
* XDIM_MEMBERSET BUSINESSUNIT =%MEMSUM%
*当商务单位出现时
* IS *
* REC(EXPRESSION =%VALUE%,BUSINESSUNIT = BUSINESSUNIT.SUMTARGET,CATEGORY =%CATEGORY_SET%,DATASRC = BUSUB,FLOW = RESMVT,TIME = TIME.MOVESALES)
* ENDWHEN
* COMMIT
您能帮我吗?
谢谢
嗨,瓦迪姆,
在时间维度中,我们有一个称为MOVESALES的属性,当我们要将实际值复制到预测中时会对其进行标记。
例如,如果我们将MOVESALES标记为2019.AUG,2019.SEP和2019.OCT的Y。
在运行软件包时,如果我们选择2019.JAN,2019.FEB,2019.MAR,则选择2019.JAN数据应发布到2019.AUG,2019.FEB到2019.SEP和2019.MAR到2019.OCT。
下面的屏幕截图来自逻辑调试器,时间为空
谢谢
对不起,你的意思是:
"它不是根据属性来标识时间维度成员:" ??
您可以用文字解释所需的逻辑吗?
再次阅读: https ://blogs.sap.com/2014/01/31/how-to-ask-questions-about-script-logic-issues /
一周热门 更多>