0CostCenter in a structure in a query need text field

Hi,
I am creating a query using a structure so that cost centers can place on the query in a fixed ordered location.  When I pull 0COSTCENTER into a selection and restrict it to the cost center I want, the key and the text have the key value in them.  When I  search for the value in the "Select Values" screen, the result search shows the key and what appears to be the short text(. .  When I select that value to the chosen selection box, it is still showing the same values.  Once I hit Ok and go back to the "Change Selection" screen, the retriction shows the key as the text and that is the value showing in the description for the selection.
Anyone else encountered this issue and found a work around other than hand entering descriptive descriptions that will probably change 5 minutes after the query has been built?
Thanks in advance for any and all thoughts.
Bill

Hi,
0COSTCENTER texts appear to be loaded and  BEX settings on 0COSTCENTER are the same as 0COSTELMNT which I am using the same way in another query.  When I do the restriction on it, the text for the cost element is pulled in. 
When I just put 0COSTCENTER on the row and not in a selection, the text displays just fine.  Is there a setting in BEX that I might be missing.   I would think that the Cost Element query works so I should be getting the same results on this query.
Thanks in advance for any thoughts.
Bill

Similar Messages

  • How to copy paste a table structure from word document into Text Field [field format Rich Text]

    In our current implementation we have a Blank page with Text Field [field format Rich Text] on generated PDF Document.
    Once the PDF document is generated, user can copy paste content form any word/rtf document to into the Text Field.
    Pasted content retains all text formatting [Bold, Italic, Underline, Indentation] except the Table format. Text Field is removing table metadata from the content and converting it into plant text.
    Is there anyway to copy paste table structure as it is from word document into Text Field?

    Hi,
    I don't think you can! While you can paste formatted text into the rich text field, the table metadata means nothing to the textfield.
    Niall

  • Querying a text field with an escape character in it.

    I want to retrive a the search results from the database with the search string being something like
    say "{2.5}"
    select cola from tableX where contains(cola, '{{2.5}}', 1)>0)
    I tried to parse the string with another escape character - ie i modified the search string to like this
    {\{2.5\}}. Doing so i am getting a wrong result. That is it is ignoring the two braces and giving me results that contains only 2.5.
    Please give me a solution
    Thanks in Advance.
    Venkat

    You need to define the braces as PRINTJOINS characters, otherwise they are stripped from the term during both indexing and query processing, making "{2.5}" identical to "2.5"
    Try this example:
    set echo on
    drop table x;
    create table x (x varchar2(50));
    insert into x values ('2.5');
    insert into x values ('{2.5}');
    exec ctx_ddl.drop_preference('mylex')
    exec ctx_ddl.create_preference('mylex', 'basic_lexer')
    exec ctx_ddl.set_attribute('mylex', 'printjoins', '{}')
    create index xi on x(x) indextype is ctxsys.context
    parameters ('lexer mylex');
    select x from x where contains (x, '2.5') > 0;
    select x from x where contains (x, '\{2.5\}') > 0;

  • Looping a query with text fields

    I need to loop a query (fields: FName,LName,Phone) in
    textboxes.
    List all textboxes in one form and be able to update the db
    with all changes at once.
    <cfloop query="ListMembers">
    <input type="text" name="FName#MemberID#"
    value="#FName#">
    <input type="text" name="LName#MemberID#"
    value="#FName#">
    <input type="text" name="PhoneName#MemberID#"
    value="#FName#">
    </cfloop>
    <input type="Submit" value="Update">
    Now i need to update the db and not sure how to do that?
    Thanks for the help

    Yes. Two ways. One using Form Action and one using a form created by a form site and embedded into your web page: Embedding Forms & Encoding Email Addresses.
    OT

  • Caml query to retrive keyword from rich text field

    hi friends
    i am using below caml query to retrieve data from title field and Rich text field(Definition) 
    <View>
    <Query>
    <Where>
    <And>
    <Or>
    <Eq>
    <FieldRef Name=\'Title\'/>
    <Value Type=\'Text\'>'+letter+'</Value>
    </Eq>
    <Contains>
    <FieldRef Name=\'Definition\' />
    <Value Type=\'Note\'>'+letter+'</Value>
    </Contains>
    </Or>
    <Neq>
    <FieldRef Name=\'status\' />
    <Value Type=\'Text\'>Not approved</Value>
    </Neq>
    </And>
    </Where>
    <OrderBy><FieldRef Name=\'Title\' /></OrderBy>
    </Query>
    </View>
    this query is working fine. But it is retrieving some extra fields also which doesn't have the queried string. and even it is retrieving keyword from image urls which are present in rich text field. 
    Please help me to retrieve key word from plain text of rich text field.

    Hi,
    According to your post, my understanding is that you want to use caml query to retrive keyword from rich text field
    By design, when specifying a ViewFields clause, values for these fields are returned, together with a few system columns like ID, Created and Modified.
    If you query rich text field, it will return the field with HTML tags.
    To retrieve key word from plain text of rich text field, you need to use regular expression to remove the HTML tags.
    You can use the code below:
    using (SPSite site = new SPSite("http://sitename"))
    using (SPWeb spWeb = site.OpenWeb())
    SPList spList = spWeb.Lists.TryGetList("ListName");
    SPQuery qry = new SPQuery();
    if (spList != null)
    qry.Query =
    @" <Where>
    <Contains>
    <FieldRef Name='Rich_x0020_Text' />
    <Value Type='Note'>caml</Value>
    </Contains>
    </Where>";
    qry.ViewFields = @"<FieldRef Name='Title' /><FieldRef Name='Rich_x0020_Text' />";
    SPListItemCollection listItems = spList.GetItems(qry);
    foreach (SPListItem item in listItems)
    string src = item["Rich_x0020_Text"].ToString();
    Regex htmlReg = new Regex(@"<[^>]+>", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    src = htmlReg.Replace(src, string.Empty);
    Console.WriteLine(src);
    Console.ReadKey();
    The result is as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Query Manager Text Capacity is Full 6400 characters only

    hi again experts!
    I'd like to ask how  can I increase the Query Manager Text fields my query cant be complete.
    Anybody has an idea.
    Thank you.
    Clint

    Hi Suda,
    Here is my query,
    FROM dbo.OINV T0 INNER JOIN dbo.INV1 T1 ON (T0.DocEntry = T1.DocEntry) LEFT OUTER JOIN dbo.RIN1 T7 ON (T1.ItemCode = T7.ItemCode)
      AND (T0.DocEntry = T7.BaseEntry) LEFT OUTER JOIN dbo.ORIN T6 ON (T7.DocEntry = T6.DocEntry) INNER JOIN dbo.OCRD T2 ON (T0.CardCode = T2.CardCode)
      INNER JOIN dbo.OCRG T3 ON (T2.GroupCode = T3.GroupCode)  LEFT OUTER JOIN dbo.OITM T4 ON (T1.ItemCode = T4.ItemCode)
      LEFT OUTER JOIN dbo.OITB T5 ON (T4.ItmsGrpCod = T5.ItmsGrpCod) WHERE T1.ItemCode like '80%'
    The query has plenty of considerations from side, that why it exceeds to limit characters but then the query run fast. is there any idea regarding this, thank you in advance.
    Clint

  • Addtional Structure on InfoSet query of Logical database

    Hi Experts,
    We have a logical database on which we are supposed to create an InfoSet query. We could create the InfoSet query and also the query on top of it.
    We have a requirement to add addtional fiels which are not part of the logical database. The addtional fields are in a strucuture. I added the strucuture using the Extras option, but I need help on how to extract data from this strucuture.
    Can you please help me with a sample code:
    Logical Database in question is - FTI_TR_PERIODS
    Structure to be included is - VTG_IRATE_STRUCTURE
    Field in structure to be included is - PKOND, SKOART
    As this is a structure we cannot right a select statement, and I am very new to abap and require help on how to extract data from the structure.
    Thanks for your help.
    Best Regards,
    Ravi

    Hi,
    This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • The structure in the query

    HI,BW experts, I have a question about the structure of the query :is there only one key figure in the query?in my query ,i have a key figure structure already, could I create another key figure structure,and how to ?
    Thanks for your help.

    Hi Cindy
    If your query already has a structure then why you want to create a new one? add new key figures to the exisiting structure.
    If you have to create new structure for key figures then
    GO to Query change in Query designer & in Columns section do right mouse click and select structure. This will add new structure and then you can add new key figures to that if you need.
    Hope this helps
    Regards
    Pradip

  • Copy the structures in a query

    hi,
      Can we copy the structure of one query to another query ?
       If so, please let me know how to do it.
    Thanks in advance.

    Hi,
    If the queries in question are on the same Infoprovider, then you can save the structure as a global structure and use it in both the queries.
    If the queries will be on different InfoProviders, then you would need to copy at the query level using RSZC.
    Hope this helps...

  • Copy existing structure in the query

    Hello,
    I have couple of existing structures in the query, my requirement is I need to create a new structure similar to the existing stricture.
    Is there anyway to copy the existing structure.
    Please help me.
    Thanks,
    John

    Hi Roberto
    I did like this,
    I have chosen save as option by right clicking the structure and provided tech name and descriptions. It created new structure with the existing fields.
    Thanks a a lot for your help.
    Regards,
    John

  • Change in global structure in one query

    Hi,
    1. I have some five queries already developed. Here in all the five queries i am using one global structure. I have a requirement tp change the global structure, Now after i change the global structure in one query1 do i need to transport only that query1 or i have to transport all the five queries for the change to get reflected.
    2. There are five workbooks also developed for the corresponding queires.  After changing the queries do i need to update the output result in all the workbooks as well?
    Here in the global structure the keyfigures are replaced with new keyfigures?
    Little confused , need help? Please answer my two questions
    Thanks,
    rani

    >
    rani wrote:
    > Hi,
    >
    > 1. I have some five queries already developed. Here in all the five queries i am using one global structure. I have a requirement tp change the global structure, Now after i change the global structure in one query1 do i need to transport only that query1 or i have to transport all the five queries for the change to get reflected.
    >
    >
    >  Thanks,
    > rani
    If you changed the global structure then transport the structure not the query.
    Go to transport connection in RSA1 choose Query elements -
    >Structures.
    Select your structure and transport.
    That should do.As long as you use "Restore to initial query" in the dataprovider properties of the workbook it should reflect your changes else you need to change at workbook level too.
    Hope this helps.

  • Netweaver 04s - Use of two structures in the query craeted dump

    I have used two structures in a query, The same query works fine in current BW 3.5 system but in BI 7.O sandbox (copy of prod), it dumps out.
    When I check the query, it does give these message (same as in PROD, where it runs without a problem).
    - Different hierarchies are used for characteristic Cons Group
    - Number variable ZFV_HTES cannot be replaced.
    - Fiscal year variant is to be specified for key figure Cumulative (YTD) Value in Group Currency

    Hi Rakesh.
    Did you get a satisfactory outcome to this problem? Does the current patch of Netweaver 04S cover it?
    Would appreciate your reply, please.
    Patrick

  • Defining more parameters than a query needs

    Hi.
    When I run the following code, I get the error "ORA-01036: illegal variable name/number" .
    The problem is that I currently define more parameters than the query needs. Thats because I don't know how many bind variables the query uses, and I would not like to parse the query ...
    I don't understand why I have to define exactly the same number of parameters, and in the exact order ... It doesn't make sense. As bind variables have names, there should be no problem passing more parameters or parameters in a different order: the binding should be done by name...
    I'm currently using Oracle10g, ODP.NET and .NET Framework 2.0.
    I would appreciate any help ...
    Thank you.
    Ricardo Coimbras
    ===== BEGIN VB.NET CODE =====
    Sub Execute_Query(ByVal SqlString as String)
    Dim ObjCmd As OracleCommand
    Dim DataAdap As OracleDataAdapter
    Dim outDsCorpo As DataSet
    Dim Constroi_Conn_String_Oracle As String
    Dim mObjConnOracle As OracleConnection
    Constroi_Conn_String_Oracle = "User ID=uuu" & _
    ";Password=ppp" & _
    ";Data Source=bd" & _
    ";Pooling=false"
    mObjConnOracle = New OracleConnection(Constroi_Conn_String_Oracle)
    mObjConnOracle.Open()
    ObjCmd = mObjConnOracle.CreateCommand()
    ObjCmd.CommandType = CommandType.Text
    ObjCmd.CommandText = SqlString
    ObjCmd.Parameters.Add("p1", OracleDbType.Char, 3, "001", ParameterDirection.Input)
    ObjCmd.Parameters.Add("p2", OracleDbType.Char, 3, "001", ParameterDirection.Input)
    DataAdap = New OracleDataAdapter(ObjCmd)
    outDsCorpo = New DataSet()
    DataAdap.Fill(outDsCorpo)
    GridView1.DataSource = outDsCorpo
    GridView1.DataBind()
    DataAdap = Nothing
    ObjCmd = Nothing
    mObjConnOracle.Close()
    mObjConnOracle.Dispose()
    mObjConnOracle = Nothing
    End Sub
    Execute_Query "select * from map.t_mapa_def where mapa_def_cod = :p1 order by mapa_def_cod"
    ===== END VB.NET CODE =====

    Hi,
    BindByPosition is the default behavior as per the docs, and you can change that by setting cmd.BindByName=true which adds a little bit of extra overhead.
    That wont fix the error seen when binding a random number of parameters to the statement though. You need to bind the correct number and types of parameters.
    Greg

  • How much UNDO does a query need?

    It seems that due to a gigantic delete, I am running out of UNDO. How can I see exactly how much undo a query needs?
    Searching on the web, I found this:
    select sq.sql_text sql_text, t.USED_UREC Records, t.USED_UBLK Blocks, (t.USED_UBLK*8192/1024) KBytes from v$transaction t,
    v$session s,
    v$sql sq
    where t.addr = s.taddr
    and s.sql_id = sq.sql_id
    and s.username = 'blah'
    , which is fine, but it seems to be returning results for only running queries. In other words, when the delete query I am investigating is executed, the above select returns no rows. Is there a way to modify it to return also queries that have been executed?
    Any help is welcome.
    Message was edited by:
    user622271

    Hi,
    It seems that you need to make an outer join between v$sql and v$session views [s.sql_id = sq.sql_id(+)] ... For more information is if this [url http://forums.oracle.com/forums/thread.jspa?messageID=1756927&#1756927]thread can help you.
    Cheers
    Legatti

  • Always hided elements in structure (SAP BW query) are "activated" in WebI

    Hello WebI-experts
    We have an interesting challenge to get resolved, hopefully you can help us.
    As datasource we use a SAP query with two structures.
    One structure contains a variable (variable 0CMONTH of character 0CALMONTH) which is only relevant for the initial prompt, e.g.: 03.2010.
    This prompting variable itself has the property of "Always Hide" under Display setting.
    All the other elements of this structure have the setting "Always Show".
    The Universe on this SAP BW query already shows NOT the elements of this structure. It "only" shows the structure itself as dimension (icon).
    When designing a WebI query and executing it the result is:
    Showing the values for all the elements with property setting "Always Show" AND wrongly also the only one with "Always Hide". It is required to exclude the "Always Hide" element of the structure from the reporting view.
    Questions:
    1.) Are there any means to show the elements of the SAP BW query structure in the universe and therefore also in the WebI query? If there are no means....then question 2.
    2.) How can we exclude the "Always Hide" element of the structure from the reporting view?
    Thanks for any advise.
    Chäsitzer

    Hi
    I have altered the SAP BW query in the following manner:
    The "always hided" element in the structure of the query has been erased.
    The current structure only consists of 0CALMONTH variables, 0CMONTH, which itself are off-set ones, e.g.
    STRUCTURE in the query: (consists of 12 months)
    current month (variable 0CMONTH)
    current month -1  (variable 0CMONTH, off-set -1)
    current month -2  (variable 0CMONTH, off-set -2)
    current month -3  (variable 0CMONTH, off-set -3)
    current month -4  (variable 0CMONTH, off-set -4)
    current month -5  (variable 0CMONTH, off-set -5)
    current month -6  (variable 0CMONTH, off-set -6)
    current month -7  (variable 0CMONTH, off-set -7)
    current month -8  (variable 0CMONTH, off-set -8)
    current month -9  (variable 0CMONTH, off-set -9)
    current month -10  (variable 0CMONTH, off-set -10)
    current month -11  (variable 0CMONTH, off-set -11)
    The universe itself consists "only" of this structure, the 12 months off-set variables are not displayed respective editable.
    How can we display the exact 0CALMONTH variable values, counting down from the current month, in our WebI report, e.g.:
    Rows of WebI report SHOULD show:
    Nov 2010
    Oct 2010
    Sep 2010
    Aug 2010
    Jul 2010
    Jun 2010
    May 2010
    Apr 2010
    Mar 2010
    Feb 2010
    Jan 2010
    Dec 2009
    Thanks for your help.
    Chäsitzer
    Edited by: Chäsitzer on Nov 5, 2010 3:41 PM
    Edited by: Chäsitzer on Nov 5, 2010 3:42 PM
    Edited by: Chäsitzer on Nov 5, 2010 3:43 PM

Maybe you are looking for

  • Error in Account determination in VF02

    Hi Guys, I've a problem related to Billing Doc. I'm trying to save a doc in VF02, but its giving error "Document Saved (error in Account determination). Can someone help on this?

  • Service tax  standard Report

    hi... Tell me service tax  standard reports T.code. Thanks & Regards Rekha sharma

  • Sort records !!!

    Hi Gurus, The requirement I have here is in a custom form(oracle forms 4.5). User want that when they open the form they want all the records whose checkbox is checked at the top.It is a multi record block. The check box is a non database item.The va

  • Viewing two PDFs on screen at the same time

    I use Adobe Acrobat 9 Pro and I can not view two pdfs at the same time anymore. I am sue there must be away. I know there is a compare tool, but this does not do what I want. Any ideas?

  • I can connect to my wireless network but not the internet

    Hi. I've had my iBook G4 for just about a year and it's worked fantastically... until recently. My roommate has a PC and a linksys wireless router, and I've always been able to connect wirelessly to the internet until last week. I came home from work