Skip to Content
0

DM Package Error - 'More than one dimension in selection condition' - MEMBERSELECTION

Jan 19 at 05:54 PM

87

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Srinivasasubbu Balasubramanian Jan 19 at 07:16 PM
0

Thanks Vadim. Will try and let you know.

Regards

Srini

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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")
0
Srinivasasubbu Balasubramanian Jan 19 at 07:39 PM
0

Hi Vadim - Have tried and is not allowing <all> values and getting message - Select Fewer members for at least one dimension


epmerror.jpg (35.1 kB)
Show 2 Share
10 |10000 characters needed characters left characters exceeded

Yes, it's by design - ALL is not supported for single dimension prompt.

What do you want to achieve? What is your script doing?

0

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

0
Vadim Kalinin Jan 19 at 06:29 PM
0

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!

https://help.sap.com/viewer/ec68e48b18a44a49abb12b8ee8ae306f/10.0.30/en-US/f9c652116faf1014878bae8cb0e91070.html

Share
10 |10000 characters needed characters left characters exceeded
Vadim Kalinin Jan 19 at 08:58 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Srinivasasubbu Balasubramanian Jan 19 at 10:11 PM
0

Thanks Vadim . It works

Srini

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Then please accept the answer and close the question.

0