To display values in Column Header
Hi,
I wanted to display values from viewobject as a column header in af:table
<af:column sortProperty="Qty" sortable="false"
headerText="#{bindings.EmpPartHeader12.hints.Qty.label}"
headerClass="TableNoHeader"
inlineStyle="background-color:#D3D3D3; border-color:Gray; color:Black;"
align="right" id="c1">
<f:facet name="header">
<af:outputText value="#{row.Qty}" id="ot8"
/>
</f:facet>
<af:outputText value="#{row.Cost}" id="ot4"/>
</af:column>
I am using <af:outputText value="#{row.Qty}" id="ot8"/> in header class of af:column but getting blank as column header.
Please help on this.
Regards
Vasu
Hi user13818315,
Please specify in details what you want to display in column header ? Say there are 5 rows in your table do you want to display the first rows data as column header ?
Please explain...
Thanks
--NavinK
Similar Messages
-
How to dynamically display value in column header
Hi,
I have a requirement where in the user selects a particular value from a drop down list, and the same has to be displayed in the column header. For example, there are A,B,C,D types of quantities in a drop down list. Once the user selects these values and submits, the column header should display the quantity type selected. Kindly let me know how this can be achieved.
Regards
Snehith.Hi Snehith,
In Layout Mode, Double click the Column in the Table, the Control Properties window is opened, switch to the "Display" tab, then press on the formula button next to the "Label:".
Use the Expression Builder to have the label be the value you want it to be: for example:
NSTR(#ID[ACA9TU]@MAX_ROWS,'Z3.0')
This formula takes a numeric field, formats it into a string and displays it.
For more information about how to build expression, please see:
http://help.sap.com/saphelp_nw70/helpdata/en/bd/90db4238bbf140e10000000a1550b0/frameset.htm
Regards.
Omer. -
Passing prompt value to column header
Hi experts
I'd like to change the column header dynamically.
the report is using presentation variable so it's displayed after the user had selected a value in the dashboard prompt and clicked on go.
I'd like to have in the column header the value that the user had selected in the dashboard prompt.
Is there anyway to do that??
RegardsHi,
Yes. you can do that by creating presentation variable.
What you have to do is , create the presentation variable like LOCATION_NBR in the prompt, like this you can create as many as you want to display it in the header.
The next step is to display the value the user selects in the prompt that should display in the header, for that , you can create narative and like the following things and achieve it.
<table>
<tr>
<td bgcolot ="#00080" width="1500" height="25" align="center">
The location No is @{LOCATION_NBR}
</td>
</tr>
</table>
Since we define the presentation variable in Prompt and use it narative view we able to display the header based on the customer choose it from prompt
I hope the above explanation will resolve your requirement
Regards
Raj -
Show the period value in column header using Text Variable
We are using Posting Period & Financial Year to calculate YTD & MTD, for current year and previous years. These posting period and financial year characteristics are custom created characteristics we are using due to customer specific requirement.
Input values are posting period, financial year and numeric value. To calculate previous year, I need to subtract numeric value from the input financial year. Every thing is working fine up to this.
In the report I need to show the posting period and financial year values dynamically in each column header of the report for MTD, YTD for current year & previous year. I tried to achieve this using Text Variables, but I didnt succeed. If some one can give me some idea to resolve this, it would be very helpful.
I am excellent in ABAP coding. If you can specify me to code in User Exit, I can do it.
Column headers should be 08.1999 Sales Qty, 08.2008 Sales Qty, 1999 Sales Qty, 2008 Sales Qty.Hi Abhinav,
Try using the content text variables 0T_FYEAR and 0T_FPER3, when used in the head these variable should display the year and period specified in the RKF.
e.g
&0T_FPER3&. &0T_FYEAR& Sales Qty = 08.1999 Sales Qty
If that doesnt work, try creating text replacement path variables referencing the variables you created for the year and period input. To do this click on the RKF and click on the dropdown by the yellow box next to the description on the general tab and select New Variable, enter the description, tech name and set processng by to Replacment Path, then select period as the ref. characteristic, then on the replacement path tab change replace variable with to variable and then select the variable you are using for the period input, save then hit ok, this is now a text representation of the variable your are inputing for period and can be used in the column headers, you will need to repeat the process for the fiscal year.
Hope this helps
Josh -
How display costom report column heading
Hi,
I am having report region with different columns, in that one column heading needs to be start with lower case like "iST Status" but always it is showing "IST Status".
Can any one help me how can i achieve this.
Thanks and regards,
Ibrahim Sayyed.>
Update your forum profile with a real handle instead of "995226".
I am having report region with different columns, in that one column heading needs to be start with lower case like "iST Status" but always it is showing "IST Status".This has been reported before. See +{thread:id=1022033}+
Add this style sheet to the page HTML Header (or use your preferred CSS override method):
<style>
th.t13ReportHeader {
text-transform: none;
</style>If you're not using theme 13, modify the selector accordingly.
Can any one help me how can i achieve this.Help us to help you. When you have a problem you should provide as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand. -
Dynamic values for column header / "AS" using XMLFOREST
Hello,
I was wondering if it was possible to show data from a select statement into an AS column, e.g. SELECT col.a AS col.b.
The reason I need this is for XMLFOREST, as I need the value of a SELECT statement to be the column name, so that it will be the value of the element. e.g. <col.b></col.b>
Anyone know if/how I can do this?SQL> ed
Wrote file afiedt.buf
1 WITH t AS (SELECT 'fred' name FROM DUAL UNION SELECT 'bob' FROM DUAL)
2* SELECT XMLELEMENT(EVALNAME name, name) FROM t
SQL> /
ERROR:
ORA-19039: Keyword EVALNAME reserved for future use
no rows selected
SQL> ed
Wrote file afiedt.buf**** Throws a bit of magic dust into SQL...... ****
SQL> WITH t AS (SELECT 'fred' name FROM DUAL UNION SELECT 'bob' FROM DUAL)
2 SELECT XMLELEMENT(EVALNAME name, name) FROM t
3 /
XMLELEMENT(EVALNAMENAME,NAME)
<bob>bob</bob>
<fred>fred</fred>
SQL>This is an example of what you'll be able to do with 10.2.0.2 when it's released -
DB : 10.2.0.4.0
Os : solaris 5.10
I have a table with the below rows and columns
EARNINGS EARNINGS_VALUE
Allowance 97.28
Salary 3,404.80
Allowance_1 875.52
Allowance_2 194.56
Allowance_3 291.84
{code}
I want to display this as follows :
{code}
Allowance Salary Allowance_1 Allowance_2 Allowance_3
97.28 3,404.80 875.52 194.56 291.84
{code}
Please suggest
KaiSearch for pivot queries in SQL & PL/SQL forums.
To get you started, you can do this with CASE/DECODE statement. -
DISPLAYING double line column heading
Hye Friends,
I have some field names which contains multiple line text so how can we display such text in alv as the option for displaying field text is
L_FIELDCAT-FIELDNAME = 'REGION'.
L_FIELDCAT-SELTEXT_M = 'REGION'.
but i want to diplay heading like this 'region'
'region-in'
Pls let me knw
Thnks
SUnnyhi,
try like this
while building lay out structure pass field-optimise='X'.
regards,
pavan t. -
In BO 4.0,how to convert field values into column heading.
Currently Product Codes are represented in "Code" and "Value" fields.
Please retain the code and value fields, so that if the user adds another code and immediately needs to report on them they can through this functionality.
Current:
Fund Code
Code
Value
ABC1
Embassy Series
XYZ123
ABC1
FMI
19837
ABC1
Gladis Short Name
FUJHAT
Required:
Fund Code
Embassy Series
FMI
Gladis Short Name
ABC1
XYZ123
19837
FUJHATHi Archana,
I think you need to use a Cross Tab on your report but also you will need to apply Sections on the Fund Code dimension.
ie
Section 1 - ABC1
Crosstab
Section 2 - ABC2
Crosstab
Section 3 - ABC3
Crosstab
With regards
Gill -
How can I display a column heading vertically?
Hi,
I try to display verticaly a column heading. Is it possible on Siebel on Demand?
ex : NAME = N
A
M
E
Thanks for your answer
RegardsHi,
I try to display verticaly a column heading. Is it possible on Siebel on Demand?
ex : NAME = N
A
M
E
Thanks for your answer
Regards -
Popluate Column Heading Dynamically in UI
HI Experts,
I have a requirement where i need to get column descriptions dynamically at item level in UI depending on the process type.
I have an order with two items, when i display the order from search result i go to order detail where i can see the items also.
There is a column called net value as column heading, this populates the net price for each item.
I need to show base price instead of NET PRICE which i am able to do that and column heading name is DNP.
But DNP column heading along with base price is required only for a particular process types , for remaining process types the NET VALUE column heading followed by net price should remain same.Hi,
User can Maintain the Column Heading's, by the way you mentioned....
Else you can use TOP-OF-PAGE event to build Dynamic Coulmn Headers. -
Hello Every1,
The following is a peice of code produces a report. At the moment the heading of the column is GBCCCL15/16_CSAHEPA because it has been hard coded that way. However what i would like instead, is the heading of the column to be what ever the user selects. What i mean by this is, what ever the user chooses to search in the text fields will then be displayed as the column heading when the report is exicuted.
select schema_name,
max(GBCCCL1516_CSAHEPA) as "GBCCCL15/16_CSAHEPA"
from
select schema_name, created_time,
case when
server_name||'_'||db_name='GBCCCL15/16_CSAHEPA'
then DB_PATCH_NUMBER||'v'||VERSION_NUMBER else null end GBCCCL1516_CSAHEPA
from version_control
group by schema_name
order by SCHEMA_NAME
Does anyone know how to get this done?
Thanks in advance.Hi,
Headings can be created dynamically. Change the headings type to PL/SQL. You then see a "Function returning colon delimited headings" setting - enter in something like:
DECLARE
v_headings VARCHAR2(2000);
BEGIN
v_headings := '';
SELECT USER_HEADING INTO v_HEADINGS FROM TABLEX;
RETURN v_headings;
END;The string returned must be a colon-delimited string with one value for each column. eg:
COL1:COL2:COL3Andy -
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 -
Removing Icons in column header
Hi,
I am getting Icons before each column header like that of rows in my Query output. I want to display only the column header text without any icon. Is there any way?
Regards,
KrishnaHi,
Thanks for your reply. Hi,
I have used only RKFs and CKFs in Columns. I cannot find display as 'text' properties for these Key Figures. Are there any other options? -
Resize Column Heading Dynamically
I have an AdvancedDataGrid for which the user can separately
and independently set the font size used in the column headings and
the rows. Upon saving the form, if the font size used in the rows
changes, I call the function setRowFont() (shown below).
The regenerateStyleCache(true) causes the rows to dynamically
adjust their height to accommodate the text. (The groupRowHeight is
there to adjust the size of the data groupings.) This works just
fine.
I use a similar function for the headings,
setColumnHeadingFont(). When this is run, there is no change. If
you close the app and restart it, the changes are reflected. Is
there some way to change this height dynamically without
restarting? Or is there a reason why this cannot be done?You can do this by placing the name of your hidden item in the heading column on the 'report attribute' tab of your report region.
For example if you have an item called P1_GRP_BY that you want to display as a column header, type &P1_GRP_BY. in the header column.
David
Maybe you are looking for
-
Acrobat X page shows small page image at top right of screen. Need to remove
Acrobat X on Windows 8.1. Recently Acrobat has started showing a small representation of the current page at the top right of the screen. I don't need this and would like to kill it permanently in all files. For example apart from blocking some text
-
I have 3 tables: contact2ext, contact2bnp, ext2bnp. contact2ext and contact2bnp both have a primary key called key. ext2bnp has 2 foreigns key, bnp and ext referencing these 2 primary keys. I want to use select to do the following: select nom from co
-
Hello everyone I need help setting up a VPN I own my own a post production company and we just purchased final cut server about a year ago. And we're starting to get really busy so I need some editors to access the server from home. How do I set up a
-
Same Batch Material to be sold at different selling prices
Hello, I have a customer requirement where a material at depot belonging to the same batch should be sold at different sales price. Eg: on 1st of May, Material XYZ belonging to batch AB052011 of 100 qts was GR into the Depot at Rs 100 / qty. A sell
-
What is the IDOC for MIC in QM module
Hai all, Plz tell idoc for these 1.Master Inspection Characteristics (MIC) - Create 2.Master Inspection Characteristics (MIC)- Edit 3.Master Inspection Characteristics (MIC)- Cancle 4.Usage Decision and Test Data regards, Khaja.