on 2016 Jun 21 9:55 AM
Hi Gurus,
We are using clear package to clear data from BPC model and while running the clear package we are getting the value for all dimensions as <all> in the prompt screen.
We want to avoid this as some users are missing this and are running the package and deleting the values which they do not intend to delete. Is it possible to change the vale to blank or any value like <none>.
Regards,
Raghu.
Request clarification before answering.
It's not possible to change the default value to some fixed value or empty.
You can remove some dimensions from screen at all and fix value in the advanced script.
You can add last parameter to selectinput prompt to get defaults from current context (not sure it's useful in this case).
You can write you own vba code that will launch dm with you restrictions
You can even modify original EPM net code
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you implement clear using script logic, like:
*XDIM_MEMBERSET SOMEDIM1=$SOMEDIM1VAR$
*XDIM_MEMBERSET SOMEDIM2=$SOMEDIM2VAR$
*XDIM_MEMBERSET SOMEDIM3=$SOMEDIM3VAR$
*WHEN SOMEDIM1
*IS *
*REC(EXPRESSION=0)
*ENDWHEN
Then in DM advanced script you can create individual prompts for each dimension that is not allowed to have <all>. Prompts will be shown on separate page each one.
PROMPT(SELECTINPUT,%SOMEDIM1VAR%,,"Select DIM1","SOMEDIM1")
PROMPT(SELECTINPUT,%SOMEDIM2VAR%,,"Select DIM2","SOMEDIM2")
PROMPT(SELECTINPUT,%SOMEDIM3VAR%,,"Select DIM3","SOMEDIM3")
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,MEMBERSELECTION,SOMEDIM1VAR%EQU%%SOMEDIM1VAR%%TAB%SOMEDIM2VAR%EQU%%SOMEDIM2VAR%%TAB%SOMEDIM3VAR%EQU%%SOMEDIM3VAR%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,YOURSCRIPTNAME.LGF)
| User | Count |
|---|---|
| 41 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.