Selected variable value is different from the displayed value

Hi all,
I have an issue with variable selection in portal. I have a IO - customer which is compounded to source system. So I have soem customers with the same key with different sources. And I have a variable created on customer. For ex - i have 3 customers like below. 
SA/1234567
BP/1234567
F5/1234567
1 - And when I search for a customer 1234567 - I find only one customer that is SA/1234567. And IO properties are set to read all the masterdata values and not infoprovider or posted values.  - thats issue one - I would like to see all the three and let the user select what ever he wants.
2 - Now when I select SA/1234567 and run the report. It shows me data for F5/1234567 - which is correct data for that customer. But in the template I have a info field web item to display the selected variables on the screen. That info field shows the Customer as BP/1234567 - which is wrong and confusing. I checked the properties of the web item and everything seems ok.  So in the variable screen I get a value, the result set if of another value and the variable value that shows in the Info tab is another customer. - Driving me nuts
3 - When I recreate the same scenario in 3.x query - everything works the way they should - this only happens in 7.0 query. What am I missing here??
Any pointer or insight is appreciated - sorry for the long post.
Voodi
Edited by: voodi on Jun 8, 2010 2:26 PM

Sorry - its not how its displaying the values rather what its displaying - it misses on 2 other values from the three - though the Bex setting in IO are set to read all the values from materdata table. And in the query I'm using IO properties. And display settings are ok

