Hi - Am currently working on to get Target Values from Multiple dimensions , similar to COPYINPUT command .
However, the DM Package failed with message ''More than one dimension in selection condition'
Here is my advanced Script.
PROMPT(SELECT,%SELECTION%,,"Selection 1,2,3","%CATEGORY_DIM%,%TIME_DIM%,SHOW") PROMPT(SELECTINPUT,%T_CAT%,%T_TIME%,%T_SHOW%,"%CATEGORY_DIM%,%TIME_DIM%,SHOW,") INFO(%EQU%,=) INFO(%TAB%,;) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,TAB,%TAB%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%) *TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,MEMBERSELECTION,T_CAT%EQU%%T_CAT%%TAB%T_TIME%EQU%%T_TIME%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,MEMBERSELECTION,T_CAT%EQU%%T_CAT%%TAB%T_TIME%EQU%%T_TIME%%TAB%T_SHOW%EQU%%T_SHOW%) TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,ZZTEST.LGF)
Please let me know, how to fix this and any other alternative solution.
Thanks Vadim. Will try and let you know.
Regards
Srini
Nothing to test, it's just a standard syntax of SELECTINPUT:
PROMPT(SELECTINPUT,%T_CAT%,,"Enter CATEGORY","%CATEGORY_DIM%") PROMPT(SELECTINPUT,%T_TIME%,,"Enter TIME","%TIME_DIM%") PROMPT(SELECTINPUT,%T_SHOW%,,"Enter SHOW","SHOW")
Hi Vadim - Have tried and is not allowing <all> values and getting message - Select Fewer members for at least one dimension
Yes, it's by design - ALL is not supported for single dimension prompt.
What do you want to achieve? What is your script doing?
Hi Vadim - Thanks for the update. We are trying to have 'Custom' Copy Script using BAdI . So, we need to get the target values (TOSELECTION) as in COPYMOVE -command.
Please let me know , any other alternative solution.
Thanks in advance,
Srini
For sure this syntax is not supported:
PROMPT(SELECTINPUT,%T_CAT%,%T_TIME%,%T_SHOW%,"%CATEGORY_DIM%,%TIME_DIM%,SHOW,")
You need 3 prompts - one prompt for each variable!
Please read help!
If you are talking about badi (strange idea to copy using badi...) then you can use:
PROMPT(COPYMOVEINPUT, %SOURCE%, %TARGET%, [label], [dimensions], [default members])
You can pass SOURCE and TARGET "as is" using REPLACEPARAM and then you can parse variables inside badi
Thanks Vadim . It works
Srini
Then please accept the answer and close the question.