同一包中的两个SELECTINPUT

2020-09-26 15:10发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)专家们, 我正在尝试在同一软件...

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

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


专家们,

我正在尝试在同一软件包中使用两个PROMPT(SELECTINPUT),但这返回了一般错误-参见图片。

当我仅使用一个SELECTINPUT时,一切正常,但无法同时使用两者。 下面是我正在编写的脚本:

PROMPT(SELECTINPUT ,,," anyText","%TIME_DIM%" ,, 1)

PROMPT(SELECTINPUT ,,," anyText","%CATEGORY_DIM%" ,, 1)

INFO(%EQU%,=)

INFO(%TAB%,;)

任务(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)任务(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)任务(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)任务 ,%SELECTION%)TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,ATINGIR_META.LGF)

我将不胜感激!

Tks

capture.jpg (33.2 kB)
6条回答
渐行渐远_HoldOn
2020-09-26 15:42

我已经实现了 它这样做:

PROMPT(MESSAGE,ANY_MESSAGE," PROPERTY_01","","","","")

PROMPT(SELECT,%VAR1%,," ANY_TEXT"," DIMENSION" ,, 1)

PROMPT(SELECTINPUT ,,," ANY_TEXT","%TIME_DIM%,%CATEGORY_DIM%,%ENTITY_DIM%" ,, 1)

PROMPT(COMBOBOX,%VARIABLE2%," ANY_TEXT",0 ,, {" JAN"," FEV"," MAR"," ABR"," MAI"," JUN"," JUL"," AGO" ," SET"," OUT"," NOV"," DEZ"})

PROMPT(COMBOBOX,%VARIABLE3%," ANY_TEXT",0 ,, {" [AT_001]-OPTION1,[AT_002]-OPTION2,[AT_003]-OPTION3"})

PROMPT(TEXT,%VARIABLE4%,Valor,"%ANY_TEXT",)

PROMPT(COMBOBOX,%VARIABLE5%," ANY_TEXT"},)

INFO(%EQU%,=)INFO(%TAB%,;)任务(/CPMB/DEFAULT_FORMULAS_LOGIC,TAB,%TAB%)

任务(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%)

任务(/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,MEMBERSELECTION,SOURCE%EQU %% VAR1%)

任务(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,VARIABLE2%EQU %% VARIABLE2 %% TAB%VARIABLE3%EQU %% VARIABLE3 %% TAB%VARIABLE4%EQU %% VARIABLE4 %% TAB%VARIABLE5%EQU %% VARI5%

任务(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,LOGIC_FILELGF)

因此,在脚本逻辑中,我能够使用以下变量:%TIME_SET%,%CATEGORY_SET%(第一屏)和$ SOURCE $(第二屏

屏幕)。

为您提供帮助

一周热门 更多>