Master Data Look up

Hi,
   Cost Centre is an attribute of an employee and
   Company is an attribute of a cost centre
My requirment is
I am getting Employee and Cost Centre information avaliable.Based on that while loading data to employee attributes the systems need to check cost centre of an employee and then need to pull the company (attribute of cost center) info and load it as an attribute of an employee
ZEMPLOYEE
ZCOST CENTER
ZCOMPANY
How can i achieve this
Please update me with the routine

HI,
For Master data load with Direct Update Method, the dataflow will be like this,
Source System> Datasource> PSA > Transfer Rules-> Info Source (Communication Structure)
For Direct update method the Communication structure will be act as a Datatarget for infoobject.
By use of Direct update method if you load master data means the loading will be faster but you cannot take a report on master data in this method.
For Master data with Flexible update method, the data flow will be like this,
Source System--> Datasource --> PSA --> Transfer Rules --> Infosource --> Update rules -->  Info object(DataTarget)
So here transfer rule, update rules are coming , by use of this flexible update method if you load master data you can take report on this.
NOTE: Assign points if it helps
Regards,
Arun.M.D

Similar Messages

  • Master data look up : Where used list?

    All;
    I am in a situation where I have to find out a list of look ups (routines/update rules) on my master data 'M' table.
    When I did a where used from se11 View on infoobject 'M' table it gives back few programs but I am not sure how to find out which update rules are using those programs.
    Please advise.
    Thanks.

    Hi Lasya,
    Check the table RSUPDROUT and RSUPDINFO. It gives the update rules based on infoobject level.
    Also try the following link which has a program .
    Search for start, update rule, etc. that uses infoobject
    It will definitely solve your problem.
    Regards,
    Rajani.

  • Master data look up code

    Hi All,
    I have an ODS u2013 YODS in which I have 0MATERIAL as a data field.
    I want to populate 0matl_type in this ODS itself.
    Do I have to write the code in start routine or update routine(0matl_type) for picking 0matl_type from 0material?
    Can any body provide me a sample code?
    Thanks
    Sreeja

    Hi,
    Please use the sample code as below :
    Start Routine
    select *
    into table itab from /BI0/PMATERIAL
    for all entries in
    SOURCE_PACKAGE
    where MATERIAL = SOURCE_PACKAGE-MATERIAL.
    Transformation routine
    read table itab into wa_itab with key Material=
    Source_fields-material .
    IF sy-subrc = 0.
    Result = wa_itab-matltyp.
    endif.
    -Vikram

  • Master data not present in the reporting cube

    Dear Experts,
    There is a scenario in report design for me.
    I have already created the Bex report and all the fields as mentioned are in the  sales report.
    Client now wants to include two more fields in the report.
    One is the keyfig  " Net value" which is present in the sales cube  and i have already included in the report
    and another field which is master data  0profit_center  is not present in the cube.
    Any ideas how can i include this  0profit center  data  so that i can display in the report?
    As far as i understand, I need to include this master data in the sales  Infocube which is being used for reporting.
    But i am pondering  upon the impact on the system because of this.
    Now i have checked the BI system and the ECC table. In VBRP table of ECC,  the profit center is present.
    But when i see in BI the profit center is not being loaded  from ECC but from flat file source system.
    So i am confused how to go forward.
    Can anyone suggest me  what should be my approach?
    Best Regards!!

    You didn't understand what we suggested.
    Rather than checking 0profit_ctr master data, you need to find the info objects(which are part of your cube) which have master data. in those 0profit_ctr can be a attribute. if yes then navigation settings will work.
    if not then you can add 0profit_ctr to info cube and user master data look up thru routine or option read from master data(bw 7.3).
    Other wise, directly add 0profit_ctr to your flat file data source(and cube) and maintain data thru flat file.
    To look up your cube and 0pfirt_ctr need to have relations with another info objects other wise not possible.

  • Problem with master data lookup in transformations

    Hi,
    We're experiencing a strange problem in the transformations for an Error Reporting scenario.
    We've the SAP standard customer (0CUSTOMER) in DSO 2 which derives it's value from the navigational attribute of YCUSTNR (0CUSTOMER is the navigational attribute of YCUSTNR) in DSO1. But the problem here is that even when there is no entry for YCUSTNR, the 0CUSTOMER in DSO 2 returns a value.
    Referential Integrity check is not employed for this scenario. Is it because of this reason that lack of master data is returning some value held in memory. I'm not sure whether it's an issue with the cache. Is there any work around for solving this problem other than the standard master data look up?
    Any help in this issue would be appreciated and rewarded.
    Thanks & Regards
    Hari

    Note 1031553 - Reading master data returns value that does not exist
    will solve this problem.
    Regards,
    József.

  • Master Data Lokups

    Hi Xperts,
    I am working BI 7.0 system. Some of data sources having many master data lookups. I heard if we can use master data look ups, we have to load full loads not for delta. Because the master data changes are not reflected into data targets due to master data lookup? Is it correct?
    Advance thanks for you,
    Mannev.

    Hi Mannev,
    Any data in the data target already will not be updated unless it is in the DSO/ODS and you are overwriting it.  In many cases, a full load will be necessary, however, if you don't want the master data updated, then you do not want to do a full load.
    For example, if you load Material A with a Std Price of $1.00 on Monday, you probably don't want to reload that data on Friday if the Std Price changed to $1.20.  It will through off all of your historical data.
    Since I don't know what you are dealing with specifically, it's hard to tell you whether or not to use a full or delta load.   There are benefits to both, you just need to understand the requirements enough to make the best decision.
    Thanks,
    Brian

  • Read from master data attribute

    Hi BI experts,
    Here is a challenging question.
    One of the FIGL infoprovider do not have infoobject 0company. Added 0company and set up update type 'overwrite'. Update method 'Master data attribute'. So 0company should read from the master data attribute of 0Comp_code.
    Master data attribute loaded for 0comp_code. Did transaction data load for FIGL infoprovider.
    But 0company is blank in FIGL ODS.
    Any thoughts..
    Thanks in advance

    It should ideally pull the 0company, Otherwise try doing it thru Start routine ..
    Create an internal table, pull company code and company from the master data table of Company code into this table.
    Read from this table in your update routine and corresponding to the company code read the company and populate in your ODS.
    It will also be better in performance compared to a master data look up !!!!!!!
    Regards.

  • Master data from two data sources

    Dear Experts
    IO(0CRM_PROD),getting populated from 0PRODUCT_ATTR(BI 3.5)(existing in production with overwrite mode for all fields).Now I want to add one enhance field in 0CRM_PRODUCT,same getting populated from generic datasource(BI 7).Requirement is one IO with the source of one std datasource(3.5) and one generic datasource(BI 7).How to achieve this...
    Thanks
    Rajesh

    Issue resolved it worked.I used master data look up logic.

  • Duplicate records in master data info object

    dear friends,
    i got a standard infoobject called 'A' and it has got some attributes B,C,D,E for that one standard datasource with the following fields A,B,C,D,E  exists and i loaded data. abapers had created a z table with the following P,Q,R,S,X,Y,Z fields.  'P' holds the same records what the 'A' infoobject holds. my requirement is to create a report on the following fields:
    P,Q,R,S,B,C,D,E
    WAT I DONE IS I CREATED A GENERIC DATASOURCE FOR THE FOLLOWING FIELDS P,Q,R,S AND I ADDED THE STANDARD INFOOBJECT CALLED 'A' WITH THE FOLLOWING FIELDS: Q,R,S.
    AND I CRTEATED AND  SHEDULED THE INFOPACKAGE FOR THE STANDARD DATASOURCE(A,B,C,D,E,) TO STANDARD INFOOBJECT(A,B,C,D,E,Q,R,S). NEXT I CREATED THE ANOTHER INFOPACKAGE AND SHEDULED THE INFOPACKAGE AND SHEDULED FROM GENERIC DATASOURCE (P,Q,R,S) TO STANDARD INFOOBJECT(A,B,C,D,E,P,Q,R,S) WITH TRANSFER RULES P->A,Q->Q,R->R,S->S. AFTER LOADING THE DATA I AM GETTING DUPLICATE RECORDS.I WILL GIVE THE TABLE HOW MY MASTER DATA LOOKS LIKE
    A B C D E P Q R S
    1 2 3 4 5
    2 3 4 5 6
    3 4 5 6 7
    1         6 7 8 9
    2         7 8 9 3
    3         4 6 2 1
    THIS IS HOW MY MASTERDATA LOOKS LIKE BUT I NEED IN THE FOLLLOWING FORMAT:
    A B C D E P Q R S
    1 2 3 4 5 6 7 8 9
    2 3 4 5 6 7 8 9 3
    3 4 5 6 7 4 6 2 1
    PLEASE LET ME KNOW
    THANKS & REGARDS,
    HARI

    Hari,
       why don't you enhance the Masterdata info object?. You are suppose to see overwritten records. infoobject A is primary key in the table.
    try to enhance the masterdata Datasource. you will get required output or create masterdat generic Data source.
    All the best.
    any questions let us know.
    Nagesh.

  • Master data check

    How i can find if there some master data look up in my transfer rules or update rules?
    I read only about this in update:
    Data Updata Type in Data Target
    x Always update data even if no master data exists for the data
    x Do not update data if no master data exists for a characteristic
    Any suggestion?

    Hi,
    there are two parts in your question:
    1. For the first part, Just go the update rules or transfer rules and check for an update type 'Materdata attribute of'  (or) check all routines that does this masterdata look up programmatically using ABAP.
    2. The second part deals with a different subject of validating transaction data with the masterdata. (called referential integrity check). As per the data update type you set in the infopackage (the two options you mentioned above), the data load behaviour can be affected.
    Hope this helps.

  • Master Data Sequence load

    Hi guys i 've load data to an infocube and i have a lot blank records, i've read that this is because the master data not was loaded or loaded after transactional data, but my infocube have a lot of characteristics that have master data, is necesary to load every one before load tha trasactional data or there´s a way to load all the master data in one step instead of one by one?
    I hope that somebody could help with this
    Regards...

    Hi Oscar,
    It is recommended that you load the master data before the trsancational data so that the data cna be activated i.e. Sids are created for the char values and ready to use at the time of transactional data load. Are you doing a lot of master data look ups in your update or transfer rules, or laoding the master data attributes to the cube? If not, then you really should not have "blank" values.
    You can go ahead and load the master data after the transactional data too.
    You do not have to load all the chars each time. You can set up the delta for the master data where possible. For others, you can judge whether they have to be laoded everyday or may be once a week or once a month.
    Hope this helps...

  • How to look up master data in update rule

    Hi Friends,
    I want to Fill a characteristic of an info cube using the attribute value in a master data in Update rule.
    Eg: I want to fill a field in cube 0PM_C01 that is got from Master data 0PM_ORDER. I have to do this in upate rule. Can anyone help me.
    Joe

    Eugene, Atlaj
    Your answers were very useful.
    Eugene as you said,
    I read the link you mentioned and I can use code
    like this
    DATA: mat LIKE /BI0/PMATERIAL-MATERIAL.
    SELECT SINGLE MATERIAL FROM /BI0/PMATERIAL INTO mat
    WHERE EANUPC = COMM_STRUCTURE-EANUPC AND OBJVERS = 'A'.
    IF SY-SUBRC = 0.
    RESULT = mat.
    RETURNCODE = 0.
    ELSE.
    RETURNCODE = 8.
    ENDIF.
    But for each record of comm structure the selection quer y will touch the Data base. As Atlaj said, can I fill the internal table in the start routine and look it up in the update rules. I think the performance willbe increased. Could you give me code sample or link?
    Thanks in ADV
    Joe

  • Look up master data and concatenate into table field.

    Hi,
    I have a database table which has many fields including category and period.I am extracting these values from an csv file which also has  fields category and period.
    Periods are like 001,002,003 etc.but in the table I need it like 0012008,0022008,0032008.
    We only have the period coming in from the file ; the associated year would be deduced from the Category. Every category is associated with a year.Therefore , we have to maintain a master data table for these categories where you have the year associated (for the time being take 2008) and the ABAP program needs to read the category from the file , look up to the master data , pick up its year and concatenate with the period that is already mentioned in the file.
    How to I achieve this
    Ankit

    Eugene, Atlaj
    Your answers were very useful.
    Eugene as you said,
    I read the link you mentioned and I can use code
    like this
    DATA: mat LIKE /BI0/PMATERIAL-MATERIAL.
    SELECT SINGLE MATERIAL FROM /BI0/PMATERIAL INTO mat
    WHERE EANUPC = COMM_STRUCTURE-EANUPC AND OBJVERS = 'A'.
    IF SY-SUBRC = 0.
    RESULT = mat.
    RETURNCODE = 0.
    ELSE.
    RETURNCODE = 8.
    ENDIF.
    But for each record of comm structure the selection quer y will touch the Data base. As Atlaj said, can I fill the internal table in the start routine and look it up in the update rules. I think the performance willbe increased. Could you give me code sample or link?
    Thanks in ADV
    Joe

  • Look up at master data in  update routine

    Hi all,
    I am loading from flat file in to an infocube. My transaction data comes in the format Subcategory, Area,Date, Sales qty,UOM. But my infocube should be filled with Category,Subcategory,Region,Area,Date,SalesQty,UOM. My business requirements want me to model Category, Subcategory,Region area as characteristics of dimension. ie I cannot model Category as navigational attribute of Subcategory and Region as navigational attribute of Area.
    But I can get the master data file for Subcategory in Sucategory, Category format and Area in Area, Region format. So when I load the transaction data I can make a table lookup on these master data table and fill the required fields.
    But the problem is I donot have much experince in ABAP routines.
    Can any one help me with a sample start/update routine on how to do this.
    Any help will be appreciated.
    Regards,
    Amith

    Amith,
    Actually, you may everything do in a start routine of the URs (including lookup itself).
    There is no need to declare internal table in a global part of routine and then read values in routines.
    The code may look the following. (Don't have the system on hand. So, some syntax may require some modification.)
    TABLES: <Your Master Data Table>.
    DATA: wa_temp TYPE DATA_PACKAGE_STRUCTURE OCCURS 0 WITH HEADER LINE,
         wa_md TYPE <Your Master Data Table>  OCCURS 0 WITH HEADER LINE.     
    SELECT * FROM <Your Master Data Table> INTO wa_md.
    SORT wa_md ASCENDING BY <Basic Char Key>.
    LOOP AT DATA_PACKAGE INTO wa_temp.
       READ TABLE wa_md WITH KEY <Basic Char Key> = wa_temp-<Basic Char Key>.
       wa_temp-<YourLookupIO> = wa_md-<YourLookupAttribute>.
       MODIFY DATA_PACKAGE FROM wa_temp.
    ENDLOOP.
    Best regards,
    Eugene

  • Look up to load master data

    Hi,
    I am trying to load master data for my infoobject 0CUSTOMER.This has a field 0DBTYPE whose data is stored in another master data ODS which contains DUNS data.The key 0DBNUM of this ODS is an attribute of 0CUSTOMER.I want to implement the routine in the transfer rules as it is a direct update.So can anyone send me a sample code on how to achieve this and help me out.
    Regards,
    Kal

    hi Kal,
    first create start routine in transfer routine
    (change transfer rules and click icon blank page beside 'start routine') and put following code after
    (assume your ods name is zods)...
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    put this after the global code ...
    tables : /bic/azods00.
    data : l_duns like /bic/a[odsname]00 occurs 0 with header line.
    /bic/a[odsname]00 or /bio/a[odsname]00
    a[odsname]00 is the ods active table name
    if you use master data infoobject it's /bi?/p[infoobjectname]
    select * from [odstablename]
    into table l_duns.
    then in infoobject 0DBTYPE create routine and put following code (assume the infoobject name is 0DBDUNS_NUM)
    read table l_duns with key 0DBDUNS_NUM = tran_structure-DBDUNS_NUM.
    without 0
    if found
    if sy-subrc = 0.
    result = l_duns-DBTYPE.
    endif.
    or if you make you infoobject 0customer as infoproider (from rsa1->infoprovider, right click infoarea and 'insert characteristic as infoprovider'), then use flexible update to 0customer update rules assign to infosource with that ods, you may try use method 'master data attrib. of'.
    hope this helps.

Maybe you are looking for

  • After installing the 10.8.3 update I can no longer use my scanner

    I just updated my MacBook Pro to 10.8.3.  When I try to open my scanner, I get a blank window with disabled "Hide Overview", "Overview", and "Scan" buttons.  Anyone else have similar problems?  I'm getting pretty frustrated with these updates.  Apple

  • Does entity cache cause high heap usage ? better setClearCacheOnCommit ?

    Hi all, During peak load (150-200 users) of our production ADF application (10.1.3.3), the heap usage can be reach 3GB, causing JVM very busy doing frequent GC. Is this possibly because the 'by default uncleared' entity cache ? What is the implicatio

  • Display WSDL with HTTPs end-point

    Hi. I'm working SOAP-PROXY scenario, when I display WSDL in Integration Builder (sender agreement), the result is a HTTP_PORT and HTTPS_PORT, like the following: HTTP_PORT...location: HTTP:host:port/xxxxxxxxxxxxxxxxxx and HTTPS_PORT...location: HTTPs

  • Combining iPhoto Libraries

    I am trying to copy photos from one library to an existing library.  The goal is to have one library with the photos from the 'old' library merged with the 'new' library My details: I have an iPhoto library on my old iMac. I have an existing iPhoto l

  • Toolbar disappeared

    My toolbar disappeared, including url.