Single column in Tableview

Hi all,
        I want to know how can we display single column of a table using tableview. In the syntax we have  <htmlb:tableView table =......>
My actual requirement is to display a single column on pressing F4 help and that needs to be done using tableview, but i want to display only one required column instead of all the columns. Plz suggest.
Regards,
Rohit Khetarpal

Hi,
this code sample can help you..
  <htmlb:tableView id              = "tab01"
                               table           = "<%= itab2 %>"
                               headerText      = "Channel and Account Details"
                               headerVisible   = "TRUE"
                               width           = "100%"
                               filter          = "server"
                               footerVisible   = "true"
                               visibleRowCount = "10"
                               onRowSelection  = "myEvent"
                               selectionMode   = "LINEEDIT" >
                <htmlb:tableViewColumns>
                  <htmlb:tableViewColumn title      = "Division "
                                         columnName = "DIVISION"
                                         wrapping   = "True" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn title      = "Distribution Channel"
                                         columnName = "DISTR_CHAN" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn title      = "Sales Org"
                                         columnName = "SALESORG" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn title      = "Channel"
                                         columnName = "CHANNEL"
                                         edit       = "TRUE" >
                  </htmlb:tableViewColumn>
                  <htmlb:tableViewColumn title      = "Account"
                                         columnName = "ACCOUNT"
                                         edit       = "TRUE" >
                  </htmlb:tableViewColumn>
                </htmlb:tableViewColumns>
              </htmlb:tableView>
Regards,
Ravikiran.

