Display Text in Columns

Hi,
My requirement is that for every row I have to check some condition and based on that I have to display messages like,
Order Processed
Order Delivered
No Orders, etc
I have to do this at query level. Plz. tell me if this can be done
Thanks,
Mayank

Hi Mayank,
Its definitely not possible, but can be done with C. Exits.
Try to define  a varibale of type C.Exit & in SE38 write the coding for the same varibale.
In the variable selection, you will have an option 'Customer Exit', 'Replacement Path' etc.
Try this, and it might definitely work.
Thanks,
Arun Bala G
Edited by: Arun Bala G on Jan 19, 2010 6:09 AM

Similar Messages

  • Report column breaking - display text centred in cell

    Hi,
    I am looking for some help achieving the following:
    I have a report which has column breaks on the first three columns. Currently, when the report is displayed, the first column value is displayed in the top row with the rows underneath blank and so on for columns 2 and 3. Then the data for the other columns is displayed as normal.
    What I want to do is have the column values that are used in the break spanning the rows they break over so the text is displayed centred (vertically)
    ie:
    Col1     Col2     Col3           Col4     Col5
                                    dat1     dat2
                                    dat2     dat3
    val1     val2     val3          dat4     dat5
                                    dat6     dat7
                                    dat8     dat9
    val2    xx        xxx         xx        xx
    ________________________________________________ (Hope this works in ascii!!!) - Col1,2,3 etc are the columns - ignore the vals and dats - they're just data placeholders.
    All help much appreciated! :)

    Hi,
    Something like: http://htmldb.oracle.com/pls/otn/f?p=33642:112 ?
    If so, see: Re: How to achieve Page/Form/Report layout?
    Andy

  • Displaying text more than 256 in ALV report

    Hi experts,
                     I have problem while displaying text field in ALV report which has more than 256 characters.
    I'm using CL_SALV_TABLE for displaying alv.while concatenating my internal table holding all the text.but at the time of displying the report it's only displaying 256 characters.
               Can anyone guide me how to display more than 256 characters in ALV output using CL_SALV_TABLE.

    Hi,
    Please find the below code.
    TRY.
          gr_column ?= gr_columns->get_column( columnname = 'MATNR' ).
          gr_column->set_output_length( '300' ).
        CATCH cx_salv_not_found.
        Message : Column definition problem
          MESSAGE e075().
      ENDTRY.
    Edited by: Archana.T on Jun 16, 2010 1:24 PM

  • How to wrap the text in column headers?

    Hi Friends,
    Can anyone please suggest how to wrap the text in column headers of a Java WebDynpro table?
    I believe that caption is the only UI element that a column header can have and it does not allow wrapping of the text.
    My original requirement is as follows,
    In a table I need to dynamically set the width of the columns according to the width configured by the user in some other view. All the columns of the table are dynamically rendered.
    Now what happens is when the user sets the width of the column to a rather low value, say 15 pixels, then the column is displayed like
    Supplier Catalog Name
    Sheila
    Catalog
    Name
    Dropdown
    As you can see it looks rather odd.
    Supplier Catalog Name is the header of the column and I use IWDCaption for header.
    Sheila Catalog Name Dropdown is the value of a particular row at the specified column. I am using a TextView as the TableCellEditor.
    I think what is happening here is that the framework wraps the text in the TextView according to the width specified (15px) and then the column width is extended because it can not accommodate the text (Supplier Catalog Name ) of the column header.
    We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
    I searched some forums and many people have suggested using scrollable columns but I don't understand how it will help in wrapping the text in a column header.
    Any help would be of great advantage.
    Thanks
    Amit

    Hi Deepti,
    Thanks a lot for the answer but the option that you have specified does not wrap the text. Instead it truncates the text being displayed and only the substring of the text which could be displayed in the given pixels is displayed.
    I need to show the whole text wrapped (Meaning if the width of the column is not sufficient then the text goes into the next line).
    Ayyapparaj,
    Thanks to you too for an helpful answer. It seems that the Netweaver has finally come up with a way to wrap the text in the column headers but as Manoj pointed out, I do not see the property headerTextWrapping  for a table column, Can you please specify which version of netweaver supports it?
    We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
    Thanks
    Amit Kapoor

  • Problem in Displaying text Variable

    Hi All,
    I have problem in Displaying text Variable in the column header.
    My requirement is as follows.
    Column Level:
    0Calmonth/Year
    Key figures
    Keyfigure1 - Current Month  - Text Variable1
    Keyfigure2 - Previous Month - Text Variable2
    Keyfigure3 - Previous Month - Same as Text Variable2 - Display same month
    So based on each 0Calmonth/year these three keygirues should display in Header section like.
    Selection screen
    0Calmonth/Year - 03.2005 - 06.2005
    Result should be for each month.
    0Calmonth/Year
    03.2005                                04.2005                              05.2005
    03.2005 | 02.2005 | 02.20005  04.2005 | 03.2005 | 03.2005 05.2005 | 04.2005 | 04.2005.
    I have created two text variable with Customer exit.But not able to show exact months in the header section.
    For first three columns months are coming exactly, but from fourth columns it should display next month, but it is not coming.
    I have tried to code, but not successfull.
    Please help me how to go about this.
    Will assign full points.
    Regards,
    Vijay

    hi
    Check here........
    Re: Customer Exist for "From Current Date To Month End"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
    Cal month
    it might helpful for you
    assign points if helpful

  • Why oracle text index column taking long  time

    why oracle text index column is taking long time to return result.I created text index on a column if I run the query on a single table result is very fast.If I join table with other table (10 records only )
    it is taking long time but in explain plan it is searching by index only.
    I created this index for searching a varchar2 column,the data is comma seperated values like ( UK,US,IT,BR) and the table having records 20 lakhs.Normally if I query with like operater
    ( like '%US%' ) it is taking full table scan because I am using '%' both sides. Please help me on this regard how to search the data with less time. Here is may sample code and explain plan.
    SQL*Plus: Release 9.2.0.1.0 - Production on Wed Jan 28 16:54:22 2009
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> set timing on
    SQL> set linesize 180
    SQL> explain plan for SELECT T.esongid FROM (SELECT A.ESONGID FROM wcmedeco.EDECO_ESONGS_TERR_CTRY 
    A WHERE CONTAINS(A.TERR_CTRY_NAMES,'US')>0  
      2  GROUP BY A.ESONGID)K,T
      3  WHERE  K.ESONGID=T.ESONGID;
    Explained.
    Elapsed: 00:00:00.01
    SQL> select *from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    | Id  | Operation                      |  Name                   | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT               |                         |     1 |    26 |     4 |
    |   1 |  NESTED LOOPS                  |                         |     1 |    26 |     4 |
    |   2 |   VIEW                         |                         |     1 |    13 |     4 |
    |   3 |    SORT GROUP BY               |                         |     1 |    89 |     4 |
    |   4 |     TABLE ACCESS BY INDEX ROWID| EDECO_ESONGS_TERR_CTRY  |     1 |    89 |     2 |
    |   5 |      DOMAIN INDEX              | IDX_TERR_CTRY_NAMES     |       |       |     0 |
    |   6 |   INDEX RANGE SCAN             | IDX_ESONGID_T           |     1 |    13 |     1 |
    PLAN_TABLE_OUTPUT
    Note: cpu costing is off, 'PLAN_TABLE' is old version
    14 rows selected.
    Elapsed: 00:00:00.00
    SQL> Regards,
    Rajasekhar

    You have not formatted your code properly so we cannot see the query you're executing. Please put some line breaks in.
    Secondly, how fresh are the statistics on those tables? Are you really returning one record out of twenty million?
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • Change displayed text in textfield an space between elements

    Hey people,
    a have a Form based on a View. i want to change the spaces between some rows or elements (to group some elements) and don't know how.
    For example:
    Name Surname
    Birthday
    Phone Mobil
    City
    Between Birthday and Phone, and Phone and City now should be more space.
    I made it now like that:
    Birthday: Display --> rowspan --> 2
    and put an Element just shown as Text empty without label below "Birthday". But i don't like that because i need so much empty elements. Is there another possibility to change the style?
    I want to change the size from the displayed text in the textfields too, or make it bold maybe.
    I hope, i could make it comprehensible to you, if not ... just ask
    Greetings, Jana

    hey ageller,
    thank you very very much. that is exactly what i'm searched for ;-)
    can you tell me, if this doesn't work in firefox or mayby why? in IE 7 all works fine, but Firefox 2.0.0.6 doesn't show any changes.
    I cleared the cache but still no changes.
    Got the same problem with the width of my columns. In IE, Content is shown in one row and Firefox there is linebreak.
    Do you (or anybody else) know, how i can fix this??
    Thank you so far ....
    Jana

  • BPS Variable-Cost Element is not displaying Text

    Dear Team,
    We have a peculiar issue one of the BPS Variable defined for Cost Element is not displaying text in one of the Planning Layouts.
    Another variable is displaying text in another layout.
    Surprisingly...when I reused the old variable in the new layout it is also not displaying the text.
    Am I missing something....appreciated your quick support.
    Thanks & Best Regards
    Srinivas

    Have you check the layout Lead-Column setting? Is it set to 'Key/Description'?

  • On Button click change the button display text from LOCK to UNLOCK

    Hi Freinds,
    I am rendering a TreeByNestingTableColumn with two columns  like:  Name , Status as below shown. In The status column I inserted a Table Cell editor Button type and  the button element property text mapped to the context attribute called statusButton and set the button name in the code to display as LOCK. When the tree renders all the vales are displaying in status column as LOCK. Now whrn the user click on LOCK i should fire the event and change the button text from LOCK to UNLOCK. The same way when they click on UNLOCK and i have change to LOCK. please help how to do this.
       Name                          Status
    |> Employee1------------------LOCK (when i click on lock  button here, his and under neath of him button status should                 
            |>Employee2-----------LOCK    change from LOCK status to UNLOCK)                                                     
                   |>Employee3----LOCK
    Thanks in advance.
    Thanks
    Srini

    Armin,
    Yes I removed the method and created the calicualted value as you suggested and I able to get the out put what i have asked.
    My complete scenario is some thing like this, i able to complete upto certain level but not able to make it work for complete scenario, I appreicate your comments or advice for getting me the below output
    I have a TreeByNestingTableColum UI rendering with three columns as NAME(node |>), STATUS(Toggle Button) and PLANNING (Text view)  (developed based on sample tutorial Integration of a Tree Structure in a Web Dynpro Table.pdf)
    I am trying to get this output:
    From the sap backed i am getting flag value, based on that i have to render Tree UI columns NAME,  STATUS(Toggle Button) and PLANNING (Text view). if the flag is null i have to show as LOCK and In Planning else Unlock and Submitted  (please see the below picture for clear idea)*
    if (statusflag = ""){
    i have to show values in two columns like Lock ...Planning
    } else
    show values in two columns like Un Un Lock ...Submitted
    One more thing is , If i lock a record at secound node level , then all the records should locked underneath of that node (it could be 2 nodes or 10 nodes) and then the status column values should change from lock to Unlock and Planning column values should change from In Planning to Submitted. where as when i Click on Unlock , only that perticular record (not node level) should changed from unlocked to Lock and planning is  from Submitted to In Planning.
    This is the functionality actually I am looking for.
    Here the tree sample:
    Name                        Status              Planning
    |>M1                         Lock                 In Planning
       |>M2                      Lock                 In Planning
         *M2a                    Lock                 In Planning
       |>M3                    Un Lock                Submittd
    Thank you.
    Srini

  • Displaying text whenever there is no value present in Database

    Post Author: Sujitha
    CA Forum: WebIntelligence Reporting
    Hi
    My business demands that a text 'Defaulted to Zero' be displayed if for a given combination of columns there is no data present in the Fact table.We use oracle 9i.
    I have already used the number format where we put a value for the undefined value to display a text N/A where ever the value is not applicable.But i need to display text "Defaulted to Zero" wherever the value is applicable but NOT present in database!!
    Can this be acheived in Bo level,I am using BO XI R2.?
    This is a very urgent requirement as my project delivery is scheduled.!!
    Many Thanks!!!

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    Suzie,
    You can create a new local variable to report (called something like "NVP"), leave it as a "Dimension" and in the formula type:
    if([col_a]=0 or [col_b]=0;"NO VALUE PRESENT")
    Basically, you are using the "if" function and the syntax is very much like used in excel except you separate the arguments with a semi-colon versus a comma.  You start out with "if()" and within the parenthesis is a logic statement followed by when true do this else that (with the "else that" portion optional as shown above).  The drawback to using a local variable is that every report you write must be customized with the local variable versus establishing this logic in a "case" statement when building the data mart and thus it becomes resident and usable like any other column of data in your database.  In some cases you are forced in using it as a local variable due to variations in the data and the logical outcome is not known until the very end of all computations, and at other times you can get away with embedding the logic at the time of constructing your data mart -- it all depends on how the data is used and sliced and diced.  Good luck and write back if you have any further questions.

  • Htmlb tableview - display buttons in columns

    Hi experts,
    I am using HTMLB to display my internal table. I want to display buttons in one of the columns. I am able to display a button in the tableview using the following code.
                <htmlb:tableViewColumn columnName = "button"
                                       title      = "Status"
                                       type       = "Button" >
                </htmlb:tableViewColumn>
    The text of the buttons should display text either On or Off depending on some the flags set in the column of the internal table. Can any one tell me how do I go about it.
    Regards,
    Abdullah

    Hi,
    See this link
    http://help.sap.com/saphelp_nw04/helpdata/en/28/4bae407e69bc4ee10000000a1550b0/content.htm
    Award me if this link is usefull.

  • Display text (returned by function) after tabelar forom submit...

    Hi guys...
    Is there any possibility to display text returned by function after tabular form submit?
    If yes please tell me how :)
    With regards,
    PsmakR

    The value of the selected row's Display column ("Choice B", for example) is not stored in the field -- only the value of the selected row's Value column ("2") is. With the DDLB's item list loaded the form is able to translate "2" (Value) to "Choice B" (Display) so you see "Choice B". With the DDLB's item list empty there is no way to translate "2" to "Choice B" so you see "2".
    If you do not want to save the DDLB's item list with the form you would need to preserve the selected row's Display column in another, possibly hidden, field then use that to display the translated Value.

  • Displaying dates as column headers for BEx Query

    Hi all,
    I have to display dates in sequence as descriptions for 15 columns based on the keyed in date in Bex Query Analyser. I'm able to display date as column heading for one column using text variable with replacement path.I could not able to increment date for other descriptions.Could you please help me to solve this issue.
    Ex: Input Date 05/09/2007 then in the out put column headers should be 0509 0609    0709   ............ 1909
    These are only column headers, values for the columns are quantities calculated using formulas.
    It is urgent.
    Thanks in advance.
    Regards,
    Mandadi.

    hi mandadi,
    if u want dates as headers only then u should use a text variable .
    as a rule u can not set off set for text variable so u create restricted key figure with date restricted and set off set.
    now u use this rkf to populate the text variable using replacement path.
    text variable can use replacement path for replacing from any variable and characteristics.
    bye

  • Displaying text in template

    i created template with two rows & two columns.i want to display text in those two columns.how can i do that?i created two textsnodes  by right clicking on the template node.but only the text containing in text node  immediate to template node is only getting displayed in o/p.please tell me solution.

    hi,
    Create a different text node under the template then
    in each text node u have output options tab in that u have output structure frame
    in that u have line and column give
    line = 1
    column = 1  for first row first column like that .........
    then it wil display the text according to the template design.

  • Divide text into columns

    I imported a tab delineated file into numbers and it put it into 1 column. The manual shows a menu bar Item "Divide text into columns" that doesn't appear on my tool bar. What now?

    Mac,
    Got it. Thanks for the explicit reference, that really helps.
    I think the User Guide is a bit misleading there. The Guide is referring to the text in a Text Box and how you can format the box to display text in multiple columns, as in a newspaper page.
    This feature doesn't parse your data into table columns, sorry. If you want to describe your data, we may be able to help with that.
    It may be simple. Let's try the simple approach. If you Select and Copy the tab delimited data, then switch to a Numbers Table, click ONCE in a table cell and Command-V. Your data should spread across columns. If you click twice in a cell all your data will go into one column when you paste.
    Jerry

