Need a report column to hold data for one row only
Hey Guys,
I have a report which has a column that links to another page in my APEX application.
There is a requirement where only one of the rows in this report needs to have a link so I need the column to show the page link for one row and one row only.
The report will have about 5 rows at a time so is there a way to just make this link appear for the one row(it will be the top row) in the column attirbute in APEX? or can this be done in the SQL for the report?
Any help is much appreciated
Thanks
-Mark
Hi
The only way (I believe) to do this is within the SQL. Then you just wrap the column in a CASE statement and if it meets your criteria then build up the link and if not then display normally.
Something like this...
SELECT ename,
CASE WHEN empno = 7839
THEN '<a href="f?p='||:APP_ID||':4:'||:APP_SESSION||'::NO::P4_TARGET_ITEM:'||empno||'" >'||empno||'</a>'
ELSE TO_CHAR(empno)
END empno
FROM empCheers
Ben
Similar Messages
-
Write to spreadsheet file.vi is storing data in one row only.
The 8 points of data is going into one column in the spreadsheet. In the "Write to spreadsheet file string.vi" how do I write the 8 points to one row for each cycle?
I got this VI from NI's web a couple of years ago and forgot how to modify this part. I usume it is within the write file.vi.
Thank you in advance
SkipI just reread your original post and the way the "Write to Spreadsheet File.vi" that ships with LV works by default is to put 1D arrays into rows. I read your post backwards and told you how to put the data in a column. Sorry.
In any case, perhaps you need to make sure the Transpose input ISN'T true, and that the delimiter IS a tab.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
UCCX - Can I get a report on hold time for one call
Hello, is it possible to report on the hold time for one particular call? We have a customer claiming they were on hold far longer than the agent claims. We are running UCCX 8.5, with CUCM 8.6.
Thanks,
JoshHi, it's probably the Agent Detail report you are looking for.
Also, take a look at the reporting guide for UCCX 8.5.
G. -
Which table holds data for plant, soldto party and shipto party? Help!
Hi Experts,
Which table holds data for plant, soldto party and shipto party?
Basically I want get palnt and associated soldto party and shipto party.
Kindly help!
Thanks
GopalHi
You have to link VBAK and VBAP tables.
regards
Srinivas -
How to display Column data in one row
Hello,
I have one Employee with 4 effective date displayed in one column. Effective date is drived by Reason of : New Hire, Rehire, Transfer etc.
I want to show the effective dates for one reason in one single row. For example a person was rehired 4 times it will show as
1006555 6/12/2006 1/2/2007 6/11/2007 5/12/2008 12/29/2008 5/17/2010
It's currntly showing as:
AUDITEFFECTIVEDATE_3
6/12/2006
1/2/2007
6/11/2007
5/12/2008
5/17/2010Well that's a little tougher... For a solution to work, you're going to need to find a way to differentiate between the the specific hiring events. Without seeing what data is available, I'd say start looking at the use of running totals... or in this case a running count.
Set it up to reset on EmployeeID and count each "event", incrimenting up with each instance.
Then your formula would look more like this...
IF {EventType} = "Rehire" AND {#RTotal1} = 1 THEN AUDITEFFECTIVEDATE_3
IF {EventType} = "Exit" AND {#RTotal1} = 1 THEN AUDITEFFECTIVEDATE_3
IF {EventType} = "Rehire" AND {#RTotal1} = 2 THEN AUDITEFFECTIVEDATE_3
IF {EventType} = "Exit" AND {#RTotal1} = 2 THEN AUDITEFFECTIVEDATE_3
IF {EventType} = "Rehire" AND {#RTotal1} = 3 THEN AUDITEFFECTIVEDATE_3
IF {EventType} = "Exit" AND {#RTotal1} = 3 THEN AUDITEFFECTIVEDATE_3
IF {EventType} = "Rehire" AND {#RTotal1} = 4 THEN AUDITEFFECTIVEDATE_3
IF {EventType} = "Exit" AND {#RTotal1} = 4 THEN AUDITEFFECTIVEDATE_3
This issue then becomes an issue of space on the report. You end up wasting 1/2 of your horizontal space trying to allot for one odd ball... You'll also get to re-work the report if the same employee goes for rounds 5, 6 or 7...
HTH,
Jason -
Report to display (actuals data from one cube and plan from another)
Hi Gurus,
I have a requirement in reporting to display actual data from one cube and plan data from a different one.
The example below might give a clear picture of the requirement.
rows has key figures and columns = months
Jan | Feb | Mar | Apr | May | Jun ... ....
GrossSales
Net Sales
Now if I run the report for Current month (Apr), then for the months of (Jan, Feb and Mar) i need to get the data from CUBE1 and for the remaining months (Apr thru Dec) from CUBE2.
Similarly when i run the report next month(may),
then (data for Jan, Feb, Mar, Apr from CUBE1)
and ( May thru Dec from CUBE2)
Any suggestions.
Thanks in Advance
KumarHi Henry,
We alreadey have a multi provider which includes
FinDat Cube(CUBE1) for actuals and Comm.Goals cube (CUBE2) for plan.
So you suggest that we have two versions of key figure for actual and plan.
ie. each KF will have two versions.
actuals = (version 10, FiscPer<curr.mnth, key figure, acutals cube)
Plan = (version 20, FiscPer>=curr.mnth, key figure, comm.goals cube)
eg:
Jan | Feb | Mar | Apr | May | Jun ...
GrossSales(Act)
GrossSlaes(Plan)
Net Sales(Acutal)
Net Sales(Plan)
Correct me if I am wrong.
the report has a lot of key figures, having two versions for each kf will be confusing.
the user would like to see
Jan.....| ...Feb |..Mar |..Apr.....| May |
GrossSales Act Value|Act.V |Act.V| PlanVal|PlanVal|
Net Sales
where Act.Value is from CUBE1
Plan Value is from CUBE2
Thanks
Kumar -
Need to split data from one row into a new row redux
Hi folks,
I asked this question about eight months ago (see thread https://discussions.apple.com/message/23961353#23961353) and got an excellent response from forum regular Wayne Contello. However, I need to perform this operation again and when I attempted it recently, I am now greeted with a yellow warning triangle. Clicking it shows "This formula can’t reference its own cell, or depend on another formula that references this cell."
What I'm trying to do is the following:
I have an excel file that keeps track of members of a social group. The file places each member "unit" on a single row. The unit can be a single person or a couple. Columns are labeled "First1" "Last1" "Hometown1" "B-day1" while the second member of the unit is identified in columns like "First2" "Last2" etc.
What I'd like to do is duplicate those rows with two people (which I'll do by hand) but have a way of deleting the "xxxx2" data from one row and the "xxxx1" data from the duplicate row.
Wayne's illustrated solution was to create a blank sheet and enter the following formula in cell A2:
=OFFSET(Input Data::$A$2, INT((ROW()−2)÷2), COLUMN()−1+IF(MOD(ROW()−2, 2)=0, 0, 4)), which apparently worked fine for me last year but now is sending up an error flag. When I look at the formula, there is no clue except that which I quoted above.
Can anyone (or hopefully Wayne) take a second look at this and help me out? I can't imagine that it's a problem with using the newer version of Numbers, but who knows? I'm using version 3.2 (1861), which is the "new" Numbers.
Any help would really be appreciated.
Thanks!
-TodHi Tod,
The error message "This formula can’t reference its own cell, or depend on another formula that references this cell." may be because your table may be different from the one you were using for Wayne's solution. Numbers has Header Rows, Footer Rows and Header Columns. Such Headers in tables exclude themselves from formulas. Excel does not recognise them as headers. What table are you using now?
A screen shot of (the top left portion of) your table or a description of what you see under Menu > Table will help.
Regards,
Ian. -
Error in receiving tableview data for selected row
Hi Collegues ,
We plan to realize an application for the maintanance of planning data . In the first step we created a value help page by using a tableview with iterator class ( 1 of the 3 methods of the Interface was filled with logic ) . We don't use any controller for that application .
A global internal table with the relevant help value data ( fgrvalues ) is used for the tableview and the call is :
TYPE I .
+CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
CLEAR ONCLICKEVENT.
IF EVENT_ID = CL_HTMLB_MANAGER=>EVENT_ID.
EVENT_DATA = CL_HTMLB_MANAGER=>GET_EVENT( REQUEST ).
IF ( EVENT_DATA IS NOT INITIAL ) AND
( EVENT_DATA->EVENT_TYPE = 'click' ) .
ONCLICKEVENT = EVENT_DATA->SERVER_EVENT .
ENDIF.
ENDIF.+
CASE ONCLICKEVENT.
WHEN 'take' .
TABLE ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = REQUEST
NAME = 'tableView'
ID = 'fgr1_vhelp' ) .
TABLE_EVENT = TABLE->DATA.
IF TABLE_EVENT->SELECTEDROWINDEX IS NOT INITIAL.
ROWSELECTION = TABLE_EVENT->SELECTEDROWINDEX.
-> ROWSELECTION - Content is now the index of the selected tableview row
We always get the selected row in TABLE_EVENT->SELECTEDROWINDEX and the table TABLE_EVENT->ALLCOLUMNNAMES filled ( column ZX_FGR1 is the 2nd column )
but we never got the tableview data for that tableview row no matter what we tried . We tried it with a tableview-event fired on 'rowselection' by user line-selection . We have deactivated the iterator or changed the BPS design value . With the same result - nothing was given back .
We found that the System-Call Return value of :
+system-call ict
did
ihttp_scid_get_form_field
parameters
m_c_msg " > c handle
name " > form field name value " < form field value
m_last_error. " < return code+
in the method IF_HTTP_ENTITY~GET_FORM_FIELD is empty . M_LAST_ERROR occurs with value '20' .
+ ASSIGN ROWSELECTION TO .
COLUMN_VALUE = TABLE_EVENT->GET_CELL_VALUE( ROW_INDEX =
COLUMN_INDEX = '2' ). -> Column Value is empty !!+
+CALL METHOD TABLE_EVENT->GET_CELL_VALUE
EXPORTING
ROW_INDEX = TABLE_EVENT->SELECTEDROWINDEX
COLUMN_INDEX = '2'
RECEIVING
VALUE = COLUMN_VALUE -> Column Value is empty !!+
+CALL METHOD TABLE_EVENT->GET_SIMPLE_DATA ....
-> Column Value is empty !!+ *----
What could be the reason for that problem ? In generally it must be possible somehow to read the tableview data for one or all rows of the mentioned tableview .
We hope that someone can help and are very thankful for a hint or solution . If you need more details please let us know .
Please Remark: It's no solution for us to read the data by using the created internal table fgrvalues and the selectedrowindex cause in a later step we plan to update an ODS table with the manual modified planning data of an editable tableview .
Thanks a lot in advance
Dirk LäuferHi collegues ,
It's done .
After we've got a very helpful little hint from Brian :
The <htmlb:tableView> renders a table to the browser. It does not keep a copy of the table. The browser will also never return the table. Never. What it can return are inputfields for each cell. But then only if each cell is custom rendered as an inputfield.
we could certainly solve the problem .
We set the field we want to get back from table view on not editable inputfield via the tableview-iterator method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START :
DATA: LCL_TABLE TYPE REF TO CL_BSP_BEE_TABLE ,
LCL_INPUTFIELD2 TYPE REF TO CL_HTMLB_INPUTFIELD .
CASE P_COLUMN_KEY .
WHEN 'ZX_FGR1'.
* Field Firm Group
CREATE OBJECT LCL_INPUTFIELD2.
LCL_INPUTFIELD2->ID = P_CELL_ID.
LCL_INPUTFIELD2->WIDTH = '100%'.
LCL_INPUTFIELD2->MAXLENGTH = 4.
LCL_INPUTFIELD2->TYPE = 'STRING'.
LCL_INPUTFIELD2->DESIGN = 'STANDARD'.
LCL_INPUTFIELD2->DISABLED = 'TRUE'.
LCL_INPUTFIELD2->VALUE =
GET_COLUMN_VALUE( COLUMN_NAME = 'ZX_FGR1').
P_REPLACEMENT_BEE = LCL_INPUTFIELD2 .
Now the method in OnInputPorcessing:
TRY.
CALL METHOD CL_HTMLB_MANAGER=>GET_SIMPLE_DATA
EXPORTING
REQUEST = RUNTIME->SERVER->REQUEST
ID = 'fgr1_vhelp'
ROW_IDX = TABLE_EVENT->SELECTEDROWINDEX
COL_NAME = 'ZX_FGR1'
CHANGING
DATA = FGRVALUES_LINE-ZX_FGR1 .
IF NOT FGRVALUES_LINE-ZX_FGR1 IS INITIAL.
* selektierte Firmengruppe übernehmen
ZX_FGR1 = FGRVALUES_LINE-ZX_FGR1 .
CALL METHOD NAVIGATION->SET_PARAMETER
EXPORTING NAME = 'ZX_FGR1'
VALUE = ZX_FGR1.
ENDIF.
CATCH CX_SY_CONVERSION_ERROR .
ENDTRY.
works properly as it should be ...
An enormous Thanksgiving to you , Brian !!!! -
Hello,
Tell Me how i can show a single column data in one row.
10
20
30
To
10,20,30If you are OK with displaying comma separated list or column data you could:
SQL> select ltrim(sys_connect_by_path(ename,','),',') ename_list
2 from (
3 select ename,
4 row_number() over(order by 1) rn,
5 count(*) over() cnt
6 from emp
7 )
8 where rn = cnt
9 start with rn = 1
10 connect by rn = prior rn + 1
11 /
ENAME_LIST
SMITH,ALLEN,WARD,JONES,MARTIN,BLAKE,MILLER,SCOTT,KING,TURNER,ADAMS,JAMES,FORD,CLARK
SQL> To display as separate columns you would need to either know number of rows:
SQL> select min(case rn when 1 then ename else null end) ename1,
2 min(case rn when 2 then ename else null end) ename2,
3 min(case rn when 3 then ename else null end) ename3,
4 min(case rn when 4 then ename else null end) ename4,
5 min(case rn when 5 then ename else null end) ename5,
6 min(case rn when 6 then ename else null end) ename6,
7 min(case rn when 7 then ename else null end) ename7,
8 min(case rn when 8 then ename else null end) ename8,
9 min(case rn when 9 then ename else null end) ename9,
10 min(case rn when 10 then ename else null end) ename10,
11 min(case rn when 11 then ename else null end) ename11,
12 min(case rn when 12 then ename else null end) ename12
13 from (
14 select ename,
15 rownum rn
16 from emp
17 )
18 /
ENAME1 ENAME2 ENAME3 ENAME4 ENAME5 ENAME6 ENAME7 ENAME8 ENAME9 ENAME10 ENAME11 ENAME12
SMITH ALLEN WARD JONES MARTIN BLAKE CLARK SCOTT KING TURNER ADAMS JAMES
SQL> or use dynamic SQL.
SY. -
User Profile Data for One Month in ST03N
Dear All,
I have one question for a similar requirement.
I want to see the User Profile data for last month (e.g.August)
I navigate through the same path as described by you.
ST03N- Expert Mode- Total (select period)-- User Profile (from analysis view)
even though I have selected One month period (August) ; I could see only the data for one week (1st August to 7th August)
Can you please advice how can I solve my purpose, if not this time but may be in future I should be able to see complete one month data.
Thanks in advance.
Best Regards,
JayeshDear Shailesh,
Thanks for the very prompt and accurate response.
However we have this job scheduled on monthly basis in our productive system, still there is no data avaialable.
Kindly advice.
Best Regards,
Jayesh -
Can i add data for current month only
can I add data for current month only?
Knowing your plan options is important marlingut! So that we are able to provide correct information, what make and model phone are you trying to add data too? Is this device already activated on your account?
Thank You,
MichelleL_VZW
VZW Support
Follow us on Twitter @VZWSUPPORT -
Delete Transactional data for one (1) Cost element
Hi All.
How to Delete Transactional data for one (1) Cost element?
i know T code OKC3 but it is saying I can delete only at controlling area level,
I want to delete only data (Transactional) for one cost element .
Please let me know, Thank you ,
Paartha,it is not possible to delete the data, if u want u can repost from one cost element to the another cost element if u are feeling the entry was posted to wrong cost element.
Otherwise if u want restrict the transactions further to that cost element, u can restrict through cost elmenet master where in u can select the direct postings and secondary postings etc.,
regards
madhav -
Hello ---
I have an array of data, I would like to be displayed all the data in one row.<tr></tr>, how to do this?
If I use <h:table> <column></column></h:table>, it will display different rows.
Thanks!
BenPopulate the components in the backingbean. Try something like:
JSF<h:panelGrid binding="#{myBean.grid}" />MyBeanprivate List arrayOfData;
private HtmlPanelGrid grid; // + getter + setter
private void populateGrid() {
grid = new HtmlPanelGrid();
grid.setColumns(arrayOfData.size());
for (Iterator iter = arrayOfData.iterator(); iter.hasNext();) {
Object value = iter.next();
HtmlOutputText text = new HtmlOutputText();
text.setValue(value);
grid.getChildren.add(text);
} -
ReadOnly for one row in a table in Web Dynpro
Hallo,
is there a possibility to set rows in a table to readonly if there is a condition to do that.
The rest must be in normal lookout.
Kind regards
GunterHi,
Refer to the flwg thread,
Field in web dynpro table for one row to be read only
Hope it helps.
Regards
Srinivasan T -
Value help does not work for ONE person only !
Hi,
we have a strange problem. In the Web IC, we are using a standard value help for the country field for a Business Partner. This works fine for everyone (ie, it picks up the country and slots it into the field) except one person. For her, it never returns any value into the country field. We are guessing that it's not Web IC related but is something in her browser settings etc...but haven't been able to pin it down. Can anyone offer any advice on this ?
thanks for looking.
Malcolm.Hello Malcolm,
If this error occurs for one user only it's definitely related to the clients PC.
Did you already delete all temporary files and the cookies on that PC? Usually this does the trick!
If this does not solve the problem, try to let that particular user login on another PC where the problem does not occur. (If the error does occur on another PC too it's probably profile/authorization related)
Hope this helps!
Regards,
Joost
Maybe you are looking for
-
PDFBookBinder's toc.xml not found
I am trying to use PDFBookBinder but could not find the sample XML file named "toc.xml" as mentioned in "Oracle XML Publisher Java API Reference Release R5.6" and "Oracle XML Publisher Administration and Developer's Guide" I tried to find in 1. $
-
Making Preview the Default App for .pdf Files
When I click on a .pdf file (such as one attached to an e-mail) it now opens in Acrobat Reader; it formerly opened in Preview (which I preferred). I don't recall making any changes and wondered if the "Preview as default" was changed in the recent OS
-
After I loaded Mac OS lion, it won't let me install my Sierra Wireless telstra. It keeps telling me to install it even though i already have. help please?
-
When I go back to look at something (movie, song, etc.), Firefox again tells me that I need to update the latest flashplayer in which I have already done. What could be wrong?I do not know if this is on my end or between both firefox and flashplayer.
-
How much space on my disk do I need to download English Adobe Photoshop Element 10?
How much space on my disk do I need to download English Adobe Photoshop Element 10?