Routine in UR from ODS

Hi gurus,
i have a scenario where in i have to fill one field from another ODS
can somebody help me in this regard
Source ODS
Active table name
/BI0/ACPR_O0200
CPR_EXT_ID
CPR_GUID
CPR_BPARTN
CPR_VRSN
Target cube Update rules
i have following fields
CPR_VRSN
CPR_EXT_ID
CPR_GUID
0bpartner (this field should be filled from source ods CPR_BPARTN) AND LOOKING AT THE OTHER FIELDS
can somebody help with the code.
thanks and regards
sreedhar

Hi,
  You can create start routine for that target field.
  choose start routine from transformations sdreen
  sample Code:
data cpr type  /BI0/ACPR_O0200-cpr_bparn
data ind type sy-index.
loop at *datapack into wa.          * your target pack
    select cpr_bpartn from /BI0/ACPR_O0200 into cpr where cpr_ext_id = datapack-cpr_ext_id and cpr_vrsn = datapack-cpr_vrsn. ( here data pack means your target package).
    wa-cpr_bparn  = cpr.
     ind = sy-tabix.
  modify datapack from wa index ind.
endloop.
this is a sample code only.
hope it will be helpfull
rgrds,
v.sen.
Message was edited by:
        Senthilkumar Viswanathan

