Hi Experts,
We want to create one data manager package that contains both import from BW with UI and copy opening. We ran into some issues. Maybe you can help:
We created a new process chain that contains both tasks, and created a new DM package that has both scripts. Users only want to enter parameters such as entity and time one time for both tasks...
When I commented out the Copy opening prompts, relying on the prompts from the Import from BW, I receive an error. The message:
Task name LOAD
INFOPROVIDER:
Replace and Clear Submit
count: 1114
Replace and Clear Reject
count: 0
Aggregate count: 376
Submit count: 312
Reject count: 0
Invalidate
selection condition
I believe it's because we have the %SELECTION% recorded twice in the script (thinking that we will take the variables from the import and continue to use for the Copy opening).
Also thought to switch around the prompts, hard coding the cube name, and using a dimension selection screen like Copy Opening.
Any ideas for executing this would be really helpful. Below please find the standard scripts for
import and Copy Opening.
Thank you.
Eyal Feiler
'DEBUG(ON)
PROMPT(INFOPROVIDERSELECTION,%InforProvide%,%SELECTION%,"Please select the InfoProvider
and set selection (InfoProvider list is restricted by both
BW and BPC authority)",,)
PROMPT(KEYDATE,%KEYDATE%,"Key date",0)
INFO(%TEMPNO1%,%INCREASENO%)
INFO(%ACTNO%,%INCREASENO%)
TASK(/CPMB/INFOPROVIDER_CONVERT,OUTPUTNO,%TEMPNO1%)
TASK(/CPMB/INFOPROVIDER_CONVERT,ACT_FILE_NO,%ACTNO%)
INFO(%MAI_TRFILE%,\ROOT\WEBFOLDERS\MAI_CONSO\Consolidation\DATAMANAGER\TRANSFORMATIONFILES\EXAMPLES\MA\T_FILE_BW_IPROVIDER.XLS)
TASK(/CPMB/INFOPROVIDER_CONVERT,TRANSFORMATIONFILEPATH , %MAI_TRFILE%)
TASK(/CPMB/INFOPROVIDER_CONVERT,SUSER,%USER%)
TASK(/CPMB/INFOPROVIDER_CONVERT,SAPPSET,%APPSET%)
TASK(/CPMB/INFOPROVIDER_CONVERT,SAPP,%APP%)
TASK(/CPMB/INFOPROVIDER_CONVERT,FILE,%InforProvide%)
TASK(/CPMB/INFOPROVIDER_CONVERT,INFOPROV_SELECTION,%SELECTION%)
TASK(/CPMB/INFOPROVIDER_CONVERT,KEYDATE,%KEYDATE%)
TASK(/CPMB/LOAD_IP,PREPROCESSMODE,0)
TASK(/CPMB/LOAD_IP,TARGETMODE,2)
TASK(/CPMB/LOAD_IP,INPUTNO,%TEMPNO1%)
TASK(/CPMB/LOAD_IP,ACT_FILE_NO,%ACTNO%)
TASK(/CPMB/LOAD_IP,RUNLOGIC,1)
TASK(/CPMB/LOAD_IP,CHECKLCK,1)
TASK(/CPMB/LOAD_IP,KEYDATE,%KEYDATE%)
'supress
prompts for work status default script and replace - default as yes and yes
replace. Default transformation file
path
Copy opening
PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%,%CATEGORY_DIM%,%CURRENCY_DIM%,%TIME_DIM%")
TASK(/CPMB/OPENING_BALANCES_LOGIC,SUSER,%USER%)
TASK(/CPMB/OPENING_BALANCES_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/OPENING_BALANCES_LOGIC,SAPP,%APP%)
TASK(/CPMB/OPENING_BALANCES_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/OPENING_BALANCES_LOGIC,LOGICFILENAME,COPY_OPENING.LGF)