Time-dependency in master-data

Good mornging BW-community
I still have a problem during my query. I have time-dependent master-data (an item infoObject with it's corresponding price as an attribute) and want to show the item prices depending on the date of sale on my bill. I can put a "key-date" in my query-properties, but that delivers only the price to that date. I would like to have the price determined by the date of sale saved in 0CALDAY in my cube. What do I have to enter in the query-properties?

Hello Jochen Schmitz  ,
You can write routine in update rule which fetches values from master data info object and collect it into ODS as per bill date.
The code in update rule should like this ..
select price into lv_price from /bic/table  "table containting time dependent master data
                    where material = /bic-material
                       and billdate >= datefrom
                       and billdate<= dateto.
Hope that helps.
Regards
Kapadia
Message was edited by:
        Mr Kapadia

Similar Messages

  • What is time dependent / independent master data ? what impact it has

    Hi All,
    Please let me know what is time dependent / independent master data ? what impact it has on the data.
    Kindly suggest .
    Regards,
    Sushmita

    Hi Sushmita,
    I will expain to you by taking an example.
    Suppose you have customer and that customer have location as attribute.
    So this customer may change from one location to another location from time to time so here you have to maintain time dependent master data for this customer.
    You have to maintain below like this
    Customer   from_data   to_date    location.
    c100          01/9/2008     12/12/2008   bang
    c100          13/12/2008    22/1/2009    Hyd
    Hope it helps.
    Thanks & Regards,
    Ramnaresh .P.
    Edited by: ramnaresh porana on Jan 22, 2009 5:23 AM

  • Time dependent material master data

    Hello,
    Would you please explain me how to make Material master data time dependent?
    Points will be rewarded!!
    Best Regards,
    Adeel

    Hello Siggi,
    Thanks for your respond.
    I am using BW3.5 and for 0materia there are lots of attributes and for every attributes there is a "time dependent" click. Do I have to click all of them? Can you explain the theory behind that?
    Mater data will be maintained respectively if I can change it to time- dependent.
    Thank you very much,
    Adeel

  • Time dependent employee master data reading !in sap-bw

    Hi,
    Here iam using one routine to read employee master data.
    as employee is a time dependent characteristic,we want employee monthly details from the period of joining to till now with all his status.(these status characteristics are attributes of 0employee master table).
    how to code for this requirement.
    regards,
    swami.

    Hi,
    Why do you want to delete ?
    No need to delete any Master Data
    If you want to really delete ,you can do one thing
    Right click on Master data Info Object 0EMPLOYEE
    select Delete master data
    And reload Master data for employee with full load
    if delta Initilize delta with data transfer
    Regards
    Hari

  • Time dependent employee master data reading !

    Hi,
    Here iam using one routine to read employee master data.
    as employee is a time dependent characteristic,we want employee monthly details from the period of joining to till now with all his status.(these status characteristics are attributes of 0employee master table).
    how to code for this requirement.
    regards,
    swami.

    Found it...
    http://help.sap.com/SAPHELP_ERP2004/helpdata/EN/49/7e960481916448b20134d471d36a6b/content.htm
    Regards
    Juan

  • Time dependent HR master data question

    Hello,
    I want to compare the two records ( Current record with the  most recent delimited record) for pay rate for an employee. 0EMPLOYEE does not have DATETO or DATEFROM in its attribute list. Furthermore, I can not add DATETO as an attribute since the system does not allow it. How can I evaluate these two records to see the percentage increase.
    Your thoughts are much appreciated.
    Thank you.

    Hello Siggi,
    Thanks for your respond.
    I am using BW3.5 and for 0materia there are lots of attributes and for every attributes there is a "time dependent" click. Do I have to click all of them? Can you explain the theory behind that?
    Mater data will be maintained respectively if I can change it to time- dependent.
    Thank you very much,
    Adeel

  • Time-dependent Vendor Master & Handling Special Characters

    Hi,
    I need to extract time-dependent Vendor Master.
    1. The data source for <b>0VENDOR</b> does not have fields to hold the valid date range.
    2. Does the Master data in R/3 for Vendors will hold the valid date range?
    3. The text for <b>0VENDOR</b> provides time-dependent, but how to map the <b>valid from</b> and <b>valid to</b> fields?
    Handling Special Characters:
    We are trying to extract data from Legacy system via DB Connect. The item text field consists of special characters. Of course in BW customization we can specify all the special characters to consider. But the special character we observed is 'square' symbol i.e. 'new line character' in Oracle. We are updating this to an ODS object. When looked at error log, observed that green light for the number of records transferred and updated, but finally when it load into ODS object and activates popping up the error message saying 'could not recognize special character'.
    Please help me getting the 2 issues resolved.
    Thanks in advance.
    Regards,
    Sudhakar.

    Hi Everyone,
    Thanks for inputs on Special characters issue...
    Finally resolved with below piece of code in the start routine:
    DATA: FLAG,
          OFF TYPE I,
          LEN TYPE I VALUE 1,
          ALLOWED_CHAR(95) VALUE
    '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ`~!@#$%^&*()-_=+ ' &
    'abcdefghijklmnopqrstuvwxyz:;<>,.?/|\{}[]"'''.
    CONSTANTS: C_CHAR VALUE '-'.
      LOOP AT DATA_PACKAGE WHERE NOT /BIC/ZI_DESC IS INITIAL .
        DO.
          IF DATA_PACKAGE-/BIC/ZI_DESC CN  ALLOWED_CHAR.
            REPLACE SECTION OFFSET SY-FDPOS LENGTH LEN OF
                    DATA_PACKAGE-/BIC/ZI_DESC WITH C_CHAR.
            FLAG = SPACE.
          ELSE.
            FLAG = 'X'.
          ENDIF.
          IF FLAG = 'X'.
            EXIT.
          ENDIF.
        ENDDO.
        MODIFY DATA_PACKAGE.
      ENDLOOP.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    I have seen the link sent by 'Eugene Khusainov' today. Thought putting my piece of code that may help others...
    Regards,
    Sudhakar.

  • Attributes of Time Dep. Master data getting overwritten

    Hi,
    I've one Time dependent master data 0PERSON, which gets data from Flat file and R3.
    We first load from flat file and then from R3.
    Now consider this:
    Say for Person ID '123', flat file has "address" attribute as ABC. I load it and it gets loaded successfully.
    But after R3 load for same Person ID i.e. '123', "address" attribute gets overwritten with R3 values e.g XYZ. Even though the time fields are non-overlapping.
    I.e. I've now two records in 0PERSON for different time periods (as expected), but with same "address" values. I could not understand why R3 data is overwriting flat file data?
    Could anyone help me in this.
    Regards,
    Vikrant.

    Hi Eugene, Dinesh,
    I think we missed one point here, attributes themselves can be time-dependent or time-independent.. even though the master data characteristic itself can be time-dependent.
    What this means, is that for same Person ID.. time-dependent attributes will have different values (i.e. in our case by Flat file or R3).. but time-independent attributes will get overwritten by the last load.. whether R3 or Flat file.
    And this is what happening in my case.. my last load is from R3, which is overwriting Flat file data.. and too only for time-independent attributes !!
    Correct me if my analysis is wrong.
    Thanks for spending time on this,.
    Regards,
    Vikrant.

  • Time Stamp against Master Data

    Hi,
    Is there any BADI to identify when (date & time) the master data field updated individually.
    Example: "ABC" company is having 2 user interfaces to update the Master Data a) CRM Call Centre and b) Disconnected Mobile Client (Mobile Client will down load the full customer master data from CRM, before Sales Professional goes to market). In Mobile Client disconnected mode Sales Professional can update customer master record, updated full customer master record will be loaded back to CRM in every 3 days. Example - for customer "X" Sales Professional changed contact number (eg: old contact number = 1234 and changed to = 2345) on 2009/09/17 at 10:00 am, which will be uploaded back to CRM on 2009/09/20 at 10:00 am. Customer "X" called ABC's Call Centre on 2009/09/18 at 14:00 and requested to update his new contact number (old contact number = 1234 to new contact number = ABCD, which could be different from the one he requested with Sales Professional). Problem is when the data uploaded from disconnected mobile client - will over ride the contact number from ABCD to 2345, even if I upload full record or only changed field. How can I set the system to check the each field updated date and time to compare with the date and time of each field uploaded from disconnected mobile client??? and keep or update the customer master record with latest field value(s)....
    Your kind assistance will be highly appreciated....
    Cheers,
    Peter J.

    Hi Gurus,
    Any ideas or directions will be highly appreciated...
    Cheers,
    Peter J.

  • DTP running long time to load master data due to lock on SID table

    Hi,
    we are facing a problem while DTP loading master data into targets(Info Objects).
    It is taking long time to load data due to below error.
    18.03.2014 01:03:23 All records forwarded                                                                             RSM2          730          S
    18.03.2014 01:13:39 EXTRACTION OF DATAPACKAGE 000009                                                                  RSAR          051          S
    18.03.2014 01:13:40 All records forwarded                                                                             RSM2          730          S
    18.03.2014 01:24:50 EXTRACTION OF DATAPACKAGE 000010                                                                  RSAR          051          S
    18.03.2014 01:24:51 All records forwarded                                                                             RSM2          730          S
    18.03.2014 01:38:34 EXTRACTION OF DATAPACKAGE 000011                                                                  RSAR          051          S
    18.03.2014 01:38:41 All records forwarded                                                                             RSM2          730          S
    18.03.2014 01:52:10 EXTRACTION OF DATAPACKAGE 000012                                                                  RSAR          051          S
    18.03.2014 01:52:10 All records forwarded                                                                             RSM2          730          S
    18.03.2014 02:06:51 EXTRACTION OF DATAPACKAGE 000013                                                                  RSAR          051          S
    18.03.2014 02:06:53 All records forwarded                                                                             RSM2          730          S
    18.03.2014 02:22:32 EXTRACTION OF DATAPACKAGE 000014                                                                  RSAR          051          S
    18.03.2014 02:22:33 All records forwarded                                                                             RSM2          730          S
    18.03.2014 02:38:36 EXTRACTION OF DATAPACKAGE 000015                                                                  RSAR          051          S
    18.03.2014 02:38:37 All records forwarded                                                                             RSM2          730          S
    18.03.2014 02:55:25 EXTRACTION OF DATAPACKAGE 000016                                                                  RSAR          051          S
    18.03.2014 02:55:25 All records forwarded                                                                             RSM2          730          S
    18.03.2014 03:13:56 SQL: 18.03.2014 03:13:56 ALEREMOTE                                                                DBMAN         099          I
    18.03.2014 03:13:56 TRUNCATE TABLE "/BI0/0600000066"                                                                  DBMAN         099          I
    18.03.2014 03:13:56 SQL-END: 18.03.2014 03:13:56 00:00:00                                                             DBMAN         099          I
    18.03.2014 03:13:56 SQL: 18.03.2014 03:13:56 ALEREMOTE                                                                DBMAN         099          I
    18.03.2014 03:13:56  LOCK TABLE "/BI0/0600000066" IN EXCLUSIVE MODE                                                   DBMAN         099          I
    18.03.2014 03:13:56 NOWAI                                                                                             DBMAN         099          I
    18.03.2014 03:13:56 SQL-END: 18.03.2014 03:13:56 00:00:00                                                             DBMAN         099          I
    18.03.2014 03:13:58 EXTRACTION OF DATAPACKAGE 000017                                                                  RSAR          051          S
    18.03.2014 03:13:59 All records forwarded                                                                             RSM2          730          S
    18.03.2014 03:34:24 EXTRACTION OF DATAPACKAGE 000018                                                                  RSAR          051          S
    18.03.2014 03:34:25 All records forwarded                                                                             RSM2          730          S
    18.03.2014 03:56:03 EXTRACTION OF DATAPACKAGE 000019                                                                  RSAR          051          S
    18.03.2014 03:56:03 All records forwarded                                                                             RSM2          730          S
    18.03.2014 04:19:55 EXTRACTION OF DATAPACKAGE 000020                                                                  RSAR          051          S
    18.03.2014 04:19:56 All records forwarded                                                                             RSM2          730          S
    18.03.2014 04:44:07 SQL: 18.03.2014 04:44:07 ALEREMOTE                                                                DBMAN         099          I
    18.03.2014 04:44:07 TRUNCATE TABLE "/BI0/0600000068"                                                                  DBMAN         099          I
    18.03.2014 04:44:09 SQL-END: 18.03.2014 04:44:09 00:00:02                                                             DBMAN         099          I
    18.03.2014 04:44:09 SQL: 18.03.2014 04:44:09 ALEREMOTE                                                                DBMAN         099          I
    18.03.2014 04:44:09  LOCK TABLE "/BI0/0600000068" IN EXCLUSIVE MODE                                                   DBMAN         099          I
    18.03.2014 04:44:09 NOWAI                                                                                             DBMAN         099          I
    18.03.2014 04:44:09 SQL-END: 18.03.2014 04:44:09 00:00:00                                                             DBMAN         099          I
    18.03.2014 04:44:12 EXTRACTION OF DATAPACKAGE 000021                                                                  RSAR          051          S
    18.03.2014 04:44:13 All records forwarded                                                                             RSM2          730          S
    For this long running data load we didnt find any short dumps and no locks available on SM12 also.
    Please help on this.
    Thanks,
    Sankar.

    Can we know what kind of data source is this. attribute or text data source.
    what is data volume? its less or more?
    Actually we load direct access data thru dtp(No psa) into info objects for text data sources where have less data only.
    While running your dtp is any attribute change run for the same info object ot any transactional loads are happening?
    Is this happens on particular day or weekend or anydays?
    Thanks

  • Report on Real Time Cube and Master data

    Dear Experts,
    I am new to BI. I have created real time cube using some characteristics and top of that I built 3 reports with referring to Master data.
    And in the 3 reports, I have used different characteristics for all the report expect one ( common in all the reports).
    Now I have to create consolidated report using all the characteristics. I have build some sample reports but getting not assigned where there is no data.
    How can I achieve this?
    Thanks in advance,
    Saravanan R

    Hi suman,
    Thanks for your reply .
    I have attached the screen shot of the output. I have created the Infoset using info objects and real time cube, on top of that I have created query.
    this is the problem am facing can please suggest on this .

  • Combining records for time dependent master data

    Good Day,
    We have a characteristic with turned on time dependency for master data.
    Bringing in data from the source generated a number of entries for the master data.
    Here is an example:
    Line 1: [Date 1] - [Date 2]
    Line 2: [Date 2] - [Date 3]
    Line n: [Date x] - [Date y]
    Any thoughts on how we can converge/aggregate Line 1 through Line n for the history, so that we have
    Line 1: [Date 1] - [Date y]...
    and then, going forward we can, use time dependency for any changes to master data that might come up.
    Thank You for your input,
    Dmitriy

    Hi Dmitriy,
    As far as I know, it is not possible, unless you delete the master data and reload.
    I don't think you will be able to delete the master data at this stage, because it will not possible to delete the master data without deleting the transaction data.
    Thanks,
    Krishnan

  • How to design Master datas?? Whats is Time Scenarios???Explain..

    How to design Master datas?? Whats is Time Scenarios???
    Can anybody explain about Time Scenarios???

    Hi..
    to tell it is huge ..
    but a slice of it 
    Design          – Create design documents
    Prod.          – Make the product
    Quality          – Confirm quality of product
    Sales          - Market the product
    Purchase                    – Procure the items
    Accounts                       To control the cost of Mfg
    These steps should be understood as a general approach. To what extent they must be carried out depends
    on the actual situation and the experience of the project members involved.
    After deciding on the business process being dealt with, the basic steps to implementing a BI based solution
    are:
    1. Focus on the structure of information
    Develop a complete understanding of the underlying business processes. Create an Entity Relationship
    Model (ERM) of the business process
    The ERM as a function of the information
    2. Focus on analytical needs - Overcome model complexity
    Create a valid data model. Translate the ERM to the Multi-Dimensional Model (MDM) / Star schema
    The MDM as a function of the analytical processing
    3. Build the solution as a part of an integrated data warehouse
    The Star schema on the BI stage are the InfoCubes. Translate the MDM / Star schema to one or more
    InfoCube.
    coming to time ..
    How real-world changes are dealt with, i.e. how the different time aspects are handled is the most
    important topic with data warehouses.
    The attributes of a characteristic that will reside in its master data table are determined in the modeling
    phase. Each attribute can be defined individually as being time dependent:
    There is one ‘time dependent’ check box for each attribute in the ‘attribute’ tab page section.
    Time dependency of an attribute allows you to keep track on the changes over time of the relation of the
    characteristic and the time dependent attribute values.
    In terms of technical implementation, two master data tables exist if we have both non-time dependent
    and time dependent attributes.
    One master data table stores all relations to non-time dependent attributes (name of the table:
    /BIC/P<InfoObject name>) and
    One table stores relations to time dependent attributes (name of the table: /BIC/Q<InfoObject
    name>).
    The time dependent attributes master data table has additional DATETO and DATEFROM system
    attributes. In queries the different constellations are addressed using the key date ( Query properties).
    The validity attributes are not available for navigation.
    The text table, or better the description attributes, may be defined as time dependent.
    SID tables with respect to master data:
    The SID table is always generated if an InfoObject is not defined as ‘attribute only’ (tab page general).
    This table is used if the access to an Infocube or DataStore Object uses a navigational attribute or if the
    access is via a characteristic without attributes. Name of the table: /BIC/S<InfoObject name>
    The non-time dependent attribute SID table of a characteristic for access via non-time dependent
    attributes. Name of the table: /BIC/X<InfoObject name>
    The time dependent attribute SID table of a characteristic for access via time dependent attributes.
    Name of the table: /BIC/Y<InfoObject name>
    with regards,
    hari kv

  • Error 4 update while loading master data

    Hi Experts,
    While I am trying to extract master data for HR Object(0HR_OTYOBJ). I am getting errors in Detail Tab  as
    Record 6332 :0HR_OTYOBJ : Overlapping time intervals of data record 6332 with 6333 : '['19951107'/'1
    Record 6333 :0HR_OTYOBJ : Overlapping time intervals of data record 6333 with 6334 : '['19951115'/'1
    Like for 15 records.
    It is saying that Error 4 in the update .
    In status tab
    Error message during processing in BI
    Diagnosis
    An error occurred in BI while 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
    Can u pls give me ur suggests to sole this problem?
    Regards,
    Sridhar

    Hello,
    As per the error message in your data there are few overlapping records, that means with in the same time frame, there are duplicate records.
    Pls ask your HR functional consultant to check whether this is correctly maintained in SAP R/3.
    If this is correct in R/3, then goto 0HR_OTYOBJ properties and disable the time dependency of master data.
    Ravi

  • Master Data table in a Lookup in Transformation

    Hi,
    I am writing a Lookup in Transformations.As per the logic i need to read the Master Data Table of a Infoobject to get the Attribute from the master data table.
    The Master data is not time dependent
    Which Master Data table should i use in my Logic
    /BI0/M *
    /BI0/P *
    Thanks

    If there is no time dependency, use /BI0/P *

