Using Master data Attributes

Hi All,
How do I use the attributes of master data in reporting if they are defiend as Keyfigures?
Appreciate your Help in Advance.
Regards,
Harika

Hi
I think I am not much Clear with my question.Let me explain with an example.
I have 0mat_plant for which I have enhanced a zfield (Zverpr). Now that I want this field to be available for reporting.
I want Mat_Plant Zverpr in the report to be displayed.
HArika.

Similar Messages

  • How to use Master Data Attribute of in Update Rule's Formula

    Hi experts.
    In update rule, there is an option to use <b>Master Data Attribute of</b>. However, due to user requirement, I need to use that in <b>Formula</b> instead.
    <b>Field to update:</b>
    Profit Center
    <b>Logic:</b>
    If Cost Center is empty
    Then Profit Center
    Else
    Master Data Attribute of Cost Center
    I use the following formula at the moment but it is not 100% correct.
    <b>IF( Cost Center = '', Profit Center, Cost Center )</b>
    Appreciate if anyone could help me out.
    Thanks!

    Hi,
    The easier thing to do will be to use a Update Routine.
    Logic will be as follows :-
    If Cost center iss initial.
    Result = Profit Center
    else.
    result = Cost center.
    endif.
    Regards
    SM

  • Using "Master Data Attribute of" in the Update Rule

    Hi,
    In my update rule of, i want to replace the master data attribute of my characteristic instead of using its source characteristic. For example. <i>InfoObject ZSTORECODE</i> has an attribute <i>ZSTORENAME</i>. My objective is to use the Store Name instead of a Store Code.
    I initially thought of using <i>"Master Data Attribute of"</i> in the update rules. However, I always end of with having an error of <i>"No Values."
    </i>
    Hope you guys can help me with this!
    Thanks,
    Raomon

    DATA: V_NSTC_SN2,
    V_KFC_COSTC LIKE RSGENERAL-CHAVL.
    V_KFC_COSTC = DATA_PACKAGE-KFC_COSTC.
    CALL FUNCTION 'RSAU_READ_MASTER_DATA'
        EXPORTING
          I_IOBJNM                      = 'KFC_COSTC'
          I_CHAVL                       = V_KFC_COSTC
    *   I_T_CHAVL                     =
    *   I_DATE                        =
    *   I_FLG_WHOLE_TABLE             =
          I_ATTRNM                      = 'NSTC_SN2'
      IMPORTING
    *   E_STRUCTURE                   =
    *   E_TABLE                       =
          E_ATTRVAL                     = V_NSTC_SN2
        EXCEPTIONS
          READ_ERROR                    = 1
          NO_SUCH_ATTRIBUTE             = 2
          WRONG_IMPORT_PARAMETERS       = 3
          CHAVL_NOT_FOUND               = 4
          OTHERS                        = 5
    RESULT = V_NSTC_SN2.
    Another Example Code:
    index on infoObject

  • Using master data attribute in BEx Query u0096 formula

    Hello,
    I want to use the master data attribute (Eg. Customer master 0CUSTOMER, 0ALTITUDE (Geo Location Height)) in query formula calculation. How do I do this?
    Please help me.
    Thank you
    Subbu

    Hi Subramaniam,
    You can definately use the master data attributes in the formula calculation if that is a numeric value (logically u can use a characteristic in formula).
    for e.g Net weight from 0MATERIAL can be used through formula variable in formula but Color is a characteristic and there is no point in using that in a formula.

  • Can't assign an infoobject using master data attribute of

    I've added in 0purch_group to my cube and I want to assign it using the master data attribute selection but it doesn't bring back anything to choose from.  the attribute is 0mat_plant_purch_group and I've made it navigational.  any ideas?

    So do you say that you dont have mat_plant included in ur cube.
    Then what are trying to get into the field with out a source field. How do you want to fill the value if you dont have mat_plant - i mean which of 100 values of matplant and attribute values should be populated.

  • Using Master Data attribute and compounded IO in Transformation

    Good day
    I have the following issue in a transformation.
    I want to u201CRead Master Datau201D from IO u2018ZSIDCONTRu2019 to display data for an attribute u201CContract Durationu201D (Key Figure).
    IO u2018ZSIDVEHCNu2019 is also compounded to master data IO u2018ZSIDCONTRu2019.
    The Source field of Rule = field u201CID_CONTACTu201D
    In my transformation my Rule Type = Read Master Data and the u201CFrom Attrib. ofu201D field = ZSIDCONTR and the IO Assignment is also = u2018ZSIDCONTRu2019.
    If I test this rule then the following error message is displayed:
    Characteristic ZSIDVEHCN compounded to ZSIDCONTR is missing in
    transformation source   
    How do I add the compounded characteristic ZSIDVEHCN to the transformation rule?
    Thanks in advance.
    Cj

    Hi,
    You should add the InfoObject ZSIDVEHCN to your target and define a mapping rule to fill it up from your datasource.
    Only when both objects are available in your mapping you will be able to perform a master data selection (since they are compounded).
    If this object is not available in your source, you should define a mapping rule to fill it up (constant? ...)
    Hope this helps.
    Best regards,
    Michel Hoefkens

  • Can routine replace "master data attribute of" update rule for performance?

    Hi all,
    We are working on CRM-BW data modeling, We have to look up agent master data for agent level and position for each transaction data. So now we are using "Master data attribute of" update rule. Can we use routine instead of "Master data Attribute of" ? Will it improve the loading performance? Since we have to load 1 lack transaction records , where as we have 20,000 agent details in agent master data.My understanding is, for each record in data package the system has to go to master data table and bring the agent details & store in cubes. Say one agent created 10 transactions, then this option "master data attribute of" will read the agent master data 10 times even though we are going to pull same details for all 10 transactions from master data. if we use routine, we can pull the agent details& storing in internal table removing all duplicates and in update routine we can read the internal table.
    Will this way improve performance?
    let me know if you need further info?
    Thanks in advance.
    Arun Thangaraj

    Hi,
    your thinking is absolutely right!
    I don't recommend to use the standard attribute derivation since it will perform a SELECT to the database for EACH record.
    Better implement a sorted table in your start routine; fill it with SELECT <fields> FROM <master_data_table> FOR ALL ENTRIES OF datapak WHERE OBJVERS = 'A' etc...
    In your routine perform a READ itab ... BINARY SEARCH.... I believe that you won't be able to go faster...
    hope this helps...
    Olivier.

  • Webi error for master data attributes if universe is on top of BI query

    Hi All,
    We are using BO XI R2 SP5 integrated with SAP BI 7.0.
    We have built a universe on top of a BI query and when we try to build a web intelligence report that includes master data attributes like Customer City,Customer Region etc BO throws the following error:
    Error 1:
    Database error: [SOFA Driver] : Error getting members for hierarchy (level=ZFI_I03/ZFI_I03_Q0003, member=[ZFI_I03___F172], opcode=[ZFI_I03___F172]) . System error in program CL_RSDM_READ_MASTER_DATA and form VALUEREAD-02- (see long text). Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)
    For a universe built on a different BI query with master data attributes mentioned above,a different error occuring.
    Error 2:
    Your Web Intelligence session has timed out. Log out and log in again to InfoView. (Error: WIJ 77778)
    We have tried:
    1) We have executed the function module BAPI_MDPROVIDER_GET_DIMENSIONS with necessary inputs query/cube and we got correct output, like members, optional properties, selected properties and restrictions.But, still our problem remains same.
    2) Transaction u201CRSRTu201D and executed the query,transaction RSRV to check SID-tables and the related masterdata.
    Above steps we performed in response to SAP tickets 541052 / 2009,541131 / 2009 based on logs generated,but still the error persists.
    What is working:
    If a universe is built on top af an infocube directly, then there is no problem with master data attributes in webi report.
    Please let us know if you need more details to help us resolve this issue.

    Hi Naresh,
    based on the MDX you can identify that those are navigational attributes and thats why the issue is not happening when talking to the cube directly because when you connect to the cube directly the navigational attributes are not available.
    Take a look at note : 996197
    not sure if it will solve the problem because there are other notes when you search for the error message but this was most of the times the one that resolved the issue.
    the issue is in the BAPI functions
    Ingo

  • Error while creating Data Source for master data attributes

    Hi BI Experts,
    Well its been some time for me that I have been part of Extraction in BI.I primarily handled reporting in my last assignments.
    I was trying extraction with flat files in SAP BI 7(new to sap bi 7 but very much familiar with BW3.5) but failed in the activity during master data attributes and text upload in infoobject (say IOSP_Mat).
    Here is the procedure that I did after creation of characteristic IOSP_Mat.I created a source system for flat file followed by data source for Master data attributes, i selected all the parameters correctly.i.e. csv file format, data seperator as   ,
    and other settings, now when i am trying to look at the proposed data in the next tab using Load example data.its not showing the desired result.The columns that I have maintained in Flat File is  MAT_NUMBER and MAT_NAME (with say 100 data in the file)
    same is the result when I am trying to load the text data too columns maintained are
    (LANGUAGE MAT_NUMBER Short Description)(same 100 data).
    now i used to rsa1old transaction  to upload the file using 3.5 version.i created info source for master data/text/hierarchies for  IOSP_Mat
    now when trying to upload it using info package for master and text data,I observe its(the data) not maintained in the characteristic IOSP_Mat.
    When I monitored ,I figured the data has not been even uploaded to the PSA level.
    Can you BI experts tell me the answer for this.
    Thanks,
    Srijith

    apologies to all of you for late response,
    was busy with some other activities.
    I don't remember the exact message,but I remember it was not loaded to even the PSA level.I will try it again and post the exact message.
    Thanks again for your quick response.
    Once again sorry to all of you for my late response
    Thanks,
    Sri

  • Where to set lock while loading master data attributes

    Hello Experts,
    I have two different datasources from ECC which loads into 0CUST_SALES attributes. I'm using two different DTP & transformation which are loading data in the this infoobject attributes.
    When i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes".
    Here what exactly  LOCK means?
    Thanks in advance.
    Zakir Khan.

    Hi,
    The lock means that some program is updating the master data (a table) and at the same time other program can not update that same master data. When the first program completes the updation it will release the lock so that the other program can update this.
    In your case you and schedule the DTP one after another.
    Thanks

  • Map My Update Rule from a Master Data Attribute

    Hello experts,
    I haven't tried this scenario yet, hope you can help me, the Issue is this
    I have 2 InfoObjects ZPSCHRCHY and 0PROFIT_CTR from InfoCube WBS cost and allocations I want both the InfoObjects to be mapped to 0PROFIT_CTR attribute of 0WBS_ELEMT master data object, I have tried the Master Data Attribute but only 0PROFIT_CTR is an attribute of the Master Data.how can I mapped ZPSCHRCHY and 0PROFIT_CTR to 0PROFIT_CTR?, Is creating a start routine for it must be used? Thank you very much
    Regards and Thanks
    Chris

    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TYPES:
    BEGIN OF r_MD_WBS_ELEMENT,
       WBS_ELEMT  like /BI0/PWBS_ELEMT-WBS_ELEMT,
       OBJVERS    like /BI0/PWBS_ELEMT-OBJVERS,
       PROFIT_CTR like /BI0/PWBS_ELEMT-PROFIT_CTR,
    END of r_MD_WBS_ELEMENT.
    DATA: t_MD_WBS_ELEMENT  TYPE STANDARD TABLE OF r_MD_WBS_ELEMENT,
           wa_MD_WBS_ELEMENT TYPE r_MD_WBS_ELEMENT.
    $$ 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/CS8ZPSG030.
    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
      REFRESH: t_MD_WBS_ELEMENT.
          SELECT WBS_ELEMT
                 OBJVERS
                 PROFIT_CTR
          INTO TABLE t_MD_WBS_ELEMENT
          FROM /BI0/PWBS_ELEMT
       FOR ALL ENTRIES IN DATA_PACKAGE
         WHERE WBS_ELEMT   = DATA_PACKAGE-WBS_ELEMT.
        IF sy-subrc EQ 0.
        Do nothing
        ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

  • Modelling 1:N relationships using Master Data

    Hello All,
    I was trying to store the Bill of Material data in BW and was confused as to how model this as master data. The bill of material is basically a BOM number with a number of components in it. i.e. a 1:N relationship between the BOM and the components.
    I was thinking of modelling this by compounding the Component (which has quite a number of attributes) with the BOM.
    But practically the scenario is such that, today the BOM contains certain components, but someone can delete a component later in R3. I want this information to be reflected as well in BW, but i suppose BW will not take care of this in the above compounding technique.
    What is the best way to model such a scenario in BW. Is there a trick or is the only way to do this is do some checking in the update routines and then delete from the master data tables.
    Please let me know your opinions.
    Best Regards,
    Dabre

    Hello All,
    Does anyone have a similar kind of experience in modelling a 1:N kind of relationship using master data ? And where the N values could change or be deleted ?
    Please share your experiences.
    Best Regards,
    Dabre

  • Master Data Attributes

    Hello Experts,
    I notice that for certain Master data attributes, there are 2 datasources available. The difference I could notice is that, the Delta process for one would be 'A - ALE Update Pointer (Master Data)' and for the other one, it would be AIMD.
    For example, for Business Partner there are 2 datasources.
    0UCBU_PART_ATTR - Delta process = A
    0UCBU_PART_ATTR_2 - Delta process = AIMD.
    Since I think that the DS, 0UCBU_PART_ATTR_2 is the more recent version, I activate that. And while doing that I get a warning message saying 'Datasource with Delta process AMID requires a cancellation field.'
    What is this message? In your experience, which one would you chose? Are there any implications? Your opinion would be helpful.
    Regards,
    Prince

    Hi,
    very useful for you:
    Duplicate records -master data load
    converting master data to language independent
    assign points if useful ***
    Thanks,
    Raj

  • Extraction through master data attribute not working

    Hi All,
    In my ODS, i have a field Sales Document Item, with attributes ship-to-party, sold-to-party, etc.
    Now, ship-to-party and sold-to-party are extracted using the update method master data attribute of Sales Document Item.
    For some of the Items, the ship-to-party and sold-to-party are getting extracted properly, but for others, they are returned as blank; even though these records are present in the master data for Sales Document Item.
    Kindly provide your inputs for this issue...

    Hi Apeksha,
                Check your transformations.for those "ship-to-party and sold-to-party "
    Thanks,
    Vijay.

  • Displaying master data attribute of selected variable

    Hi friends ,
                I have a requirement to display the master data attribute of the material number selected by the user from the drop down help . We are using Web Layouts for user interface.
      For solving this i have developed a BSP application which calls the FM - ZVARIABLE_GET_DETAILS ( given by SAP in the HOW to for variables of type exit ) and gets the value for the variable of Material number. For this value I run a select on master data tables and display the attributes on the BSP page.
    It work fine when the user opens his web layout for the first time . However when the user changes the Material no fromt he dropdown  my BSP still displays the old material numbers attributes . In debugging I found that the FM -ZVARIABLE_GET_DETAILS  is still giving the old value of the variable.
    Please let me know how can i get the correct runtime value assigned to the variable ? It seems the FM ZVARIABLE_GET_DETAILS  gives the value which was saved last by the user.
    thanks in advance

    Hi BSPIAN,
    you may have missed a hint in the How-to paper.
    The value of the variable l_buffer_call (TYPE boole-boole) should be switched from 'X' to ' ' in order to avoid buffering the values. Then your FM will be called each time the value of Material changes.
    Hope it workes!
    Regards
    Steve

Maybe you are looking for