Customised standard copy package

Hi,
I've followed the HTG (http://scn.sap.com/docs/DOC-34892#comment-503686) to create a custom package. The idea is to select a category and entity (one each), a source and a target period and have certain other dimension members hardcoded.
My model has these dimensions:
ACCOUNT, ACCTDETAIL, CATEGORY, CONSOSCOPE, CURRENCY, ICDATASRC, ICRENTITY, ICRINTCO and TIME.
The custom package code is:
PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Select the source and target time period","%TIME_DIM%")
PROMPT(SELECTINPUT,%SELECTION2%,,"Select the category and entity","%CATEGORY_DIM%,%ENTITY_DIM%")
INFO(%SUFFIX1%,DIMENSION:ACCTDETAIL|F_CLO|)
INFO(%SUFFIX2%,DIMENSION:CURRENCY|LC|)
INFO(%SUFFIX3%,DIMENSION:CONSOSCOPE|G_NONE|)
INFO(%SUFFIX4%,DIMENSION:ICDATASRC|IC_INPUT|)
INFO(%TEMPNO1%,%INCREASENO%)
INFO(%ACTNO%,%INCREASENO%)
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%%SELECTION2%%SUFFIX1%%SUFFIX2%%SUFFIX3%%SUFFIX4%)
TASK(/CPMB/CM_CONVERT,TOSELECTION,%TOSELECTION%%SELECTION2%%SUFFIX1%%SUFFIX2%%SUFFIX3%%SUFFIX4%)
TASK(/CPMB/CM_CONVERT,CLEARDATA,%CLEARDATA%)
TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,%CHECKLCK%)
TASK(/CPMB/CLEAR_SOURCE_CUBE,SELECTION,%SELECTION%%SELECTION2%%SUFFIX1%%SUFFIX2%%SUFFIX3%%SUFFIX4%)
TASK(/CPMB/APPEND_LOAD,INPUTNO,%TEMPNO1%)
TASK(/CPMB/APPEND_LOAD,ACT_FILE_NO,%ACTNO%)
TASK(/CPMB/APPEND_LOAD,RUNLOGIC,1)
TASK(/CPMB/APPEND_LOAD,CHECKLCK,1)
TASK(/CPMB/APPEND_LOAD,CLEARDATA,0)
What I would like to copy is
CATEGORY: selected (FROM and TO the same)
ICRENTITY: selected (FROM and TO the same)
TIME: selected (FROM and TO different)
ACCTDETAIL: F_CLO
CONSOSCOPE: G_NONE
CURRENCY: LC
ICDATASRC: IC_INPUT
ACCOUNT: all
ICRINTCO: all
I have a sample period, category, entity combination for which I have data on 1 account for 1 partner unit:
650210,F_CLO,IST,G_NONE,LC,IC_INPUT,111,I_100,2012.12 - YTD (it is a YTD model): 120000
When I run the above package it does not find any values and I do not understand why not.
Thanks,
Arnold