Maybe you are looking for

  • How to modify an EXTERNAL_TABLE and MAPPING using OMBplus

    I need to implement a QA--> Production migration technique using OMB+ scripting. We are using source safe for keeping the MDL files. As we have insufficient resources both environments are in the same database as different schemas. Configuration is a

  • Cisco Unified Provisioning Manager (CUPM) 8.7 fails when syncing a freshly installed CUCM 8.6.2

    I am facing an extremely annoying issue while evaluating CUPM 8.7 with CUCM 8.6.2. The goal of the exercise is to build the business case for buying the product - but based on the results below it seems to achieve the opposite. The initial Sync of a

  • How to process the reports synchronously...

    Hi, We are having a set of reports. When multiple requests are coming into the server, all the requests were maintained in the Queue and processed one after the other. Due to this many requests are starving in the queue. Is there any way to process t

  • Comments Status Disappears When Reopening PDF

    We're using Acrobat Pro 9.1.0 on WIn XP SP3 and experiencing a rather annoying isue. We are given marked up PDFs that we then either click the box next to the edit (using the checkmark feature) to indicate to ourselves that we've done the edit, or we

  • Find Grep in changed from 5.00 to 5.03? (AS)

    Hello, Can someone please tell me what I'm doing wrong. This script worked in CS3 v5.00 but now I have tried it in 5.03 and as you can see below it doesn't find anything. I'm using grep to search inside a table for the word "voy" which as you can see