Data tables more than one list
Is it possible that we use more than one list in a datatable
say i have a table with 10 columns and there are 3 each from 2 database tables and 4 from other .
one way is to wrap around all those in a custom object and then create a list of objects and display in the data table which is not very efficient
Any ideas
Create a view or a query that do what you want, then wrap it around an object that is what you show on the datatable.
Similar Messages
-
JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC
Hi,
I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
Regards
KumarHI,
Yes it can be possible ,please see the following links
JDBC Receiver with Oracle Stored Procedures
configuring jdbc adapter with multiple tables
RFC -> XI -> JDBC Scenario Updating Multiple Tables
/people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
JDBC Adapter multiple Selects
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
Regards
Chilla.. -
Is there any way to set more than one list validation setting?
Can I set more than one list validation setting without using any coding? It seems strange that you can only have ONE per list (and I don't want just a single column validation).
Hi,
You can use the logical operators to realize multiple columns validation like
=AND(Birthday>DATE(2001,7,1),Location="New York").
For more details, please refert to:
http://msdn.microsoft.com/en-us/library/bb862071.aspx
Regards,
Seven -
Submitting data to more than one table
I want to be able to use one form to submit data to two or
more tables in the same database. Does anyone know if this is
possible and if so how would I go about it. I understand how to use
a form to submit to one table I am just stuck on more than one.
I am using Access 2000 and DW MX 2004
thanks in advanceIt's usually best to use a stored procedure to handle
this. -
Not able to view data from more than one data package in PSA
Hi Friends,
Desparetly trying to view data in PSA. Problem :
If i mark more than one datapackage this error raises:
You must only select one data packet when entering data record numbers
Message no. RSAODS127
And there is no change to reset data record numbers.
What is wrong ?
Thanks in advance for help.
Joe
BW3.5, SP21
Edited by: J.F.B. on Jul 2, 2009 11:40 AMHi again,
Seems I'm too stupid for this issue.......
As I understand there are two ways to view PSA :
1. PSA maintenance in RSA1
2. In SE11/SE16 viewing the underlaying transparent table
ad 1.
When I try to filter erroneous records for more than one datapackage situation is as described above.
ad 2.
Trying to view the table works, but where is the chararcteristic/field marking a record as erroneous
in table /BIC/Bxxxxxxxx (table containing PSA-Data) ?
Thanks
Joe -
Get the data with more than one of the desired value
Hi,
I need to pull the records with more than one value of 'Other' on the delivery days fields.
The delivery fields are mon,tue,wed,thu,fri and sat that tells the where the item will be delivered. The value can be Home, Work, or Other.
Here is the Sample data:
cust_id: 123
item: newspaper
mon: Home
tue:Work
wed: Other
thu: Home
fri: Other
sat: Other
And here is my query so far.
select
cust_id,
item,
mon,
tue,
wed,
thu,
fri,
sat,
sum(case when (del_mon = 'O' or del_tue ='O' or del_wed ='O' or del_thu ='O' or del_fri ='O' or del_sat='O') then 1
else 0 end) as day_ctr
from customer
Could you please help me with the right formula I need to get this?
Thank you in advance..First
DESC customer
Second
Can you explain what you are trying with
sum(case when (del_mon = 'O' or del_tue ='O' or del_wed ='O' or del_thu ='O' or del_fri ='O' or del_sat='O') then 1 else 0 end) as day_ctr
Third
Usually it's helpful a example of the result you want...
Perhaps you want this
select DECODE(mon,1,(select distinct mon from customer), 'OTHER') mon,
DECODE(tue,1,(select distinct tue from customer), 'OTHER') tue,
DECODE(wed,1,(select distinct wed from customer), 'OTHER') wed,
DECODE(thu,1,(select distinct thu from customer), 'OTHER') thu,
DECODE(fri,1,(select distinct fri from customer), 'OTHER') fri,
DECODE(sat,1,(select distinct sat from customer), 'OTHER') sat from
select
COUNT(DISTINCT mon) mon,
COUNT(DISTINCT tue) tue,
COUNT(DISTINCT wed) wed,
COUNT(DISTINCT thu) thu,
COUNT(DISTINCT fri) fri,
COUNT(DISTINCT sat ) sat
from customer
) -
Can you point remote telemetry data to more than one computer running Scout?
If more that one person on a team wants to profile something, it seems there are 3 choices,
run Scout on the same test machine (this is not always possible or desirable)
remote profile using a single, designated computer running Scout
manually edit "TelemetryAddress" to point to the person's computer wanting to do a test
Is it possible to point the telelemtry to more than one remote machine?
For example can the flag entry in teleletry.cfg have multipe remote IP's? Something like
TelemetryAddress=192.168.1.20:7934, 192.168.1.55:7934
It appears not. What's your say?
My current setup:
I have a low end test computer on which I run the Flash content (i.e. Scout is not installed/doesn't run on this computer). Following the instructions given under "Remote profiling for desktop content", the ".telemetry.cfg" file points all telemetry data to a remote computer running Scout.I realize this is an old thread, but I couldn't help but consider this interesting question.
You could, on a linux or OS X box -- as along as they have the netcat and tee utilities -- listen on the telemetry port and forward to multiple recipients. The command to listen to port 7934 and relay to both two other machines, 10.0.1.100:7934 and 10.0.1.101:7934, is:
nc -l 0.0.0.0 7934 | tee >(nc 10.0.1.100 7934) >(nc 10.0.1.101 7934) > /dev/null
You can add as many recipients as you like with more >(nc ipaddress 7934) clauses in the middle.
In this case, point your .telemetry.cfg at the machine running this script, and it will forward the telemetry data to the IP addresses you specify. If they're all running Scout, they should all see the data.
For kicks, here's a couple other useful commands:
Capture telemetry data to a file: nc -l 0.0.0.0 7934 > data.flm
Push saved data.flm file to Scout on localhost port 7934: nc localhost 7934 < data.flm
Just one more reason Linux rules. Hope this helps someone!
Best,
-Jeff -
How to use cursor data in more than one location in form?
hi all.
is it possible to make cursor as global or public in the form so i can use its data in more than location for testing like in buttons triggers.
for example:
if i declare the following cursor in "WHEN-NEW-FORM-INSTANCE" trigger
CURSOR cur
IS
SELECT ID, NAME
FROM PERSON;how can i use this cursor in other triggers in other buttons in the form?
thankskareem wrote:
now i have the old data- from cursor and the new- from tableNo, you have not. When you open the cursor you get the state of the database at the current SCN.
If you
- open your cursor, fetch the data and close the cursor
- update some data
- open your cursor, fetch the data and close the cursor
you will get the updated data from your cursor the second time (unless your update isn't a uncommited autonomous transaction but I wouldn't go down that route).
You will have to save your data somewhere or you might take a look at flashback: http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i20759
cheers -
How to use cursor data in more than one location in the form?
hi all.
is it possible to make cursor as global or public in the form so i can use its data in more than location for testing like in buttons triggers.
for example:
if i declare the following cursor in "WHEN-NEW-FORM-INSTANCE" trigger
CURSOR cur
IS
SELECT ID, NAME
FROM PERSON;how can i use this cursor in other triggers in other buttons in the form?
thankskareem wrote:
now i have the old data- from cursor and the new- from tableNo, you have not. When you open the cursor you get the state of the database at the current SCN.
If you
- open your cursor, fetch the data and close the cursor
- update some data
- open your cursor, fetch the data and close the cursor
you will get the updated data from your cursor the second time (unless your update isn't a uncommited autonomous transaction but I wouldn't go down that route).
You will have to save your data somewhere or you might take a look at flashback: http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i20759
cheers -
Paste data to table more than one screen
We have some list of materials need to be pasted from Excel to many transactions like MIGO or VA01 - the item overview table.
It appears that the number of rows that can be pasted in these transactions are restricted by the rows shown on the screen.
Can I paste data more than the number of rows appear on the screen ?BDC means Batch Data Communication.
You will get to know about BDC if you go thru this link.
http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
Reward points if helpful.
Thanks
Aneesh. -
Looking data from more than one table and inserting into another.
Hello,
I am giving you the Table structures as per my requirement..
CREATE TABLE TEMP_A
(NAME VARCHAR2(100) primary key);
CREATE TABLE TEMP_B
(STRUCTURE VARCHAR2(10));
CREATE TABLE TEMP_C
( NAME VARCHAR2(100),
STRUCTURE VARCHAR2(10),
VALUE VARCHAR2(10));
Alter table TEMP_C
add constraint fk_name_tempc foreign key(name) references TEMP_A(name)
INSERT INTO TEMP_A VALUES('SMITH');
INSERT INTO TEMP_A VALUES('ALLEN');
INSERT INTO TEMP_A VALUES('WARD');
INSERT INTO TEMP_A VALUES('JONES');
COMMIT;
INSERT INTO TEMP_B VALUES('IN');
INSERT INTO TEMP_B VALUES('IN_MIN');
INSERT INTO TEMP_B VALUES('IN_TYP');
INSERT INTO TEMP_B VALUES('IN_MAX');
INSERT INTO TEMP_B VALUES('DIP');
INSERT INTO TEMP_B VALUES('TIM');
COMMIT;
INSERT INTO TEMP_c VALUES('SMITH','C1','');
INSERT INTO TEMP_c VALUES('SMITH','C2','');
INSERT INTO TEMP_c VALUES('SMITH','D1','');
INSERT INTO TEMP_c VALUES('ALLEN','D2','');
INSERT INTO TEMP_c VALUES('ALLEN','R1','');
INSERT INTO TEMP_c VALUES('WARD','R2','');
COMMIT;
i want to say is it should insert into table 'TEMP_C' values as :
For 'SMITH' there should be (6 * 3) = 18 records.
( 6 distinct values of TEMP_B for SMITH to be inserted into TEMP_C against 'C1')
( 6 distinct values of TEMP_B for SMITH to be inserted into TEMP_C against 'C2')
( 6 distinct values of TEMP_B for SMITH to be inserted into TEMP_C against 'D1')
For 'ALLEN' there should be (6 * 2) = 12 records.
( 6 distinct values of TEMP_B for ALLEN to be inserted into TEMP_C against 'D2')
( 6 distinct values of TEMP_B for ALLEN to be inserted into TEMP_C against 'R1')
For 'WARD' there should be (6 * 1) = 6 records.
( 6 distinct values of TEMP_B for WARD to be inserted into TEMP_C against 'R2')
Like this if there are records for JONES also , it should also do the same way( Depending on the No. of records present
in the table 'TEMP_C' for 'JONES').
Thanks in advance,
AmkotzIs this what you are looking for?
SQL> insert into temp_c (name, structure, value)
2 select c.name, c.structure, b.structure
3 from temp_a a, temp_c c, temp_b b
4 where a.name = c.name
5 ;
36 rows created.
SQL> select * from temp_c;
NAME STRUCTURE VALUE
SMITH C1
SMITH C2
SMITH D1
ALLEN D2
ALLEN R1
WARD R2
SMITH C1 IN
SMITH C1 IN_MIN
SMITH C1 IN_TYP
SMITH C1 IN_MAX
SMITH C1 DIP
SMITH C1 TIM
SMITH C2 IN
SMITH C2 IN_MIN
SMITH C2 IN_TYP
SMITH C2 IN_MAX
SMITH C2 DIP
SMITH C2 TIM
SMITH D1 IN
SMITH D1 IN_MIN
SMITH D1 IN_TYP
SMITH D1 IN_MAX
SMITH D1 DIP
SMITH D1 TIM
ALLEN D2 IN
ALLEN D2 IN_MIN
ALLEN D2 IN_TYP
ALLEN D2 IN_MAX
ALLEN D2 DIP
ALLEN D2 TIM
ALLEN R1 IN
ALLEN R1 IN_MIN
ALLEN R1 IN_TYP
ALLEN R1 IN_MAX
ALLEN R1 DIP
ALLEN R1 TIM
WARD R2 IN
WARD R2 IN_MIN
WARD R2 IN_TYP
WARD R2 IN_MAX
WARD R2 DIP
WARD R2 TIM
42 rows selected.
SQL> -
Get data with more than one table
hi Gurus,
I am from ABAP and now am doing Crystal reports...please bear with me if am silly.
in ABAP I have developed a report based on my select statement.
ex : **SELECT SINGLE * FROM cabn WHERE atnam EQ 'Z10_OPS_INC_REGION'.**
CLEAR ausp_objek.
CONCATENATE cciht_ihva-recn cciht_ihva-actn INTO ausp_objek.
CLEAR ausp.
now i have value in ausp_objek based on this i gone to other table to get the ausp-atwrt
SELECT DISTINCT atwrt FROM ausp
INTO CORRESPONDING FIELDS OF TABLE lt_ausp
WHERE objek EQ ausp_objek
AND atinn EQ cabn-atinn
so i have value in lt_ausp-atwrt which i wanted..
so in CRYSTAL How does this work???...i have linked the tables but it is not a direct value from single table...at this point how do we get the desired results...
hope am clear...
thank you,
pasala.Hi Pasala,
Nothing silly about it... We have a forum called SAP integration Kit which is both familiar with ABAP and CR so I moved your post to that forum.
Try searching on the home page for this forum on "ABAP" and you'll find lots of examples and suggestions and of course others will help too.
Don -
Retriving data from more than one table
I have 6 tables with name A,B,C,D,E,F all of them have 1 column as common. I need help in developing a sql query which will give me name of table where record is present and number of its occurrences.
926085 wrote:
I have 6 tables with name A,B,C,D,E,F all of them have 1 column as common. I need help in developing a sql query which will give me name of table where record is present and number of its occurrences.You can check the table_name where column value is present by
select table_name, AVG_COL_LEN from user_tab_columns where column_name='ID' and AVG_COL_LEN != 0;You'll get the results if you have all these table analyzed -
One Table more than one Relationship to same Table
Hello,
I have the following scenario.
One Table called Hotel and one Table Called Competitor. Each hotel can have several competitors. So i structured the tables in my Azure SQL database like this:
Hotel:
HotelID (int, Primary Key)
Name (String)
etc.
Competitor Table:
ComeptitorID (int identity Primary Key)
HotelID int
CompetitorHotelID int
When i import the tables in my LS Project i get some issues, like the autocomplete box are not filled up.
Is there a problem if a table has two references to the same table.
Thank you so much for amy helpHi, this setup works in LightSwitch built in the intrinsic data source.
Hotel <Zero_or_1-to-Many> Competitor <Many-to-Zero_or_1> Hotel
So a hotel can have many competitors and a competitor can compete with many hotels.
Is it possible for you to switch to this?
Cheers
Dave
Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer. -
Adding Insert & Updated By User Info In table(more than one user)
Hi All,
I have bonus table(column empid,empnm,percentage,insertedby,updatedby) with logged user as user1.
Now i create a application in which at one page i added a report with form.My intention is that
when i insert a new record the insertedby & updatedby column shld be automatically added with APP_USER.
But after logged in with diff user say user2 the report shld have user1 in two columns.But now as user2
when i want to modify that record the updatedby column value should have user2.How can i achieve that?
If u have any further issue for not understanding kindly revert back to me.
Thanks in advance .
Bye,The best thing to achive this is to use triggers - before or after insert or update. Assuming that your collumns, where you store the user information are named like:
user_created and
user_changed
you need two triggers:
1. for inserting new rows:
CREATE OR REPLACE TRIGGER trigger_name
BEFORE INSERT
ON your_table
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
BEGIN
:NEW.user_created := NVL (htmldb_application.g_user, USER);
:NEW.user_changed := NVL (htmldb_application.g_user, USER);
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
2. for updating rows:
CREATE OR REPLACE TRIGGER trigger_name
BEFORE UPDATE
ON your_table
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
BEGIN
:NEW.user_changed := NVL (htmldb_application.g_user, USER);
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
There are of course other methods where you can create simmilar processes managed by the application but the best was is to do it on the database level, using triggers.
Denes Kubicek
Maybe you are looking for
-
IPhone 5S 8.1.2 calendar does not sync with macbook pro yosemite
Today i added iCloud account on phone and lost almost all calendar events on phone.
-
Will logic pro x run on my mac mini dual core intel i5 with 4gb of ram and mountain lion ?
hi there guys, will logic pro x run on my mac mini dual core intel i5 with 4gb of ram and mountain lion ? I'm not sure if my machine is 64 bit - it is the current model base mac mini. Many thanks for any help you can offer ! Simon
-
"itunes has stopped working" after connecting ipad mini to computer Windows 7
itunes can play 2 out of 10 movies already on my computer. Otherwise, when I start to play the other movies, I get the notice itunes has stopped working etc. Quicktime Player VERSION 7.7.4 can get to the Apple Store and order a movie. But when I ins
-
Hi All, Does anyone know what should I do if I found that my system has high buffer swaps. The hit ratio is good enough(99%). Thanks & Regards, Casper
-
Hi, Client required printing check from APPS. For that we have customized Cheque format and registered in APPS server. Now we are trying to take print out for Cheque. The problem is sever having Linux operating system and printer connected in client