Unable to load master data to cube

Hi,
I have one master data 0PART which is referenced by 0Activity Type master data.
I have added 0PART chara into one infocube. and wrote abap code in update rule as below:
data:    begin of i_acttype occurs 0,
                0PART like /BI0/PACTTYPE-ACTTYPE,
          end of i_acttype.
select ACTTYPE into table i_acttype
        from /bi0/pacttype
    for all entries in DATA_PACKAGE
       where objvers   = 'A' and
             acttype = DATA_PACKAGE-PART.
The reason behind adding this code is,
Cube is populating from ODS and in ODS data comes from R/3 but standard extractor dont populate this field so i am trying to load it from master data.
when i try to load data into info cube it gets stuck in update rule. it reads the data but not transfering it to cube. so i believe that there is some problem in my code. in monitor i can see that it starts processing update for cube and ends immediately without any error message. process status ends but shows request is still running.
can someone correct it for me ?
thanks,
KS

Hi
You are just populating the internal table with the records using the select but no code to write the record to the part field of the cube. Im not very good in ABAP but you can try adding the below code and see if it works or not.
data: begin of i_acttype occurs 0,
0PART like /BI0/PACTTYPE-ACTTYPE,
end of i_acttype.
select ACTTYPE into table i_acttype
from /bi0/pacttype
for all entries in DATA_PACKAGE
where objvers = 'A' and
acttype = DATA_PACKAGE-PART.
loop at data_package where part = i_acttype-0part.
if sy-subrc eq 0.
datapackage-part = i_acttype-0part.
endif.
endloop.
Hope it helps.
Regards
Sadeesh

