Print data in two line in the same column
Hi,
In a tabular Report I want to print a column (eg:Description,) in two lines in the same cell.
Since the description is too long. Is it possible in report 6i. Or any other solution for this?
Please reply.
Hello,
For the Description field set the Vertical Elasticity to EXPAND. Then it will adjust automatically based on data.
-Ammad
Similar Messages
-
Query - data from two versions in the same column
Hello
Let me share my business scenario. Maybe you will be able to help me to desgn a query I am looking for.
I have data in my Info Cube:
- Version (A for plans and B for actuals)
- Calendar Month,
- Sales Amount.
I would like to create a query which presents Sales Amount per every Calendar Month, but:
- Data of version B for all of the months before current one (actuals)
- Data of version A for the current one and all of the nex ones (plans)
In result I expect the matrix like this:
Calendar Month Sales Amount
2011.01 200 (it is taken from version B - actuals)
2011.02 300 (it is taken from version B - actuals)
2011.03 260 (it is taken from version A - plans)
2011.04 230 (it is taken from version A - plans)
2011.05 200 (it is taken from version A - plans)
Is it possible?
Cheers,
A.Hello Brian,
Thank you for your answer. It is approach I will use, I think. However let me ask: Would it be possible to have a Version in this layout, too? I mean to see, which value comes from Version A and which comes from Version B? Something like this:
Calendar Month Version Sales Amount
2011.01 B 200
2011.02 B 300
2011.03 A 260
2011.04 A 230
2011.05 A 200
A -
How to display 2 lines in the same column header of jTable?
Please could you help me to display 2 character lines in the same column header of a JTable?
And how to make a fusion between to cells?
Thank you very muchIn Swing, most components will accept text in the html format
http://java.sun.com/docs/books/tutorial/uiswing/components/html.html
You can then use <br> tags to make your header text multiline -
Two prompts on the same column
Hi Experts,
I am trying to define two different prompts (and associate them to two different presentation variables) on the same column. However, when I display the 2 prompts on the same dashboard page, whenever I select a value for the first prompt, the same value is automatically selected for the second prompt.
Is this normal behavior? How can I do to capture two separate values?
Thanks,
GuillaumeHi Stijn,
Thanks for your quick reply.
I think that's what I have done. I have 2 prompts (Prompt1, Prompt2) on the same column, and respectively associated with presentation variables Var1 and Var2.
In the request, I refer to '@{Var1}' and '@{Var2}' in my filters. On the dashboard page, I display Prompt1 and Prompt2. But the moment I select a value for Prompt1 and click 'Go', the same value is assigned to 'Prompt2' (and thus to Var2). And if I select a value in Prompt2 and click 'Go', again that same value is selected in Prompt1.
Bottom line, it looks like a dashboard prompt defined on a specific column can only have one value. Is this correct? And if so, how can I capture 2 different values for the same column and use them as parameters/variable in a request?
Thanks,
Guillaume -
Data from two tables in the same row in XML transformation
Hi,
I am using XML transformation for generating excel file which is to besent as email attachment.
Here I want to display the data from two internal tables in the same row in the excel. .I am using <tt:loop ref=".<table name>"> ... </tt:loop> for looping through the table. Can I loop two table simultaneously ? In that case how will I specify the fields in each table . Some of the fields in two tables are of same name and type.
Please help...
Thanks,
JissaHello Brian,
Thank you for your answer. It is approach I will use, I think. However let me ask: Would it be possible to have a Version in this layout, too? I mean to see, which value comes from Version A and which comes from Version B? Something like this:
Calendar Month Version Sales Amount
2011.01 B 200
2011.02 B 300
2011.03 A 260
2011.04 A 230
2011.05 A 200
A -
Merge Two Tables with the same columns but different data
I have a table that has the following columns:
Current Table Definition
commonname
family
genus
species
subspecies
code
I have a number of entries that donât fit the current table definition â that is that they only have a common name or description and a code. These records donât actually represent a species but are needed for data entry because they represent an object that may be encountered in the study (Bare Ground â which isnât a species but would need to be recorded if encountered). So I would really like 2 tables:
Table 1 Miscellaneous
name
code
Table 2 Plant Species
commonname
family
genus
species
subspecies
code
I would like two tables so I can enforce certain constraints on my species table like requiring that the family, genus, species, subspecies combination is unique. I canât do this if I have all the âotherâ records that donât have a family, genus, species, or subspecies unless I put in a lot of dummy data into the fields to make each record unique. I donât really want to do this because these miscellaneous records really donât represent a specific species.
So â the problem is that while I want this data separate I will need to point a column from another table to the code column in both tables.
How is this best done? Table? View? Merge?Hi,
Actually you don't have to use scope refs. Sorry but I misunderstood you earlier. Here is a complete example that does exactly what you want. Notice how I added the constraint to the materialized view. Also notice when we try to insert a code in tbl3 that doesn't exist in the view, we get an error. HTH.
SQL> create table tbl1 (name varchar2(10), code varchar2(3) primary key);
Table created.
SQL> create table tbl2 (commonname varchar2(10), code varchar2(3) primary key);
Table created.
SQL> insert into tbl1 values ('n1','c1');
1 row created.
SQL> insert into tbl1 values ('n2','c2');
1 row created.
SQL> insert into tbl1 values ('n3','c3');
1 row created.
SQL> insert into tbl2 values ('name1','c1');
1 row created.
SQL> insert into tbl2 values ('name2','c2');
1 row created.
SQL> insert into tbl2 values ('name3','c3');
1 row created.
SQL> commit;
Commit complete.
SQL> create materialized view view1 as select name, commonname, tbl1.code from tbl1, tbl2 where tbl1.code = tbl2.code;
Materialized view created.
SQL> select * from view1;
NAME COMMONNAME COD
n1 name1 c1
n2 name2 c2
n3 name3 c3
SQL> create table tbl3 (code varchar2(3), record varchar2(1));
Table created.
SQL> alter table view1 add constraint view1pk primary key (code); -- <-Note how I added a constraint to the view
Table altered.
SQL> alter table tbl3 add constraint tbl3fk foreign key (code) references view1(code);
Table altered.
SQL> insert into tbl3 values ('c1','r');
1 row created.
SQL> insert into tbl3 values ('c99','r');
insert into tbl3 values ('c99','r')
ERROR at line 1:
ORA-02291: integrity constraint (RAJS.TBL3FK) violated - parent key not found
SQL> spool of;
-Raj Suchak
[email protected] -
There is confusional data when two terminal get the same page?
Hi,All
The page has a textfield for inputing qualification, a button for performing query (invoking Ejb's method) and a table for putting data.
If two terminal invoke the page at the same time,then the second terminal show the same qualification and data at first.
When saving one after the other,two terminal have mistake.but, only one terminal,that's right.
I need your help!
Thanks
SmileJSF version 1.1 uses the pathinfo of the URL to identify a page (/Home.jsp for example) and creates one component tree per page. You can implement an own window management or change to another JSF version. I don't know if JSC actually supports JSF 1.2.
-
Subtracting two rows from the same column
Hi,
I have the following table with about 6000 rows of different year_month but I am compare and subtract v
Organization Year_month Contribution
Kano JAN-2011 200000
KADUNA JAN-2011 300000
ABUJA JAN-2011 400000
Kano FEB-2011 300000
KADUNA FEB-2011 200000
ABUJA FEB-2012 600000
I want to select a year_month at run time to subtract the contribution of the first year_month from the contribution of the second year_month and give me the result as shown in the following table
Organization JAN-2011 FEB-2011 diffrence
Kano 200000 300000 -100000
KADUNA 300000 200000 100000
ABUJA 400000 600000 -200000
Here is my code returning too many va
create or replace function "GET_MONTHLY_VALUE"
(q_name in VARCHAR2,
hmoCode in VARCHAR2)
return VARCHAR2
is
c1 number;
begin
select NHIS_CONTRIBUTION into c1 from CONTRIBUTION_MGT where upper(YEAR_MONTH)=upper(q_name) and upper(ORGANIZATION)=upper(hmoCode);
return c1;
exception when NO_DATA_FOUND THEN
return null;
end;
------a call to the above function:
create or replace function process_cont_monthly return varchar
is
Cursor cont_cursor is select ORGANIZATION from CONTRIBUTION_MGT;
begin
for
cont_rec in cont_cursor loop
select GET_MONTHLY_VALUE(:p26_month,cont_rec.ORGANIZATION) first, GET_MONTHLY_VALUE(:p26_month2,cont_rec.ORGANIZATION) second,
abs(GET_MONTHLY_VALUE(:p26_month,cont_rec.ORGANIZATION)-GET_MONTHLY_VALUE(:p26_month2,cont_rec.ORGANIZATION)) Diffrence
from CONTRIBUTION_MGT;
end loop;
commit;
end;
I became totally confused and don’t know what to do next
Any help and better guide is appreciatedHi,
Here's one way:
WITH months_wanted AS
SELECT 1 AS col, TO_DATE ('JAN-2011', 'MON-YYYY') AS month FROM dual
UNION ALL
SELECT 2 AS col, TO_DATE ('FEB-2011', 'MON-YYYY') AS month FROM dual
, pivoted_data AS
SELECT c.organization
, NVL (SUM (CASE WHEN m.col = 1 THEN c.contribution END), 0) AS total_1
, NVL (SUM (CASE WHEN m.col = 2 THEN c.contribution END), 0) AS total_2
FROM months_wanted m
JOIN contribution_mgt c ON c.year_month >= m.month
AND c.year_month < ADD_MONTHS (m.month, 1)
SELECT organization
, total_1
, total_2
, total_1 - total_2 AS difference
FROM pivoted_data
ORDER BY organization
;I assume that the year_month column is a DATE. Date information always belongs in DATE columns.
As written, the two months do not need to be consecutive. If you always want consectuive months, this can be re-written so that you only have to enter the first month, not both of them.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Point out a few places where the query above is giving the wrong results, and explain, using specific examples, how you get those results from that data in those places. If you changed the query at all, post your code.
Always say which version of Oracle you're using.
See the forum FAQ {message:id=9360002} -
Sharing data between two canvases on the same form ?
Hello,
I have one form with two canvases and two data blocks.
Datablock A and datablock B are same tables.
The reason I split is so I can have a search field on canvas A, then after executing the query, I want to populate canvas B.
I'm having trouble sharing the data across both data blocks.
Note: I set up a relation in datablock B to correspond with A, and I've chosen field name "Horse" to be my master and detail item.
"When-button-pressed-trigger" --> Here is part of my code after the user presses the "Search" button (in datablock A).
execute_query;
SHOW_VIEW('CANVAS_HORSE');
HIDE_VIEW('CANVAS_SEARCH');
:fox_horse.horse := :fox_horse1.horse ; GO_BLOCK('FOX_HORSE');
When I go back to my "FOX_Horse" datablock, why is the :fox_horse.horse field the only one populated? I though by creating a relation btwn the two blocks they would syncronize automatically ?
Any advice ?
Thanks,
BobAlex,
I have tried your suggestion, yet I'm still having a problem once I issue my execute_query command.
In my Search button I have this code:
BEGIN
:fox_horse1.horse := :fox_horse.horse;
GO_BLOCK('FOX_HORSE1');
execute_query;
END;
Note that FOX_HORSE is NOT a database block (as you suggested), but FOX_HORSE1 is a database block.
So when I click on the "Search" button I can see the :fox_horse1.horse field getting populated immediately, but then the system asks me if I want to save changes. When I say NO, the actual data block portion of my screen just defaults to the first record, so my exec_query show no effect at all.
What am I doing wrong in my search button trigger ?
Thanks so much for your advice,
Bob -
How to load data using two maps for the same source file in Import Manager
Hi,
I am trying to load the source data to MDM using two map files, since one map is too big (creating memory error).
However the first map data able to see after loading (SAP data) but when loading second map(nonSAP data) using the remote key to match the previously loaded SAP key ,even if MDM is processing the data it is not reflecting in data manager.
Is there any reason for this.
Appreciate your suggestion and tips on this.
regrds,
ReoHi Reo,
As ur requirement seems,In the second pass perform recording matching by select default import action as "<b>update null fields only"</b> for those data records which are matching and "<b>create</b> " for those data records which are not matching with previous data records from SAP system.
If you define "update null fields only", then only the key of the new record from NON SAP will get appended to the existing record. And if you select "create" then it will create new records and will apply NON SAP key on it.
Please check the remote key values using data manager.Key is applied in the records or not.
Remember that import maps are client specific. Remote key comprises of both key and client system.So be sure that you are connecting to two different client systems.
I have tried this and this is working fine on my system.
Thanks,
Shiv Prashant Dixit
Thanks, -
Display two characteristics in the same column
Hi everyone,
I have two cubes that store key figures in two different ways.
In the first cube I have several key figures like "Amount in Local Currency", "Amount in Document Currency" etc. these have the currency characteristics "Local currency"(0LOC_CURRCY) and "Document Currency"(0DOC_CURRCY) associated with them.
In the second cube I have one key figure "Amount" and a characteristic "Currency Type" that has the values "Local Currency" and "Document Currency". The key figure is associated with the characteristic "Currency"(0CURRENCY).
I have a report demand that requires me to collect values (Document Currency) from both reports and the report should also be drilled down on the characteristic "Currency". Now the demand is for one characteristic for Currencies and I would like to know what my options are.
The only two ideas that I have is
1. Add a new custom characteristic "Document Currency" in both cubes and populate it with the Document Currency.
2. Create a virtual characteristic that combines both characteristics into one.
None of these options are very appealing to me and I was wondering if there is a third option which I have missed?
I could also mention that I am doing this query in Bex Analyzer.
Thank you in advance for your help!
/MarcusThe main frame should be a JFrame, the small frame should be a JDialog.
-
Connect two internet lines on the same cisco router 3945 series
i have two internet lines from the same provider and i have one router i want to connect the two lines in the same router
any ideas !!!!!!!!!!!!!Hi,
No problem, similar treatment. Follow
1. Create IP SLA/Track for both internet link
2. Break your LAN subnet into 2 smaller subnet
3. Create route map, Match with 1 subnet & route the traffic towards 1st internet link
route-map General_Internet_Traffic permit 10
match ip address 115
set ip next-hop verify-availability 10.1.1.1 track 1
set ip next-hop verify-availability 11.1.1.1 track 2
4. Create route map, Match with 2 subnet & route the traffic towards 2nd internet link
5. Configure NATing/PATing over the interface, selecting by route-map
ip nat inside source route-map General_Internet_Traffic interface FastEthernet0/0 overload
- Ashok -
BAM Combo Chart showing data in 2 graphics for the same data object
Hi all,
I’m trying to show 2 views of the same data object in a Combo Chart (e.g. orders created today as a bar chart and orders created yesterday as line chart grouping by hour of day). It was pretty easy adding the same data object twice but the data type of the horizontal axis seems to be lost and it gets sorted as a simple string, leading to strange grouping of the hours with 05:00 representing 5 AM sided with 05:00 representing 5 PM. Also, I’m not able to format such fields using the format values tab.
Is using the same data object two times in the same report an unsupported scenario?
Thanks,
Danielwhy you want to add the same data object twice? Your use case can be achieved with single data object only.
1) Create combo chart and select the data object.
2) On "Choose data fields" page group by datetime field.
3) You will see UI changed to 3 sections - left one with "Group by" section, middle with "Chart values" and right one with "Time Groups".
4) In the right "Time Group" section, uncheck checkbox for continuous time series. Time Unit as hour, quantity as 1.
5) In middle "Chart values" section ,select the fields that you want to display as chart values and respective chart types , in your case orders created today as a bar chart and orders created yesterday as line chart.
5) Click Next and Finish.
6) Then you can go to Value format tab, and change the format for the datetime field as timeunit and required format. -
Can we create two dashboard prompts for the same column in the samepage
hi ,
can we create two dashboard prompts for the same column on the same page,
I have a date column and I am trying to create 2 dashboard prompts on the same page one as from date and the other one as to date.Is this possible to create.When I am trying to create it is giving me error like cannot use same column for creating the prompt
Any suggestions or ideas863997 wrote:
hi ,
can we create two dashboard prompts for the same column on the same page,
I have a date column and I am trying to create 2 dashboard prompts on the same page one as from date and the other one as to date.Is this possible to create.When I am trying to create it is giving me error like cannot use same column for creating the prompt
Any suggestions or ideasYou are correct. You cannot build two prompts on the same column. Use this link for instructions on how to build a "between prompt" because of this fact:
http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/ -
To group the lines with the same items before TO
Hello,
We use an external tool (linked to SAP WM) to prepare the orders.
When I have a order with two lines with the same item (because a line free of charge) and when I generate the Transfer Orders, I have two lines and we have to go twice to the picking...
Could you give me a solution to group the lines?
Thx in advanceHi
You have various options here depending on whether you have other middleware in place and what skills you have on-site.
How are you transferring the information to your WMS system?? Idocs / BAPI / Files ???
Mark
Maybe you are looking for
-
Please help me about jdeveloper application deployment for weblogic
At the beginning I just thought after developing an adf application then just deploy it as a .ear file and deploy it in the weblogic console and everything will be ok.But in fact I got a lot of problems. Then I got a tutorial for that and I do what i
-
Report for vendor master changes
Good day, Please can you assist with this issue, Report S_ALR_87012089,program RFKABL00 Version ECC 6.0 This report does not reflect the old and the new values for changed bank details. It does not show anything under the old value and shows **delete
-
Trying to Export Details Column as Text Files
In the bin, where all the information is columned regarding (on the right hand side) regarding duration/in/out... and all the other information... Is there a way to export only that information as a text file of any sort? I have a feature film's leng
-
Hi all, Is it possible to embed a static html in jspdynpage.If possible where should i put that html in the project structure Regards Venkat
-
How to Passing parameter in SQL.For Example,Table name=&From_Clause.It will asking table name at runtime.How to assign table name based on user.