Getting individual records in st03.
Hi,
Can anybody let me know how to drilldown for individual records in st03 tcode like stad ?
Thanks in Advance,
Archana
I need to display logo on top of the report, for that reason i have included one database table and mapped it against POJO class in the report file.
So because of this additional table, iam getting each record repeated thrice in the report.........Is there any other way of displaying image in the report using POJO class in crystal report
Similar Messages
-
How to get the individual records
Table A
SNO DAY_FROM DAY_TO
1 1 3
Result:
DAY_FROM DAY_TO
1 3
2 3
3 3
Above mentioned Table DAY_TO value is 3 ,
So in that How to get the 3 individual records for above mentioned row.
Thanks in advance.
Edited by: UserK on Sep 11, 2009 8:14 AM1 with t as
2 ( select 1 day_from, 3 day_to from dual)
3 select day_from +level -1 day_from, day_to
4 from t
5* connect by level <= day_to
SQL>
SQL>/
DAY_FROM DAY_TO
1 3
2 3
3 3 -
Self join to get related records in one row
I have a table that has individual records for each family member.
tPerson.LastName, tPerson.FirstName, tPerson.RelationshipCode, tPerson.FamilyUnitCode, tPerson.JobCode
Smith, John,HD, 1234, AD
Smith, Jill, SP, 1234, TC
Olson, Fred, HD, 2345, AV
Olson, Wilma, SP, 2345, MD
Adams, Nate, HD, 3456, DP
Adams, Heidi, SP, 3456, DP
Franks, John, HD, 4567, AV
Williams, Pauline, HD, 5678, TC
I need to get each family unit in one row, preferably without a group on, for a report because I need to compare the jobcodes of HD and SP to decide how to build an expression for a listing. I need to also get singles with no spouse info.
FamilyCode, Lastname, HDFirstName, SPFirstName, HDJobCode, SPJobCode
1234, Smith, John, Jill, AD, TC
2345, Olson, Fred, Wilma, AV, MD
3456, Adams, Nate, Heidi, DP, DP
4567, Franks, John, NULL, AV, NULL
5678, Williams, Pauline, NULL, TC, NULL
Does the type on constraint affect the effect of an inner join? I have trouble getting the left side returning rows where there is no SP records for that familyCode.
Any help? John>> I have a table that has individual records [sic] for each family member. <<
Rows are not records. And you posted no DDL.
Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying
temporal data. We need to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for:
https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
The sample data looks like it has a tibble on it. This is the classic design error of putting meta data, like a “t-” on tables and data element names. The next classic error you made
is a table name that is singular and vague; do you really have only one “Person” in a table? According to ISO-11179 rules, that is what you said.
>> I need to get each family unit in one row, ..<<
Not in RDBMS. Please look up the term “1NF” or “First Normal Form” which forbids structure data in columns.
But it just gets worse. Being in a family is a relationship, so it has its own table. The individuals are entities, so they have a table. Having a job is another relationship, so it is
in a third table. In your world, all these things are crammed into a single table! This might be how an OO programmer would attempt to do RDBMS that first time, but it is not good. Here is skeleton to get your started:
CREATE TABLE Personnel
(emp_id CHAR(9) NOT NULL PRIMARY KEY,
last_name VARCHAR(20) NOT NULL,
first_name VARCHAR(20) NOT NULL);
CREATE TABLE Family_Units
(family_unit CHAR(4) NOT NULL,
relationship_code CHAR(5) NOT NULL
CHECK (relationship_code IN ('spouse', ????)),
PRIMARY KEY (family_unit, relationship_code),
emp_id_1 CHAR(9) NOT NULL
REFERENCES Personnel
ON DELETE CASCADE,
emp_id_2 CHAR(9) NOT NULL
REFERENCES Personnel
ON DELETE CASCADE,
CHECK (emp_id_1 <> emp_id_2)
CREATE TABLE Employment
(emp_id_1 CHAR(9) NOT NULL
REFERENCES Personnel
ON DELETE CASCADE PRIMARY KEY,
job_code CHAR(2) NOT NULL); -- do you know about DOT codes?
See how we use DRI actions? Etc.
>> I need to compare the job_codes of HD and SP to decide how to build an expression [sic] for a listing. I need to also get singles with no spouse info. <<
Expression return scalar values in SQL. You meant query. Where is the SQL you attempted? Is “spouse” the only relationship?
You have not posted enough information for anyone to really help you. What little we can extract from this says that you have no idea how about RDBMS. Want to do some reading, follow
Netiquette and try again?
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
CUBE Not getting All records from DSO
Hi Experts ,
We have a situation where we have to load data from a DSO to a Cube . The DSO contains only 9 records and while we r loading the data into cube , the cube is only getting 2 records . Thus 7 records are missing. Also The Cube contains more Fields than DSO. in the transformations , for the extra fields we have written end routine and those extra fields will get data by reading master data .. Any pointers how to get the missing records or what is the error ...
SamWhy multiple threads ????
-
Info Cube not getting full records
Hi All,
I am extracting data from the flat file (60k records..of which most fields have binary values),, am getting the values into data source..but when loading from data source to info cube am not getting total records..
the load is successful and it is showing as transferred 60k records and added 510 records in the manage tab of the info cube.
what would be the problem ....any help is appreciated.Hi,
Data with same combination for characterstic is added and only for unique charactersitc value it will give new record.
Material---Customer-Price
10002----- C1--
20
10002----- C1--
20
10002----- C1--
20
10002----- C2--
20
SO As you can see in flat file 4 records are there but in inofcube it will be only 2
Data with same combination of charactersitc is added and with unique combo only it will display.
Hope it clears you.
Also in addition please check the data in flat file.
Regards,
AL -
Not getting all records in pagination
I am also have a problem getting all records in the report as the post on Apr. 21,2004. My reports pagination stops at 500. When I set the 'max row count' to 100000. The pagination at the bottom of my page disapears. When I leave 'max row count' empty, it only goes from 1-500. No way to view records past the 500th record.
I see there was a post on Apr. 21, 2004 about the same thing but it did not specify a fix or work around or if I'm missing a setting. (also tried the log off/on but did not help).
*My pagination Scheme is 'Row Ranges 1-15 16-30 in select list(wiht pagination)'
*My report has 1000+ records.
Thanks, PaulaThe actual number of rows supported by the select list depends on how many rows you show on each page. If you go with the default of 15 rows, you would be able to use the select list with close to 5000 rows. If you increase the number of rows per page, the select list will work with even more rows.
If the select list can't be used, it may make sense to consider using the "row ranges with set pagination" style. Set pagination lets you navigate from one set to the next instead of one page to the next, so you can navigate through your result set a lot quicker.
However the best option for reports with that many rows would be "row ranges x-y", without showing the total number of rows. The reason is that the report renders a lot faster if you don't have the total number of rows calculated. In order to better be able to find certain records, I would recommend a search field on your report page that lets you filter the result set.
Hope this helps,
Marc -
Full update not getting all records from PSA to ODS
Dear BW Masters,
I am working with MM module. Iam using standard extract structure 2LIS_02_ACC
Iam doing full update. Getting full data 1300 records in to PSA. But getting only 298 in to my ODS. I tried changing fields in to KEY FIELDS AND IN TO DATA FIELDS in my ODS
But could not get data.
Pls help me..i have dead line before that i need to complete report on the same.
Its happening with the other HDR and ITM extractors.
PLs help me..Hello,
Look at this example:
R/3 Record:
CustNo | Name | Order | Amount
1234 | Customer1 | Order 1 | 100
1235 | Customer2 | Order 2 | 200
1234 | Customer1 | Order 3 | 300
If Cust.No is Keyfield, In BW you will get 2 records
1234
1235
If Order No is Key field, you will get 3 records.
It is not necessary to get the same no of records as they are in R/3. -
How get all record from master and matching record from detail
hi master
sir i have master detail table
i have many record in master table but some record in detail table how i get
all record from master and matching record from detail
such as
select m.accid,m.title,d.dr,d.cr from master m, detail d where m.accid=d.accid
this query not work that get only related record i need all record from master
please give me idea
thanking you
aamirhi master
sir i have master detail table
i have many record in master table but some record in
detail table how i get
all record from master and matching record from
detail
such as
select m.accid,m.title,d.dr,d.cr from master m,
detail d where m.accid=d.accid
this query not work that get only related record i
need all record from master
please give me idea
thanking you
aamir
select m.accid,m.title,d.dr,d.cr
from master m, detail d
where m.accid=d.accid (+)The outer join operator (+) will get you all the details from master and any details from the detail if they exist, but the master details will still be got even if there are not details.
Note: Oracle 10g now supports ANSI standard outer joins as in:
select m.accid,m.title,d.dr,d.cr
from master m LEFT OUTER JOIN detail d on m.accid=d.accid -
How to get latest record on top of the result list
Hi Gurus,
How to get latest record on top of the result list when you open the record.
saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
Regards,
RaviHi
Try sort descending by on fileld "changed at ".
manipulate the sort depends on your requirement
Regards
Logu -
How to get multiple records using fn-bea:execute-sql()
Hi,
I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
Regards,
Nagaraju
Edited by: user10373980 on Sep 29, 2008 6:11 AMHi,
Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
For example:
fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
Id Name
01 XXX
02 YYY
03 ZZZ
I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
<student>
<Name>XXX</Name>
</student>
I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
Please suggest.
regards,
Venkat -
Data merging: how to get multiple records in single text frame?
Hi
I'm experimenting with data merging in InDesign CS3. The biggest stumbling block I've come across is trying to get my records to flow as continuous text in a single text frame (which would, ideally, autoflow onto new pages in the document). The records vary considerably in length, and so I can't just create a standard text frame to repeat on the page.
Perhaps data merging isn't the best way of doing this and I should be learning to script instead. I feel like I'm just one step away, though.
Any suggestions would be appreciated.OK, new scenario now:
Is it possible to set a text box to auto-resize to fit the content that comes in during the data merge?
I have placed one of my data fields in a text box with a stroke and fill, and placed this as an anchored object in the main text box with the other fields. The problem is that the length of text in this field varies considerably, and I'd like the text to fit snugly within its box. Ideally this text box would not appear at all if the field is blank for a particular record.
I hope I've explained all of that clearly enough. Any ideas? -
How to view individual records instead of aggregated view in BEx report
hi,
i see my key figures as an aggregated view in the report. I wish to see each record separately. How can I do this? Pls help.
For eg:
In Cube Content I see the records like...
Material Cost
M1 1000
M1 2000
M1 3000
M2 7000
In the Report I see the following...
Material Cost
M1 6000
M2 7000
Thanks,
SDHi Sebastian,
To get the records in the query result without aggregation,
1. give the characteristics in the rows and key figures in columns.
(or)
2. assign with a request number for each record, since no two records will have same request number, there is no chance of getting aggregation.
(or) are u using any DSO in ur data flow, if so remove that and directly map to info cube and see the result.
Thanks,
Sai Chand
Edited by: sai chand on Jan 15, 2009 8:38 PM -
How to get the record set into array?
Hi,
I want to get the record set into array in the procedure and do the processing of the array later in procedure.
below is the stored procedure i am working on:
procedure bulk_delete_group(p_group_id in Array_GroupListID) as
begin
for i in p_group_id.first..p_group_id.last loop
--Here I have to get the list of user id before deleting group
SELECT user_id into *<SOME ARRAY>* FROM group_members WHERE group_id = p_group_id(i);
DELETE group WHERE group_id = p_group_id(i);
--Process the user id array after group deletion..
end loop;
end bulk_delete_group;
Thanks in advance
AdityaSomething like this ->
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:00.20
satyaki>
satyaki>
satyaki>select * from emp;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
9999 SATYAKI SLS 7698 02-NOV-08 55000 3455 10
7777 SOURAV SLS 14-SEP-08 45000 3400 10
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 7839 02-APR-81 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7782 CLARK MANAGER 7839 09-JUN-81 4450 10
7788 SCOTT ANALYST 7566 19-APR-87 3000 20
7839 KING PRESIDENT 17-NOV-81 7000 10
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7876 ADAMS CLERK 7788 23-MAY-87 1100 20
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7900 JAMES CLERK 7698 03-DEC-81 950 30
7902 FORD ANALYST 7566 03-DEC-81 3000 20
13 rows selected.
Elapsed: 00:00:02.37
satyaki>
satyaki>create type np is table of number;
2 /
Type created.
Elapsed: 00:00:03.32
satyaki>
satyaki>Create or Replace Procedure myProc(myArray np)
2 is
3 i number(10);
4 rec emp%rowtype;
5 Begin
6 for i in 1..myArray.count
7 loop
8 select *
9 into rec
10 from emp
11 where empno = myArray(i);
12
13 dbms_output.put_line('Employee No:'||rec.empno||' Name:'||rec.ename);
14 end loop;
15 End myProc;
16 /
Procedure created.
Elapsed: 00:00:00.88
satyaki>
satyaki>
satyaki>declare
2 v np:=np(9999,7777);
3 begin
4 myProc(v);
5 end;
6 /
Employee No:9999 Name:SATYAKI
Employee No:7777 Name:SOURAV
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.30
satyaki>Regards.
Satyaki De. -
Hi, Im a bet stressed out i just got the blackberry Curve 8320 from Tmobile and realized it has no Video recording however the person that sold it to me says they downloaded a program like a converter or something and they used to have video recording on it. Can you please tell me how i can get video recording on mine Please. Thank you.
to use video you need an upgrade. The name is handheld device software OS. I believe you have 4.2. 4.5 is required.
You have to wait for TMobile to release the 4.5 OS.
The search box on top-right of this page is your true friend, and the public Knowledge Base too: -
Can't Get Manual Recording To Work
I have been unable to get manual recording to work and thought this was something to do with having dual monitors. I have now disabled my second monitor, and it is still not working for me. It's possible that I have done something wrong or have misunderstood what manual recording is.
To that end I have made a 3 minute video showing you the steps I took while attempting a manual recording of just three print screens. Please could someone take a look ta the video and tell me if what you see is expected behaviour. Thank you.
manual-recording.mp4 - Google DriveThank you for taking a look at the video Rick. You can probably tell this problem is driving me mad.
I did as you suggested but it made no difference to the outcome. So next I uninstalled Captivate, and re-installed with only one monitor active, just in case that mattered. I then kept it at one monitor but even with only one monitor videos appear in my manual captures.
So next I re-enabled my second monitor and ran the test again. On monitor 1, video is included no matter what, and on monitor 2 it isn't. I have filed a bug report with Adobe but so far the response has been to try running it as administrator and also to check the error logs. I checked those and there is nothing but informationals in there.
I also ran the entire test when running as an admin, and the results were the same.
Maybe you are looking for
-
Hello Friends, i have this problem in Bex Message Class: RSBOLAP Message No. 014 " Transformer exception while transforming BEx Web templates". Log defaulttrace "A message was generated: ERROR Transformer exception while transforming BEx Web template
-
ADD A CONTACT TO PHONE HELP HELP HELP HELP
HOW DO YOU ADD A CONTACT TO YOUR PHONE LIST?????? i CANNOT FIND ANY PLACE TO ADD A CONTACT TO MY LIST OF PEOPLE IN MY PHONE BOOK... AND I CANT GET INTO CALL HISTORY BECAUSE IT WANTS A PASSWORD THAT I HAVE NEVER CREATED SO DON'T HAVE ONE I AM QUICKL
-
Best Back-up UPS for MAC Pro?
What is the best back-up battery system to provide UPS and to allow my computer to shut down before the battery runs out? UPS modesl with Parachute worked in the past but I've seen reviews that they are not compatible with Lion. Any suggestions woul
-
I've searched the internet for solutions but I have not seen any solutions. I'm trying to upload an XML IDOC (generated from SAP) back into SAP using IDOC_XML_FROM_FILE. I've configured the my XML port to see the directory where the idoc is stored
-
Transitioning sites to the new Business Catalyst rendering engine (BC.NEXT)
The beta test I did resulted in a broken site I tested it on This is unacceptable implementation practice, unfortunately typical Adobe bulling partners What is also disappointing is the cowardly management practice of making this email announcement o