Maybe you are looking for

  • Export for AppleTV - Settings messed up?

    I have done it this way before (at least I thought this is how I did it): File - Export - Using Quicktime Conversion - Format (Apple TV) -- name it and go... Then drag this file to iTunes, and all is great... I can watch it on my iPhone or my AppleTV

  • Why does the "Import from Camera" selection open up iSight instead of my camera?

    My Sony Cyber-Shot is connected my iMac through the included USB. About an hour - two hours ago I clicked on the Import from Camera option and it showed my videos recorded using my camera, but now when I click the option it opens up the built in iSig

  • Color coding events within a single calendar

    I need to color code different types of definable events within a single calendar, a feature I have with my old Now Up to Date calendar, but I'm trying to switch over to the Apple calendar.   I understand different calendars will themselves show up a

  • Physical Harddrive Size in x100e

    Sorry if this is obvious, but I've looked at the specs and searched google and everything and can't for the life of me figure out what size the harddrive is for the x100e.  Is it 1.8" or 2.5"?  Thanks much! Solved! Go to Solution.

  • How to create a graph in ADF Faces

    Hi there, I am working with ADF using JDeveloper 10.1.3 with Business Components (BC) and ADF Faces. I am trying to create a graph base on a View object, but I can't see any options on the Data Control Palette. Is there a graph wizard component for A