Copy-function: Where to select data-target?

Hi experts,
First, I worked on a cube for consolidation and created several input ready queries.
Second, I have buid-up a second cube for disribution planning. (Because there are lots of additional dimensions being used; such as country, region, products[...]).
Now, I want to copy planned turnover in distribution cube to consolidation cube. In other threads I've read, that it would be possible to copy data from cube to cube.
The problem is that I don't find any properties defining the data-target.
So. what needs to be done to reach my goals? Do I have to buid-up a multiprovider as well?
Thanks a lot for your hints!
Regard, Martin

Hi Martin,
copy function can only copy from a char value to another value. It can not copy between key figures.
For this you need a fox formula.
Copy functions in BI IP will always overwrite the values that were in the target before it is run.
Fox functions usually will also overwrite the values that were there before the function is run. If you want to do it different, your fox code would have to include some checks and so on.
if you do not change other characteristics, you take only the 0Info_prov into the fields to be changed and make a formula like:
{keyfigtarget, infoprovtarget} = {keyfigsource, infoprovsource}.
when including the function button into a web template you can choose:
planning function simple - you will need a data provider type filter or query to fill info the selection binding
planning function - you can choose you "filter" by naming each individual char that has to be restricted while running the function
planning sequence - aggrlevel, filter and function are fixed in the sequence
I usually prefer sequences (I trust them more than the selections for individual functions)
regards
Cornelia

