Replacement Path not working

Hi Experts,
I have a problem.
I wanted to use a characteristic as a key figure in one report.
So i used a formula variable. I created the variable with replacement path as the characteristic.
In the property of the formula i set the aggregation as the characteristic itself.
When i ran the report, the formula variable is giving me wrong values.
For example:
This is what it should come,
Product          Sales order
Rubber           35000
Mobile            900000
But the report generated says,
Product          Sales order
Rubber           35932
Mobile            900789
Help me pls

Hi Vignesh,
That will depend on what you want to show.
What is logic for selecting only one sales order against a product(since each product has multiple how will you know which one is the corresponding one??)
If you want the show the first or last values, you can set so in the calculation tab of the key figure
hope it helps
Regards,
Rathy

Similar Messages

  • 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

  • BEX 7.0: Formula variable with replacement path not working after BW Upg

    Hi all,
    We have a formula variable using replacement path for 0MATERIAL characteristic that is used in a calculated key figure, in order to perform conversion factor to change measure units (0MATERIAL attribute).
    This was working pretty well until an upgrade from 3.5 to 7.0 EHP 1. The list that is displayed contains all key figures empty instead of the desired values.
    Can anyone suggest what could be the possible reason for this?
    Thanks in advance.
    CCS

    Hi all,
    Problem solved!
    The solution was based on the u201Chow to...Report Data in alternate units of measureu201D document (for 3x version) . http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f?quicklink=index&overridelayout=true
    Basically, the upgrade has override the previous changes made in the program LRRSVF20, like the "How to" document refers. Namely, the reference to YBW_AUNIT_ENHANCEMENT program.
    We have carried out the changes and, apparently, the query is now working fine.
    Thanks.
    Best Regards,
    Cátia Coelho Silva

  • Formula variable of type replacement path not working

    Hi Folks,
    I have created formula variable of type replacement path and replaces with characteristic key.I wanted to use charecteristic infoobjects in coluns so that i have created formula variable for that.But when excecuting the query in web it is not displaying values for that formula.
    Can anyone plz solve this,if u come accross this situation before.
    Thanks and Regards,
    Ravikiran
    Edited by: MRK@SAPBI on Jun 11, 2011 1:13 PM

    Thanks vineet, for your quick reply.
    yes,i have used the characteristic in a row and it is a number.
    Still it is not displyaing values.But i need to calculate the couter for the same formula created on that charateristic and need to put condition in the query.
    thanks,
    Ravikiran

  • How the Replacement path is working in the variable.

    Hi SDNers,
    Can any one give the scenario, how the processing type "Replacement path" is working in the variable.
    Thanks,
    Satya

    Hi,
    For example..
    If you want to find the Ton 10 customers for company you will develop a query and based on some condition you will get the top 10 customers.. and again if you want to see the top 10 customers sales or products what they purchased then you go for another query to develop. In this case.
    In the second query create a variable on Customer object with Replacement path as processing type in that you have to mention the previous query (i.e., top 10 customers). Then it gets the values of top 10 customers from the previous query and generates the report for requirement you want.
    Hope this is clear.
    Veerendra.

  • Text replacement does not work in Safari

    Text replacement does not work in Safari forms etc. Is it me or a bug?

    Interesting… I have eee set to auto-correct to an email address.
    if I type a few words and then add eee it works. But if I just enter eee in the email address of a form it does not.

  • Windows Server 2012 - Printing using UNC path not working

    Hi,
    I have a problem printing using the printer's UNC path ("\\Server_Name\Printer_Hostname") to work with a web
    app hosted on IIS 8. With a windows forms application the UNC path is working fine and the app prints.
    With
    the web app I receive an error "The data area passed to a system call is tool small". 
    Also,
    in the event viewer under Applications and Services Logs -> Microsoft -> PrintService -> Operational, I receive the error "The print spooler failed to reopen an existing printer connection because it could not read the configuration information
    from the registry key S-1-5-82-1980832875-2702362896-1795126167-3622310632-1152289074\Printers\Connections. The print spooler could not open the registry key. This can occur if the registry key is corrupt or missing, or if the registry recently became unavailable."

    I have contacted IIS forum support.
    Please review the link: http://forums.iis.net/p/1213109/2079229.aspx?Re+Windows+Server+2012+Printing+using+UNC+path+not+working
    Their final response:
    Printing from ASP.NET using System.Drawing.Printing itself is a horrible approach, as this namespace was designed for Windows Forms only. The designers did not take everything about ASP.NET in mind, so any issue can happen. That can answer why the HP model
    works while the Samsung fails, as the HP one just "happens
    to work",
    http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx
    Similarly, System.Printing was designed just for WPF.
    About which printing API to use in ASP.NET/IIS, there is no clear answer so far. Thus, your only resource is Microsoft support, who can perform further analysis (with their dedicate utilities and of course Windows source code) and might come across a solution
    to help you out. This is not a trivial scenario.

  • Replace does not work

    Hi,
    I need to replace all characters between 1 and 31 (ASCII) for space in a file.
    I created a script to test but it is not working (I tried two alternatives to replace).
    $a = "Test$([char]26)Test$([char]27)Test"
    $File_out = Join-Path $PSScriptRoot "teste.txt"
    Remove-Item $File_out -ErrorAction SilentlyContinue
    Add-Content -Path $File_out -Value $a
    for($codAscii=1;$codAscii -le 31;$codAscii++){
    $codAscii
    $b = $a.Replace([char]$codAscii," ")
    $c = $a -replace [char]$codAscii," "
    Add-Content -Path $File_out -Value $b
    Add-Content -Path $File_out -Value $c
    Result:
    What I need
    Thanks in advance.
    Fábio de Paula Junior

    My workaround
    function myReplaceAscii1_31([string]$Line,$NewChr){
    for($codAscii=1;$codAscii -le 31;$codAscii++){
    while($Line.Contains([char]$codAscii)){
    $Pos = $Line.IndexOf([char]$codAscii)
    $Line = $Line.Substring(0,$Pos) + $NewChr + $Line.Substring($Pos+1)
    return $Line
    $a = "Test$([char]26)Test$([char]27)Test"
    $File_out = Join-Path $PSScriptRoot "teste.txt"
    Remove-Item $File_out -ErrorAction SilentlyContinue
    Add-Content -Path $File_out -Value $a
    for($codAscii=1;$codAscii -le 31;$codAscii++){
    $codAscii
    $b = $a.Replace([char]$codAscii," ")
    $c = $a -replace [char]$codAscii," "
    $d = myReplaceAscii1_31 $a " "
    Add-Content -Path $File_out -Value $b
    Add-Content -Path $File_out -Value $c
    Add-Content -Path $File_out -Value $d
    Fábio de Paula Junior

  • VI Search Path not working in LV2011 for VI Server Plug-ins with exe

    I have found what seems to be a problem with the search path when a LabVIEW 2011 built executable calls a Plug-in VI. 
    When the plug-in VI has subVI’s from vi.lib on its diagram the executable has to know where to find them.  Not all VI’s in vi.lib are part of the run time engine or the dll’s that may get generated as part of the build. The things you have to do to make plug-ins work for an executable are explained in several Developer Zone articles.   The article titled “How Can I Change or Set the VI Search Path for LabVIEW Executables” describes the ini file setting  viSearchPath.  When this is set to the vi.lib directory I have not encountered problems with previous versions up to and including LabVIEW 2010.
    I have come across an example in LabVIEW 2011 where it doesn’t work.  I have attached an example (I am using LV2011 SP1).  It demonstrates the basic plug-in architecture. Everything works in the development environment.  But it doesn’t work from a built exe.  I haven’t included the actual built exe in the zip file in case that causes a problem downloading it.  If you run the build spec from the src directory project file the exe should get generated in the bld directory.  The problem appears to occur when certain VIs from the analysis library are in the Plug-in.  In the example attached, the Plug-in VI is very simple but I have placed the troublesome SubVI on the diagram.  The VI in this example where there is a problem finding it is the Butterworth Filter VI.  I have placed it on the diagram in a conditional disable structure so it is easy to enable and disable.  When enabled and you run the test Plug-in VI the error 1003 is raised, meaning a subVI cannot be found in the dynamically called VI (for example see this post).  Note that a way round this may be to incorporate the Plug-in VI into the built exe but this shouldn't be necessary.  It’s not a problem with this specific filter VI, as it occurs for other VIs I try on the diagram.  However if you place an FFT VI on the diagram there is no problem.  I suspect that one is built into the Run-Time Engine.
    I also note I am running Win7 64 bit and 32 bit LabVIEW (note the relevant viSearchPath in the ini file – you may need to change if you are on different version of Windows).  If the example is converted to LabVIEW 2010 everything works as expected for the built exe.  I tried that on a colleague’s computer running XP and 2010 but I am pretty sure in still also works on Win 7.
    Things I am suspicious of are that the analysis VI’s are part of a LabVIEW library (lvlib)  and perhaps something has changed there?  I understand there is a problem with OOP in LabVIEW 2011.  Perhaps it is related to that as that seems to be an issue in 2011 (see this Discussion Forum post).  Perhaps it is related to OS version?
    I also tried generating a Source Distribution to extract out all the vi.lib VI’s and place them directly in the Plug-in directory.  That didn’t help.
    Interested in whether anyone else reproduces this behaviour.  In any case something is different in 2011.
    Attachments:
    LV 2011 test Plug-in.zip ‏42 KB

    I found some more out about this issue working with my local NI rep here in Australia.  Apparently something has changed in the compiler between LabVIEW 2010 and 2011.  Using the viSearchPath token in the ini file, as described in various Developer Zone articles, now guarantees that the Plug-in will not work.  The only way to make it work appears to be to create a Source Distribution.  I noted in my original post that I had already tried this and it would not work.  It turns out that having the viSearchPath token in the ini file when using a Source Distribution causes the error 1003 to occur.  When the token is taken out of the ini file the Plug-in (containing an analysis VI) with a Source Distribution works - in the simple example I posted.
    Well I then found its a bit more complicated than this.  It all worked for the simple example I posted.  Recall we found the error when there was an analysis VI in the Plug-in VI.  In our actual application (which is a large one) that calls Plug-ins - we still got the error 1003.  By trial and error I found a workaround.  There are certain Build Spec settings for the calling exe that I set and found worked.  On the Additional Exclusions page I found that I had to make sure that I left unchecked "Modify Project Library File after removing unused members".  I've always had trouble understanding the need for this setting.  In the Build Spec Help on that page it notes that the build will take longer.  In most builds you remove polymorphic VI instances, remove unused members of Project libraries and also Modify the project library file after removing the instances (this is a sub setting of the previous).  This makes the exe smaller in size and a quicker build time. Obviously modifying the project library caused a problem.  In the big application exe calling Plug-in, I probably have the same analysis VI on the diagram (I haven't actually checked and also whether it is the same polymorphic instance) and in the simple example I posted I definitely did not have VI in the calling exe example - so there may be some clue there.  I should try putting the same analysis VI on the calling exe diagram in the simple example to see what happens but I'm running out of energy on this one :-(
    So none of this gives me much confidence and I wish I could get a better explanation from NI regarding this behaviour to be sure I am not going to encounter a different problem for different calling exe and Plug-ins.  I was advised that a CAR would be issued.  Perhaps this is now expected behaviour for 2011 but it would helpful if some definitive explanation could be given about what has changed from LV2010.  And an update of Developer Zone articles on the subject would be helpful.

  • Dynamic ORACLE_HOME in env variable PATH  not working

    Hi,
    We have an issue whereby we want the PATH to be dyanmic with respect to the ORACLE_HOME.
    Have implemented the solution in 'ORA-12557: TNS:Protocol Adapter Not Loadable' While Running OUI [ID 735400.1 but not working.
    We have Windows 2008 R2 server with Oracle 11.2.0.3 client installed.
    First when did set to check environment varibales, fouND no env. variable for ORACLE_HOME even though in registry so have set ORACLE_HOME as user env variable.
    Have changed system env variable PATH to have  %ORACLE_HOME%\bin; at very start
    when do PATH to check value shows
    literally as %ORACLE_HOME%\bin at start rather than translating to the real physical location as it does with other logical variables.
    How can we ensure translates the ORACLE_HOME correctly so PATH is O.K.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    user5716448 wrote:
    Hi,
    We have an issue whereby we want the PATH to be dyanmic with respect to the ORACLE_HOME.
    Have implemented the solution in 'ORA-12557: TNS:Protocol Adapter Not Loadable' While Running OUI [ID 735400.1 but not working.
    We have Windows 2008 R2 server with Oracle 11.2.0.3 client installed.
    First when did set to check environment varibales, fouND no env. variable for ORACLE_HOME even though in registry so have set ORACLE_HOME as user env variable.
    Have changed system env variable PATH to have  %ORACLE_HOME%\bin; at very start
    when do PATH to check value shows
    literally as %ORACLE_HOME%\bin at start rather than translating to the real physical location as it does with other logical variables.
    How can we ensure translates the ORACLE_HOME correctly so PATH is O.K.
    open Command Window & issue command belowecho %ORACLE_HOME%COPY  the results, then PASTE all back here                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Ipad display issue - replaced still not working

    I replaced a LCD display on iPad 1 thinking it was bad.  Turned this unit on and it is still not working.  Tried the display on another iPad and it works fine so I know it is not the LCD.  The ipad in questions is recognized in iTunes.  Backlight doesn't come one

    There is obviously a hardware problem and doubtful if anyone here will know what that is.

  • Replacement battery not working properly

    Hello,
    I have a G72 Notebook and I just recently bought a replacement battery that is not working properly.
    I think that the laptop is just not able to communicate with the battery to find out how much power it has left.
    I'm pretty sure that the battery is taking charge just fine (although the icon says, "plugged in, not charging" because I used it for a couple hours today and it never changed from "41%".
    Right now it says "0%" but continues to power my computer if I unplug it.
    I've tried cleaning the connectors and I've tried uninstalling and reinstalling the battery driver.
    My old battery still charges just fine and works perfectly it just doesn't last more than an hour or so.
    I ordered the replacement battery that it listed on my old battery, but it seems to not snap in quite right.
    It fits in my computer, it just isn't as smooth to snap in as my old one is.  As far as I can tell it's exactly the same except I think some of the little plastic parts have slightly different sizes.
    Thanks for any help!

    Hi
    Try this:
    Disconnect AC
    Shutdown
    Remove battery
    Connect AC
    Startup
    Open Device Manager
    Click the plus (+) sign next to Batteries category, right-click All of the "Microsoft ACPI Compliant Control Method Battery" listings, and select Uninstall In the "Confirm Device Uninstall" dialog box, click OK. (it’s ok if you only have 1 of these listings).
    Click the plus (+) sign next to System Devices.
    Right-click the “ACPI Fixed Features Button" and select Uninstall. In the "Confirm Device Uninstall" dialog box, click OK.
    Shutdown
    Disconnect AC
    Insert battery
    Connect AC
    Startup
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Color Replacement does not work

    I'm tyring to work through the tutorials. I've done the color replacement instructions over and over again just as the instructions seem to say which isn't very good, and nothing happens. Can anyone give a step by step instruction that works. The ones in the iPad tutorial for the MAC version is not working. I am working with version 14.XX on a Macbook Pro totally up to date.
    I watched a youtube video but is for an older version. Not much help as tools have been changed.

    Brainsprain wrote:
    I got it to work using a method from YouTube not from Adobe.
    So you didn't use Photoshop at all then?  That's a cool trick.

  • G62-355dx cpu replaced still not working

    My g62-355dx is still not working after replacing the cpu (thats what the blink code was....caps lock blinking once every few seconds) so after replacing the cpu I am still getting the same blink code....tried the hard reset before replacing the cpu but havent tried it after....I just need to know if its possibly the mother board and if a motherboard from a different g62 model will work in my 355dx....
    This question was solved.
    View Solution.

    This is about the third post of its type I have fielded in the last month or so and I will repeat what I have always maintained. It is almost never the CPU, regardless of the blink code. It is almost always the motherboard. Your by far safest bet is to replace like with like although likely another g62-300 series motherboard will work, if it has any feature yours did not or vice versa it may take some case mods to make it fit and you want to avoid that.
    You will need the Service Manual:
    .pdf of manual here
    Your motherboard part number can be found inside the memory compartment. Post back if you want detailed help finding a replacement.

  • How to get a replacement path variable working in same query

    Hi All
    I have a query in which the user enters a value for the 0fiscper variable. Our users want to display for the last 12 months the previous year same period sales.
    I do this by putting a value range offset restriction on 0fiscper varianle to -12 to 0fscper variable value. I have 0fiscper as drill down on the rows.
    Fiscal Year period                LY Month Sales
    010/2010                                  9999.89
    011/2010                                    8888.99
    To get the LY Month Sales I would like to set up a replacement path variable on 0fiscper so if the value of 0fiscper on the
    row is available in the replacement path var I can offset it ti -12 to get the LY Month Sales.
    Can someone share ideas how I can set up this replacement path variable.
    Thanks
    Karen

    Hi,
      Why u want to go for replacement path. You can attain your result bu just offsetting the fiscyear period variable.
    Regards,
    Raghavendra.

Maybe you are looking for

  • Photos flashes when played in iDVD6

    I have an iMovieHD project made from only digital photos with KB effects,titles and transitions. When each scene selection or play movie is selected in iDVD 6 the first photo has a white flash before everything starts playing. How can I get rid of th

  • Federated portal network, problem with registration process

    hi, I am using <b>SAPNetWeaver 2004s sp7</b>. I am trying to integrate jsr portlet developed in <b>IBMWebsphere </b>into SAP Enterprise Portal. The Test Connection was successfully done. but While registering with producer i am getting some error. co

  • UWL COnfiguration(Connecters is not successfully connected)

    Hi, We are configuring UWL on portal. Folowing are the steps we followed for UWL configuration in terms for Portal as well as Backend. Backend:- 1)SWU3 configuration is done. 2)created UWL_Server with all the authorization. SAP_BC_BMT_WFM_UWL_END_USE

  • Multilingual support in form 6i

    At run time how can we set env. variable of nls and NVARCHAR2 is supported by form6i or not??

  • Carrier Update

    Along with iOS 4.0 2 downloaded and installed a new Rogers Carrier. Since then I have had poor cell phone reception and I have not been able to detect or connect to Wi-Fi networks even manually. Is there any way to retrieve my old carrier? I now have