GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Oracle  >  D2K
Go To First  |  Previous Question  |  Next Question 
 D2K  |  Question 10 of 69    Print  
How to convert a report into excel sheet

  
Total Answers and Comments: 14 Last Update: June 17, 2008     Asked by: oswal.anand 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
  Sorting Options  
  Page 1 of 2   « First    1    2    >     Last »  
January 04, 2006 05:38:00   #1  
Shyam Kumar Gorthi        

RE: How to convert a report into excel sheet
after running the report click on print and then check the print to file option. after saving the file can be opened by pressing shift button and right clicking on the file and choosing open with and then excel
 
Is this answer useful? Yes | No
January 10, 2006 05:54:34   #2  
smithamd Member Since: January 2006   Contribution: 2    

RE: How to convert a report into excel sheet
In After Report Trigger, you can create a file in excel format using Text.IO and pressing TAB for column breakup
 
Is this answer useful? Yes | No
March 20, 2006 23:16:00   #3  
yogesh amritkar        

RE: How to convert a report into excel sheet
Pl. give Me solution and with Example.yogesh
 
Is this answer useful? Yes | No
March 31, 2006 04:22:26   #4  
Mukts        

RE: How to convert a report into excel sheet

set system parameters

destype=file

and

desformat=delimited


 
Is this answer useful? Yes | No
April 12, 2006 06:04:29   #5  
venkateswarlu        

RE: How to convert a report into excel sheet

Can u please explain how to conver reports 3.0 to excel sheets

Thanks and Regards,

Venkat


 
Is this answer useful? Yes | No
April 14, 2006 16:04:51   #6  
ravi shekhar        

RE: How to convert a report into excel sheet
hw 2 upload from SAP to excel??
 
Is this answer useful? Yes | No
June 27, 2006 11:16:50   #7  
altaf ahmed        

RE: How to convert a report into excel sheet

I am using report designer 2.5 Version.  Kindly advise how to convert the reports into Excel Format.

I will be grateful for the solution.

Regards,

Altaf


 
Is this answer useful? Yes | No
September 06, 2006 01:59:59   #8  
nikhil        

RE: How to convert a report into excel sheet
how to convert the report into excel sheet format.
 
Is this answer useful? Yes | No
November 04, 2006 00:52:22   #9  
asha        

How to convert a report into excel sheet

plz tell me How to convert a report into excel sheet

with example


 
Is this answer useful? Yes | No
February 20, 2007 07:18:11   #10  
MANISH SHARMA        

SOLUTION--How to convert a report into excel sheet
 hey try this example......well its procedure...u can apply on the report(triggers) like on a button or something...
procedure U_1ButtonAction is
CURSOR cur is
  SELECT A.EMP_CODE,A.EMP_TITLE ||' '||A.EMP_FNAME ||' '||A.EMP_LNAME EMP_NAME,A.EMP_DEPT,A.EMP_TYPE,EMP_DOJ
FROM BPAYT030 A WHERE A.EMP_TYPE = DECODE(:P_EMPTYPE,'A',A.EMP_TYPE,:P_EMPTYPE)
AND A.EMP_DEPT = DECODE(:P_EMPDEPT,'A',A.EMP_DEPT,:P_EMPDEPT)  AND EMP_STATUS ='Y';
--AND A.JOB_TITLE  = DECODE(:P_JOB,'A',A.EMP_DEPT,:P_JOB)
V_OUTFILE TEXT_IO.FILE_TYPE;
V_OUTSTRING    VARCHAR2(1000);
L_FILENAME     VARCHAR2(100);
L_SR           NUMBER:=0;
L_DESC         VARCHAR2(200);
L_DESC1        VARCHAR2(200);
BEGIN
L_FILENAME := 'C:'||'EMPLOYEE LIST'||TO_CHAR(SYSDATE,'DDMMRR')||'.CSV';
 V_outfile := text_io.fopen(L_FILENAME,'W');    
 V_outstring := ','||','||'EMPLOYEE TYPE/DEPARTMENT WISE DETAILS';
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);
V_outstring :='';
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);
V_outstring := :P_COMP;
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);
  --EXCEL FILE HEADS
 V_outstring :='EMPLOYEE TYPE'||','||'DEPARTMENT'||','||'CODE'||','||'DOJ' ||','||'EMPLOYEE NAME';
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);
FOR REC IN CUR LOOP
SELECT CODE_DESC INTO L_DESC FROM BCOMT011 WHERE TYPE_CODE  = REC.EMP_TYPE;
SELECT CODE_DESC INTO L_DESC1 FROM BCOMT011 WHERE TYPE_CODE  = REC.EMP_DEPT;
--DATA IN EXCEL
V_outstring :=  L_DESC||','||L_DESC1||','||REC.EMP_CODE||','||EC.EMP_DOJ||','||REC.EMP_NAME;
TEXT_IO.PUT_LINE(V_OUTFILE, V_OUTSTRING);
END LOOP;
text_io.fclose(v_outfile);
SRW.MESSAGE(100,'File '||L_FILENAME|| ' Generated Successfully....');
EXCEPTION        
WHEN OTHERS THEN
SRW.MESSAGE('1',SQLERRM);
text_io.fclose(v_outfile);
END;

 
Is this answer useful? Yes | No
  Page 1 of 2   « First    1    2    >     Last »  


 
Go To Top


 Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape