Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

EPM Customize Data Manager Package /CPMB/COPY

Hi,

I would like to use a customized /CPMB/COPY Data Package within my BPC application.

All the information I've found so far explained that I've to place a variable after the "TASK(/CPMB/CM_CONVERT,SELECTION,%SELECTION%" since I can't change the %SELECTION% variable because it contains some other string for the correct selection. I've tried many different scenarios but the attached string is not taken into account within my selection. I've checked the the behavoir with the debugger and my string doesn't even appear .... has there been a major change to the concept of Data Packages?

Thankful for any hint!

CPMBPC 810 SP7

PROMPT(RADIOBUTTON,%TARGETMODE%,"Handling of records",0,{"Copy records with match key","Copy by replacing data in same data region of Entity, Category, Time and Audit ID"},{"0","2"})

PROMPT(RADIOBUTTON,%RUNLOGIC%,"Select whether to run default logic for stored values after copying",0,{"Yes","No"},{"1","0"})

PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})

PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Select the members to COPY and where to",%DIMS%,0)

INFO(%TEMPNO1%,%INCREASENO%)

INFO(%ACTNO%,%INCREASENO%)

INFO(%SELECTION_KEYDATE%,)

TASK(/CPMB/CM_CONVERT,OUTPUTNO,%TEMPNO1%)

TASK(/CPMB/CM_CONVERT,ACT_FILE_NO,%ACTNO%)

TASK(/CPMB/CM_CONVERT,SAPPSET,%APPSET%)

TASK(/CPMB/CM_CONVERT,SAPP,%APP%)

TASK(/CPMB/CM_CONVERT,SELECTION,%SELECTION%|DIMENSION:VERSION|ACTUAL|)

TASK(/CPMB/CM_CONVERT,TOSELECTION,%TOSELECTION%|DIMENSION:VERSION|PLAN|)

TASK(/CPMB/CM_CONVERT,KEYDATE,%SELECTION_KEYDATE%)

TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,%CHECKLCK%)

TASK(/CPMB/CLEAR_SOURCE_CUBE,SELECTION,%TOSELECTION%|DIMENSION:VERSION|PLAN|)

TASK(/CPMB/CLEAR_SOURCE_CUBE,KEYDATE,%SELECTION_KEYDATE%)

TASK(/CPMB/CLEAR_SOURCE_CUBE,DUMPLOADMODE,3)

TASK(/CPMB/APPEND_LOAD,PREPROCESSMODE,0)

TASK(/CPMB/APPEND_LOAD,TARGETMODE,%TARGETMODE%)

TASK(/CPMB/APPEND_LOAD,INPUTNO,%TEMPNO1%)

TASK(/CPMB/APPEND_LOAD,ACT_FILE_NO,%ACTNO%)

TASK(/CPMB/APPEND_LOAD,RUNLOGIC,%RUNLOGIC%)

TASK(/CPMB/APPEND_LOAD,CHECKLCK,%CHECKLCK%)

TASK(/CPMB/APPEND_LOAD,KEYDATE,%SELECTION_KEYDATE%)

Tags:
Former Member
replied

Then (Look on |DIMENSION):

INFO(%SOURCE%,|DIMENSION:CATEGORY|Actual|)

INFO(%TARGET%,|DIMENSION:CATEGORY|Plan|)

"Even is the selection is wrong I should see the attached string during debugging, don't I?" - no, as I already told you in the log you see contents of %SELECTION% variable without CATEGORY suffix!

Test copy results!

Vadim

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question