Similar Messages

  • Copy Function with Single selection of row

    I want to copy necessary Planning items in my Input ready query from period 1 to remaining periods based on variable entries.  To achieve this I have created a copy planning function to copy amount entered in period 1 (variable) to range of posting period variable entries (e.g. 2 -12 or 6-12).
    I have created structure for GL accounts and I want to copy from period 1 to 2 - 12 for one row at a time.
    I have created WAD template, I selected in behavior section of Analysis item, single with command option and assigned Planning sequence (consisting of copy function) as command.
    On execution of WAD, I select single row in my input ready query and instead of one row getting copied over to the range of posting period, all rows consisting of Planning Items with amount are getting copied over, which I am not expecting with single selection option.
    How can I have only one row getting copied over?
    Am I am missing something?
    Your suggestions are highly appreciated.
    Regards,
    Sachin

    Hello Gregor,
    Thanks for your response.  I tried what you have suggested and also followed the documentation, not sure why it is not working as expected
    In my variable I have characterictis such as:
    Version
    Fiscal Year
    Fiscal Year Variant
    Profit Center
    In my rows:
    Planning Item
    Columns:
    Period
    Amount
    In behavior I have selected Row Selection Single.  I am using Button group and assigned following:
    Command: Execute a Planning Function -> In Data Binding -> Selection Binding -> Characteristic -> Planning Item -> Binding Type -> Item Characteristic -> Web Item Selection -> Item Binding -> Query (Analysis Item) -> Characteristic -> Planning item.
    For Variable I have defined nothing.
    Do you think my settings are correct?
    Regards,
    Sachin

  • Selective Data target deletion - Job

    Hi,
    Is it possible to do selective deletion of data targets for a scheduled intervals.
    For example,
    On 1st of every month, a job has to get scheduled deleting the past 15 days of record from the infocube. And subsequently, updated data for the last 15 days will be pushed in to the infocube from an RFC.
    Please let me know for any clarifications.
    Thanks in advance!

    Hi there:
      The alternative we took is based on this Wiki.
    "Using Selective Deletion in Process Chains"
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/603a9558-0af1-2b10-86a3-c685c60071bc?quicklink=index&overridelayout=true
    To avoid using hardcode we created a Custom Table that is read by an ABAP Program located on the InfoPackage, on that Table we store the input parameters: InfoCube Name, any Characteristic present on the InfoCube, Operator (EQ or BT) and start/end values in case of a range.
    Regards,
    Francisco Milán.

  • Function Module for selecting date by day

    Is there any function module to choose date by day. for example if I give today's date the FM should give me next thursday's date.
    Thanks
    Tharani

    this works good........
    *& Report  YCHATEST                                                    *
    REPORT  YCHATEST
    data:day like DTRESR-WEEKDAY.
    parameters:curr_dat like sy-datum default sy-datum.
    CALL FUNCTION 'DATE_TO_DAY'
      EXPORTING
        DATE          = CURR_DAT
    IMPORTING
       WEEKDAY       = day.
    write : / day.
    case day.
    when 'Monday'.
       CURR_DAT = CURR_DAT + 3.
    when 'Tuesday'.
       CURR_DAT = CURR_DAT + 2.
    when 'Wed.'.
       CURR_DAT = CURR_DAT + 1.
    when 'Thursday'.
       CURR_DAT = CURR_DAT + 7.
    when 'Friday'.
       CURR_DAT = CURR_DAT + 6.
    when 'Sat.'.
       CURR_DAT = CURR_DAT + 5.
    when 'Sunday'.
       CURR_DAT = CURR_DAT + 4.
    endcase.
      write :/ CURR_DAT.

  • Using function(s) to select date range in a computation.

    Hello
    Within my ApEx report, I would like to be able to have data returned from within a date range selected by the user. Under "Compute" there are lots of "Functions" (Least, Greatest, Last_Day, etc.) but so far I have not been able to find the right syntax for date range.
    This seems so simple - any help appreciated.
    Thanks
    Paul S.

    I do not use APEX but is the BETWEEN operator available to you?
    Normally to select a date range you just write code like
    select ....
    from table_t
    where date_col between to_date(start_date,'format') and to_date(end_date,'format')
    or
    where date_col >= to_date(start_date,'format')
    and date_col < to_date(end_date,'format') + 1
    as this form eliminates worrying about the time component.
    HTH -- Mark D Powell --

  • No reference data for copy function between two infoproviders

    Hello,
    I am trying to copy data from an actuals cube into a plan cube. Both cubes are assigned to the same multi provider.
    The planning function is defined as follows:
    Characteristics to be changed: InfoProvider (from: Actual; to: Plan)
    Condistions: none
    To keep it simple I am using a filter with no entries.
    When I am executing the copy function with a trace I find that the function reads the entries from the Plan Cube (which I expected) but it does not generate the entries that are available in the Actuals Cube in the plan cube (which I hoped it would do). It seems that the function cannot find any reference values in the Actuals cube.
    The structure of the two cubes is different. Could this be the reason that the copy function does not work?
    I will appreciate any hints.
    Cheers,
    Sven

    Hi,
    The structure of the cubes being different is not a problem. Anyway, the records get aggregated depending on the characteristics you have included in the aggregation level on which the copy function is created. Because you say not even one record is getting copied from the actuals cube I feel there is some basic problem. Check the below things (some might sound very basic but I am just noting them)
    1) Actual cube has data in an active request with green status
    2) You have identified the characteristics and key figures properly in the multiprov (on which the aggregation level is built) from both the cubes.
    3) In the copy function, you have selected the desired KFs to be copied.

  • APD Analysis Process Designer - CRM Data Target

    Hi,
    I have now defined the DataTarget and by "Release data target for Replication from SAP BW" I get the error:
    <b>Error when processing function module /SVC/OBJ_F4_<MyDataTarget></b>
    what does it mean and how can I solve this situation?
    Thanks
    FedeX

    Hi!
    in case if you are not able to find the docu...here is the docu helop for the function group...
    "The function group CRMBW_ADAPTERS combines function modules that are necessary for implementing a data target adapter as part of the data upload from SAP BW. You can use the function modules delivered by SAP as a template for new adapters (for example, you can copy them).
    The function modules contained in this function group are divided into the following areas on the basis of their naming convention:
    o     Function modules for defining data targets
    -     CRMBW_OBJ_F4_*
    -     CRMBW_DET_F4_*
    -     CRMBW_CHECK_*
    o     Function modules for designing the analysis process
    -     CRMBW_LIST_*
    -     CRMBW_DETAIL_*
    o     Function modules for the data upload
    -     CRMBW_UPDATE_*
    The placeholder * stands for a data target adapter defined in the IMG activity .
    The corresponding adapter modules are called up dynamically during runtime at the appropriate points in the program, using the name of the data target adapter and applying the following program logic:
    CONCATENATE l_namespace l_nameconvention
      l_function l_target INTO l_funcname.
    TRY.
      CALL FUNCTION l_funcname
        EXPORTING
        IMPORTING
        TABLES
      CATCH cx_root.
        l_msgv1 = l_funcname.
        CALL FUNCTION 'BALW_BAPIRETURN_GET2'
          EXPORTING
            type   = 'E'
            cl     = 'CRMBW_ATTR_WRITE'
            number = '005'
            par1   = l_msgv1
          IMPORTING
            return = ls_return.
        APPEND ls_return TO et_return.
    ENDTRY.
    Consequently, if a function module does not exist or errors occurred when calling it up, a runtime error is not issued directly. Instead, the error is returned as a message in the return table for the instance calling up the function module.
    If you want to create customer-specific data target adapters, observe the following:
    o     Define the ID for the data target adapter in the IMG activity . Ensure that your entry begins with the letter Y or Z to avoid any naming conflicts with subsequent SAP enhancements.
    o     In this function group, implement adapter modules that begin with the namespace stored in the IMG activity mentioned above and with the naming convention, and that also fulfil the naming convention listed under Integration. In this way, you ensure that there are no naming conflicts with subsequent SAP deliveries.
    o     To provide the data upload with full support, implement all six adapter modules.
    With the following entry in the IMG activity , implement the function modules listed below.
    Data Target Adapter     Namespace     Naming Convention
    ZTARGET     /COMPANY/     MYLOAD_
    Function Modules
    /COMPANY/MYLOAD_OBJ_F4_ZTARGET
    /COMPANY/MYLOAD_DET_F4_ZTARGET
    /COMPANY/MYLOAD_CHECK_ZTARGET
    /COMPANY/MYLOAD_LIST_ZTARGET
    /COMPANY/MYLOAD_DETAIL_ZTARGET
    /COMPANY/MYLOAD_UPDATE_ZTARGET
    with regards
    ashwin

  • CRM error: Data target BPMKT; not known

    Hi,
    I  m working on Loyalty Points Mgmt. which is combination of CRM & BW. I have created a Analysis Process Designer <b>(RSANWB)</b>  Here source is Query & Target is CRM Attributes, In CRM attributes I have selected Data Target :  <b>BPMKT  "Marketing attributes for business partner segmentation".</b> When I am going to active this the system shows "CRM error : Data target BPMKT not known".
    Anyone could help me. Where I am wrong...? How could I correct this Error.
    Thanx in Advance.
    Regards
    Manoj Kulkarni

    Hi Rogier, I got same problem.
    How to resolved it?
    Regards.
    Enrique.

  • How to initialize delta for a new data target

    Hi
    I have an ODS from which there are several other targets getting updated thru an export datasource. The delta initialization happend some 6 months back. I now have a new ODS into which i need to load the data from the original  ODS. How can i initialise the delta to my new target without changing the delta initialization of the other targets and continue the delta for all of them together?
    can i use the same initialization for my new target??
    If i do a full update and then a initialise w/o data transfer, will the further delta bring the data from the correct point, is there a possiblity of data loss??
    Regards,
    Sujai

    Hi Ajay,
    the steps are as follows.
    1 delete the initialization. open infopackage >> menu scheduler >> Initialization options for source systems >> delete the request thats there.
    2. Now go to the Update tab of the infopack >> select option Initialize Delta process >> check the option initialize without Data transfer
    3. Goto Schedule tab and start the job.
    here the data targets will be all the targets the infopack loads.
    4. Create a new infopack
    5. goto Data targets tab >> select data targets >> put a check on your new ODS/Cube
    6. Goto Update tab >> select the option Full update
    7. goto menu Scheduler >> select Repair full request >> put a check on Indicate request as Repair Request >> hit OK
    8. Goto schedule tab >> start the job.
    9. Continue with the existing Delta infopack that was load the old ODS/Cubes  and make sure your new ODS/Cube is also cheked for the delta.
    Regards
    Sujai

  • APD and Data Target in CRM

    Hi,
    I have created ADS in CRM through EEWB with BI info objects.
    Now I want to load this ADS table through APD from BI to CRM.
    for that I am creating APD in BI with category as general.
    I have selected data target as CRM
    In that I am giving the appropriate logical system .
    In the second dropdown which is for Data Targets : Here I am not getting ADS ( Analytica Data Source ) as my Data Target.
    In CRM table BWTARGETS it is there with all attributes.
    Also in CRM SPRO the data Target is Available with name as CACHE.
    Path in SPRO : SPRO -> Integration with other mysap components -> Data Transfer from SAP Business Information Warehouse -> Define ID for data target adapters.
    Let me know what I am missing in above process to get data target ADS in APD design ?

    Hi
    Just create a Process Chain to execute this APD method, if the process Chain is already available, then just insert this Process in to the process Chain and execute the Process Chain by normal process, by hoe we do in general.
    Hope it solves...

  • The data target is not appeared in the Infopackage under datatagets tab.

    Hi thanks for your response, i  eloboreted my problem below pl see,
    In the Info Cube structure i check the Trassactinal check box, In the Infopackage level under the data targets tab i selected the 'Select data targets' radio button icon but the data target is not appeared in the  table.pl give me a suggetion in which location  can i make a change.
    Thanks & Regards
    Bhaskar

    The same question in data source is not appeared in the Infopackage.

  • How to load data targets through process chain

    hello gurus,
    i am new to bi7.0 environment,
    can anyone provide me step by step loading of data targets with the help of process chains.
    its very urgent
    thanks in advance
    bharath kumar

    Hi,
    After creating Start variant, select Data Targets in left side, find out which one you want to create PC. Drag and drop that Data Target ODS into right side, and select info package and ods activation.
    For Master data also the same you have select Attr Change run.
    Connect the links from Start variant to data targets.
    Check the below links:
    http://help.sap.com/saphelp_bw33/helpdata/en/d5/e80d3dbd82f72ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/dc/c7e542de327276e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/87/13843b74f7be0fe10000000a114084/frameset.htm
    Business Intelligence Old Forum (Read Only Archive)
    Reg
    Pra

  • Copy functionality

    I have a tabbed layout page which contains several VOs which all contain information related to 1 "object". There is now a request for a COPY functionality, where the user can click a button and a new copy of this "object" is made (including the information in each of the VOs). This copy will need a new ID (PK) value generated and this new ID will need to be updated on all records in each VO.
    What is the best way to achieve this? Would it be to call a PL/SQL package in the background to make the copy for me, and then re-query it in the application - or should the copy be done programatically?
    Thanks in advance

    This works OK but I have 1 issue.
    Is it possible to chose commit/non commit the previous record before the new record shows up?
    I have scenario where I query for existing record and make changes and then when I click button to create duplicate record, system does not ask whether I should save it before new record is shown. When I save new record, old 1 gets saved as well which I dont want to happen.
    I want the system to ask if changes need to be saved for current record before new record is shown.
    Any help?

  • COPY function on a Multiprovider - - Not saving data

    Hi,
    Im facing a wierd problem.
    Im tryin to run the COPY function on a Multiprovider.
    I've selected 2 fields as 'To be Changed' : 0INFOPROV and 0VTYPE. and 1 KF (ZACCINS) to be copied.
    I tried to run the PF through a Planning Sequence in 'Execute with Trace  Mode'. The result of which is shown below for 1 block.
    Series  Data  ChangeInd  ValueType ZACCINS Infoprovider
    1      Before      Unchanged 10           2,000.00  ZHR_R10
    1      After         Unchanged 10           2,000.00 ZHR_R10
    2      After          New          20           2,000.00 ZHR_R20
    3      Reference Data           10           2,000.00 ZHR_R10 .
    So far so good.
    Now I clicked on Save Plan data. Now when I try to view the Contents of the Target Cube (ZHR_R20), it does not display any data.
    Just to cross check, I have created a query on the Multiprovider and tried to call the same PF through the Analyzer. On click of the button, the system displays the "NEW" rows that were generated. Now, on clicking 'SAVE AREA', the newly generated rows disappear!!
    Again to cross check, I have deleted old requests in RSA1 for ZHR_R20 and tried to execute the function again wherein a new request was generated. On changing the Request to Green(Status OK),the  Added Records and TRANSFERED RECORDS are shown as 5.( the number of records in Source cube which im trying to copy = 5 in ZHR_R10).
    Have also checked the Fact table of ZHR_R20  but could not find any entries in the table... Not sure where the problem could be !!
    Regards
    Shyam
    System info as follows:
    SAP_BW     700     0013     SAPKW70013     SAP NetWeaver BI 7.0

    Hi Ravi,
    The parameters are set propely:
    InfoProvider: Staff Costs Actual; Value Type for Reporting: Actual - From Change
    InfoProvider: Staff Costs Plan; Value Type for Reporting: Plan - To Change .
    Can you pls explain why do you think the function was not executed properly.. Iam absolutely clueless with this behaviour ... I have been tryin many number of times but in vain. The behaviour is the same. Each time I execute the PF, the Transferred records and Added records count keep on increasing .. but with no contents in the cube... .
    Rgds
    Shyam

  • Copy function results in Error 1430 when the target path terminal is &ltNot A Path

    Hello all.
    I'm having a little bit of trouble with the Copy function under LabView 8.2.  If I wire <Not A File> to the target path terminal, I get an Error 1430 (The path is empty or relative.) from the Copy File function's error out terminal.  According the the manual, wiring <Not a File> to the target path terminal should cause the Copy function to display a dialog box prompting the user to select a file.
    I've attached a sample VI which demonstrates this issue.  Is the documentation for the Copy function incorrect, or is something I'm doing wrong in my VI causing the error?
    Thanks,
    Mark Moss
    Attachments:
    copy.vi ‏16 KB

    Hi Mark,
    Thanks for bring this to our attention. I believe the documentation is incorrect here, as you suggested. When nothing is wired to the target path terminal, it behaves as expected (prompting the user to select a target directory).
    I will look into this further and report this issue to our LabVIEW documentation team.
    Sam
    -Sam F, DAQ Marketing Manager
    Learn about measuring temperature
    Learn how to take voltage measurements
    Learn how to measure current