Similar Messages

  • How To Concatenate Column Values from Multiple Rows into a Single Column?

    How do I create a SQL query that will concatenate column values from multiple rows into a single column?
    Last First Code
    Lesand Danny 1
    Lesand Danny 2
    Lesand Danny 3
    Benedi Eric 7
    Benedi Eric 14
    Result should look like:
    Last First Codes
    Lesand Danny 1,2,3
    Benedi Eric 7,14
    Thanks,
    David Johnson

    Starting with Oracle 9i
    select last, first, substr(max(sys_connect_by_path(code,',')),2) codes
    from
    (select last, first, code, row_number() over(partition by last, first order by code) rn
    from a)
    connect by last = prior last and first = prior first and prior rn = rn -1
    start with rn = 1
    group by last, first
    LAST       FIRST      CODES                                                                                                                                                                                                  
    Lesand         Danny          1,2,3
    Benedi         Eric           7,14Regards
    Dmytro

  • Display two heading in single column using ALV report

    Hi Experts,
    I got a requirement for displaying 2 rows heading in a single column report. Is it possible that I can perform this task using ALV. How to get this 2 rows in ALV.
    This is a criteria that need to be output in ALV REPORT.
    MATERIAL CODE--MATERIAL NUMBERSTORAGE LOC----SLOC1     SLOC2
    --DATE--DATE1      DATE2
    123445--TEST MATERIAL22--
    3
    As mentioned above storage loc and date will be changing with respect to data dynamically and under this double heading qty will be displayed.
    Just want to know how to get double heading. It is clear that how to display dynamically but unaware of double heading using fieldcatalog.
    Regards,
    Yahya

    Hi Yahya,
    Please pass row position in fieldcatalogue for the respective columns.
    E.g  MOVE '2' to w_fieldcat-row_pos.  " This will display the field in 2nd row.
    Thanks,
    Rupali

  • How to display two or more links in a single column

    Hi,
    Is there a way to display two links in a single column in a sql query report . I am able to specify one but I am not able to add links to the same column . I want to take the same column id and redirect the user to different pages based on the values selected .
    Thanks

    There is no way to this declaratively that I know of. Some alternatives...
    1. Put the conditional branching logic in the report SQL itself. e.g. case when ... then '< a href=..' else '< a href=...' end and make sure the column display type is Standard Report column
    2. Have the declarative column link go to a dummy/intermediate page and setup On Load: Before-Header branches on that page to redirect to the desired page based on the item value(s) passed in to the intermediate page.

  • How to use single column in a group by clause

    hi frs
    i hve used sum function in a sql how to use a single column in a query.
    for ex
    select sum(sal),ename,job,deptno,empno from emp
    group by deptnowhether its possible to use single column in a group by class.
    i want like this because in my custom report i need it. Report query has more than 30 column so its not possible to use 30 columns in a group by.
    pls help.
    Thanks
    Rajesh

    Maybe something like this -
    Select ename, job, deptno, empno, sal, col1, col2, col3, col4 ......, coln
    From
    Select SUM(sal) sal, deptno deptno_i
    From Emp
    Group By deptno
    ,Emp
    Where deptno = deptno_i
    Shailender Mehta

  • Multiple Hotspots in a ALV Grid single column

    Hi Experts,
    My ALV Grid report output looks like below....
    If you observe below output, column 3 has multiple documents each one separated by ' ; '. Now, I would like to assign hotspot on each documents like DOC1, DOC2, DOC3, etc.
    Heading#:          COL1 | COL2 | COL3 |
    Records1:              1      |  xxxxx  | _DOC1_ ; DOC2 ; *DOC3*
    Records2:              2      |  xxxxx  | _DOC1_ ; DOC5 ;
    I know, we can assign hotspot for entire column. but my requirement is multiple hot spots in a single column.
    Please help me on this?
    Thanks in Advance
    Raghu

    As I mentioned earlier,
    My ALV Grid report output looks like below....
    Heading#: FIELD1 | FIELD2 | FIELD3 |
    Records1: 1 | xxxxx | DOC1 ; DOC2 ; DOC3
    Records2: 2 | xxxxx | DOC1 ; DOC5 ;
    If you observe above output, field 3 has multiple documents each one separated by ' ; '.
    When I click on DOC1, it supposed to display related picture on the POP-Up Screen. Similarly when I click on DOC2, it supposed to display that document picture on POP-up screen.
    Before going to do this, first I need to assign hotspots on each documents like DOC1, DOC2, DOC3, etc.
    Please help me.

  • Using intersection of dimension members in a SINGLE column/row name

    I need help understanding how a single row/column name in a report can be populated with an intersection of two different dimension members of an Essbase cube (ASO). For example, suppose I have two dimensions members in my cube - Sales and Qtr1. Now I want to create a single column-name in my Smartview or FR report called "Sales in Qtr1" that would store values for Qtr1->Sales. Also, i want to have a single column name such as (Qtr1->Sales % Qtr2->Sales).
    Is this done via a report script or some other method?
    My report would look as follows:
    Sales in Qtr1 | Sales in Qtr2 | Qtr1 Sales as a percent of Qtr2 Sales
    Region1 100 | 200 | 50%
    Region2 25 | 100 | 25%
    Would appreciate any guidance.
    Thanks.
    Axe

    Getting the data the way you've described is really easy, just nest the dimensions in Excel (or whatever reporting tool), one dimension over the other.
    It's the same for rows as it is columns (okay, in rows instead of columns).
    Essbase is very good about doing asymmetrical reports. Take a look at the DBAG and scroll down for the section labelled "Generating Symmetric Reports" -- the second example shows a asymmetric report.
    Making the label one cell? A bit hard in Excel -- you'd have to create separate retrieve ranges and report ranges or play a game with hiding rows. Very easy indeed in Financial Reports -- you basically hide a row and put whatever custom label you want in the dimension that remains (technically speaking you could hide both rows and do this with a text row -- whatever you prefer -- but I've generally seen this with the former technique.
    Regards,
    Cameron Lackpour

  • Multiple conditin on a single column in a single query

    i want to select data from the table using diff conditions on a single column
    for eg:
    i need emp details like whose having empno as 5-15,19-45,50-89 ..etc this how can i give a condition in a single query
    we can use in or between for 2 or 3 conditions but i have plenty off like this

    Hi,
    848525 wrote:
    i want to select data from the table using diff conditions on a single column
    for eg:
    i need emp details like whose having empno as 5-15,19-45,50-89 ..etc this how can i give a condition in a single query
    we can use in or between for 2 or 3 conditions but i have plenty off like thisYou can use OR for any number of conditions; it works the same for 4 or more.
    You could also put the ranges into a table (or a sub-query, as shown below) and join:
    WITH     empno_ranges     AS
         SELECT     3000 AS low_val, 5000 AS high_val  FROM dual  UNION ALL
         SELECT     7000,           7499               FROM dual  UNION ALL
         SELECT     7500,           7599               FROM dual  UNION ALL
         SELECT     7800,           7899               FROM dual
    SELECT       r.*
    ,       COUNT (e.empno)     AS emp_cnt
    FROM            empno_ranges     r
    LEFT OUTER JOIN     scott.emp     e  ON  e.empno  BETWEEN r.low_val
                                                 AND     r.high_val
    GROUP BY  r.low_val, r.high_val
    ORDER BY  r.low_val
    ;Output:
    LOW_VAL   HIGH_VAL    EMP_CNT
       3000       5000          0
       7000       7499          2
       7500       7599          2
       7800       7899          3

  • Can I get multiple sums in a single column based on a "code" I place.

    After importing a file of check/debit card activity from my bank, can I 'code' the line items based on tax categories ie Utilities, Medical expenses, Auto expenses, etc. and then get sums for each based on that code I placed in a single column? That would mean multiple sums in a single column based on the code used for each tax related expense. For instance, I would put UT in the column for utilities expenses and MED in the same column if it were a medical expense. I would then want the sum for all items in that column for each item code. Is this possible or do I need to use a different approach to get this information.

    My guess is that the SUMIF function may be your friend.
    It's well described in the *iWork Formulas and Functions User Guid*e which every user may download from the Help menu.
    Yvan KOENIG (VALLAURIS, France) samedi 2 janvier 2010 21:56:39

  • Concatenate multiple row values into single column value

    Hello,
    Can anyone please refresh my memory on how to concatenate multiple row values into a single column value.
    In the following query, I will get multiple denial reasons per application and I would rather return all denial reasons on one line.
    SELECT a.application_id, a.membership_number,
    r.reason_text AS denial_reason,
    a.appl_receipt_date AS application_receipt_date,
    a.plan_request_1 AS application_plan_code,
    a.adjudication_date AS application_denial_date
    FROM application a, PLAN p, application_reason ar, reason r
    WHERE a.plan_request_1 = p.plan_cd
    AND a.application_id = ar.application_id
    AND ar.reason_id = r.reason_id
    AND a.adjudication_cd = 'D'
    AND a.appl_receipt_date BETWEEN '01-jan-2006' AND '31-dec-2006'
    AND p.plan_type_id = 12 and a.application_id = :appId
    ORDER BY application_id
    Any help is greatly appreciated.
    Thanks,
    -Christine

    found the following
    SELECT deptno,
           LTRIM(MAX(SYS_CONNECT_BY_PATH(ename,','))
           KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT deptno,
                   ename,
                   ROW_NUMBER() OVER (PARTITION BY deptno ORDER BY ename) AS curr,
                   ROW_NUMBER() OVER (PARTITION BY deptno ORDER BY ename) -1 AS prev
            FROM   emp)
    GROUP BY deptno
    CONNECT BY prev = PRIOR curr AND deptno = PRIOR deptno
    START WITH curr = 1;
        DEPTNO EMPLOYEES
            10 CLARK,KING,MILLER
            20 ADAMS,FORD,JONES,SCOTT,SMITH
            30 ALLEN,BLAKE,JAMES,MARTIN,TURNER,WARD
    3 rows selected.at http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php

  • Library Filters: Filter for multiple values in a single column and Wildcards

    If you have a multi-value column in a library, can you filter to show only results where two (or more) specific values (terms) are applied? E.g. Year 2014 and Month January? Seems this would be particularly useful for Enterprise Keywords columns.
    Similarly, is there any way to filter on one value OR another value in a single column (e.g. Document Type Memo OR Fax)?
    Any way to use wildcards in searches (would be REALLY useful in the Title and Name columns when naming conventions have been followed).
    I'm guessing the answer is going to be 'move to SharePoint 2013' - if that is the case, please confirm whether all the scenarios mentioned above are catered for.

    Thanks for your replies !
    Is there any other way to achieve this ?
    There is 1 InfoObject which has 2 fields Employee and Department.
    Employee     Department
    001                A
    001                B
    001                C
    In the report there should be 1 row for Employee 001 with all the Departments displayed in the same cell separated by commas.
    Can this be done in the backend through a ABAP code?

  • Displaying Document Name With The Summary in a Single Column Using Document Library View.

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the
    row to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Displaying Document Name & The Summary in a Single Column Using Document Library View

    Hi All,
    I have a question that relates to SharePoint Document Library Views. I want to view the Documents name with the summary in a single column. Below image shows an example of it. I need this within a SharePoint Document Library. Also I want the height of the row
    to be increased more than the default height. I cannot figure it out how to do that? Could you someone help me to do this. I have inserted the Document Library as an App Part to the page. 
    So could you someone help me to solve this matter?
    Thanks and regards,
    Chiranthaka

    HI Chiranthaka,
    You can create DataView webpart using SPD and then modify the display template according to your need.
    http://deannaschneider.wordpress.com/2012/07/10/item-counts-dvwp-sp2010/
    Hope this will help to solve your problem.
    Best Regards,
    Brij K

  • Is it possible to apply a condition on a single column?

    Morning All,
    Is it possible to apply a condition on a single column? My aim is to create a report that has multiple PTD columns, each based on a different Version ID.
    I've tried creating a calculation using the case statement shown below, however I get a blank column with nothing in: CASE WHEN VERSION_ID = ‘10’ THEN BALANCES.PTD END
    I know this can be done through a DB view/custom folder, however I’m looking for a solution that can be created in Desktop / Plus.
    Cheers,
    Lance

    OK. Hope this explains the problem well.
    This is the Crosstab Report without Annual Budget Column which looks great, all figures correct.
    http://vodashare.com/show.php/2929_Pic1.jpg
    After Adding Annual Budget column,
    http://vodashare.com/show.php/2930_Pic2.jpg
    This is the Table version of the above report with Annual Budget column
    http://vodashare.com/show.php/2931_Pic3.jpg
    Calculation Used for Annual Budget is
    SUM(( CASE WHEN ( ( Actual Flag = 'B' ) AND ( Status <> 'C' ) )
    THEN ( NVL(Period To Date Cr,0)-NVL(Period To Date Dr,0) )
    ELSE 0 END ))
    OVER(PARTITION BY Account,"Period Year" )
    According to the conditions ( Actual Flag = 'B' ) AND ( Status <> 'C' ), amount is calculated adding the (Cr – Dr) amount when these conditions are satisfied. But, How can I make sure the value is displayed only for rows that these conditions are satisfied?
    As you can see, it also displays the columns where Actual Flag != 'B' and Status = ‘C’
    Also, I wonder why the Crosstab worksheet with Annual Budget doesn’t display some of the amounts (Ex: for Account 301010, no Annual Budget is displayed where as in Tabular worksheet it is $5721017.50) and for the amounts displayed, why are they displayed at different levels of Sub Accounts?
    Note: I do get a warning when I Add the Annual Budget to worksheet.
    'You are combining a detail data point with an aggregate data point This may give you unexpected results'. But I am not using any detail items as data points.(not considering Status and Actual Flag, got same message even after removing those)
    Please let me know if you find a solution for your requirement Lance, that would help me.

  • Merge two column value in single column

    Team,
    I have a requirement where in I need to merge 2 column values in a single column.
    ex. I have Percent_complete column in my table. and my table has only one record.
    I need to query such that I need to store the values of percent_complete and (100- percent_complete) values in a single column.
    ex
    Percent complete has 30 value.
    I need to select 30 and 70(100-30) both in a single column.
    Thanks,

    SQL> select  *
      2    from  tbl
      3  /
    PERCENT_COMPLETE
                  30
    SQL> select  abs(grouping(1) * 100 - max(percent_complete)) percent_complete
      2    from  tbl
      3    group by rollup(1)
      4  /
    PERCENT_COMPLETE
                  30
                  70
    SQL> select  nvl(percent_complete,100 - max(percent_complete)) percent_complete
      2    from  tbl
      3    group by rollup(percent_complete)
      4  /
    PERCENT_COMPLETE
                  30
                  70
    SQL>
    SY.

Maybe you are looking for

  • 9ias release 2 in HP-UX cluster  in HA mode configuration

    Hi all, We have configured 9ias release 2 Business intelligence . Both Infrastructure, Report server, and database on the same HP-UX 9000 server. Its been critical application, we want to configure the same in the HP-UX for High availability of the a

  • Problem with pdf links

    I use Microsoft Word 2010 with Windows 7 and IE8. Yesterday I updated my Adobe Reader to 10.1.5. I have numerous Word documents that have hyperlinks to pdf documents in them. Now when I use Word to convert these Word documents to pdf, the links in th

  • ALE Scenarios

    I have a question regarding the ALE-Scenarios: Could they be automatically be saved before a client copy will be executed and again restored after the copy ?

  • Need to send an email to 3,000 receipients how do i do this using mail?

    I am a small business and we have about 3,000 email contacts on our books. Occasionally we like to send them an email to show offers etc. Can anyone let me know the best way i could do this? at the moment my broadband supplier only allows me to send

  • Using properties in a *REC statement

    Hi I want to copy the result of a cost center allocation from the source cost center profit center to the destination cost center profit center.  We use a property on the cost center dimension to define the profit center of the cost center. I first u