Force read/refresh of master data attributes on query

Hi there,
We're having troubles with one input ready query that changes and attribute value (KYF) of one characteristic. That works fines and whe can save changed data on the infoprovider via DTP. Problem is when data is saved we need to refresh query as whe have both values on screen (original value as char attribute on rows) new value as input ready KYF, so after save we would like to see that both values are the same.
Is there any way of force query no to read from caché as whe are changing master data attributes. I read something about IF_RSMD_RS_ACCESS class that can be implemented on Master Data access and force it there but sounds really hard so if this is the way can some of you guys give us some help.
I hope I make myself clear on the explanation...
Thanks in advance,
Regards
Carlos

Dear All,
The recent days that I tried working on changing master data attributes through BPS didn't work out.The Primary reasons was  that some of the attributes that I needed to change were not present in the transaction or planning cubes and the characteristics that are not part of your cube on which the planning area is based then you can not do changes on them.
This is my undestanding .Please correct me if I am wrong.
Besides , I was also thinking if we can do the same through portal.i.e retriving the master data infoobject ( based on the value seleceted for that infoobject by the user  )  and its attributes in the portal , edit them and save them back so that the updated values goes back to BW master data infoobject data base tables and updates the value.
Eg . I have Natural Account master data infoobject in the BW with attributes fucntional area and expense center.Based on the user selection of any values for the Natural account lets say  01110 , then for 01110 natural account the portal should display the correspoding attributes values of fucntional area and expense center.Lets take this values as 10 , 20 respectively for fucntional area and expense center . What I want to do now is to change these attrbute values to 30 and 40  and I would like to save it back as the changed attribute values for that natural account for 01110 with new attribute values 30 & 40 respectively for fucntional area and expense center .
Is this possible through portal and BW?
Any idea on this would be appriciated.
Regards,
Ankit
Edited by: Ankit Bhandari on Nov 21, 2008 12:21 PM
Edited by: Ankit Bhandari on Nov 21, 2008 12:32 PM

