Unable to generate spool for two tables in report output
Hi,
I created report with two custom containers displaying two tables in output. When I execute the report in background spool is created only for one table in top custom container.
What should be done to generate spool for both the tables in two different custom containers.
Thanks,
Abhiram.
Hi,
Check the bellow link for your requirement.
<<link removed>>
Regards,
Goutam Kolluru.
Edited by: kishan P on Feb 2, 2012 1:50 PM
Similar Messages
-
Unable to generate statistics for the table
I have got a staging table of more than 600 columns which has got range portioning. Size of the table is 4GB. The average size of the row is around 3 MB. I have created a Functional index on one of the column ABC VARCHAR2(50) and it has only number values. Now when I try generating statistics for this table through ANALYZE or DBMS_STAT, it gives Invalid Number error but when I drop this index and try analyzing, it works.
Executed TO_NUMBER(ABC) query on the table and it works fine.
I have got Functional Indexes on other tables also but I don't get such problem with those tables. I tried dropping the index and re-creating it but it didn't work out.
I was suspecting DATA BLOCK CORRUPTION so checked ALERT LOG and TRACE FILES but found nothing.
So what is this magic called?I am using TO_NUMBER on the column.
I have checked the MetaLink for the same problem but could not find anything on that. I still suspect datafile error which I am unable to get in ALERT LOG or TRACE FILES. So I am going to try it this way:
1) Create new Tablespace with New Datafile
2) Transfer the table from existing Tablespace to new Tablespace
3) Create the functional index in the same new Tablespace
4) Try generating the statistics.
5) If it works then create seprate Tablespace for data and Index.
Hope it works !!
Thanks for the reply guys. -
Unable to generate spool in certain t codes
Dear All,
I am unable to generate spool for cetain t codes like mctg. I am able to see the report complete in sm37, however unable to see the result in sp02, plz help?Hi,
please have look at these Links:
No Spool Request Generated: Analyzing a Spool Dump (SAP Library - SAP Printing Guide (BC-CCM-PRN))
Spool is not generating. -
Is table maintenance generator only for custom table?
hi ,
i have doubt is table maintenance generator only for custom table?hi swamya,
Table Maintanance Generator is used to create/change/delete table entries in a particular table.
In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.To view the contents of the database table, we will use SE16n in Production system. All these authorizations will be maintained by BASIS team, by creating access profiles.So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system.
The second reason is, we can edit or create multiple entries at a time, using tablemaintenance generator.
Apart from that we have options like 'Enter conditions' in table maintenance screen SM30.
hope this helps in clearing ur doubt.
Regards
Saurabh -
Unable to run payroll for two employees who rejoined the company.
Dear Community,
We are unable to run payroll for two employees who have rejoined the company.
Any guidance would be appreciated.
Thanks in advance.Hi,
Can you check payroll status of the mentioned employees in PA30. (IT0003)
See whether employee number has been locked for payroll or there are dates in the fields for retroactive calculation etc.
Regards;
Okan -
Generate script for filling table
Hi all,
I've got table at test Oracle server table1 with columns ID, BTYPE, MYDESCRIPTION. Rows of this table have been inserted manually. Now my need is to write script for creating table (structure + data). I think about writing something like
CREATE TABLE table 1
AS
SELECT 1 AS ID, 'TYPE1' AS BTYPE, 'SOME TEXT' AS MYDESCRIPTION
UNION ALL
SELECT 2 AS ID, 'TYPE2' AS BTYPE, 'SOME TEXT 2' AS MYDESCRIPTION
But rows are too many to type... Could you please suggest some way of generating script for creating table at working server using existing table at test server? The problem is I don't have an access to working server.
Thanks ahead.Use the view user_tab_cols
say
declare
cursor c1 is
select 'e_'||column_name ||' '||data_type||' ('||data_length||') ' col
from user_tab_cols
where table_name = 'DEPARTMENTS'
union
select 'd_'||column_name ||' '||data_type||' ('||data_length||') ' col
from user_tab_cols
where table_name = 'EMPLOYEES';
v1 varchar2(500);
begin
v1 := 'create table new_tabl (';
for i in c1 loop
v1 := v1||i.col||',';
end loop;
v1 := substr(v1,1,length(v1)-1);
dbms_output.put_line(v1||')');
end;
/i am using employees and departments table of hr schema.
now as both the tables have some column column so i have used e for employees and d for departments
just do one thing remove the length for date data type in o/p i dont know why it is not working.
this will give you structure for data use any sql stmt
Edited by: 810345 on Jun 9, 2011 9:58 PM -
How can we stop generating spools for some batch jobs?
HI guys,
Is memory will be occupied in SAP during spool generation from batch jobs ?
If yes, to reduce occupied memory, we want to stop generating spools for few batch jobs. Please suggest me the way how we can acheive this.(Step details)
Please help me.
Thanks in Advance.
Regards,
SahilStopping the spool generation for background jobs will not help you to reduce the memory load.
First check what is the total memory utilization and type of processes where the memory is being utilized more.
EWA can give you better idea to get the above details.
Spooling concept doesn't eat that much of memory what you are expecting.
Regards,
Nick Loy -
Internal Error - Unable to generate SQL for this Scheduled Workbook
I am encountering the following error when loading the results of a Scheduled Workbook;
Internal Error - Unable to generate SQL for this Scheduled Workbook (If you scheduled this workbook using a previous version of Discoverer, please reschedule and re-open)
This only happens for one of the scheduled workbooks and I am struggling to find an explanation to the problem. There are no reference to database links in the workbook so I can rule that out as a cause.
Does anyone have any suggestions to what might be causing the problem?
Many thanks
StewartHi,
The version is OracleBI Discoverer Plus Version 10.1.2.48.18. Do you think this has anything to do with it?If you are on this version, then you have the recommended patches applied.
Did you try to reschedule the workbook and see if this helps in resolving the issue?
I would suggest you enable server logging as this may help in collecting more details about the error.
Note: 403689.1 - How To Generate Discoverer 10g (10.1.2) Session Server Logs In Text Format
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=403689.1
Regards,
Hussein -
Simple SELECT query to generate INSERT for a table
Hi,
I am looking for a SELECT query which generates INSERT statements for a table.Please guide.
Thanks
PG.Like this?
SQL> SELECT * from kons;
COL1 COL2
1 1
2 2
SQL> SELECT 'INSERT INTO kons VALUES('||col1||','||col2||');' statement FROM kons;
STATEMENT
INSERT INTO kons VALUES(1,1);
INSERT INTO kons VALUES(2,2);
SQL> If you have character and / or date columns you will have to change my example,
but you might get the idea from it.
You can spool the result to a file.
Regards,
Guido
Edit: ';' added to end of statement... -
How to use the TableSorter for two tables at the same view?
Hello,
I am using the TableSorter object in order to sort Dynpro tables.
Suppose I have two tables at the same view, is it possible to use it seperatly for both of them?
I assume that at the wdModifyView method I will need to catch the table that the user clicked on, yet I don't have an idea of how to do it...Hi Roy,
Constructor of TableSorter
public TableSorter(IWDTable table, IWDAction sortAction, Comparator[] comparators)
So, you have to create instance of TableSorter class for each table on the view.
best regards, Maksim Rashchynski. -
ODBC driver hangs for two table joining
Hi,
I was trying to access two tables with the following statements. I used Oracle 8 ODBC driver to access Oracle 9 database. Statement 1 and 2 are working fine but executing Statement 3 will hangs the program.
Statement1: SELECT (fields from two table) from (table1 and table 2) where table1.key=123
Statement2: SELECT (fields from two table) from (table1 and table 2) where table2.key=345
Statement3: SELECT (fields from two table) from (table1 and table 2) where table1.key=table2.key
In the tables 1 and 2 there was no match key, but it should return NULL or nothing.. instead it hangs...
Anyone encounter this problem before? Thanks a lot for replying me...
KeithHi,
I have updated driver to the latest 8.1.7.8.10 which is availiable at the oracle-> download... but the problem still exit... execute sql statment 3 still hangs... :(...
Thanks for your advice.. -
Hi,
I have this problem, How can query a two table?
Table A -> Table B
id table-a_id
name table_b_name
the relationship is one-to-many
How can I get the result?
Hope my question make sense
cheers.
thanks a lot.I bet you have more luck looking for an answer in a SQL forum.
-
Generate dbsequnce for a table using a bean
Is it possible to generate the next dbsequence for a table using bean?
ThanksIf you are only interested in the number in the bean, you should implement a service method in out application module, expose it to the client interface and call this via the binding layer.
public oracle.jbo.domain.Number getSequenceNumber() {
try {
String seq = "YOUR_DB_SEQUENCE_SEQ";
oracle.jbo.server.SequenceImpl empSeq =
new oracle.jbo.server.SequenceImpl(seq, getDBTransaction());
oracle.jbo.domain.Number zSerienNrSeq = empSeq.getSequenceNumber();
return zSerienNrSeq ;
catch (Exception e) {
e.printStackTrace();
return null;
}Timo -
Unable to retrive data from two tables using multiple joins
Hi,
Table: EMP mgr
eid name
eid mgrid
1
A 1
null
2
B 2
3
3
C 3
3
i need to get result as:
eid ename mgrname
thanks
AVSSai,
It would be very helpful if you could mention your table structures a bit more clearly. Would allow for effective replies from fellow users as well. :)
However, assuming that your structure would be as follows presenting the query as below:
DECLARE @Emp TABLE(Eid Int, ename Varchar(50))
DECLARE @Emp_Mgr TABLE(Eid int, mgrid int null )
INSERT INTO @Emp select 1,'Ram'
INSERT INTO @Emp select 2,'Shyam'
INSERT INTO @Emp_Mgr select 1,NULL
INSERT INTO @Emp_Mgr select 2,1
SELECT * FROM @Emp
SELECT * FROM @Emp_Mgr
Query to print results as EID, ENAME, MGRNAME
SELECT em.eid,e1.ename as ENAME,e2.ename as MGRNAME
FROM @Emp_Mgr em
JOIN @Emp e1 ON em.eid=e1.eid
JOIN @Emp e2 ON em.mgrid=e2.eid
However, as you see this approach of maintaining two tables for preserving the employee-manager data is redundant and makes the queries unnecessarily complex. So, you could opt for the widely used single table format as mentioned by Praveen as well. Check
if this helps you..
Recommended Structure
*Avoidance of redundant storage of data
*Lesser Joins in queries
DECLARE @Emp TABLE(Eid Int , Ename Varchar(50) , mgrid int null )
INSERT INTO @Emp(Eid , ename , mgrid) values(1 , 'Ram' , null) , (2 , 'Shyam' , 1)
SELECT * FROM @Emp
Query to print results as EID, ENAME, MGRNAME
SELECT e.Eid , e.Ename , m.Ename as MgrName
FROM @Emp e
JOIN @Emp m On a.mgrid = b.eid
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
Hoe to create rounded corners for the tables in PDF output
Hi,
How can I format the table corners to be rounded in XML Publisher rtf file. Can any one help me in this.
Thanks,
HC.There is no direct solution, you need to use workarounds.
Try having a shape such as a rounded rectangle on your table with clear fill and invisible table borders.
This works perfectly well for static tables.
I havent tried for for-each tables.
Maybe you are looking for
-
Closing the report's confirmation window
Hi All, I am using developer 10g and I am calling a report from the form. this report its DISTYPE is FILE after the report is generated and created the file a window apear that the report generated successfully. I need to hide this confirmation becau
-
Hi All... I'm developing a BI Pub report using the table wizard plugin in the template builder..I'll be getting an output as below.. name rank code amount product1 1 pd1 1000 product1
-
Blank page when opening Safari 4 - no top sites or cover flow
When I open Safari 4 Beta, I do not go to the home page that I have selected in Preferences or to any cover flow display of sites that I have visited, but to a blank page with the address "topsites://" that has a message on it which says, "Safari can
-
Do I use the thunderbolt port or the hdmi port for my monitor?
I'm getting a 1080p hd monitor. i have a macbook pro with retina. Should i plug the monitor in using a hdmi to hdmi or should i use a thunderbolt to hdmi?
-
How to save media files (mp3) on ipad?
I have seen that iPad only plays songs/videos directly if we try to download them even from download link? Can anyone help me how to save those songs/videos instead of playing them without using third party application? or if third part then which on