Maybe you are looking for

  • ILife 08 iMovieLack of Video Effects

    I loaded iLife 08 and like many of the features but it is a big step backwards especially in iMovie. A few issues are: When finished iMovie, the requirement is to export the movie to desktop and then import to iDVD 08. This seems to be the only way t

  • Is there any query i can use to monitor Users tried to log on to data base

    is there any way to know the users tried to log on to data base is this possible if user entered user name and wrong password 4 times for example is there a table or something let me know that for example HR tried 4 times to log into data base

  • Make code more dynamic

    Hi guys, My questions is about  my code I have this: DATA: MOVI(4) TYPE C,       DATOS(11) TYPE C. TYPES: BEGIN OF S_DATOS,           R01(7) TYPE C,           R30(5) TYPE N,          R22 TYPE I,       END OF S_DATOS. DATA: T_DATOS TYPE STANDARD TABLE

  • Assets Panel Date Modified Mac CS4 DW

    I do not see the option to sort by date modified in the assets panel. What I liked in GoLive was I could go to the newest images I loaded in. Is there somewhat to add that column and to move the column headings around so I can have name and next to i

  • Buy MacBook from other countries?

    English: Hi, im from germany. i moved to canada yesterday. i would like to buy a macbook pro with retina display but with a german keyboard. is there a possibility to buy a macbook pro with retina display and german keyboard?? If not, can i buy it fr