Similar Messages

  • Unable to load the data into Cube Using DTP in the quality system

    Hi,
    I am unable to load the data from PSA to Cube using DTP in the quality system for the first time
    I am getting the error like" Data package processing terminated" and "Source TRCS 2LIS_17_NOTIF is not allowed".
    Please suggest .
    Thanks,
    Satyaprasad

    Hi,
    Some Infoobjects are missing while collecting the transport.
    I collected those objects and transported ,now its working fine.
    Many Thanks to all
    Regards,
    Satyaprasad

  • Loading InfoObject master data into Cube

    Hi Guys,
    I have a  question. I created an InfoObject as a data target and loaded data into that data target. I created a cube and I want to include this infoobject in the cube. Now How do I load data into this cube from the InfoObject.Because the InfoObject doesnt have any option to select data targets, since it is master data.
    Data is being loaded into the InfoObejct. But when I check the cube there is no data.
    How do I load this master data into the cube without update rules?
    Thanks in advance.

    Hi,
    i think u need load some value to transaction data so that you can report on it, but how you are going to decide which row will be having which value from master data? in general value for this should come from transactional data, or you could assign some constant value to it.
    Do you want to use any attribute of Inoobject in report? And if you have any key value for that coming from Transaction data, you can use rule type as read from master data
    It depends upon your requirememt.
    Since you want to restrict the values of the cube which are going into the report then you should include this object into the cube.
    In any case if you want to restrict the value of the transactional data in the cube with either the value of the objects ot the attributes of object you will have to add this object into the cube.
    As you said you can load master data and use in report but how you are going to use it..............you will have to include it in the cube to use it.
    Also you can check whether this object is attribute of some other object already in the cube in that case you can make it navigation attribute and then use it for the restrictions in the cube.
    In this case only you do need to add it to the cube,But if it not an attribute of any object then you must add it to the cube.
    You have to get the value of your infoobject into Cube from datasource, even though you want to use attributes only.
    You will have to add it and it wont have any effect the transaction data getting loaded into the cube will be different from the master data only SID's are matched during loading of the data.
    You should load separate master data into the 0recontract infoobject with the master data source and make the respective object contract type and contract category as navigation there.
    Also you should add 0recontract to the cube and update it from the transaction data source as you have said that it can be updated.
    Then just do the normal restrication at the report level
    You can make this display attribute as naviagatioonal first in the master data object and then in the cube make this attribute as navigational.
    then you can use it to restrict in the cube
    You can use Category as InfoObject in your cube, and while loading data for your infoobject in the rule type you can use option as reading from master data. It will take key of infoobject, and will update attribute value in your cube.
    http://help.sap.com/saphelp_nw04s/helpdata/en/e5/f913426908ca7ee10000000a1550b0/content.htm
    You can also restrict with attributes value, Just in the restrcition of your infoobject in query designer, slelect left-botton button of 'Dipaly Other Values', here you can select you attribute and its value for restriction as well
    Regards,
    Hareesh

  • BIA Dummy Cube to load master data

    Hi everyone,
    We've initiated a project to implement BIA and the racks will arrive in the next few weeks. Something I've heard discussed, but not found documented, is that some companies built a "dummy cube" consisting of all the master data involved in the cubes to be loaded to BIA. Apparently, this is to avoid the potential for locking the master data indexes as multiple cubes are indexed in parallel. Having the master data indexed in advance of indexing several cubes in parallel is apparently much faster, too.
    See "Competing Processes During Indexing"
    [Activating and Filling SAP NetWeaver BI Accelerator Indexes|http://help.sap.com/saphelp_nw2004s/helpdata/en/43/5391420f87a970e10000000a155106/content.htm]
    My questions are: Is this master data "dummy cube" approach documented somewhere? Is this only for the initial build, or is this used for ongoing index rebuilds such that new master data objects are consistently added to the dummy cube? Is this the right approach to avoid master data index locking job delays/restarts, or is there a better/standard approach to index all master data prior to indexing the cubes?
    Thanks for any insight!
    Doug Maltby

    Hi Doug - I'm not aware of this approach documented anywhere. Personally, I'm not sure a "dummy" cube buys you much. The reason I say that is because this "dummy" cube would only be used upon initial indexing. The amount of time to construct this cube, process chain(s), etc. would be close to the equivalent time to do the indexing. The amount of time it takes to do the initial build of the indexes depends on data volumes. From what I've seen in the field this could vary on average from 4-8 hours.
    Locking is a possibility, however, I don't believe this is very prevalent. One of the most important pieces to scheduling the initial builds is timing. You don't want to be loading data to cubes or executing change runs when this takes place. In the event locking does occur, that index build can simply be restarted. Because a lock takes place, it does not mean all of your indexes will fail. The lock may cause a single index build to fail. Reviewing the logs in SM37 or the status of the infocube index in RSDDV will also show the current status. Simply restart any that have failed.
    Hope this helps.
    Josh

  • What if i load transaction data without loading master data

    Hello experts,
    What are the consequences if i load transaction data without loading master data?Are there any other factors except the load performance because of SID generations etc and inconsistencies.
    <b>What kind of potential inconsistencies will occur?</b>
    Problem here is:
    when the transaction load starts a new master data such as employee(x) would be have been created in R/3 which does not exist in BW and hence transaction load fails.
    Thanks and Regards
    Uma Srinivasa rao

    Hi Rao,
    In case you load the master data after loading the transcation data and if there is any look up at the master data in teh update rules, then you can delete and reconstruct the requests in the ODS/Cube so that the latest master data is pulled in in the data target.
    Make sure you do the Apply hier/attr change before doing the delete and reconstruct.
    Bye
    Dinesh

  • Loading master data from SD to BW

    Hi Friends
    does anyone have steps for loading master data of SD to BW. I have loaded transaction data, need to load the customer and material master data.
    let me explain in more detail. i have extracted the data from a table in R/3 and it doesnt have the material and customer description, so the cube also wont have the same. the mat description is a table in R/3 called MAKT. how do i go about getting that material description into the cube. i hope this is clear enough and if you have any queries post so i can reply.
    I am working on LO extraction. As one of the contributors suggested, I need to do an enhancement, is it in the form of an ABAP routine or can it be done by adding a field to the cube. Pls suggest.
    Regards
    RP
    Message was edited by:
            rp

    hi,
       first thing which shouold be kept in mind is that master data should be loaded first than the transactioenal data should be loaded so as to reduvce time.
    the steps ara
    1.replicate the data source to bw by going to source system and chosing replicata datasoources.
    2.actvate the data sources.
    3.now create transformation between  data source and target and then create infopackage and schedule.
    pls assign points if helfuyl.

  • Order of loading Master Data - Fact or Fiction

    I understand that for loading Master Data for InfoCube 0FIAA_C01 (or any other) you should load starting from the lowest level.
    That means for every characteristic in the cube you have to check and see if any of the InfoObjects have Master Data attributes, and if any of those attributes have attributes, and so on. This quickly becomes a multi-level structure.
    Part of the tree structure for 0FIAA_C01 would look like:
    0FIAA_C01                                     
    ..........0COMP_CODE                              
    ....................0CHRT_ACCTS                           
    ....................0C_CTR_AREA                             
    ..........0ASSET_AFAB                                
    ..........0ASSET                              
    ....................0ACTTYPE                        
    ....................0BUS_AREA 
    <snip>
    So does that mean that 0bus_area should be loaded first before 0asset?
    Is this fact or fiction?
    If its a fact I am wondering what tools SAP has for determining the order of loading Master Data.
    Discussion points and tools for facts awarded!
    Mike
    Edited by: Michael Hill on Feb 12, 2008 4:52 PM

    Hi,
    My master data loads are largely in the area of HR.
    The only order I follow while loading master data is for a particular infoobject with regard to text, attributes and hierarchy - The order being text>>attributes >>hirerachy.  Frankly, I have not checked doing it otherwise.
    Across different master data infoobjects I see no need to have any order atleast in HR.  Generally speaking a master data object has data that has an independant existence as extracted from R/3 or other sources and not derived from any other master data object in BW.
    Master data as its name implies should not have referential integrity checks with other master data. 
    It would be good to know if someone has real experience to the contrary.
    Mathew.

  • Load master data from BI 7.0 to BPC NW 7.0

    From BPC 7.0 NW, SAP has standard package to load transaction data from BI cube to BPC cube, However, it dose not have the standard package to load master data from BI master data to BPC master data(dimension),
    Is this mean that we have to load the master data from BI to BPC through flat file? or we  can create some customer package(process chain) to load it?

    Hi JW,
    You can automate the master data load from BW if that is what you are trying to accomplish. Have you seen this guide: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00380440-010b-2c10-70a1-e0b431255827 ?
    Additionally you can also develop a custom process type and use it in a custom process chain alongwith a data manager package to load master data if you don't want to use any flat files at all.
    Regards
    Pravin

  • Need help in loading master data.

    Hi everyone,
              I am just a beginner in BI 7.0 . I know Bw 3.5 . I need help in loading master data(flat file) in a step by step manner.
    Before posting this forum i searched and checked out other related forums too, as i am a beginner i am unable to follow them. Lots of the forums gave the help.sap.com link which i used and got a little help but not fully, so please don't send that link.  I need a step by step guideline from somebody, which says everything from the beginning till monitoring say like
    e.g.. 1) create a InfoObject by right clicking on InfoObject catalog.
    something like that.
    please help me get a clear and detail step by step procedure to load a master data (Flat File should be good) which may help me get a start will other things without much help.
    Please help me learn.
    Thanks.
    Ranjani.

    HI,
         Thanks for your reply. This is what i did.
    1) Created a Info Area.
    2) Created Info object catalog & activated
    3) created info object with nothing except some 4 attributes.
    4) Created Application compound in Infosource tab.
    5) Right clicked on Application compound and chose create Infosource in which chose a option with 3.x and chose the flexible update and gave the info object name.
    6) In info provider tab , in the Info Area right clicked and chose the Insert char as data target option.
    Now, i am stuck. I have no idea what to do next.
    I know i have to create a transformation - There are two tabs in Transformation box, what should i do there.
    Please help me from point 6 to cont., to load the data.
    Thanks.

  • How to load master data in sap bpc 7.0

    Hi ,
      how to load master data in sap bpc 7.0?plz give me the steps also?
    Thank u

    Hello Devi,
    There are three ways you can load Master Data in BPC
    1) Copy and paste.
    Download master data in flat file .Copy the  master data and paste in members of dimension after that process the dimension.
    2) Using SISS Pakage - load Flat File into BPC-Cube
    3) Using SQL Command.
    Thanks.
    With regards,
    Anand Kumar

  • BPC75NW: Error Loading Master data for BPC Dimensions from BW InfoObject

    Hello Gurus,
    I'm trying to load master data for BPC Dimensions from BW Infoobjects.
    The ID thats used in BW is 32 char long. When I run the load, the ID is truncated after 20 chars and  the records are reported as duplicates.
    Due to this the load is failing.
    I cannot use any other ID as the texts will not be loaded in that case.
    Is there any work around to handle this?
    I cannot load the transaction data either.
    I looked at some posts and blogs in sdn, but nothing really helped.
    Cube - 0RPM_c05 (Financial Planning cube in SAP PPM)
    Version: BPC 7.5 NW SP5
    Thanks,
    Vasu

    Thanks Everyone.
    " you can write a transformation file and give a new name to those IDs who have values more than 20 characters."
    Poonam - Could you explain more?
    I tried using a additional Dimension property to hold the 32 char ID. But I cannot access this in the transformation.
    Is there a way to refer the dimension property in the Transformation file or in the UJD_ROUTINE BADI implementation?
    Thanks,
    Vasu

  • Loading Master data into BPS through layouts

    Hi SAP Gurus,
    Is it possible to load the master data into BI-BPS through layouts(in BI 7.0
    Thanks in advance.
    Regards
    Pradeep

    Hi Pradeep,
    if its combination of charactertics & keyfigures, then you need to load master data in Info objects(Characterstics) and for key figures you can load directly in the layout, once you save it , these values get saved back in Cube.
    Hope this helps
    Regards
    Imran

  • Loading Master Data into a DSO

    Hi Experts,
    I am unable to analyse whether loading data from Master Data InfoObject into a DSO will cause performance issues or will that work fine.
    I was trying to do the same.  Awaiting for your inputs on that.
    Thanks,
    Vijay

    Latha,
    Loading master data into a DSO can be done using the following steps:
    1) Right click on the DSO and select Create transformation... option.
    2) In the dialog box that appears, select Object Type as InfoObject and in the text box right below you give the name of the object.
    3) In Subtype of Object selection, select attribute or text as per your needs.
    4) select ok and you should see the transformation, map and activate the transformation.
    5) create DTP and run it.
    Hope this helps, [ you got my name wrong im vijay]

  • Loading Master Data to an InfoObject

    All,
    When loading a info provider like an ODS or Cube, there is a 'manage' option where you can see the requests that have loaded and that have failed. Where is the equivalent feature for loads to an InfoObject?  Is there one?
    Thanks in advance...

    hi nat,
    go to administration work bench (rsa1) go to info objects in context menu u can find maintain master data
    click on that u can see the master data of that infoobject.
    As master data is important we can't delete with requests
    as in ods or cube.usually developer will wont have authorization. we can edit the masterdata by reloading it
    again.
    Once u loaded master data using info package, in the monitor tab (rsmo ) u can see the status of the dataload
    green indicates successfully loaded or red indicates data not loaded properly
    hopes this clears ur doubt
    let me know
    <b>Assigning pts is the way of saying thansk in sdn</b>
    cheers
    ravi
    regards
    ravi

  • Why we load Master data first before loading Transaction data

    Hi Experts,
    why we load Master data first before loading Transaction data, specify any reasons for that ? Is it mandatory to load MD first ?
    I will allocate points to those who help me in detail. My advance thanks who respond to my query.
    Edited by: Nagireddy Pothireddy on Mar 10, 2008 8:17 AM

    Hi Nagireddy,
    I hope this helps....
    The bottom line for building cubes it to view facts against dimensions. When i say facts these are the key-figures i.e sales volume, Sales vat etc against some characteristics like sales Area,  Cost center , plant.
    Basically charateristics are those against which key-figures are measures like Costcenter, plant, material etc.
         Dimensions are a grouping of related characteristic. So basically a cube has a central fact table with dimesions associated to it in a relational schema. Imagine now you want to view a key figure Sales Volume against a dimension plant. when you consider plant , it has a distribution channel, purchasing organisation , company code, sales area, region etc associated with it. So which form the attributes of plant and also have some or the other description (texts) and aslo hierarchy. first we load the master data and then the transaction data follows.

Maybe you are looking for

  • 5D Mark II raw image quality

    There's been a post by A Museman (earlier this year) on "5D Mark II raw image quality" that attempts to discuss the differences and problems with Aperture with flat / poor quality raw photo's as compared to sharper, clearer, more saturated pictures p

  • Oracle 11g - ALU32UTF8 - Application Issue

    I currently migrated to 11g - and chose to use AL32UTF8 multibyte character set. This is a challange when the application using this DB is comunication with a third party application through MQ and flat files. Senacrio: A Column in a table in my DB i

  • Photo Booth screen is black afterin stalling Leopard on iMac Intel

    i reinstalled leopard. same problem, black screen on Photo Booth. green light is on next to build in iSight. i can take fotos for chat and video works with skype. since day one photo booth has been a headache but i dont use it much. happy new year fr

  • Row number in Financial reporting

    Is it possible in Financial reporting to display row number any how.

  • Trying to sign in to HP connected

    I am trying to register and sign in at hp connect to enable me to scan documents to email but after completing the details and selecting password on the sign in page I then get transferred to a snap fish sign in page but I do not have a snap fish acc