How to show other datatypes in attachment table
Currently, when the attachment table bean (OAAttachmentTableBean) is added to a page, it is hard-coded to only show attachments with a datatype_id of 1,2,5, or 6. These values correspond to the FND_DOCUMENT_DATATYPE rows for
1 - short text
2 - long text
5 - web page
6 - file
We would like to extend this view so that we can see other (user-defined) datatypes in the region. It appears that the hard-coded where clause for the attachment regions includes the following clause:
and datatype_id in (6,2,1,5)
This where clause is added to the view FndAttachedDocumentsDomExtensionVO at runtime. The controller class is oracle.apps.ak.attach.webui.AkAttachmentListCO. At runtime AkAttachmentListCO.processRequest calls AkAttachmentHolderCO to build the where clause. This class has 2 methods (one for AK framework, one for MDS migrated modules) which actually create the where clause:
initAkAttachmentsVO calls FndDocumentsVlVOImpl.class (for AK based pages)
initMDSAttachmentVOs calls OAAttachmentUtils.buildWhereClauseForAttachmentVO (for MDS repository based pages).
Is there any easy way to extend this region to allow additional attachment datatypes? The prospect of extending the controller class and then digging down to this level does not seem desirable.
Also, is there any way to hide individual columns in the Attachments Table region? I have not had any success with overriding the controller class and getting a handle to the actual attachment table item.
Thanks in advance,
Ed
Hi Manmath,
Unfortunately, XL Reporter cannot pull data from a user-defined table in to a report. Your only option is to use the built-in features of Excel itself to get the data. Excel can pull data in to a spreadsheet using a database connection (eg OLE DB or ODBC) or, if you are familiar with programming Excel using the VBA interface, you can use VBA to open a database connection and pull extra data in to a report.
Kind Regards,
Owen
Similar Messages
-
How to show the content of a table (long text) in a scrollable textbox?
Hi,
I have to say first, many thanks to the ones who answers to threads in this forum, it's very helpfull when we're learning web dynpro!
I have a RFC function that return a table containing a long text (node "it_text", with elements "Tdformat" and "Tdline").
1) I want first to copy all the Tdlines in a new node "text_box" (that I made specially for the screen, it contains only the element "Tdline" [the text itself]);
2) Then I want to show the content of the node "text_box" in a scrollable textbox on the screen (to show 8 lines of text, for example).
How to do that easily? What is the UI Element needed to show that?
Thanks!If you want to display as it is then you can use Table UI element. You can change the design property to 'transparent' and set column header visibility property to none. Then you need not to write any code simple you can map the node to table field.
Even with TextEdit you can achieve what you want. Try this code...
StringBuffer tmpBuffer = new StringBuffer();
for(int index=0;index<wdContext.nodeLines().size();index++)
wdContext.nodeLines().setLeadSelection(index);
tmpBuffer.append(wdContext.currentLinesElement().getLine()+"n");
wdContext.currentContextElement().setData(tmpBuffer.toString());
Regards
Abhilash -
How to show note window for a table cell with javascript?
My goal is to do tihs with javascript. No server side handling.
<af:table id="t1">
<af:column id="c1">
<af:outputText id="ot1">....
<af:clientListner ....method="showPopup"/>
</..>
</..>
</..>
<af:popup id="p1">
<af:noteWindow id=ot2>
here to show the value of ot1
</..>
</..>
function showPopup(e){
var text=e.getSource().getValue();
var popup=e.getSource().findComponent("::p1");
now how to update the content of the notewindow??
popup.show();
}Hi,
You could try with something like this.
<af:outputText value="outputText1" id="ot1" clientComponent="true">
<af:clientListener method="showPopup" type="mouseOver"/>
</af:outputText>
<af:popup childCreation="immediate" autoCancel="disabled" id="p1" clientComponent="true"
contentDelivery="immediate">
<af:noteWindow id="nw1" clientComponent="true">
<af:outputText value="outputText2" id="ot2" clientComponent="true" />
</af:noteWindow>
</af:popup>
<af:resource type="javascript">
function showPopup(evt){
var ot1 = AdfPage.PAGE.findComponent("ot1");
var text=ot1.getValue();
var popup=AdfPage.PAGE.findComponent("p1");
var ot2=AdfPage.PAGE.findComponent("ot2");
ot2.setValue(text);
popup.show();
</af:resource>-Arun -
How to show a photo in pages by VC?
How to show a photo in the table or the detail in the pages generated for the Composer Appearance? Example: The user makes a search, receives as resulted a book list, he would like to show in this list an icon with the cover of each book and when clicar in the icon to open the detail of the book showing an image of the cover. How to make this in the VC? Thanks in advanced!
- Use a "Form view", create a button there.
- Double-click on it and create on the tabstrip "Action" a custom action "NEWIMAGE"
- Apply to "[self]".
- Connect the output-port of the Form view with the input-port of the HTML view
- Click on the line between the ports
- double-click on the field "url*"
- enter now a formula in the formula-editor that allows you to e.g. get the url from a data-field
(you can test it with just inserting a url in the formula like 'http://www.sap.com' - don't forget the quotes- and that is different from the default url)
Mario -
How do you email photos from an iphone to a business email so that the photo shows up as an attachment vs. a part of the body of the email?
Eric, thanks for the info about the pictures, it worked. The mail icon is not the one that came with the mac(it looks like a stamp with an eagle) this appears at a notepad with a ruler,paintbrush and pencil. I can not open it, I did not download it and now I can not turn off the computer with shutdown I have to manually turn if off by pressing the power button. This can not be normal. Any suggestions. thanks, Ellen
-
How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables
Hi Everyone,
Iam stuck with 1 problem please can any 1 help me if u know the solution.
Here is my problem:
How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).Thanks Nikhil. But I am fetching the values from the LOVCache.java.
I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
I mean to say can I write
unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
where LOVCache.entityTypeSelectionList is used to populate the drop down box.
Regards,
Aseet -
How to generate a query involving multiple tables(one left join others)
Hi, all,
I want to query a db like these:
I need all the demographics information(from table demo) and their acr info(from table acr), and their clinical info(from table clinical), and their lab info(from table lab).
The db is like this:
demo->acr: one to many
demo->clinical info: one to many
demo->lab info: one to many
I want to get one query result which are demo left join acr, and demo left join clinical, and demo left join lab. I hope the result is a record including demo info, acr info, clinical info, and lab info.
How could I do this in SQL?
Thanks a lot!
QianThank you very, very much!
Actually, I need a huge query to include all the tables in our db.
We are running a clinical db which collects the patients demographics info, clinical info, lab info, and many other information.
The Demographics table is a center hub which connects other tables. This is the main architecture.
My boss needed a huge query to include all the information, so others could find what they need by filtering.
As you have found, because one patients usually has multiple clinical/lab info sets, so the result will be multiplied! the number of result=n*m*k*...
My first plan is to set time point criteria to narrow all the records with one study year. If somebody needs to compare them, then I have to show them all.
So I have to know the SQL to generate a huge query including as many tables as possible.
I show some details here:
CREATE TABLE "IMMUNODATA"."DEMOGRAPHICS" (
"SUBJECTID" INTEGER NOT NULL,
"WORKID" INTEGER,
"OMRFHISTORYNUMBER" INTEGER,
"OTHERID" INTEGER,
"BARCODE" INTEGER,
"GENDER" VARCHAR2(1),
"DOB" DATE,
"RACEAI" INTEGER,
"RACECAUCASIAN" INTEGER,
"RACEAA" INTEGER,
"RACEASIAN" INTEGER,
"RACEPAC" INTEGER,
"RACEHIS" INTEGER,
"RACEOTHER" VARCHAR2(50),
"SSN" VARCHAR2(11),
PRIMARY KEY("SUBJECTID") VALIDATE
CREATE TABLE "IMMUNODATA"."ACR" (
"ID" INTEGER NOT NULL,
"THEDATE" DATE ,
"SUBJECTID" INTEGER NOT NULL,
"ACR_PAGENOTCOMPLETED" VARCHAR2(1000) ,
"ACR_MALARRASHTODAY" INTEGER ,
"ACR_MALARRASHEVER" INTEGER ,
"ACR_MALARRSHEARLIESTDATE" DATE ,
PRIMARY KEY("ID") VALIDATE,
FOREIGN KEY("SUBJECTID") REFERENCES "IMMUNODATA"."DEMOGRAPHICS" ("SUBJECTID") VALIDATE
CREATE TABLE "IMMUNODATA"."CLIN" (
"ID" INTEGER NOT NULL,
"THEDATE" DATE ,
"SUBJECTID" INTEGER NOT NULL,
"CLIN_PAGENOTCOMPLETED" VARCHAR2(1000) ,
"CLIN_FATIGUE" VARCHAR2(20) ,
"CLIN_FATIGUEDATE" DATE ,
"CLIN_FEVER" VARCHAR2(20) ,
"CLIN_FEVERDATE" DATE ,
"CLIN_WEIGHTLOSS" VARCHAR2(20) ,
"CLIN_WEIGHTLOSSDATE" DATE ,
"CLIN_CARDIOMEGALY" VARCHAR2(20) ,
PRIMARY KEY("ID") VALIDATE,
FOREIGN KEY("SUBJECTID") REFERENCES "IMMUNODATA"."DEMOGRAPHICS" ("SUBJECTID") VALIDATE
Other tables are alike.
Thank very much!
Qian -
Using SQL developer, how to show more then 1 table at at time ?
Hi, everybody
I am able to open more then 1 procedures/functions for editing.
However i am not able to open more then 1 table for seeing the data and columns.
1) how do i open more then 1 table tab in sql developer or i am not allow to do so ?
2) is it possible to see what column is the foreign key of a table in sql developer ?
thanks once again :)use freeze view button
and drop table below from tabs
http://www.oracle.com/technology/products/database/sql_developer/files/viewlets.html
watch this viewlet
Useful Features of SQL Developer (July '07)
it can show u how u can see more than one table at a time -
how to show employee names in descending order but 3rd row is fixed and always top on the table ?
for example employee names is A,B,C, D, E
and output is C,E,D,B,ASince you are posting in the design forum, the short answer is - you don't. Rows in a table have no inherent order that you can rely on and the "position" of rows is a visual characteristic that should be implemented by the application that displays
this information or by the query that is used to generate the resultset.
So the next question is how one accomplishes this particular order within a select statement. That is a tsql question which, for future reference, is best posted to the tsql forum. In addition, many of the questions or issues that you will face
have been discussed in the forums - often many, many times. The first thing you should do when faced with an issue is to simply search the forums and leverage the the knowledge that has already been discussed. In doing so you are quite likely to
see suggestions or related issues that you should consider in your search for a solution.
Now, to answer the question - you need to formulate a order by clause that forces the rows to be sorted in the manner you desire. Effectively you have 2 levels of sorting. The first level divides your rows into 2 groups. Group 1 consists
of rows where name = E and Group 2 is everything else. Following that you then need to sort the rows in each group by name in descending order. Something like:
order by case name when E then 1 else 2 end, name desc -
How do I include/show data from a child table in a Modal Window?
How do I show data from a child table in a Modal Window?
I have an application where each customer might have multiple addresses and phone numbers which are stored in child tables. When I show the customer in a record on a screen I can place a Modal Window button on the screen which can be pushed at runtime
to display detail information for the particular customer parent table which works great. However, I would also like to display the data from the address and phone number child tables. Is there a way to do that? Or can I just launch a hole separate screen
which would automatically display the needed data for the particular customer? If yes, how?
Thank you for any help.I am not even sure how to describe my situation in such a way that this forum incident would be of benefit to other people as I think it is fairly unconventional.
The “add contactaddress” link does not show up on the right.
The contactaddress table is a child of the contact table.
The contact table is a child of the contactlink table.
And the contactlink table is a child of the person table.
I have it set up this way because the contact in the contact table may be a contact to multiple persons in the person table and I do not want to re-enter the contact info every time the contact is used.
In the list detail screen of the person table I can see the contactlink child collection so that I can see the name of the person in the contact table at runtime. However, the contactaddress collection is not related to the person table so it does not show
up on the right hand side of the design screen as an “add contactaddress”; nor is there “add contact” link.
What I would like to happen during runtime is that it is not necessary to switch screens from the person list detail screen to a contact list detail screen to see the addresses and phone numbers for the contact.
Is my setup unnecessarily convoluted? Is there a better way? Please see the two snapshots below.
Perhaps there is a way to call up a Detail screen from the List Detail at runtime?
Anyway, if you are still reading, thank you very much for your help.
jjjjj -
How to show data through table control
Hi Experts,
I have created an table control through wizard using table EKKO.
I have to populate one internal table( type ekko ), and then show it in output through table control.
Please advise, how to do that and in where i have to write the codes.
I will reward points for every suggestion
Thanks in advance.
regardshi saubrab,
This is kiran kumar.G.I am sending some sample code to populate data into table control check it once.
i will give input in 100 screen. and display table control in 200 screen.check it once once ..ok....
SE38 :(CODE)
*& Module pool YMODULEPOOL_TABLECONTROL1 *
*& DEVELOPER : KIRAN KUMAR.G *
*& PURPOSE : TABLE CONTROL DEMO *
*& CREATION DT : 17/12/2007 *
*& T.CODE : YMODTABLECONTROL1 *
*& REQUEST : ERPK900035 *
PROGRAM ymodulepool_tablecontrol1.
Tables
TABLES: yvbap, "Sales Document: Item Data
vbak. "Sales Document: Header Data
Controls
CONTROLS: my_table TYPE TABLEVIEW USING SCREEN 200.
Global Variables
DATA: gv_lines TYPE i,
gv_lines1 type i,
gv_temp type i,
gv_flag(20) TYPE c VALUE 'DISP',
gv_mode1 TYPE c,
gv_mode TYPE c VALUE 'C'. " C: Change, D :Display
Internal Table
DATA: BEGIN OF gt_item OCCURS 0,
vbeln LIKE vbap-vbeln, "Sales Document Number
posnr LIKE vbap-posnr, "Sales Document Item
matnr LIKE vbap-matnr, "Material Number
matkl LIKE vbap-matkl, "Material Group
arktx LIKE vbap-arktx, "Short Text for Sales Order Item
cflag, "Deletion Indicator
END OF gt_item.
*& Module STATUS_0100 OUTPUT
text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'ZTABLECONTROL' OF PROGRAM 'YMODULEPOOL_TABLECONTROL'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'DISP'.
SELECT single vbeln
erdat
angdt
bnddt
FROM vbak
INTO (vbak-vbeln,vbak-erdat,
vbak-angdt,vbak-bnddt)
WHERE vbeln = vbak-vbeln.
IF sy-subrc EQ 0.
*Fetch the table control data and place them in Internal Table
SELECT vbeln
posnr
matnr
matkl
arktx
FROM yvbap
INTO TABLE gt_item
WHERE vbeln = vbak-vbeln.
IF sy-subrc EQ 0.
*NO OF line in the Internal Table
DESCRIBE TABLE gt_item LINES gv_lines.
my_table-lines = gv_lines + 20.
ENDIF.
ENDIF.
*Call Screen 200.
SET SCREEN 200.
WHEN 'EXIT' OR 'BACK' OR 'CANCEL'.
*Exit from the Program
CALL TRANSACTION 'SESSION_MANAGER'.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
module STATUS_0200 output.
SET PF-STATUS 'ZTABLECONTROL1'.
endmodule. " STATUS_0200 OUTPU
*& Module copy_data OUTPUT
text
module copy_data output.
*Fetch the current line data from the Table control
read table gt_item index my_table-current_line.
if sy-subrc eq 0.
*Populating data into screen fields
gt_item-vbeln = gt_item-vbeln.
gt_item-posnr = gt_item-posnr.
gt_item-matnr = gt_item-matnr.
gt_item-matkl = gt_item-matkl.
gt_item-arktx = gt_item-arktx.
endif.
SE51:CODE (SCREEN 100)
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
SE51 :CODE (SCREEN 200)
PROCESS BEFORE OUTPUT.
MODULE STATUS_0200.
loop at gt_item with control my_table cursor my_table-current_line.
module copy_data.
endloop.
PROCESS AFTER INPUT.
loop at gt_item.
MODULE USER_COMMAND_0200.
endloop.
HAVE A NICE DAY..
Award points if helpful,kiran kumar.G -
How to Show Total Calculation in Footer of Table
Hi everyone, is it possible to show total calculation in footer of table in webdynpro ? For the calculation, I think i can handle it because many thread in forum and weblog discuss it but for show it in footer of table , i can't find.
Display
A
B
C
D
| ____Total | XX | --> XX shows total calculation for column D
If this is not possible, how to trick it ? Thank you
nullHi,
Even i had the same requirement once, but as this is not possible i.e displaying the total as the footeer of the table.
the other option for this is to hav a seperate table below the main table & then displaying the total in that table.
You can collect the value of each cell of column D in an integer variable at the time of displaying the data in the table.
A | B | C | D |
1
2
3
for(int i = 0;i<node.lenght();i++)
int tot = wdcontext.element
now at the end you can create the element of the node & assign this variable "tot" to that element, then add teh element to the node
Hope it helps you.
Regards
Jeet -
How to show image in a Transperent form ?? screen shots attached
Hi
Help me in making Images appearing as Transperent . Screen shots attached
I am having a TextInput and a Search Button (The Functionality is that user can enter something in this TextInput and makes a Search Operation by pressing Search Button .)
At the Initail screen display i need to show Some Image in transperent Inside this TextInput , when Mouse is focused on this TextInput , the Image will be completely Invisible .
Now the question i want to ask is , how to show image in a Transperent form ??
Please find the screen shots attached with this Thread .Thanks for specifying the alpha property of an Image .
-
How to change the datatype in the oracle table?
Hi,
I need to change the datatype of the column in Oracle table. That column contains some data. I do not want to loose those data.
For altering a table/column condition are:
1. either table should not contain any data.
2. either that column should not contain any data.
Please suggest how i can handle this situation.
Thanks.Hello,
Suppose you have currently datatype of column as VARCHAR and you want to convert it in NUMBER. Do following
1-Add another column with NUMBER datatype in your table.
ALTER table tablename
ADD testcolumn NUMBER;2-Update your actual column data to this test column.
UPDATE tablename
SET testcolumn = actualcolumn;
COMMIT;3-Update your actual column data to null;
UPDATE tablename
SET actualcolumn = NULL;
COMMIT;4-Change Datatype of actual column.
ALTER table tablename
MODIFY actualcolumn NUMBER;5-Update actualcolumn to testcolumn
UPDATE tablename
SET actualcolumn = testcolumn;
COMMIT;
please mark if it help you or correct
Regards,
Danish -
In Pivot table how to show folder heading of a Measures column
Hi gurus
I am using 11.1.1.6.6 version
Any idea how to show column heading of a measure column in Pivot table view.
for Dimension its working fine
I have 3 dimension column and 12 measure column in my reportHi Santosh Sutar,
Did you mean that you want to hide/show the rows in an worksheet? If I understood correctly, there is no such API in apps for Office at present. Most of functions are used interop with data.
If you want apps for Office to support this function, I suggest that you submit the feedback from link below:
Customer Feedback for the Office Developer Platform
And you get learn more about apps for developing from link below:
Build apps for Office
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
How can I separate icloud accounts on one apple id?
We have four apple ios5 devices in our household under one apple id . Each of us want our own icloud account though. We don't want eachothers stuff on eachother's phones and ipods. What can we do to stop that so we can have our own? We have our own c
-
Hi all.. I have a stored procedure that needs to return a records to Crystal Report. I'm using an outpur parameter of type cursor. In the proc, I am selecting the data from a table based on the input criteria and inserting into a GTT table, if so, re
-
Sql to remove special characters from my search
Hi everyone. I'm very new to sql and have hit another road block. I am doing a query on my database in oracle sql developer. I want to search manufacturer numbers but sometimes they were entered with dashes ( 999-99-9999) and other times not (9999
-
Optimize for WAN / VPN usage
any tips how to best optimize/tweak either NW servers or the clients to gain performance over a WAN tree ?? All together, 5 sites, 1 central location were most requested data is. central = 100 Mbit 2 other sites = 10 and 100 Mbit 2 last sites = 4 Mbi
-
Acer T232HL touchscreen Monitor not working w HP Pavilion HPE.
I want to run two monitors, one being a touchscreen. I have the HDMI and the USB cables plugged in, but there is no port for the 15-pin VGA. Would that be the same as the DVI port? I have two DVI ports, but they are both covered up. So my main questi