Regarding replacement path

can u tell me when go for replacement path rathe than default/manually entry in variable creation
plz tell me with example
waiting for reply
regards,
reddy

hi!!
i will give u a scenario.
suppose u have a cube where u store summarized data,
an ODS where u store the detailed data or item level data.
when u click on the particular characteristic on the query output  result of the cube, the detailed item level data should be fetched from the ODS for that particular characteristic.
The second variable i.e on the characteristic (ODS) wont ask you to enter the value as it will pick it up from the cube directly.It will be in the input off state.
Plz do assign points to this and also the previous posts as it is a way to say THANKS.
regards.
MM

Similar Messages

  • Regarding replacement path.. Could you help me please .. ?

    Dear all,
    I have problem when i use variable replacement path, where it replace another variable.
    The scenario is like this:
    I have variable cal. month user input where the type is interval (let say it's called var A).
    Then i create rep. path variable cal. month:
    1. Replace with : Key
    2. Use Interval : From Value.
    I use this rep. path variable for restricted KF.
    When i run the report:
    I fill in the value for Var A:
    01.2003 - 05.2003
    The invalid things are:
    1. Rep. Path variable only get the value 01.2003. The impact the KF is only restricted by 01.2003.
    It supposed to be restricted by 01.2003, 02.2003, 03.2003, 04.2003.05.2003.
    The questions are:
    1. How can i overcome this problem?
    2. How should i do, if i want to use replacement path in restricted KF that can restrict by 01.2003, 02..2003, 03.2003, 04.2003, 05.2003 ???
    Could you help me to suggest what i should do please .. ?
    Really need your guidances....
    Regards,
    Niel.

    Hi Niel,
    When you use a variable(v1) of processing type replacement path and try to replace it wih another variable the replacement is only by single value. This you can find by details tab in the variable(v1) being created.
    Hence you have only options of replacing it wih from value/ to value/ difference.
    I didn't undersand why you wish to use variable(v1) wih processing type replacement path when you could have used the input variable type for restriction of the characteristic in the restricted key figure.
    I think for your requirement variable processing by manual input is more suitable unless you have some reason for replacement which I didn't undestand.
    Thanks and regards,
    Sunmit.

  • Regarding text variable with replacement path.

    Hi Friends,
    Please can any one tell me good scenario where we can use text variable with replacement path..
    i have already searched in forum,but that scenario's i did not under stand.
    Please send.
    i will assign points.
    Thanks in advance.
    Thanks & Regards,

    Hi,
    There is a scenario:
    One has to show, a Period like May 2008 for a report. i.e the report which u r showing is common for May 2008. So u create a text variable on this Fiscal Year Period. When u do this, the Text appears on the Top of the report. So later, whenever u execute a report for a particular month, u get that Header as Jue, July etc etc.
    Its just a header. Text Variable promts u to display the Header with our own uploaded Desire Data.
    Steps.
    1) Edit your query
    2) Right click 'keyfigures' or other structure, choose 'new selection',
    3) beside description there is 'variable' button, click and then choose 'new', a variable screen will come out, type in your variable name, description, choose 'replacement path' for processing by. click 'next'.
    http://help.sap.com/saphelp_nw04/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm
    Assign Points if helped
    Thanks
    Edited by: Noor Ahmed khan on Jul 21, 2008 5:43 PM

  • Regarding Variable Proc. Typ REPLACEMENT PATH

    HI EXPERTS,
    CAN ANY ONE EXPLAIN HOW THE REPLACEMENT PATH VARIABLE TYPE HELPS IN REPORTS AND IN WHT SENARIOS WE CAN USE. PLZ EXPLAIN THIS WTH AN EXAPLE.
    REGARDS
    RAMAKRISHNA K

    Hi Ramakrishna,
    just go throw the below description.
    Replacement Path
    Use
    You use the Replacement Path processing type to specify the value that automatically replaces the variable when you execute the query or Web application.
    Integration
    The processing type Replacement Path can be used with characteristic value variables, text variables and formula variables.
    Features
    The following options are available:
    Replace with Characteristic Value
    Text and formula variables with the processing type Replacement Path can be replaced with a corresponding characteristic value. In the variables editor, on the General tab page under Reference Characteristic, specify the characteristic that is to be referenced by the replacement. In the Replacement Path tab page, you can choose whether the variable is replaced with the From or the To Value and with the Key or the Name of the characteristic value. You can also specify the Offset Start and Offset Length for the output.
    Replace with Query
    Characteristic value variables with the processing type Replacement Path are replaced with the results of a query. In the variables editor, on the Replacement Path tab page, select the query whose result you want to use as the variable. You can now process the data result of the selected query as a variable in a different query.
    Replace with Variable
    Characteristic value variables, hierarchy variables, text variables and formula variables with the Replacement Path processing type can get their values from a different variable.
    The following prerequisites need to be fulfilled:
    Variable
    ●     The variable must not be input ready
    ●     The variable must represent a single value
    Source variable
    ●     The source variable must not be a hierarchy node variable
    ●     The source variable must be input ready
    ●     The source variable must be available in the query
    ●     The source variable must represent a single value or an interval
    In the variables editor, on the Replacement Path tab page, specify the source variable from which the value is to be determined. The value is either determined from the key, the external attribute of the key, the description, or the attribute value. You can specify an Offset Start and an Offset Length for the output here.
    The variable is replaced on the variables screen upon each data release.
    Activities
    In the variables editor, on the General tab page, choose the processing type Replacement Path.
    Example
    If you specify a variable as a characteristic value, you do not have to give a text for the characteristic value right away. Instead, you can fill the text field dynamically, according to the characteristic that you use for the variable when you execute the query. To do this, define a text variable with automatic replacement.
    Regards,
    Shailaja

  • Regarding Characteristics variable with Replacement path

    Hi Masters
    I have created one replacement path variable on characteristics for 0material for first query. This query contains the details of material number only(50 values are available). My second query contains material numbers and material price are there (53 values). When I executed my query, im getting only material number field of second query only(50 values are displayed as output, I hope datas are retrived which is common on both query for material number, Please confirm my this). I couldn't get second query's rest of fields like material price of material number. I don't know, what is wrong...?
    Could u please help me
    Thanks in advance
    Raja.S

    Hi
      I don't think so, i have to create the characteristic value for material price.
    Not only I think, we can't create  characteristic value for material price.
    If it is possible, Please give step by step solution
    Thanks in advance
    Raja

  • Regarding Characteristics variable with Replacement path error

    Hi Masters
    I have created one replacement path variable on characteristics for 0material for first query. This query contains the details of material number only(50 values are available). My second query contains material numbers and material price are there (53 values). When I executed my query, im getting only material number of second query only(50 values are displayed as output, I hope datas are retrived which is common on both query for material number, Please confirm my this). I couldn't get second query's rest of fields like material price of material number. I don't know, what is wrong...?
    Could u please help me
    Thanks in advance
    Raja.S

    Hi
      I don't think so, i have to create the characteristic value for material price.
    Not only I think, we can't create  characteristic value for material price.
    If it is possible, Please give step by step solution
    Thanks in advance
    Raja

  • Regarding the Replacement Path & RRI

    hi
    friends
    pls let me know the differences b/w replacement path & RRI
    thanx in advance
    Pandu

    Hi Pandu,
    Please try to search thre forum and read up on help.sap.com. This info is clearly present in both areas.

  • BW 3.5 - Issue with formula variable with replacement path

    Dear experts,
    I'm facing an issue with formula variable with replacement path.
    Just to clarify, I know replacement paths is raising a lot of questions but I've been using this functionnality extensively in the past, both in 7.0 and 3.5, so I'm not looking for basic information about how to use it.
    I'm trying to setup a simple report that would show total values per plant of Purchase Order < 100 €
    To do so I've setup a calculated key figure as follow:
    VAR1 * ("PO value" < 100 ) * "PO value"
    VAR1 is a formula variable with replacement path on 'purchase order' and value attribute 'constant =1'.
    (The report has to show values summarized by plant but should not show the detail PO by PO, so I'm not looking at a solution based on condition)
    The report as characteristic "plant" in rows and my CKF in columns.
    Now let's take an example. I have 3 POs in Plant 1:
    PO1 -> 150€
    PO2 -> 90€
    PO3 -> 80€
    Because of the variable with replacement path, the result in my query should be:
    plant1 = 170 (even though characteristic "purchase order" is not in my rows, system should evaluate PO one by one and return values only for those two that are below 100).
    But the result coming is 320, which is wrong.
    I've done the same report on many other 3.5 systems and it worked perfectly, and I am not able to get proper support from SAP OSS who keep saying that this functionnality is not ready in 3.5 (although I've provided screenshot of this working on another 3.5 system!!! how frustrating...)
    They have also pointed to problems of Before and After aggregation but that has absolutely no impact. Once again, the scenario is working perfectly on other 3.5 systems with the same query design, so i'm sure it has nothing to do with Query Designer options.
    Would anyone have ever come to an equivalenet problem? I'm wondering whether the DB itself could not play a role in the variable with ref  characteristic 'constant =1' ...
    Any though is welcome!
    thanks

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Inventory Report-Replacement path for Base UOM to Case and Standrad Cost

    Hi, We have a Scenario as below:
    Question1:
    We have a multiprovider contains 4 infocubes and 2 Master Data objects
    a.Demand
    b.Inventory
    c.Sales Orders
    d.In Transit
    Master Data objects
    a. Material (contains Base UOM to Case as Key Figure Attribute and also Base UOM as an attribute)
    b. Material Location (Contains material as an attribute and also Standard Cost as a Key Figure attribute)
    At the report level two formula variables are defined with replacement path for showing the Base UOM to Case and Standard Cost in columns.
    We have 4 reports on this multiprovider. There is a dialy sales report which gives the following details
    Material, Location, MRP Controller, CalDay, Base UOM, Actual Sales(AS), Dependent Demand(DD), Consumption Qyt(CQ), Base to Case UOM, Standard Cost
    In this report for all the records the Base to UOM and Standard Cost column is coming with values which is nothing but the replacement path on the material master key figure attribute. Though this report is on the multiprovider all the major keyfigures (AS, DD and CQ) are coming from a single cube( this is an observation from myside).
    We have another report which is the Inventory Report with the following details:
    Material, Location, MRP Controllder, Calday, Base UOM,      Unrestricted Inventory(UI), committed Inventory(CI), Back Order Qty(BOQ), In Transit by Sh/Rec(ITS), In Transit Pipeline(ITP), On Order Qty (OOQ), Current Inventory Position (CIP), Quality Inspection Stock(QIS), Block Stock(BS), Base to Case UOM, Standard Cost
    Now in this report for all the records the Base to Case UOM and standrad cost is not showing up. Is there anything which needs to be done in order to get the Base to Case UOM and standard cost for all the records.
    Question2:
    When Non-Cumulative and Cumulative key figures are combined at the multi provider and also at the report level, will there be any problem?
    Regards
    Vijay

    Hi,
    I think you can proceed with virtual characteristics for this.In the code you can truncate the time and you can display on the date:
    Regards
    Prasad

  • Formula Variable with replacement path on 0CALDAY

    Hi,
    I am trying to enhance an existing query.
    I am creating a new formula variable processing by replacement path.
    In Reference Characterisitic I have choosen 0CALDAY.
    In the tab options , I selected replacement path.
    In the replacement path tab, in Replacement Rule /replace variable with I am trying to select the variable. But in the variable list I am not able to find 0CALDAY variable, which we have already created and restricting in some other key figures.
    Please help me in this regard.
    Thanks & Regards,
    Madhav

    Hey in the replacement path tab you need to choose either its infoobject or variable from which the value needs to be taken.
    If you choose infoobject you get the options of choosing its attributes etc.
    If you choose variable you get option to choose variable associated.
    But under "General Tab" under reference characteristic you need to choose your CALDAY.
    Hope this helps.
    Edited by: Praveen G on Sep 26, 2008 5:53 AM

  • Formula variable with replacement path to another input variable

    Hi @ all,
    i have a question regarding "Formula variable with replacement path to another input variable".
    My Problem is that in selection screen and for info-fields the input variable is shown with its key and not with its description.
    Scenario:
    A formula variable (X) is used to get an input value of a characteristic variable (Y) for 0Fiscper3 to realize a IF-Then scenario.
    The formula variable (X) uses replacement path by variable (Y) replace by "key".
    In selection screen of the query variable (Y) is named with its key "ZAB_BUPE01" and not with its description " fiscal period". Same as for info-fields where the description is "ZAB_BUPE01" and not " fiscal period".
    Does anybody have a solution to display the selection variable correctly?
    Regards
    Tobias

    Issue Solved!
    The input varaible (y) for 0Fiscper3 was saved globally on the InfoProvider. This results in that the formula variable with replacement path only shows its technical name. I put the input variable in the query itself and it soved the problem. The variable is displayed with its description in selection screen.
    Regards

  • Issue - Formula Variable with Replacement Path

    Hi,
    Is it mandatory to include the base characteristics in the rows on which the formula variable(replacement path) is based on. As long as the base char is in the rows the variable works fine. The moment I take that off, the variable doesn't produce any result. I know the char can be put in the rows and can be hidden, but then in that case I don't get the desired aggregation level.
    Has anybody come across this probelm and managed to sort this out? Kindly suggest any solution.
    Thanks,
    Anurag.

    Hi,
    a formula variable with replacement path only works if the replacement object is in the query in either the rows or colums. The data can never be aggregated on a higher level then the infoObject in the replacement path. If you want a higher aggregation you can add a new key figure as an attribute to your infoObject and fill it with the value you want in the loading process. You can use that key figure in your queries every way you want.
    Kind regards,
    Alex

  • Formula variable using Replacement path not working

    Dear All,
    I am using a query to calculate YTD values in the report. I am using a formula variable to calculate the number of months. Formula is
    Month To - Month From+1
    When I am giving the range from 001 to 006 for period in th evariable screen,
    I am gettung Month To as 6 and Month From as 6 with total no . of months as 1.
    I think Month From is not being caculated properly. I created another formul variable using Replacement path, for characteristic Posting period, replace with a Key and dimension ID as number with out any offset.
    Still not working.
    Any suggestions.
    Thanks and Regards,
    Srini
    Edited by: Srinivas on Apr 24, 2008 11:13 AM

    Hello,
    I have seen this document already. It is slightly different from what I am trying to do here than what the post shows. How ever,  I did everything right, atleast seems to be and don´t know why I am not getting the From value from the posting period selected. To value variable is coming right.
    Any more sugegstions.?
    Thanks and Regards,
    Srini

  • Issue with text variable by replacement path

    Hello All
    I have a date field called ZDATE1 (it is based on 0DATE). I have used this this IO in a query and have create variables on it (ZSTARTDT and ZENDDT), Start and End date. And my KFs are based on these 2 dates: Quantity - Start Date & Quantity - End Date  / Product Value - Start Date & Product Value - End Date. Those are my descriptions for my KFs.
    Now, I want the replace the descriptions "Start Date and End Date" with the actual values that I am entering like 09/01/2010 and 09/10/2010. Ex: Quantity - 9/01/2010 & Quantity - 9/10/2010.
    Therefore, I create 2 Text Variables,
         1. ZSTART, Replacement Path, Ref Char (ZDATE1), Replace by Variable ZSTARTDT, with KEY, offset - blank
         2. ZEND, Replacement Path, Ref Char (ZDATE1), Replace by Variable ZENDDT,      with KEY, offset - blank
    And I put these text variables in the descriptions. But when I run the query, I still see: Quantity - &ZSTART& and Quantity - &ZEND&.
    Note that my ZDATE1 which is based on 0DATE does not have a master data table or text table; it is purely transaction data. Does that mean, my text replacement path variables wont work.
    Any suggestions??

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Complex Sap text variable in WEBI with replacement path

    Hi Gurus,
    Variables in Bex
    Present Fiscal Qtr : 2012Q4
    Fiscal Qtr-8    :        2010Q4
    My Output header(TEXT)  in Bex as follows.
    2010Q4_ ACT     2011Q1_ ACT     2011Q2_ ACT     2011Q3_ ACT     2011Q4_ ACT     
    2012Q1_ ACT     2012Q2_ ACT     2012Q3_ ACT     2012Q4 BOQ     2012Q4CONS     
    2012Q4_ACT      2013Q1 BOQ     2013Q1CONS
    It's Completly working in Bex. I have used text variable and used replacement path to calculate the above texts.
    WEBI : Even though the document from SAP says that the variables will work when it's derived through replacement path,
    it's not working.
    Question1 :
    How can i achive this in webi . I saw some of the posts in SDN . They suggested to use 'USER RESPONSE' command.
    Question 2 :
    Assume we are using USER RESPONCE , when the current QTR = 2013Q1 . How can we  derive the previous 8 Qtr 's , because
    every Qtr the values are changing .

    Hi,
    In which way is it not working?  What's your SP and Patch level ?
    the webi pre-defined cell you are enquiring about is  either =PromptSummary()   or =UserResponse()
    Regards,
    H

Maybe you are looking for

  • Smart Playlists: a beginners guide

    Hi all! If you're like me, you probably couldn't wait to load all your music onto your iPod, but you very quickly realized that the twenty odd days of music in your computer will never fit into your iPod. Below is a guide for maximizing your iPod spa

  • How to use the operators

    Hi, I am new to SQL can i use IN operator on BETWEEN AND. or LIKE operator on BETWEEN AND. if so how please help in this

  • In and Not in operator

    i have one lacks records in the table.In this table i want to select the records whose status is GRADE A and GRADER B NOT GRADE C records SO which below query will be fast?In or NOT IN operator SELECT * FROM GRADE_Details where grade in('GRADE A','GR

  • RoboHelp 11 for TSC 5 hangs when linking to FrameMaker 12 files

    I have TCS5, RH11, FM12, all patched up. I have a FM book that comprises only FM files and only one of those FM files has any images; the rest just have text that uses paragraph and character styles. When I do the following, RH just hangs and I have

  • How to hide fields in table maintenance generator dynamically.

    Hello Experts,                      I have one requirement and that needs to do dynamically display the fields in table maintenance generator based on the selected radio button.I have written the code in pbo but it is not working properly,can anyone