Similar Messages

  • How to debug start routines of update rules from ODS to InfoCube

    Dear gurus,
      I have an update rule from ODS to InfoCube. I wrote a start routine in the update rule. Now I want to debug it. I went to monitor and simulate update the data package and only got the prompt "No data exists in the corresponding PSA table". So how can I debug this start routine?
      Thanks in advance.
    Jin Ming

    Jin,
    In order to use PSA between ODS and InfoCube, you may have to use an exclusive InfoPackage and load separately. In that InfoPackage, choose the radio button to use a PSA.
    I think you are currently updating the InfoCube directly without using a separate InfoPackage.
    Look for an InfoSource under DataMarts (search for 8<ODS Technical name>) and create your InfoPackage there.
    Good luck.

  • Index used or not for selecting data from ODS in a start routine

    Dear friends,
    In the start routine of the update rules to a cube, I am reading some data of an ODS in to an internal table .
    The ODS is indexed. But, I am not sure if the index is at all used in the Select statement (that gets the data from ODS to the internal table in the start routine) while loading data to the cube.
    Any help is highly appreciated.
    regards,
    atlaj

    Hi Atlaj
    You can findout this is display execution plan for SQL statement in DB02.
    Goto DB02. and under diagnostic, you find explain. Select that and enter your query. Make sure that everything here is in capital format. Below is a sample query which I have entered.
    SELECT "CRM_SALORG" "SALESORG" FROM "/BI0/QORGUNIT"
    WHERE "SALESORG" = ? AND "OBJVERS" = ? AND "DATETO" >= ?
    AND "DATEFROM" <= ?
    The select parameters should be inside qoutes and in caps and even the from table. Once you enter your query in this format, click on explain. It will show the index scan if the index is present. the output for my query will be something like
    0 SELECT STATEMENT ( Estimated Costs =  1,348E+01 [timerons] )
            1 (COOR) RETURN
                2 (    0) TQ
                    3 (    0) FETCH /BI0/QORGUNIT
                        4 (    0) IXSCAN /BI0/QORGUNIT~Z1
    Where my last statement (line 4) is showing index scan and the name of index read is Z1.
    Hope this helps.
    Please let me know if you have any problems entering the query in the specified format and u get any error.
    Regards
    Sriram

  • Start routine from ODS to Info cube in bw 3.5

    Hi Folks,
                     We have a code for START ROUTINE from ODS to Info Cube.
    we are doing FULL Load to ODS(0CRM_QUT1) and from ODS to INFO CUBE also we are doing FULL Load.
    Iam planning to change to DELTA Load from ODS to Info Cube to improve performance.
    Is there any situtation If  we write a Start routine from ODS to Info cube we can't do DELTA Load .
    Please clarify me.

    improving performance is a good thing. using delta load mechanism is also good for performance as loadings are faster and are less time cosuming. Nevertheless analyse carefully how the solution was built to understand clearly why a full load was required at the time of the design of the solution. maybe the full load was used for some reasons that are still valid or would require more than just changing from a full to a delta load . in conclusion it is always good to use delta but in your case look carefully at the existing coding it is possible that look up is coded for inserting records or other treatments.
    hope this could help you out.

  • Update data from ODS to ODS with infopackage selection

    Hi,
    I am trying to update data from one ODS to another ODS with selection criteria in InfoPackage which is created manually.For Full load I can give selection criteria in InfoPackage. When I initialize data Selection is greyed out even selections for Full load exists. Please advise me how to give selections for delta loads from ODS to ODS loads.
    Thanks in advance.
    Ram

    Once you started an ODS as destination in FULL mode from a DS you cannot get back.
    So if you want to update from ODS to ODS using Change Log but considering only some data records you could create an Update Routine with a Start Routine that DELETES undesired records (e.g. DELETE DATA_PACKAGE WHERE ...) and then start an Init-Delta Loading.
    Hope it helps
    GFV

  • Load from ODS into InfoCube gives TIME-OUT runtime error after 10 minutes ?

    Hi all,
       We have a full load from ODS into InfoCube and it was working fine till the last week upto with 50,000 records. Now, we have around 70,000+ records and started failing with TIME_OUT runtime error.
       The following is from the Short Dump (ST22):
       The system profile "rdisp/max_wprun_time" contains the maximum runtime of a
    program. The current setting is 600 seconds. Once this time limit has been exceeded, the system tries to terminate any SQL statements that are currently being executed and tells the ABAP processor to terminate the current program.
      The following are from ROIDOCPRMS table:
       MAXSIZE (in KB) : 20,000
       Frequency       :  10
       Max Processes : 3
      When I check the Data Packages under 'Details' tab in Monitor, there are four Data Packages and the first three are with 24,450 records.  I will right click on each Data Package and select 'Manual Update' to load from PSA. When this Manual Update takes more than 10 minutes it is failing with TIME_OUT again.
      How could I fix this problem, PLEASE ??
    Thanks,
    Venkat.

    Hello A.H.P,
    The following is the Start Routine:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BIC/AZCPR_O0400, /BIC/AZCPR_O0100, /BIC/AZCPR_O0200.
    DATA: material(18), plant(4).
    DATA: role_assignment like /BIC/AZCPR_O0100-CPR_ROLE, resource like
    /BIC/AZCPR_O0200-CPR_BPARTN.
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS8ZCPR_O03.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
       clear DATA_PACKAGE.
       loop at DATA_PACKAGE.
          select single /BIC/ZMATERIAL PLANT
             into (material, plant)
             from /BIC/AZCPR_O0400
             where CPR_EXT_ID = DATA_PACKAGE-CPR_EXT_ID
             and ( MATL_TYPE = 'ZKIT' OR MATL_TYPE = 'ZSVK' ).
           if sy-subrc = 0.
              DATA_PACKAGE-/BIC/ZMATERIAL = material.
              DATA_PACKAGE-plant = plant.
              modify DATA_PACKAGE.
              commit work.
           endif.
           select single CPR_ROLE into (role_assignment)
                         from /BIC/AZCPR_O0100
                         where CPR_GUID = DATA_PACKAGE-CPR_GUID.
            if sy-subrc = 0.
              select single CPR_BPARTN into (resource)
                         from /BIC/AZCPR_O0200
                         where CPR_ROLE = role_assignment
                         and CPR_EXT_ID = DATA_PACKAGE-CPR_EXT_ID.
                   if sy-subrc = 0.
                      DATA_PACKAGE-CPR_ROLE = role_assignment.
                      DATA_PACKAGE-/BIC/ZRESOURCE = resource.
                      modify DATA_PACKAGE.
                      commit work.
                   endif.
              endif.
           clear DATA_PACKAGE.
           endloop.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    Thanks,
    Venkat.

  • Error in updating data from ODS to CUBE.

    Hi,
    I am tryin to load data manually from ODS to CUBE in NW2004s.
    This is a flat file load from the datasource to the ODS and then from the ODS to the CUBE.
    In the CUBE, I am trying to populate fields by using the ODS fields.
    For eg.
    In the ODS, a CHAR Infoobject has the data in the timestamp format(i.e. mm/dd/yyyy hh:mm ). I need to split this data and assign them to the two individual DATE and TIME Infoobject in the CUBE.
    For this, I have done the coding in the Transfer Structure in the Rule Group.
    The time field is gettin populated , but the date field is not getting populated.
    I get an error as Eg:
    <b>Value '04052007' for CHAR 0DATE is not plausible</b>
    Due to this, the corresponding records is not getting displayed
    Also, the records where the time id displayed, the date is not getting displayed inspite of the date being correct.
    Please help me with a solution for this.
    <b><u><i>REMOVED</i></u></b>
    Thanks In Advance.
    Hitesh Shetty

    Hello Hitesh
    SAP accepts the date format in YYYYMMDD, so in the routine where you have concatenate the day month year...just do it in reverse order.....
    Thanks
    Tripple k

  • Delete overlapping requests from ODS

    Hi,
    Since it iss not possible to delete overlapping requests from an ods by any automated process like in info cube.
    Can we still delete overlapping request using abap code or the only way to do it is to delete  data (selective deletion) in a start routine.
    Any tips would be helpful

    Hi ,
    Try the following logic to delete the ovelapping requests from a particular data source.
    *& Report  ZV_DELETE_REQS                                              *
    *&Description:This program is for deletion of eixsting Full requests   *
    *&            from ODS                                                                     *
    REPORT  ZV_DELETE_REQS.
    data: RSICCONT like rsiccont,
          rsseldone like rsseldone.
    data: begin of i_req occurs 0,
          rnr like RSICCONT-rnr,
          end of i_req.
    refresh i_req.
    select * from RSICCONT UP TO 2 ROWS
                      where ICUBE  = 'ZCS_D10'
                      order by TIMESTAMP descending.
      i_req-rnr = rsiccont-rnr .
      append i_req.
      clear i_req.
    endselect.
    loop at i_req.
      select single * from RSSELDONE where RNR eq i_req-rnr and
                      source in ('0CO_OM_OPA_5',
                                 '0CS_OM_OPA_1').
      if sy-subrc eq 0.
        CALL FUNCTION 'RSSM_DELETE_REQUEST'
          EXPORTING
            REQUEST                    = i_req-rnr
            INFOCUBE                   = 'ZCS_D10'
          EXCEPTIONS
            REQUEST_NOT_IN_CUBE        = 1
            INFOCUBE_NOT_FOUND         = 2
            REQUEST_ALREADY_AGGREGATED = 3
            REQUEST_ALREADY_COMDENSED  = 4
            NO_ENQUEUE_POSSIBLE        = 5
            OTHERS                     = 6.
        IF SY-SUBRC <> 0.
          MESSAGE ID sy-MSGID TYPE 'I' NUMBER sy-MSGNO
              WITH sy-MSGV1 sy-MSGV2 sy-MSGV3 sy-MSGV4.
        else.
          message i799(rsm1) with i_req-rnr 'deleted'.
        ENDIF.
        do.
          select single * from RSICCONT where ICUBE  = 'ZCS_D10'
                                          and  rnr    = i_req-rnr.
          if sy-subrc ne 0.
            exit.
          endif.
        enddo.
      endif.
    endloop.
    hope it helps....
    regards,
    raju

  • Adding one object to cube from ODS

    hi guys,
    i am loading the data from 7 ods objects to 1 cube.
    in my report i want to see cost center which is there in 2 ods objects but not in all the ods ojects.
    this cost center info object is not available in the cube too.
    so when i generate a report i can't see cost center.
    i am planning to add cost center in the cube and get the data from ods(using a routine).
    my question is when i write a routine and get the data from one of the ODSs,i doubt the consistency of the data .
    bcoz we r fetching from only 1 ods.
    plz suggest me the feasible options
    thanks in advance
    sri

    Hai Sri,
              I understand from your question that you have "cost center" thats in 2 of the ODSs and not in other 5 ODSs that are feeding the cube.
    If you are worried about the data consistency because you have dependency, then you have to write the routine checking the conditions on dependant objects.
    For example:
    I need to get cost center but cost center is dependant on lets say "work centers" and "resources".
    I would write the logic something like this.
    1. In START ROUTINE- Select all data from the ODS containing the three objects into a global table.
    2. Declare conditions like for work center = a, resource =b, cost center = c.
    3. In object mapping, I would create a routine and say that
    In DATA_PACKAGE, if workcenter = DATA_PACKAGE-work center and reource = DATA_PACKAGE-resource, then Result = DATA_PACKAGE-cost center.
             The logic given above may not completely suite your requirement but thats just an example if you are afraid that you may corrupt your data if you just get data the way Vrrp suggested to bring. If what Vrrp said works for you, thats the easiest.
    Try your luck.

  • Some records not transfer from ODS to infocube

    Hello BW folks ,
    We have an ODS which stores the various sales doc. types.
    We are transfering all the data from this ODS to infocube. We do not have any routine or filter conditions while loading data from ODS to infocube.
    In the update rules of infocube we do not have any routine written .
    Also no start routine is present in Infocube.
    The data is loaded successfully from ODS to infocube.
    But still a particular 'sales doc type' is not transfer from ODS to infocube.
    While this 'sales doc type' is present in ODS.
    The Sales doc type is maintained with respect to the Ordernumber. So If I check the Ordernumber of that sales doc type in ODS then the same Order Number is not present in infocube.
    Means some / few Ordernumbers also getting deleted while transfering data from ODS to infocube.
    We do not have any object in update rules as master data attribute of.
    Please suggest me what to do in this case.
    Amol.

    hello VC,
    I have checked that in ODS update rules , for key figures we have update type as Addition and the data from ODS to infocube is INIT and then delta.
    Is this the reason for Overwritting the particular sales doc type ?
    I thing we should do full upload only from ODS to infocube in this case.
    Regards,
    Amol.

  • Push from ODS to cube taking a long time

    Hi All,
    I've created a new ODS that pushes data to a new cube.  I am trying to load 3000 records and its taking over 30 minutes, and I can never get it to complete successfully.  When I look in sm50, there is nothing running.  The are no short dumps in st22. But when I look in sm21 I get the following:
    Documentation for system log message R6 8 :                                                
    An error has causes an SAP rollback.  All database updates are reset.                                                                               
    Technical details                                                                          
    File................ 009581                                                                
    Position............ 0000072900                                                            
    Entry type.......... m      ( Error (Function,Module,Row)    )                             
    Message ID.......... R6 8                                                                  
    Variable parts......                                       ThIRollroll bathxxhead1248                                                                               
    My update rules between the ODS and cube are very straightforward.  All fields are a direct mapping to the ODS, no routines.  I have a start routine, but when I comment out the entire start routine and run the update between ODS and cube, I still get the same issue.  We are on version 3.5.
    Any suggestions?
    Thanks
    Charla

    Hi,
    Try "generate export data source" from ODS and load the data. Sometimes there is problem in DDIC tables and structures are not generated properly.
    Regards,
    Kams

  • Reading data from ODS and update current layout?

    Hi,
    when i execute a planning folder, list of materials are displayed into the current layout.
    Now, for each material, I need to bring quantity into the current layout which is (quantity) in an ODS. Initially, Quantity is blank in the infocube. Now, i need to populate Quantity field from ODS into the current layout.
    Infocube Quantity field & ODS Quantity field are different but of the same type.
    I'm wondering if it can be done using a user exit. Can we read ODS data from a function module and send it back to the current layout?
    I appreciate sharing your ideas.
    Message was edited by: hari143

    Hi Hari,
    you could use a routine in the upload rule.
    declaration area
    Tables: /BIC/AODS00.
    data: T_MATERIAL Type hashed table of /BIC/AODS00 with unique
    key /BI0/0MATERIAL with header line.
    Loading of internal Table
      data: n type i.
      describe table T_MATERIAL lines n.
      if n = 0.
        SELECT * FROM /BIC/AODS00 INTO TABLE T_MATERIAL.
      endif.
    finding MATERIAL
      read table T_MATERIAL with table key
        /BI0/0MATERIAL = COMM_STRUCTURE-/BI0/0MATERIAL.
      if sy-subrc = 0.
    Additional necessary Values
    Values from Communication Structure
          RESULT_TABLE-Object1 = COMM_STRUCTURE-Object1.
    RESULT_TABLE-Object2 = COMM_STRUCTURE-Object2.
          RESULT_TABLE-VTYPE = COMM_STRUCTURE-VTYPE.
          RESULT_TABLE-VERSION = COMM_STRUCTURE-VERSION.
          RESULT_TABLE-FISCYEAR = COMM_STRUCTURE-FISCYEAR.
          RESULT_TABLE-FISCVARNT = COMM_STRUCTURE-FISCVARNT.
          RESULT_TABLE-G_CWWCON = COMM_STRUCTURE-G_CWWCON.
          RESULT_TABLE-/BIC/C7_ERGBER = COMM_STRUCTURE-/BIC/C7_ERGBER.
          RESULT_TABLE-CO_AREA = COMM_STRUCTURE-CO_AREA.
          RESULT_TABLE-SOURSYSTEM = COMM_STRUCTURE-SOURSYSTEM.
          RESULT_TABLE-CURTYPE = COMM_STRUCTURE-CURTYPE.
          RESULT_TABLE-CURRENCY = COMM_STRUCTURE-CURRENCY.
          RESULT_TABLE-COUNTRY = COMM_STRUCTURE-COUNTRY.
          RESULT_TABLE-G_CWWTEC = COMM_STRUCTURE-G_CWWTEC.
          RESULT_TABLE-SALES_DIST = COMM_STRUCTURE-SALES_DIST.
    Values from Hyperion Mapping ODS
          RESULT_TABLE-G_CWWPT2 = T_HYP_ACCT-G_CWWPT2.
          RESULT_TABLE-G_CWWPD3 = T_HYP_ACCT-G_CWWPD3.
          RESULT_TABLE-G_CWWPD6 = T_HYP_ACCT-G_CWWPD6.
          RESULT_TABLE-G_CWWNEW = T_HYP_ACCT-G_CWWNEW.
          RESULT_TABLE-CUSTOMER = T_HYP_ACCT-/BIC/C7_DUMMY3.
          RESULT_TABLE-SHIP_TO = T_HYP_ACCT-/BIC/C7_DUMMY3.
    Not assigned Values
          RESULT_TABLE-SALES_GRP = ''.
          RESULT_TABLE-PROFIT_CTR = ''.
          RESULT_TABLE-SALESORG = ''.
          RESULT_TABLE-G_CWWPD1 = ''.
          RESULT_TABLE-G_CWWPD4 = ''.
          RESULT_TABLE-G_CWWPD5 = ''.
          RESULT_TABLE-DISTR_CHAN = ''.
          RESULT_TABLE-DIVISION = ''.
          RESULT_TABLE-BUS_AREA = ''.
          RESULT_TABLE-CUST_GROUP = ''.
          RESULT_TABLE-/BIC/C7_HIE01 = ''.
          RESULT_TABLE-SALESEMPLY = ''.
          RESULT_TABLE-VALUATION = ''.
          RESULT_TABLE-REC_TYPE = ''.
          RESULT_TABLE-VAL_TYPE = ''.
          RESULT_TABLE-G_CWWMRK = ''.
    *Deriving values
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE1.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '001' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE2.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '002' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE3.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '003' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE4.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '004' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE5.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '005' into
          RESULT_TABLE-FISCPER..
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE6.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '006' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE7.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '007' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE8.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '008' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE9.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '009' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALU10.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '010' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALU11.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '011' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALU12.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '012' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RETURNCODE = 0.
          ABORT = 0.
        Else.
          RETURNCODE = 1.
          ABORT = 0.
        endif.
      ELSE.
        RETURNCODE = 1.
        ABORT = 0.
      ENDIF.

  • Error when initializing the Transaction data From ODS to CUBE.

    Hi,
       we have initialized the load from source system to ODS. the load was successful, and when loading from ODS CUBE(initialization). it is giving the following message.
    No SID found for value '0000436038' of characteristic 0CUST_SALES.
      We have updated the master data of 0CUST_SALES (DELTA UPDATE).
    but still getting the same message when updating the data packets from PSA. I am unable to find the reason.
      Please let me know is there any other solution.
    with regards,

    Hi A.H.P,
       I have loaded master data for all the objects you have mentioned( atributes and texts). but still data packets are not getting updated. it is giving the message.
       i have also tried the elementary tests and combined tests of 0CUST_SALES, in RSRV. there were no errors found.
      these data targets were newly implemented. would it be problem with routines or any other means.
      Please let me know ASAP.
    with regards.

  • Debugging when data is mooving from ODS to CUBE

    Hi Experts,
    I am mooving data from ODS to CUBE...!
    how to debugg to minimise the loading time.
    Thanx in advance.
    Vasu

    hi Vasu,
    put a 'break-point.' in your update rules' routine and
    click icon monitor for the request in infocube->manage->request, will go to monitor -> tab 'details' - last node 'processing(data packet' -> right click any data packet and mark 'activate debugging in update rules'.
    how to reduce loading time please refer to doc 'data loading and performance analysis'.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3a699d90-0201-0010-bc99-d5c0e3a2c87b
    hope this helps.

  • Problem when loading from ODS to the CUBE

    Hi Experts,
    I am facing an unusual problem when loading data from ODS to the cube.
    I have a first level ODS where the delta postings are updated. I have checked the active table of the ODS and the data is accurate.
    I have deleted the entire data from the Cube and trying to do a full load from ODS to the CUBE.
    I am sure when I run a full load the data goes from Active table of the ODS.
    After the full load the the keyfigure values are 0. I have tried doing the testing by loading couple of sales documents and still the keyfigure values are 0.
    I wonder when I load the full. The data should be picked exactly the way it is in active table of the ODS.
    I also dont have any fancy routines in the update rules.
    Please help me in this regard.
    Regards
    Raghu

    Hi,
    Check the procedure did u do that exactly or not. just follow the the laymen steps here:... and let me know ur issue
    o     First prepare a flat file in Microsoft excel sheet for master data and transaction data and save it in .CSV format and close it.
    o     First select info objects option and create info area then create info object catalog then char, & key figure. Then create ‘id’ in Char, Name as attribute activate it then in key figures create no and activate it.
    o     In info sources create application component then create info source with direct update for master data and flexible update for transaction data. The flat files would be created for master data create info package and execute it.
    o     For transaction data go to info provider then select the file right click on it then select option create ODS object. Then a new screen opens give the name of the ODS and create other screen opens then drag character to key fields.
    o     Activate it then update rules it will give error to it then go to communication structure and give 0Record mode then activate it then go to update rules it will activate it.
    o     Then go to info source then create info package then external data then processing update, Data targets then the scheduling then click start then the monitor.
    o     Then other screen opens there we can see if we doesn’t able to see the records then come back to the info provider right click on it then other screen opens then select the option activate data in ODS then a screen opens.
    o     so select the option QM where it would be in a yellow co lour then by double click then another screen opens then select green color option then click continue it and it comes to the previous screen then select the option and click save it would be underneath of it just click it up and close it.
    o     Then come back to the main screen to the info source to the info package go to the package and right click on it then a screen opens then click schedule without distributing any of the tab directly click the monitor tab. Then refresh it until the records come to the green.
    o     Once it is green the click the data target and see the file executed.
    o     Now go to the info provider then a right click on the file name then create info cube. Then a new screen opens and gives the name and activates it. The drag the key figures to the other side, time characteristics to the other side, and chacetristics to the other side.
    o     Then create the dimension table then assign it and activate it .Then go to file name right click on it then select the option create update rules select ODS option and give the file name and activate it .
    o     Then come back to the main screen and refresh it. Whenever you see 8 file names you will know that it is undergoing the data mart concept.
    o     In the main screen click ODS file right click then a pop up screen opens select the option update ODS data target. Then another screen opens in that we are able to see 2 options full update, initial update then select initial update.
    o     Then another screen opens info Package there the external data , data targets , scheduler select the option later in background option then a another screen opens just click immediate then click save automatically it closes then click start option.
    o     Then select monitor option then the contents then the field to be elected then the file to be executed.
    regards
    ashwin

Maybe you are looking for

  • Which object's monitor does a synchronized method acquire?

    from the Java Tutorial for concurrency programming: " When a thread invokes a synchronized method, it automatically acquires the intrinsic lock _for that method's object_ and releases it when the method returns. The lock release occurs even if the re

  • You've already purchased this item, but it hasn't been downloaded.

    I don't have App sync on (have tried it with App sync on and off), my Mobile Applications directory on my Mac is empty. When I go to update my apps per the iPhone's App Store program, they download and then I get this message: +You've already purchas

  • Passing multi-value param to subreports

    I have a main report that has 3 subreports. It used to take a parameter, which was in each subreport and main report sql commands, each would bring back records pertinent to that param. Now report needs to be able to take a multi-value param. I took

  • System information & Product codes

    Lion OS brought system information as the new system profiler. While with the latter i knew how to retrieve codes of softwares (iLife, iWork and so on), I cannot find any way to do the same with the newer one. Anyone has a clue?

  • SAP MM - How to prevent further GR if delivery completed in MIGO

    Hi Experts, Scenario: 1. Partial GR has been made for PO. 2. Delivery Completed is already set/ticked upon the partial GR. We would like to ask if it is possible to prevent further GR for a PO that has been partially GR'ed already using transaction M