Ok, for this particular case the issue is clear:
PROMPT(COPYMOVEINPUT,...
and
PROMPT(SELECTINPUT,...
result in the same type of text to be placed in %% variable, both starting with long prefix.
You can't merge results of COPYMOVEINPUT an SELECTINPUT because of this prefix.
If you want to restrict users to select different target category and entity you can use only fixed lists for category and entity in comboboxes.
Vadim

Similar Messages

  • Error with standard Copy package

    Hello!!
    When I run the standard copy package selecting the option "Replace & clear data values" the execution finishes with status error and I receive the next error message in the log:
    Item has already been added. Key in dictionary: '[Invalid time Member] - EN_NONE|DSP_INPUT|2004_UPA_SEPT|'  Key being added: '[Invalid time Member] - EN_NONE|DSP_INPUT|2004_UPA_SEPT|'
    If I run the package with the option "Merge" it executes OK.
    Anybody help?
    Thank you in advance
    Pedro
    Edited by: Pedro de las Heras on Aug 7, 2009 3:16 PM

    Hello,
    You probalby get this error message beacuse you have not setup the Work Status for this application. Please defined the Work Status you want to use on the appset level and then define the dimensions you want to use to control the work status on the application level. That should solve your issue.
    Regards,
    Marcel

  • Error data file is empty in standard Copy package

    Hi,
    We have an appset that consists of four applications and we can't successfully run Data Manager Copy package in one of them. It launches the following tasks: Dump, Convert (execution fails in this step with error "Data file is empty") and Load. SSIS configuration in BIDS is defined by default and we haven't set any parameter.
    We have figured out this error appears when we select any member of a dimension in "COPYMOVEINPUT" prompt except for Time dimension. Previously there was a custom Copy package based on standard BPC and it only filters by Time dimension. Perhaps this error is related to application configuration to run custom package.
    We show code:
    INFO(%TEMPFILE1%,%TEMPPATH%%RANDOMFILE%)
    INFO(%TEMPFILE2%,%TEMPPATH%%RANDOMFILE%)
    TASK(DUMP,APPSET,%APPSET%)
    TASK(DUMP,APP,%APP%)
    TASK(DUMP,USER,%USER%)
    TASK(DUMP,FILE,%TEMPFILE1%)
    TASK(DUMP,SQL,%SQLDUMP%)
    TASK(DUMP,DATATRANSFERMODE,2)
    TASK(CONVERT,INPUTFILE,%TEMPFILE1%)
    TASK(CONVERT,OUTPUTFILE,%TEMPFILE2%)
    TASK(CONVERT,CONVERSIONFILE,%CONVERSION_INSTRUCTIONS%)
    TASK(LOAD,APPSET,%APPSET%)
    TASK(LOAD,APP,%APP%)
    TASK(LOAD,USER,%USER%)
    TASK(LOAD,FILE,%TEMPFILE2%)
    TASK(LOAD,DATATRANSFERMODE,4)
    TASK(LOAD,DMMCOPY,1)
    TASK(LOAD,CLEARDATA,%CLEARDATA%)
    TASK(LOAD,RUNTHELOGIC,%RUNLOGIC%)
    TASK(LOAD,CHECKLCK,%CHECKLCK%)
    Any variables as %CONVERSION_INSTRUCTIONS% aren't defined. Is it a system constant?
    Thanks.

    Hi Roberto,
    Thanks for having a look at my question.
    We're using .act files to upload data from SAP BW into SAP BPC.
    This is the content of  .act file that I'm trying to upload:
    ACTUAL
    1
    1
    GCN.CZN,2621.LC_.EUR,100.5000
    GCN.CZN,2621.TC_.CZK,7050.0000
    Transformation file looks like:
    Conversion files are:
    Time:
    Category:
    Entity:
    Counterpart:
    RCCinterco:
    IntercoCurr:
    Transcurrency:
    In case of any other info needed, please let me know.
    Thanks a lot in advance,
    Wai Yee Kong

  • Customising Standard Oracle Package - Very Urgent

    Hi,
    We are in the process of Customising our Quotes Module.
    we have a situation where we need to have a customization in the way the template is added to the quote,
    And for this change we are need to customise an Existing Oracle Standard Database (Package) Procedure (ASO_QUOTE_PUB_W) Add_Templates_To_Quote.
    Is there any document on customising standard database procedure ?
    The alternative way may be to create a custom procedure and hence need to update the addTemplate API in the Quote class (which seems to be a roundabout way..)
    Can anyone help on this ?
    Thanks in Advance
    Senthil

    What we have decided upon is, Create a custom package with this customized procedure. And then create a new Quote class extending the Oracle Standard Quote class, this new Quote class will have the overloaded function to call the new Package-Procedure.
    i was just wondering about the deployment of this new pkg-proc, are these database objects compiled in apps schema ? i dont think so, but just got a doubt..
    Basically, its the Quotes Module. When creating the quote from a template, now the user can give number of times the template has to be applied and this multiplier has to be applied to the Quote Lines Quantity.
    Since, this addition of Quote Lines from Template to Quote is happening at the package, we will just apply the multiplier value to the Qty column of the Quote Line Record Type in the package, so that the standard package does the saving.
    We tried such an experimental change, and after this addition , the page time out. when we removed the extra 1 line of code, the screen seems to be working.
    The extra 1 line is just like
    l_qot_line_type.quantity = l_qot_line_type.quantity * p_multiplier
    thats all.
    What could be wrong ?

  • Standard BPC Copy Package Fails

    Has anyone experienced the standard copy package failing in BPC?  I get the error message: 'Object variable or With block variable not set'.

    I tried to submit data via an input template and received the same error (Object Variable or With block variable not set).  I checked the security and the ID has all functionality access.  The member is a base member.  I also had the server rebooted and still no luck.
    Below is the detail log of the copy pkg:
    TOTAL STEPS  3
    1. Dump:           completed  in 3 sec.
    2. Convert:        completed  in 3 sec.
    3. Load:           Failed  in 2 sec.
    [Selection]
    CLEARDATA= No
    RUNLOGIC= No
    CHECKLCK= No
    (Member Selection)
    Category: ACTUAL
    Time: 2006.JAN
    RateSrc:
    Rate:
    InputCurrency: 
    (Destination Member Selection)
    Category: ACTUAL
    Time: 2007.JAN
    RateSrc:
    Rate:
    InputCurrency: 
    [Messages]
    Object variable or With block variable not set

  • Launch Copy Package for OWNERSHIP app from within the FINANCE app

    Is it possible to launch the standard COPY package from within another application?
    My case is:
    I have an OWNERSHIP application with the standard dimensions ENTITY,TIME,CATEGORY,OWNACCOUNT,INTCO. I would like to copy my ownership data from one period to another as it is faster than doing data input for all my entities
    Now the challenge:
    I would like to launch this standard COPY package that copies OWNERSHIP data from within the FINANCE application. Otherwise the user always needs to switch from applications.
    I know it was possible in v4, but I seem to forget something when trying it v7.0 SP7.
    Any help is much appreciated

    Dear Shoba,
    I tried the following macro
    Sub copytest()
    Application.Run ("MNU_eData_SelectPackage(""Copy"",""system files/Copy.dtsx"",""Company"",""Ownership"")")
    End Sub
    When I was in the legalapp, copy package was opened but with the dimensions of the legalapp
    When I changed of to the ownership and tried the macro again, it gave me the good dimensions, but that was not the purpose
    When I copied the package and changed the %APP%ù it didnt work either
    I even changed %dim% to ownaccount,time,category,legalentity,intco and then the good dimensions appeared when launching the package but he gave an error when selection ownaccount, as it is not a dimension of the legalapp.
    Do you see other possibilities?
    br,
    Benjamin

  • Copy Package: Different number of members

    When I do a standard copy package of two categories into one, I get a warning:
    Warning: Different number of members
    Is this new to OS 5? I don't remember having this issue with 4.2. Can you not copy data from two categories into one?

    Even in 4.2 the standard copy packages would only support 1:1 member relationships.  We always ended up writing either a custom package or a short logic script to combine data.  If you were doing this in 4.2 and it was working, then it was something customized.

  • Error running a Copy Package from BPF (BPC7.5)

    Hi all,
    I'm on BPC75 NW SP09, and Iu2019m trying to run the standard u201CCopyu201D package through BPF but it gives me following error message: IMMEDIATE RUN: Error occurred while trying to run the package on the server Data not found in table (UJD_PACKAGES2). It works fine when I run manually/directly in Data Manager.
    Here my BPF settings: Interface: Data Manager; Task: RUN SPECIFIC PACKAGE; PACKAGE: Copy; FILE: /CPMB/COPY; TEAM: Company; GROUP: Data Management
    I have searched other related threads to validate my configuration and I have also checked the table UJD_PACKAGES2 but it seems to be okay. The only thing that I noticed is that it does not have the TEAM populated in this table.
    Any idea on how to resolve this issue? Your comments/suggestions are very much appreciated.
    Thanks,
    Heverton
    Edited by: Heverton Oliveira on Jan 13, 2012 9:24 PM

    Hi all,
    I'm on BPC75 NW SP09, and Iu2019m trying to run the standard u201CCopyu201D package through BPF but it gives me following error message: IMMEDIATE RUN: Error occurred while trying to run the package on the server Data not found in table (UJD_PACKAGES2). It works fine when I run manually/directly in Data Manager.
    Here my BPF settings: Interface: Data Manager; Task: RUN SPECIFIC PACKAGE; PACKAGE: Copy; FILE: /CPMB/COPY; TEAM: Company; GROUP: Data Management
    I have searched other related threads to validate my configuration and I have also checked the table UJD_PACKAGES2 but it seems to be okay. The only thing that I noticed is that it does not have the TEAM populated in this table.
    Any idea on how to resolve this issue? Your comments/suggestions are very much appreciated.
    Thanks,
    Heverton
    Edited by: Heverton Oliveira on Jan 13, 2012 9:24 PM

  • Changing in standard Business Package

    Hi
    I need to change the web dynpro component supplied in stanadard business package. These web dynpro component are called from portal Iviews.
    Should i make the Z copy of the webdynpro or starightway change to standard business package.
    How will it effect during upgrade or modification by SAP
    Best Regards
    Naresh

    Hi Naresh,
    when you create a z copy you must change the business package at least at the point where the WD application is called. So there are two points where SAP modifications will impact your changes.
    My suggestion: if you can't avoid using the portal at all, avoid at least making modifications.
    In the backend use the enhancement framework in order to be independent of SAP modifications. I put an example in the WD4A book, that shows how to work with the enhancement framework.
    regards, Ulli

  • Reg:Copy package problem BPC 7.5

    Hi Experts,
                        i am using standard data manager COPY Package to copy data from one category to another .While copying i use merge functionality but it clear all data in destination category and replaces the data.not sure its BI issue or BPC issue?
    Regards,
    Vikram

    Hello,
    I know this post is old, but maybe someone is still looking.
    In order not to lose data, you need to try and restrict the dimensions in the left side of the prompt to the members that you want to change, because the copy package first removes all data from destination and then writes the new records. It considers that if you want to copy something over, then data is already present so it doesn't need the old data. The records that will be deleted are selected using the key defined in the right side.
    If you want to change a record with key ACC1+B1 to ACC1+B2, you need to specify on the left side ACC1+B1 and on the right side ACC1+B2 (obviously) and data on ACC2+B2 ACC3+B2 and ACC4+B2 will not be deleted, BUT only if this 2 fields represent your entire key.
    If the key in your BPC Model contains also other dimensions, and you do not specify a member for them (left side ANY and right side SAME), the package will first delete all data using the right key and then copy the records from the source.
    Let's say you also have the dimension TIME, so we need to copy ACC1+B1+2014.01 to ACC1+B2+2014.01, and we already have a record ACC1+B2+2014.02 present. If you set filter to ACC1+B1 on the left side and ACC1+B2 on the right side, the package will first use the right key ACC1+B2 to delete all data present (so the record ACC1+B2+2014.02 present will be removed) and then copy your data changing B1 to B2. However, if you also specify the field TIME in your filter, then the package will use the combination ACC1+B2+2014.01 in order to delete the data present in the system (at this point nothing) and then copy the data.
    Hope it helps,
    Ana-Maria

  • BPC 10 Copy Package - One to Many members

    Hi all
    The standard BPC copy package only allows you to copy data on a one to one relationship.
    Our user would like to copy a value from a specific member to several other members.
    The system prompts to says "The number of selected members in the source and destination should be the same".
    Is there an easy way to do this without diving into the world of BADI's ?
    Any help or examples would be very much appreciated.
    Thanks, Ian

    Hi Vadim,
    Ending with an error when I run the data manager package
    Please look at the script logic
    *XDIM_MEMBERSET TIME = $SOURCE$
    *WHEN TIME
    *IS *
    *FOR %M%=$DEST$
       *REC(EXPRESSION=%VALUE%,TIME=%M%)
    *NEXT
    *ENDWHEN
    And data manager script i used to pass the parameters
    PROMPT
    (SELECTINPUT,%SOURCE%,,,"%TIME_DIM%")
    PROMPT
    (SELECTINPUT,%DEST%,,,"%TIME_DIM%")
    INFO
    (%EQU%,=)
    TASK
    (/CPMB/ALLOCATION_LOGIC,EQU,%EQU%)
    TASK
    (/CPMB/ALLOCATION_LOGIC,SUSER,%USER%)
    TASK
    (/CPMB/ALLOCATION_LOGIC,SAPPSET,%APPSET%)
    TASK
    (/CPMB/ALLOCATION_LOGIC,SAPP,%APP%)
    TASK
    (/CPMB/ALLOCATION_LOGIC,SELECTION,%SELECTION%)
    TASK
    (/CPMB/ALLOCATION_LOGIC,LOGICFILENAME,Test.LGF)
    TASK
    (/CPMB/ALLOCATION_LOGIC,REPLACEPARAM,SOURCE%EQU%%SOURCE%)
    TASK
    (/CPMB/ALLOCATION_LOGIC,REPLACEPARAM,DEST%EQU%%DEST%)

  • Copy Package

    Hi,
    I have following issue: I want to launch a copy package which copies dimensions of another application.
    So being in the finance application I want to launch to copy members of the Ownerhip application which has of course other dimensions (for example Ownaccount)
    Someone knows how to do this?
    Br,
    Benjamin

    Hi Benjamin,
    I think, if you're familiar with SSIS, you will have better to build a specific package for that, using back-end SQL tables called "mbrAccount" and inject the new member into "mbrOwnAccount" (via a SQL query).
    I think standard packages cannot do that.
    Hope this help.
    Best Regards,
    Patrick

  • Available Services in Standard Business Package

    Hi All,
    What are all the services(applications) provided by MDM standard Business Package? Are there any links which clearly states the list of services supported.
    Thanks in Advance!!
    Regards,
    Revathi Raju.
    Edited by: Revathi Raju on Mar 11, 2009 8:45 AM

    Hi Revathi,
    Are you asking about the Standard Business content provided by SAP or the Standard Business package?
    Standard Business Content:
    SAP has provided Std Business content with the MDM 5.5 and 7.1 MDM server.These are nothing by predelivered SAP repoitories archives for different masters like Customer,Material,Vendor,Article,Product,Employee etc.All you have to do is unarchive these rep contents on to your MDM server and then you can work with them .
    The Services that they provide are:
    - You will get teh entire MDM rep ready to use
    - With this comes the XML Schema,Import and Syndication Maps
    - Remote systems and ports
    - And all such configurations predefined
    - So your data modelling work is almost done and you can work with your master data directly on the repositories.
    To know more on the Business Content please refer the below link;
    https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1035773 - Business partner
    https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1252846 - Products
    https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1252884 - Customer
    https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1255401 - Material
    https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1252883 - Vendor
    https://websmp202.sap-ag.de/~sapidb/011000358700001119642007E - Article
    https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1268212 - Employee
    The other thing is the standard Busines Package:
    These are the SAP predelivered Content to be used with MDM and other Netweaver components.
    - Like for example you have some predelivered sca files and Business contents to work with portal and MDM
    - SRM -MDM Buisness content to work with MDM and SRM catalog
    - MDM with GDS
    etc
    The features provided by these business packages is taht it enables easy to connect and use efficient integration between MDM and the other components.
    You can refer the scenario guide to know more on this:
    https://websmp209.sap-ag.de/~sapidb/011000358700001119482007E
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Adobe Acrobat 6.0 Standard font Package

    All
    Any body can help me to get Adobe Acrobat 6.0 Standard Font Package?

    Which is the latest version of Acrobat that you have purchased?
    If version 6 then 6.06 is the latest free update that you can download.
    Versions 7, 8, 9, X were all paid-for upgrades.
    The current version is XI but only versions 8, 9 and X are eligible to upgrade to XI.
    http://www.adobe.com/products/acrobatpro/buying-guide-upgrade-pricing.html

  • Error while using Copy Package

    Hi,
    I want to copy data from category BudgetV1 to BudgetV2,
    I have tried to use Copy Package but I always get error with
    error message "The file is empty".
    Can anyone help me with the problem?
    Thanks in advance.

    Hi,
    Please check if you have data in category BudgetV1. This error normally occurs when there is no data in source specified in COPY package. Make sure to select appropriate members when you specify other source dimensions.
    Hope this helps.
    Regards,
    Shoba

Maybe you are looking for