Need a LOV that uses 3 tables
Let's say that this is my tables and relations:
---------| |--------|
|TABLE_1 |\ \ |TABLE_2 |
| |------|----------| |
| |/ | | |
| | | |________|
| | |
| |\ | |--------|
| |------|----------|TABLE_3 |
| |/ | | |
| | | | |
| | | |________|
| | |
| |\ | |--------|
| |------|----------|TABLE_4 |
| |/ / | |
| | | |
|________| |________|What I want to do is to build a lOV which will include TABLE_2, TABLE_3 and TABLE_4 because the user can only chose one of those value.
After that I must return the id chosen from either
TABLE_2, TABLE_3 or TABLE_4 in the right column
of TABLE_1.
Is it possible?
If yes, how could I do it?
If no, do you know a way I could do something like that?
Thanks!
Martin
you might add a variable to the view, so you know where the records are coming from :
create view v_234 as
select id, text, 'TABLE2' zfrom from table2
union all
select id, text, 'TABLE3' zfrom from table3
union all
select id, text, 'TABLE4' zfrom from table4
Similar Messages
-
How/can I use boe search 4 all reports that use specific tables
How/can I use boe search 4 all reports that use specific tables
can this be done with query builder
or
is there a way to search all sql of all reports for specific strings and report names so that I can find all report sql that uses table1 for example?Hi Bart!
You can use VBScript to extract the dataprovider within the reports (Search for SDK Desktop Intelligence).
If you can wait a few days longer, I can provide my script.
ciao Hakan -
Creating a stroke that used in table
Hello,
I'm using Indesign CS4.
I have a table that needs horizontal rules that need to be indented by 2 mm on the left and right hand of the table. There also needs to be a gap of 2 mm in the middle of the table.
I thought I could create a stroke to resolve this problem but I cannot seem to create a stroke that does this.
I tried to use the help but this did not really help me any further.
I want to create a stroke that I can apply to a table row that does the following:
indents 2mm
Draws a rule of 42 mm
indents 2 mm
Draws a rule of 42 mm
indents 2mm
This is what I would to use the stroke to create the horizontal rule highlighted below:
Is there a better way to do this?
Cheers Joe.In my experience, anchored objects in table cells go haywire when the document is exported as INX and re-opened.
Bob's idea is probably the least bad, I admit, but just for the record, here's how you do it "when you use the application properly": -
How can I identify reports that use specific tables
Hi, is there a way that I can identify the reports that select from specific tables? We have 3,000 reports in business object enterprise XI R2 SP5. and we're trying to identify all the reports that use a specific table.
Or if you have a developer in Java or .NET available you can write one. Fairly simple to get the info.
In .NET you would open each report, write the name of the report to a log file with the output of the SQL Statement:
Using RAS as the report engine.
GroupPath gp = new GroupPath();
string tmp = String.Empty;
rptClientDoc.RowsetController.GetSQLStatement(gp, out tmp);
MessageBox.Show(tmp, "Data Source Set and SQL Statement", MessageBoxButtons.OK, MessageBoxIcon.Information);
If you want more details is is available with a few more lines of code. The above would only show you what is used in the report.
I don't believe there is a BOE tool that can do this but they may have one.
Here's a link to the BOE Admin forum: BI Platform
Thank you
Don -
Hi,
I create a dropdowlist on a JSP based on a list of items I type in. It's called " fixed List" I think instead of dynamic list which is from a DB table.
In order to add a valuechangedlistener to the dropdownlist, I need to get the real value of the selected item on the list. I've changed the autosumit to true. Use this line I can get an object of a FaceCtrlListBinding.
FacesCtrlListBinding TdIter = (FacesCtrlListBinding)bc.get("LandLegalView1Td");
When value changed, I get only get the new index of the selected item. I tried to use TdIter.getAttributeValue(index) and it returns me null. I also tried TdIter.getAttributeFromRow(index,"Td") and it returns me null, too.
Could someone share some idea, Please? Thank you very much.
Regards,
AnnieFrank,
Thank you very much for your reply. I've set "valuePassThrough" property of the dropdownlist to true. In the valueChangeListener, my code looks like this.
public void TD_valueChangeListener(ValueChangeEvent valueChangeEvent) {
System.out.println("+++++++++");
System.out.println("TD_valueChangeListener");
Number n = null;
BindingContainer bc = this.getBindings();
if(bc != null){
System.out.println("bc is not null");
//get the selected TD
FacesCtrlListBinding TdIter = (FacesCtrlListBinding)bc.get("LandLegalView1Td");
if(TdIter != null){
System.out.println("TdIter is not null");
if(valueChangeEvent.getNewValue() != null)
try{n = new Number(valueChangeEvent.getNewValue());}
catch(Exception e){
e.getMessage();
System.out.println("selected TD index="+n);
//Object td = TdIter.getAttributeFromRow(n.intValue(), "Td");
Object td = TdIter.getAttribute(n.intValue());
System.out.println("real value of td=" + td);
}else{
System.out.println("TD is null");
}else{
System.out.println("TdIter is null");
My question here is: I tried two ways of getting the real value of the new selected value. One is "Object td = TdIter.getAttributeFromRow(n.intValue(), "Td");". The other is "Object td = TdIter.getAttribute(n.intValue());". None of them give me the new selected value but the old value. Did I do anything wrong?
Regards,
Annie -
How to structure report using two tables...
Hi all,
CR 2011; SLQ 2008
I have a report that uses several tables but is essentially grouped into two "types" of sources.
tbl.Produkte holds current data basically about stock levels, "real time"
tbl.Log holds stock movement history.
The commonality between the tables is StockID, which is a distinct column, but is an ID that is used to track based on three attributes: Product, WidthHeight, and ContentCnt. All three of these are columns unto themselves, but are not available in all tables, so I need to rely on StockID for fetches.
Now I need to report by Product and WidthHeight. I look to tbl.Produkte for some information such as Stock level, Average ContentCnt, and Reservations on Stock.
Ideally on the same line, I'm looking to report on Average Monthly Usage, derived information coming from the tbl.Log.
I seem to think I need a subreport to do this, but end up getting multiple occurances of the subreport when the StockID occurs multiple times in tbl.Produkte. This is something I always seem to run into when I use a subreport, and I haven't been able to wrap my brain around it yet. I'm handy enough with queries, but trying to use Commands to limit the data I'm picking seems to offer no better solutions.
Anyone have insights as to what's wrong with my approach?
To recap:
I need a summary line by Product - WidthHeight
Data consists of multiple rows coming from tbl.Produkte and multiple rows coming from tbl.Log
Tables are essentialy unrelated in content but can be linked by StockID
Need to elliminate multiple occurences of data coming from tbl.Log when there are multiple rows in tbl.Produkte
Hope I haven't made complete mud of my predicament...
Thanks you - MattHi,
The code in my previous post was cut and pasted from my project. It's in a command and work fine by itself, but as soon as I add more tables, I get the ODBC error.
I'm guessing I need another approach. I realize my original description was incomplete.
Basically the meat consists of three tables LG_PRODUKTE, LG_LAGERORTE, and LG_LOGBUCH.
The common field among the three is ID, which is a Stock ID that is uniquely comprised of Product, Size, and Contents(Qty)
LG_PRODUKTE is the basic Product listing. ID is unique in this table. I need this for completeness and extended product data.
LG_LAGERORTE is the Inventory. ID can occur multiple times. I need this to compile current Inventory.
LG_LOGBUCH is the History. ID can occur multiple times. I need this to compile past usage.
I have tried both Inner and Left joins from LG_PRODUKTE to LG_LAGERORTE and feom LG_PRODUKTE to LG_LOGBUCH
My Groupings are is:
1 - Product
2 - Size
3 - ID
Detail
My primary issue is that I can't just report at the ID level because Contents(Qty) is really just a detail of the Product/Size.
I need to summarize at the size level (also Product and Grand)
At this level I need to pull in summary information from LG_LAGERORTE and LG_LOGBUCH, independantly, based on data linked on ID.
Right now, I'm going to try subreports at Footer 2A for LG_LAGERORTE data, 2B for LG_LOGBUCH, passing parameters to 2C for a combined line...
Can't seem to pin down the juggling... -
Calculations using Physical Tables vs Logical Tables
It's easy to find an example of where you would want to use Logical Tables instead of Physical Tables to create fact columns in the repository. Any measure such as Profit Margin (i.e. Profit / Sales) must be computed in the Logical Tables, so that the division operation occurs after the dimensional aggregations are passed to it from the physical layer. In the example of (Profit / Sales), using Physical Columns returns an incorrect result, because it does the division operation first, then aggregates all of those results into a nonsense value.
So, is there some type of formula in which the reverse is true, such that using Logical Tables would return an incorrect result, while the Physical Tables would return the correct result?
If not, then under what circumstances would we want to use the Physical Tables instead of the Logical Tables? Is there some type of formula that performs better with Physical Tables?Hi Thomson,
calculations using physical columns generate fair SQL which wouldn't involve any sub-selects in physical query... and would be fast.
If you use logical columns by selecting the “Use existing logical columns as the source check box" in rpd, most of the times it generates queries.. with sub-selects (means subqueries)
Ex: suppose you are calculating a calculation based on 2 columns a, b then
If you use, Logical columns, the query would be something like...
*Select D1.C1 + D1.C2*
*From (select Sum(X) as C1,*
*Sum(Y) as C2*
*From FactX) D1*
*Group by DimY*
If you use, phyiscal columns for calculation the... the query would be...
*Select Sum(D1.C1 + D1.C2)*
*From FactX*
*Group By DimY;*
which is much preety and good to query the database... without any difficult..
For first query... it's using inner queries... so process would be slow...
+Thanks & Regards+
+Kishore Guggilla+ -
Importing pm7 using Adobe Table 3
I have search but can't seem to find out if Indesign CS3 can import PageMaker 7 files that use Adobe Table 3 and if the tables will look correct after importing. Does anyone have any experience with this?
Thanks.
--rayneIf you used insert object to put those tables into your document, no, it
won't work. InDesign doesn't support OLE.
Bob -
I want to set up the Time Machine and I would love to use the Time
Capsule but since I already have a wireless router I need suggestions on
what other
external disks Apple could recommend to use with the Time Machine and
how to configure that disk.
A complication that I need to resolve is the fact that I am using Vmware
Fusion to be able to use Windows on my Mac. Now it seems that Time
Machine is not backing up my files
on that virtual Windows without additional configuration and my question
is whether you can advise me here or whether this is only a matter for
the Fusion virtual machine.If you want to use Time Capsule you can.. you simply bridge it and plug it into the existing router.. wireless can be either turned off or used to reinforce the existing wireless.. eg use 5ghz in the TC which is much faster than your 2.4ghz.
You can also use a NAS.. many brands available but the top brands are synology, qnap and netgear readynas series. These will all do Time Machine backups although how well always depends on Apple sticking to a standard. There are cheaper ones.. I bought a single disk zyxel which was rebadged and sold through my local supermarket. It actually works very well for TM at least on Snow Leopard. Major changes were made in Lion and again ML so do not instantly think it will work on later versions. I haven't tried it yet with those versions.
Any external drive can be plugged into the mac. Use the one with the fastest connection or cheapest price according to your budget. USB2 drives are cheap and plentiful. But no where near as fast as USB3 or FW800. So just pick whichever suits the ports on your Mac. Interesting Apple finally moved to USB3 on their latest computers.
TM should exclude the VM partition file.. it is useless backing it up from Mac OS side.. and will slow TM as it needs to backup that partition everyday for no purpose.. TM cannot see the files inside it to backup just the changes.
You need to backup windows from windows. Use MSbackup to external drive.. if you have pro or ultimate versions you can backup to network drive. But MSbackup is a dog.. at least until the latest version it cannot restore the partition without first loading windows. There are about a zillion backup software versions for windows.. look up reviews and buy one which works for you. I use a free one Macrium Reflect which does full disk backups and is easy to restore.. to do incremental backups though you have to pay for it. -
Need to merge a csv file using external tables into a main table
Hi,
I have a csv file which contains the date(with time stamp), column1(number),column2(number), column3 (number). I am using external tables concept to load the data froom csv to this external table and then merging into the main table. Problem here is : the csv file is a system generated file and nothing can be edited under it. our aim is to automate this process of loading data from csv to the table. In this csv the date time stamp is not in the proper format.I mean the date is not visible and only minutes and seconds are visible.By changing the format in csv manually this can be overcome.but we donot need any manual intervention.
how can i overcome this problem ?? please help mee...
Excels data looks like:
(PDH-TSV 4.0) (India Standard Time)(-330) \\DISAPPSER01\Processor(_Total)\% Privileged Time \\DISAPPSER01\Processor(_Total)\% Processor Time \\DISAPPSER01\Web Service(_Total)\Current Connections
56:59.0 47
57:09.0 0.72379582 4.204561281 46
57:19.0 0.916548537 4.006179927 44
57:29.0 0.663034771 3.674662541 43
57:39.0 0.750789844 4.093933999 42
57:49.0 0.721538487 2.650858026 40
57:59.0 0.594781604 3.333393703 40please format your sample data giving header to the column so that we can make sense out of the values, also since the minutes and seconds are only given, what is the date to be considered for records to be moved to the master table, sysdate or will the date be passed as a parameter?
-
Need Query to that generate count of rows of all tables
Hi
i need a query which gives the result of no.of rows in talbe and coresponding table name.
And then i need to compare the same with other DB schema
Thanks in advanceHi User,
We can also get the count of rows for all the tables associated with a User, we can create a custom function which
uses the table name to return results.
CREATE OR REPLACE FUNCTION TAB_ROWS_CNT (TAB_NAME IN VARCHAR2)
RETURN NUMBER
AS
TAB_CNT NUMBER :=0;
BEGIN
EXECUTE IMMEDIATE 'select count(*) from ' || TAB_NAME
INTO TAB_CNT;
RETURN TAB_CNT;
END;And query,
SELECT TABLE_NAME, TAB_ROWS_CNT (TABLE_NAME) ROW_CNT
FROM USER_TABLES;Which gets us the count of Individual Tables for a user.
This is an just that we can do in this way also. But, use which is optimal.
Thanks,
Shankar -
How to find all oaf pages that are using a table in their VOs
Hello everyone,
I need to findout all the View Objects and Entity Objects that are using a table lets say A. Is there a smart way to find out all the VOs and EO's that are using my table?
Thanks
SunnyTechnically there would be only one EO for your table (if its Oracle code). VOs contain queries and there might be many which refer the table.
One option I can think of is doing a table name search in the various (EO and VO) directories on JAVATOP. Its the XML (99% cases) that would have the queries. Rest 1% having dynamic VOs, it would be difficult to determine.
Regards -
If we open a transaction i need to find what are the tables used
hi gurus
can anyone suggest me
if we open a transaction liek va01
i need to find what are the tables used
what are the fields used in that transaction
i need a list .
thanks®ards
kals.Hi
you can find all those details in transaction variant,
go with SHD0 ( numerical 0) and then enter your transaction code and enter transaction variant name and then select that
Select the program SAPMV45A and go CHANGE WITH PROCESSING (F6),
there you can find the list of fields and field names.
reward points if usful.
thanks and regards,
muralidhar -
How to use LOV on a derived table dependent on a prompt for Webi web intelligence view.
The semantic layer has not created a defined LOV for the derived table. This only happens when pulling columns from derived table which depends on a prompt for unique selection. When pulling from derived table that does not depend on a date prompt does not have an issue in Webi.
I don't know if this is a universe design issue or WEBI.
Webi Rich internet application selects the date prompt first but if click on Storeno in List it returns a LOV with auto refresh.
Webi Web Intelligence returns List of Values for current prompt requires values for following prompts: and when you click to refresh webi responds with 'undefined'Hi…
Can you check Prompt : Store No is created at universe level and defined the syntax correctly
@Prompt(1,2,3,4,5) insert a prompts in SQL. When the user runs the query, the user is prompted to enter a value for a refresh each time.
1 = 'Prompt Text Message'
2 = 'Prompt Type' (i.e. A,N,D,U)
where A= Character, N= Number, D= Date, U= Unit.
3 = 'Class Name/ Object Name'
4 = 'Multi/ Mono'
Multi means Multiple ( Example = 2004,2005,2011)
Mono means Single ( Example = 2012)
5 = Free/Constrain (Type value or select value in LOV/ Select Value)
Example for creating a @prompt filter is below
@Prompt('enter year','A','time period/year', Multi', Free)
Pointer to a “List of Values” from an existing universe object. You invoke the target list of values by double-clicking on the object contain ing the list of values that you want to use in the "Classes and Objects" panel. This gives the Class name and the Object name, separate ed by a backslash. It must be enclosed in single quotes. For example: 'Client\Country'. When you are using “Index Awareness”, and you want to return the key values for an object,set the 5th value to primary_key
• Hard-coded list of single values or value pairs. The values in a pair are separated by a colon. Each value is enclosed in single quotes. The pairs of values are separated by a comma. The whole list is enclosed in curly brackets. Set the constraint to primary_key
http://www.businessobjectstips.com/tips/web-intelligence/prompt-functions-the-next-step-optional-prompts/ -
Extending LOV that is used in multiple places
Hi,
I am planning to extend organization VO in iRecruitment (vacancy creation) to restrict the LOV based on organization type. This LOV is very common and is using in multiple places in he application.
I am new to this and i need to know that by extending such kind of LOV, will the affect appear on the whole application where this LOV is using or only at particular place ???
Regards
AyazAnoop,
Responsibility : Recruiter Home
Function : Vacancy Creation / Vacancy Search
Page : /oracle/apps/irc/vacancy/webui/VacSrchPG.VacancySearchQuery.IRC_ORGANIZATIONS_LOV
VO Name : oracle.apps.irc.lov.server.OrganizationsLovVO
Is it possible to extend the VO so that it will affect on vacancy search page ONLY as i want to restrict the search on the basis of login in user organization id only.
But while creating this will work as it is.
Regards
Ayaz
Maybe you are looking for
-
Running into issue with undo/redo(ctrl-z,ctrl-y) generating 'Save Changes to filename' pop up after 3 or 4 clicks. Is there a way to turn this off?
-
HT204053 how to setup icloud on my iphone
how to setup icloud on my iphone
-
Hi all , We r working on FIAR overdue report . I have to display the Amount key figure from the 0FIAR_O03 ODS based on the following conditions: 1.Key date(in selection screen) > Net due date 2.Posting date <= key date(in selection screen) 3.Clearing
-
Getting problems with one book
Hi everyone. I have never experienced this before and its really holding me up. When trying to output this one book its failing every time with a hang. But completly randomly, sometimes it gets to page 100 sometimes 125. If I watch where it hangs, I
-
Cannot uninstall PC Suite therefore cannot install...
Dear All, I have just tried to install a new version of the PC suite and get the following error; "This version of PC Connectivity Solution cannot be used with the currently installed version of Nokia PC Suite. Update or uninstall Nokia PC Suite befo