Similar Messages

  • 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.

  • Error when reading master data attribute in transformation

    Hi All,
    I have 0employee in source DSO and it is mapped to Cube transformation correctly.. There are other objects in cube which are the attribute of 0employee master... I map 0employee to these objects and in transformation i select read from master data then it throws up an error...
    bold S:RSTRAN:556 39 0EMPLGROUP 01 Standard Group 0EMPLOYEE
    Dont know why this error is popping up ...
    Any pointers on this...
    Thanks & Regards,
    Anup
    Edited by: Anup Chaudhari on Feb 20, 2012 1:29 PM
    Edited by: Anup Chaudhari on Feb 20, 2012 1:30 PM

    Hi,
    This is a strange error that everybody faces but you can try this way.
    1) select the target object Employee attribute in the transformation
    2) assign the source field in the transformation. the source field should be 0EMPID
    3) In this source field there is a coulmn called IOASSIGNMENT. Type 0EMPID at that point
    4) change the rule type from direct assignment to master data attribute. Now you can select the field 0EMPID.
    Regards,
    Siva

  • 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.

  • About delta loading for master data attribute

    Hi all,
    We have a master data attribute loading failed which is a delta loading. I have to fix this problem but I have two questions:
    1. how can I find the those delta requests because I need to delete all these failed requests first, am I right ? Master data is not like cube or ods that we can find the requests in Manage, for master data how can we find them ?
    2. Could you please let me know the detailed procedures to perform this delta loading again ?
    Thanks a lot

    Hi...
    1. how can I find the those delta requests because I need to delete all these failed requests first, am I right ? Master data is not like cube or ods that we can find the requests in Manage, for master data how can we find them ?
    Look.....for master data.....no need to delete request from the target..........just make the status red.......and repeat the load.....But problem is that master data sometimes does'nt support Repeat delta..........if u repeat......then load will again fail with Update mode R.........in that case u hav to do re-init.......
    1) delete the init flag.......(In the IP scheduler >> in the top Scheduler tab >> Initialization option for source system)
    2) Init with data transfer(if failed load picks some records)..........otherwise .....init without data transfer.....if the last delta failed picking 0 records.......
    3) then Delta.......
    2. Could you please let me know the detailed procedures to perform this delta loading again ?
    1) Make the QM status red.........to set back the init pointer.......
    2) Repeat the load.....
    After that.........if again load failed with Update mode R.....
    1) delete the init flag.......
    2) Init with data transfer(if failed load picks some records)..........otherwise init without data transfer.....
    3) then Delta.......
    Regards,
    Debjani.....

  • Error while uploading master data attributes thru flat file

    while uploading master data attributes thru flat file i am facing the below errow. can nyone let me know plz.
    Error 8 when compiling the upload program: row 227, message: Data type /BIC/CCDEIO_MAT5_ATTR was found in a new

    This just means that you changed the transfer rules/transfer structure and have not refreshed the workbench yet.  The infopackage data hasn't been updated ... this is similar to a datasource update, where you need to replicate to make sure BW knows the latest version. 
    The best way to correct this error is to reload RSA1.  Every time I make a change to the tr/ts, I always run /nrsa1 to refresh the workbench. 
    Brian

  • Error when scheduling the infopackage for loading Master data attributes

    Hi,
    Iam getting the following error message when scheduling this Master data Attributes ZIP_0PLANT_ATTR_FULL..( Flexible update of Master data info objects)..
    In Data load monitor error i got this following error message.
    Error message when processing in the Business Warehouse
    Diagnosis
    An error occurred in the SAP BW when processing the data. The error is documented in an error message.
    System response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Update rules
    Thanks

    HI,
    A caller 01, 02 or equal to or greater than 20 contains an error meesage This is an Idoc error. Please check the Idocs :
    1) SM37 job log (In source system if load is from R/3 or in BW if its a datamart load) (give request name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
    Also see if there is any 'sysfail' for any datapacket in SM37.
    2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. (In source system if load is from R/3 or in BW if its a datamart load). See if its accessing/updating some tables or is not doing anything at all.
    3) RSMO see what is available in details tab. It may be in update rules.
    4) ST22 check if any short dump has occured.(In source system if load is from R/3 or in BW if its a datamart load)
    5) Check in SM58 and BD87 for pending tRFCs and IDOCS.
    Once you identify you can rectify the error.
    If all the records are in PSA you can pull it from the PSA to target. Else you may have to pull it again from source infoprovider.
    If its running and if you are able to see it active in SM66 you can wait for some time to let it finish. You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
    If you feel its active and running you can verify by checking if the number of records has increased in the data tables.
    SM21 - System log can also be helpful.
    Thanks,....
    Shambhu

  • 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.

  • Cant fully load updated data to Master data attribute

    Hi BW expert,
    I meet an issue here, I am not able to load updated data to master data attribute. My loading selection is based on employee number range.
    e.g employee number 00001 to 10000
    However the data is successfully loaded to master data but lot of the attribute data are not updated. e.g 056, 057, 098, 0100.
    I checked in PSA, there is no data updated for the attribute.
    I checked in RSA3 in R/3, there are attribute data extracted.
    Please advice, why attribute data is not updated when I load it in a range number. The attribute only work when I load one employee number.
    Thanks.
    regards,
    Wesley Koo

    check this:
    Re: Error while running InfoPackage
    Master data/text of characteristic 0MATERIAL already deleted
    Master data/text of characteristic ZXVY already deleted
    Hope it helps..

  • 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.

  • Transofmration :  Master data attribute

    Hello,
    I am on NW 2004S BI and ECC 6.0.
    In the transformation rule types, i can not find "Master data attribute of" .
    If this is the case in this version,in the infocube, how to load the data for a particular IO, which is an attribute of another IO ? 
    In the older versions, in the update rules, i can select either source, constant, master data attribute of,routine etc ..
    Any advice? 
    Regards,
    Ravi

    Hi Ravi,
    We have "Master Data Attribute" as a Rule type of Transformation in NW2004S BI also.
    Where in the previous version BW3.x you have option to create the Master Data Read Rule only between
    DataTarget to DataTarget
    or
    Infosource to DataTarget.
    But, The New Enhancement of NW2004S BI is, Even you can read the Master Data Attribute in Transformation have builded between DataTarget (InfoCube or ODS) and DataSource also.
    How to assign the InfoObject for Master Data Read?
    Select Target Field.
    Select the source InfoObject from where you want to read Master Data.
    When you have to choose the "Master Data Read" as the Rule Type. Then You will get the entry block next to Rule Type.
    Click F4, then it will give the Attribute automatically.
    Hope this helps you.
    Regards,
    Vamsi

  • Define transfromation-As master data attribute

    Hello experts,
    I have a 3.5 data flow DS> TR> CS-> UR-> ODS.
    In this flow there is a field 0WBS element mapped to POSID from source in TR  and in the UR its a straight map to 0WBS element in the ODS.
    I also have a ZFIELD in the ODS which has an UR as Master data attribite of above 0WBS element.
    Problem faced:
    Now I need to map the same in a new BI 7.0 System using transfromation (Creation of DSO done exactly as in 3.5 ).
    DS--> TRANS-> DSO
    Looking at the transfer rules and the Update rules I incorporated all the same as in the 3.5 system.
    Now I face only problem with the ZFIELD taking master Data attribute of 0WBS ELEMWNT when I check my transfromations.
    In the Transfromation 7.0 I directly mapped POSID to my 0WBS element and then for ZFIELD  I am mapping to have the rule as attribute of 0WBS_ELMENT in the rule details.
    I am getting the following error.
    InfoObject 0WBS_ELEMT cannot be used to read master data
    Message no. RSTRAN066
    Diagnosis
    InfoObject 0WBS_ELEMT does not have the correct attributes to read master data for the target field.
    System Response
    The entry is deleted and the rule is invalid.
    Procedure
    Enter an InfoObject that has the InfoObject from the target as an attribute.
    When I check my 0WBS info obj I see my ZFIELD  is available as the attribute..
    Could anyone help me to fix this transfromation.
    Regards,

    Hi,
    The scenarion you explained is very much possible in BI 7.0. There must be something which might be missing.
    Check here>
    http://help.sap.com/saphelp_nw04s/helpdata/en/e5/f913426908ca7ee10000000a1550b0/content.htm
    Thanks.

  • Simple Master Data Attribute Add Custom Infoobject

    Hi I added one custom infoobject zcustplace to 0busentity master data infoobject as an Navigation attribute and then activating 0busentity but it is giving me error
    like this "ORA-20000: Insufficient privileges
    ORA-06512: at "SYS.DBMS_STATS", line 2150 ORA-06512: " Do I need to do any thing else to add this new nav attribute to obusentity master data attributes since this obusentity is already there in cube and ods.
    Please help
    Thanks
    Soniya Kapoor

    You may wish to get this OSS checked with DBA
    Note 963760 - 'ORA-20000: Insufficient privileges' for creating statistics
    Hope it Helps
    Chetan
    @CP..

  • 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.

Maybe you are looking for