Similar Messages

  • The type of the value being assigned to variable ... differs from the current variable type

    I am trying to load a variable on SSIS Execute SQL Task with a string value. I keep on getting an error message :-
    “The type of the value being assigned to variable “User::LegacyColumns” differs from the current variable type”.
    Below are the settings on my package:
    Execute SQL Task Result Set –
    Single Row
    Variable Data Type –
    String
    The data to be loaded on the variable is a single row shown below:
    FirstName,LastName,MiddleName,PatientType,Title
    Can someone kindly help me to solve this as I’m lost for ideas.
    Thanks,
    Mpumelelo

    Thank you Sorna. I think I have managed to solve it. After a long search I have found a solution which advises that I should use a Foreach Loop Container. The help is on this link:
    https://social.msdn.microsoft.com/Forums/en-US/f46dea91-c26b-4ffe-ab1c-ebeef57c90b6/error-0xc001f009-at-mypackage-the-type-of-the-value-being-assigned-to-variable?forum=sqlintegrationservices
    Mpumelelo

  • The type of the value (DBNull) being assigned to variable "User::AlereCoachingEnrolledID" differs from the current variable type (Int32)

    This occurred within an Execute SQL Task
    I am trying to get my entire result set with the following SQL...
    IF EXISTS
    SELECT [Alere_Coaching_Enrolled].[AlereCoachingEnrolledID]
    FROM [dbo].[Alere_Coaching_Enrolled]
    WHERE ([Alere_Coaching_Enrolled].[MatchMember] IS NULL
    OR [Alere_Coaching_Enrolled].[MatchMember] = 0)
    AND ([Alere_Coaching_Enrolled].[Processed] IS NULL
    OR [Alere_Coaching_Enrolled].[Processed] = 0)
    BEGIN
    SELECT [Alere_Coaching_Enrolled].[AlereCoachingEnrolledID]
    FROM [dbo].[Alere_Coaching_Enrolled]
    WHERE ([Alere_Coaching_Enrolled].[MatchMember] IS NULL
    OR [Alere_Coaching_Enrolled].[MatchMember] = 0)
    AND ([Alere_Coaching_Enrolled].[Processed] IS NULL
    OR [Alere_Coaching_Enrolled].[Processed] = 0)
    END
    ELSE
    BEGIN
    SELECT 0 AS [AlereCoachingEnrolledID]
    END
    I want to handle using a Sequence Container and an Expression and Constraint if I have rows to process and if I do not...thus the 0 portion of the SQL...
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    As per my understanding, you created Execute SQL Task with the query and created a variable of int32, then set ResultSet to Full result set. When you run the package, you got the error message.
    I reproduced the issue in my local machine, since the query can return a result set, you set type of variable to int32, so the error occurred. A Full result set must map to a variable of the Object data type. The return result is a rowset object. We can
    use a Foreach Loop container to extract the table row values that are stored in the Object variable into package variables, and then use a Script Task to write the data stored in packages variables to a file.
    For more information, please refer to Populating a variable with a result set section in the document:
    https://msdn.microsoft.com/en-us/library/cc280492.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Clearing the displayed value for a SELECT-OPTION

    How do I clear the displayed value of a SELECT-OPTION? 
    I have 2 SELECT-OPTIONs on my screen (standard basic report program screen).  I use code like this to populate the drop-down boxes for each one. 
    =====
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prgrp-low.
      PERFORM fill_prgrp_values.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prctr-low.
      PERFORM fill_prctr_values.
    =====
    The value the user picks for the first SELECT-OPTION will affect what values I put in the drop-down list for the second SELECT-OPTION. 
    If a user enters a value for the second SELECT-OPTION, and then goes back and changes the value of the first SELECT-OPTION, then I want to do two things:
    1.  Create a new set of values for the drop-down list for the second SELECT-OPTION (no problem; working fine);
    2.  Clear the displayed value from the second SELECT-OPTION that the user entered previously.  That value became invalid when the user picked a new value for the first SELECT-OPTION. 
    How do I clear that second displayed value? 
    I have tried CLEAR and REFRESH for the second variable using the formats s_prctr, s_prctr[], and s_prctr-low.  They will erase the values of the internal table or part(s) of it, but the displayed value stays on the screen. 
    I need to clear out the displayed value so the user will either leave it blank or enter or select a new value. 
    I am using F4IF_INT_TABLE_VALUE_REQUEST to build the drop-down lists, and it works fine, but I do not see any function module to clear the displayed value off the screen. 
    Thanks for your help.

    Sorry, but calling DYNP_VALUES_UPDATE did not work.  This is how I coded it. 
    fld_reset_rcd-fieldname  = 'S_PRCTR'.
      fld_reset_rcd-stepl      = sy-stepl.
      CLEAR fld_reset_rcd-fieldvalue.      "  re-initialize s_prctr
      CLEAR fld_reset_rcd-fieldinp.        "  what goes in here?
      APPEND fld_reset_rcd TO fld_reset_tbl.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname = 'ZFI_GL_BALANCE_NGL'
          dynumb = '1000'
        TABLES
          dynpfields = fld_reset_tbl
    <Added code tags>
    I have discovered that CLEAR and REFRESH of s_prctr will clear it somewhat.  If I enter multiple values, ranges, etc., they will all be cleared, EXCEPT for the one single value that is displayed on the main screen.  It is not cleared and it remains if you push the button to display the pop-up to enter ranges, etc. 
    To devrath.sampat  --  Thanks for your example for building the drop-down list, but that is not the problem I am having.  I am already able to build it just fine. 
    To repeat my problem, if I: 
    1.  first enter / select a value for the first SELECT-OPTION s_prgrp
    2.  then enter / select a value for the second SELECT-OPTION s_prctr
    3.  And finally go back and select a new value of the first SELECT-OPTION s_prgrp from its drop-down list,
         when I do, the program needs to clear the value displayed on the main screen for the second SELECT-OPTION s_prctr (any additional values, ranges, etc., are cleared by CLEAR and REFRESH, if I go look; but not the value shown on the main screen).
    Edited by: Scott Crosby on Feb 14, 2012 4:20 PM
    Edited by: Suhas Saha on Feb 15, 2012 12:03 PM

  • Why does Photoshop display colors differently from the other applications even in sRGB mode ?

    Hello all !
    Here is my problem :
    Photoshop is set to use sRGB workspace (in edit/colors.../workspace/RVB).
    If I understand correctly this is how all native windows applications work.
    This means Photoshop and the other applications should display the same colors on a file with a sRGB profile.
    Now this is the case until I calibrate my monitor.
    When I do, Photoshop colors become different from the other applications (irfanview, explorer, browsers...).
    The only way I found to let everything display the same colors is to set Photoshop to use Proofing/RVB Monitor.
    What upsets me even more is that Photoshop colors look "better" to me (dark grays seem to dark to me in the other applications.)
    I have read that this is because Photoshop takes the new profile into account and others applications do not. But I don't think this is relevant here because everything is in sRGB so the only profile is my monitor's and I think calibration is handled globally by windows : everything (including browsers, explorer, and Photoshop) changes color if I choose to apply the monitor's profile or not with windows color management tool ("use my parameters for this device").
    Here is my system configuration :
    - Photoshop CS4 (11.0.2)
    - Windows 7 64 bits
    - HP ZR2440W and DELL 2209WA (these are not wide gamut screens)
    I have spent two days trying to figure the logics behind this and really am upset. Any help would be greatly appreciated. Don't hesitate to ask me if there is something that is unclear or some information I forgot to mention.
    Thanks in advance,
    Yannick

    That sounds like an invitation to continue to talk about the issue.  Fair enough.
    I'm not sure where you're getting "insecurity"...  I am just trying to help you help others more effectively.
    I invite you to re-read just the first sentence of what you wrote very carefully, putting yourself in the shoes of someone struggling with both the terminology and the concepts:
    Photoshop (CMS) reads an embedded ICC profile and CONVERTS it to the custom monitor profile for a theoretical 'true color' display
    Think about what "Photoshop (CMS)" might mean to a person who doesn't know the acronym might stand for "Color Management System" (which is I assume what you meant).  Adobe themselves don't call it "CMS", they use the acronym "CMM" (Color Management Module).  The term "CMS" is used in the computer industry for about a dozen different things.
    While a color profile might have been embedded in an image file before it was opened by Photoshop, Photoshop works on documents.  A profile is not "embedded" in a document, it is maintained by Photoshop with the document and describes the color values in the document.  If Photoshop opens a document without an embedded profile, depending on settings and user choices it might assign a profile or it might even operate on the document without color-management.  Oversimplification doesn't help people when they're trying to learn new things unless it's described as such, for example, "This is a bit of an oversimplification..." or "Generally speaking..."
    Not every monitor profile is a "custom monitor profile".  Quite often a standard profile (e.g., sRGB IEC61966-2.1) is associated with a monitor by the operating system as a default, or a factory profile is installed by a driver package or system update.  Your use of the term "custom" is a bit ambiguous and could be read as implying the creation of a profile using a calibration and profiling device specific to the particular monitor.
    Photoshop's color management code does not convert an embedded ICC profile at all (read carefully what you wrote).  As I said, it transforms color values.  That was the key error in your description that prompted me to comment.
    If ever there is a time to pick words carefully, it's in a color-management discussion.
    -Noel

  • Setting the value of a textbox to be the display value of a selected item

    I have two seperate regions on the same page. In the top region I have a select list with submit and in the bottom region I have a textbox. I can get the value of the textbox to be set to the RETURN value of the select list, but it is merely a number. I would like for the value of the textbox to be set to the DISPLAY value of what the user has selected from the select list. How can I accomplish this?
    Thanks,
    BoilerUP

    Hi BoilerUP,
    Can’t you create an item based on a select, that returns the value you want?
    select text from mytable where id = :myselectlist_id;
    Regards Pete

  • Get the display values of a multi selection listbox

    Hello, I am creating a visual jsf project and I have a multi selection listbox component. I have bound this component with a table of my database. For the value of the listbox's items I use the "id" field of the table, and for the display value I use the "name" field. I know that with the method getSelectedValues() I get the values "id" of the listbox, but what I want is to get the display values of the selected items of the list box. How do I do that?I have tried this code:
    Object[] selectedareas=getSessionBean1().getAreas();
    String[] mySelections=getSessionBean1().getAreas();
    selareas=areasDataProvider.findAll("id", selectedareas);
    for(int i=0;i<selectedareas.length;i++){          
    some= (String) areasDataProvider.getValue(areasDataProvider.getFieldKey("are_name"), selareas[i]);
    but I get an java.lang.ArrayIndexOutOfBoundsException: 0 error. Any suggestions?Thank you in advance!

    The way I get it in my <f:selectItems> is by binding my multi select listbox, with my database. So what the code is on my jsp page is:
    <f:selectItems binding="#{addcases.multiSelectListbox2SelectItems}" id="multiSelectListbox2SelectItems"value="#{addcases.languageDataProvider.options['language.id,language.lang_name']}"/>and I don't know how to work from here..

  • Display only data different from the previous row

    Hello,
    I will use a simple example to explain what I would like to do with a query.
    I have a table 'test' with 4 columns (col1, col2, col3, col4).
    The table 'test' contains the following data:
    A  B  C  D
    A  E  C  D
    A  F  G  D
    K  F  G  HI would like to create a query ordered on the first column with the following result:
    A  B  C  D
       E
       F  G
    K        HOnly data that are different from the previous row have to be displayed.
    Do you have ideas on how to do this.
    Thanks for your help

    SQL> l
      1  select
      2  decode(a,lag(a) over (order by a),null,a) a,
      3  decode(b,lag(b) over (order by a),null,b) b,
      4  decode(c,lag(c) over (order by a),null,c) c,
      5  decode(d,lag(d) over (order by a),null,d) d
      6  from
      7  (
      8  select 'A' a,'B' b,'C' c , 'D' d from dual
      9  union
    10  select 'A' a,'E' b,'C' c , 'D' d from dual
    11  union
    12  select 'A' a,'F' b,'G' c , 'D' d from dual
    13  union
    14  select 'K' a,'F' b,'G' c , 'H' d from dual
    15* )
    SQL> /
    A B C D
    A B C D
      E
      F G
    K     H

  • How to display the display value of a select list

    I want to display the display value instead of the return value of a select list but don't know how to do it, can someone help me?

    When you created the select list item, you are ask to provide a list of values query which can either be a SQL query or a Static List, which both follows the pattern of
    Dispaly;Return.
    Example:
    SQL query -
    select 'Yes' col1, 'Y' col2
    from dual
    Static -
    STATIC:Yes;Y
    which will display 'Yes' but will actually, return 'Y'.
    how did you set your select list item?
    Thanks,
    Marilyn

  • Key Figure values in the Bex Report are different from the cube

    Hi all,
    When I tried to pull data of the cube, the values of the Key Figure 0Lotsize_cm was showing 100 EA. But when I try to run the query of the cube, then the key figure is LotSize is showing up as 500 EA. I don't understand why this is happening.
    When I checked for Aggregation in the Key Figure. It shows up as "Sum" under aggregation and "Last Value" under Exception aggregation.
    Could some one help me find a solution to this issue.
    I look forward to hearing from the experts.
    Regards,
    S.P

    Hi Arun and  Zegion,
    Thank you for your responses.
    Arun, I do not have any aggregates on the cube. I changed the aggregate properties of the Key Figure from SUM to Minimum. this has solved my problem temporarily.
    the reason I am saying temporarily because this is a SAP delivered InfoObject. This is for the datasource 0CO_PC_PCP_01. When I read through the documents, it said, SUMMation for Aggregation and Last value for "Exception Aggregation" will display the value of KF as the last value and does not add them up.
    Since this wasn't the happening in my query, I changed the Aggregation from SUM to Minimum.
    Regards,
    S.P

  • Why the value of 24bit bmp file read by the labview different from the original

    when i use labview to read a bmp file,it looks just fine,but the the pixel value is dfferent from the original,how it changed,can i change it back

    right... Your "result" indicator is an I16, it goes from -32768 to 32767... so that's not enough, before the 2 for loops, just after the Integer to colour value VI  you should place a convertion node to convert to i64 and also change you result display representation to i64.
    See attached VI.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    lll.vi ‏42 KB

  • Mapviewer displaying maps differently from the client than from the server

    Can anyone explain to me why this is happening. I have been deploying my java server page to the server, and the way it works is to have multiple base routes which are not originally shown, but the user can 'check' them and they will display. On the server this works as one would expect, but on the client
    I originally couldn't get this to work through Jdeveloper, but now it works -- that's another story :(
    all of my base maps are displayed when the map first comes up. I don't want this to occur because it takes too long. Anyway, does anyone know why the map is working different from the client than it does when I deploy it to the server? Here is the significant code:
    var basemap1 = new MVBaseMap("ds_prod.prod_rdlg_qry");
    var basemap2 = new MVBaseMap("ds_prod.interstate", "", true);
    basemap2.setTransparent(true);
    var basemap3 = new MVBaseMap("ds_prod.primary", "", true);
    basemap3.setTransparent(true);
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addBaseMapLayer(basemap1);
    mapview.addBaseMapLayer(basemap2);
    mapview.addBaseMapLayer(basemap3);
    basemap1.setVisible (true);
    basemap2.setVisible (false);
    basemap3.setVisible (false);
    Any suggestions would be appreciated. Thanks.

    Hi
    Whitch version of mapviewer are you using? (MVBaseMap/addBaseMapLayer is for older versions, and in newer there is MVMapTileLayer/addMapTileLayer)
    I had similar difficulties displaying multiple tile layers in application with mapviewer ver. B080618. (not sute, may be in newer versions this works different)
    When adding all tile layers initially and then setting theig Visible properties, browser fetches from server data for ALL the layers (even if they were set to visible -> false)
    the workaround was to add aditional layers ony when this is needed.
    Michael

  • Removal of a Variable from the defualt values

    Hi Experts,
    I need to remove a Variable which is created on a Char AGV_AG_DI_IND_MUO_001 from the default values and the char on which the variable is created AG_DI_IND should remain in free charecterstic.
    Please advise.
    Regards,
    Tati

    Hi,
    I'm not sure if I understand the entire question. If you have a variable on a characteristic in the Query designer DEFAULT VALUES section and you remove the variable from it your characteristic will still be available in the FREE CHARACTERISTIC section of the query designer (in the Row/Column portion).
    Are you saying that you want to also remove the characteristic from the DEFAULT section of the query designer as well?
    Thanks, Pete

  • Using a different TIME range that is different from the default TIME dim

    Hi all - this is my first post - so please be gentle!
    I am busy writing an EVDRE report on an application for which I need to use a different time range than what is currently the overall time dimension for all our other applications.
    Currently the overall time dimension is set for MAR to FEB (Financial year). I now need to do a report for - OCT to SEP reflecting the YTD values?
    The report also calls for having variable A compared against variable B over the extent of this period (OCT to SEP -> YTD). So in essence I will not be displaying any PERIODIC values but rather just the YTD values.
    How can I do this without having to resort to a manual entry of each month's TIME dimension details and still ensure the report dynamically changes when I do an EXPAND?
    I am using BPC 5.1 SP3 on Microsoft Office 2003.
    Kind regards
    Pieter

    Well, without seeing the report and the setup, my suggestion is to leverage the EVTIM function.  If your columns are static, but the user selects a period for the report, you should be able to set-up the function to build the 2 sets of 3 months.  The EVTIM function simply references another time value, and adds up or down at a specific level as a member for use in the column (or that is where I would use it).
    Does that make sense?

  • How to display the "display values" in READ Only mode for a SHUTTLE

    Hi,
    I have a form item of type *'Shuttle'* and using the following LOV.
       select DEPTNAME d, DEPTNO r
        from  DEPTIn normal mode..it displays the department name and internally store the Deptno..
    Now I converted this item to Read Only mode using Read Only Condition Type
    the problem is as soon as it becomes read only...it displays the deptno....not the department name
                Department-   10:20:30How can I display the "display values" i.e the actual department name in read only mode..
                Department-   Department1:Department2:Department3Thanks,
    Deepak

    Hi,
    It seems feature. Shuttle is span tag when it is read only.
    Work around could be that
    you compute display as text item with LOV display value according shuttle session state and show shuttle and this item conditionally depend case
    Br, JAri

Maybe you are looking for

  • Report on daily performance

    hi friends, i want to make report on daily performance of plant in which there are different columns like 1. plan/ day,                                 2. monthly plan                                 3. days production                                

  • "how to load a text file to oracle table"

    hi to all can anybody help me "how to load a text file to oracle table", this is first time i am doing, plz give me steps. Regards MKhaleel

  • Tax Base amount calculation in MIRO

    Hi friends , Need your help on the following issue 1.     PO item price is Rs 20/-  &  Tax is 7 % . But Tax 7 % should be calculated on                 Rs 100/- (20+80 =100)  in MIRO . i.e. Assessable value for tax is Rs 100/- 2.     We tried this sc

  • SBO2004 - AddOnInstallAPI.EndInstall from InstallShield 10.5

    Hello It's possible to do the EndInstall notification from InstallScript. I try to do on "OnEnd" event and didn't work. The parameters are right captured from SAP, and the DLL AddOnInstallAPI is right loaded, and no error is notify, but SBO seems not

  • FF does cannot load servers, IE does and I did all suggested to no avail

    This morning Firefox stopped connecting to servers without any obvious reason or change, issuing the "Server not found". IE works fine. I went through all the 'server not found" troubleshooting to no avail: * no proxy * DNS prefetching * IPv6 * had 4