我正面临问题RUNLOGIC_PH拆分时间段

2020-09-10 09:11发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)大家好, 我也在RUNLOGI...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


大家好,

我也在RUNLOGIC_PH代码中遇到问题。

我正在尝试运行分配脚本12或18个月,这花费了更多时间。 然后我们计划运行RUNLOGIC_PH,其中时间选择将拆分以并行执行。

我在博客下面尝试这样做。

查看一行。.4.3.4运行调用脚本(RUNLOGIC_PH)

http://a248.g.akamai.net/n/248/420835/ee59edcf1448740ecb046a544ab13c4c2992c1441f6ff9ac092fb9ff29d3c58a/sapasset.download.akamai.com/420/s 08/de470383-547c-0010-82c7-eda71af511fa.pdf

我在尝试调用逻辑RUNLOGIC_PH。它正在中止。 您能帮我吗,我该如何分割并行执行的时间段。 下面的RUNLOGIC_PH代码是正确的。

 * XDIM_MEMBERSET CATEGORY =%CATEGORY_SET%
 * XDIM_MEMBERSET TIME =%TIME_SET%
 * XDIM_MEMBERSET PROFITCENTER = $ PROFITCENTER_SELECTION $
 * XDIM_MEMBERSET COSTCENTER = $ COSTCENTER_SELECTION $
 * XDIM_MEMBERSET ENTITY =%ENTITY_SET%
 * XDIM_MEMBERSET流量= CL_05
 * XDIM_MEMBERSET范围= G_NONE
 * XDIM_MEMBERSET RPTCURRENCY = LC
 * START_BADI RUNLOGIC_PH
 查询=关闭
 写=开
 验证=关
 逻辑= T1.LGF
 APP = FLASH_RFC_DIV
 DIMENSION TIME =%TIME_SET%
 更改=时间
 * END_BADI
 

我要从数据管理器软件包中进行选择,因为如果我选择4个月,则我的逻辑应该划分时间段。应该并行运行4个月。

 PARALLEL_EXECUTION(打开)
 提示(SELECTINPUT,"%CATEGORY_DIM%,%ENTITY_DIM%,%TIME_DIM%")
 PROMPT(SELECT,%COSTCENTER_SELECTION%,"选择COSTCENTER"," COSTCENTER")
 PROMPT(SELECT,%PROFITCENTER_SELECTION%,"选择PROFITCENTERS"," PROFITCENTER")
 PROMPT(TEXT,%PRFCT%,"输入利润中心组")

 INFO(%EQU%,=)
 INFO(%TAB%,;)

 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%)
 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,TAB,%TAB%)
 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)
 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,TEST.LGF)
 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,GLACCOUNT%EQU %% GLACCOUNT %% TAB%PRFCT%EQU %% PRFCT %% TAB%ALLOC_BASE%EQU %% ALLOC_BASE%)
 任务(/CPMB/DEFAULT_FORMULAS_LOGIC,MEMBERSELECTION,COSTCENTER_SELECTION%EQU %% COSTCENTER_SELECTION %% TAB%PROFITCENTER_SELECTION%EQU %% PROFITCENTER_SELECTION%)


 

***************

当我在逻辑下运行时,当用户选择时间数据管理器程序包需要12或18个月的时间时,执行逻辑将花费更多时间。

FLASH_RFC_DIV模型:T1.LGF(称为代码)

 * XDIM_MEMBERSET CATEGORY =%CATEGORY_SET%
 * XDIM_MEMBERSET TIME =%TIME_SET%
 * XDIM_MEMBERSET PROFITCENTER = $ PROFITCENTER_SELECTION $
 * XDIM_MEMBERSET COSTCENTER = $ COSTCENTER_SELECTION $
 * XDIM_MEMBERSET ENTITY =%ENTITY_SET%
 * XDIM_MEMBERSET流量= CL_05
 * XDIM_MEMBERSET范围= G_NONE
 * XDIM_MEMBERSET RPTCURRENCY = LC
 * SELECT(%PREV%,PREV_CATEGORY,CATEGORY,ID =%CATEGORY_SET%)* SELECT(%YR%,NEXTYEAR,CATEGORY,ID =%CATEGORY_SET%)
 * SELECT(%CY%,YEAR,CATEGORY,ID =%CATEGORY_SET%)
 * SELECT(%RFCMNTH%,STARTMNTH,CATEGORY,ID =%CATEGORY_SET%)* SELECT(%TIMYR%," [TIMEID]",TIME," [TIMEID]> =%YR%0100并且[TIMEID] <=%YR  %1200")
 * SELECT(%TIMN%," [TIMEID]",TIME," [TIMEID] <>%TIMYR%AND [ID] =%TIME_SET%'")* SELECT(%MNTHSCYM%," [ID]",TIME,  " [TIMEID]> =%CY %% RFCMNTH%AND [TIMEID] =%TIMN%'")

 *对于%GLSET%= ALMAPAYROLL
 *对于%TIM%=%MNTHSCYM%
 *分配
 *因素=使用/总计
 * DIM COSTCENTER WHAT = ALMANONE; WHERE = $ COSTCENTER_SELECTION $,ALMANONE;使用= <<<; 总计= <<<
 * DIM帐户WHAT = ALMANONE;  ALMA; 使用= <<<; 总计= <<<
 *分配
 *下一个
 *下一个