Reports output not coming in Excel
Hello everyone,
Here Application is 11.5.10.2
We are not getting output in EXCEL format for reports.
We r getting output in PDF and all....
Report is completed successfully............
Please do need full, It's urgent...
Thanks,
I have a requirement for the following scenario.
when I try to click on Privew Button to see the payslip report I get this Error
Please any help
Thanks alot for everbody
Error
java.sql.SQLException: No corresponding LOB data found : SELECT FILE_DATA, DBMS_LOB.GETLENGTH(FILE_DATA), FILE_NAME, LAST_UPDATE_DATE FROM XDO_LOBS WHERE LOB_TYPE = :1 AND APPLICATION_SHORT_NAME = :2 AND LOB_CODE = :3 AND LANGUAGE = :4 AND TERRITORY = :5 at oracle.apps.xdo.oa.schema.server.XdoLobsInputStream.<init>(XdoLobsInputStream.java:108) at oracle.apps.xdo.oa.schema.server.LobHelper.getLob(LobHelper.java:884) at oracle.apps.xdo.oa.schema.server.LobHelper.getBlobDomain(LobHelper.java:918) at oracle.apps.xdo.oa.template.server.TemplatesAMImpl.processTemplate(TemplatesAMImpl.java:2056) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:762) at oracle.apps.xdo.oa.template.webui.TemplateGeneralCO.previewTemplate(TemplateGeneralCO.java:751) at oracle.apps.xdo.oa.template.webui.TemplateGeneralCO.processRequest(TemplateGeneralCO.java:158) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2496) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424) at OA.jspService(_OA.java:212) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:359) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)
Similar Messages
-
Report output not coming correctly
Hi All,
my query is like
select 'gggohpoopiokoljmkjjg@@@@@' record from dual;
where record string's length is more than 2000 characters.
I am using oracle report for this purpose as i have some other validations associated with it.
i am printing the report output in a flat file.i want ALL THE OUTPUT SHOULD COME IN ONE LINE.
but this is not happenning so...for the string lengths more than 1000 it's coming in diff line.
How can i make sure that my output file WILL BE IN SINGLE LINE.
i tried in unix vi editor i can give 3000 charecters but it doesn't go to the second line.
any help on this issue will be helpful
thanks in advanceIf there's no easy way to do it, you may use a "special character", like chr(xx), as your long line delimiter to chop a line into a couple of lines. Then you write a very simple C program to post-process the report output file to remove these "special character".
If all characters are possible in your report file, you may use a string as the delimiter. -
Web Analysis report is not coming with the border/logo/heading while print
Hi All,
I am using 9.3.1 version of hyperion planning were Web Analysis report is not coming with the border/logo/heading while printing with the option "print all object", Only the data grid is coming in the print. If I use "print screen" it is coming with border/logo/heading but it gives a screenshot of the report, that won't cater out need.
So please suggest us with a resolution to have border, logo and heading, while using Print all object.
Thanks with regards....
RaoHi Sagar,
In scripts when you will see print preview the logo will be not shown up with clarity.Take the print out of the document and check whether logo is printing up with clarity.
Thanks
Phani -
Sending report output via E-mail (excel pivoted format)
Hi all,
i have a written a report where i need to send the report output to somebody via
E-mail.i am sending this report output via E-mail successfully.The receiver receives, my output in excel format.but this excel is not <b>pivoted</b>.
i want , the receiver should get my output in pivoted excel format.i.e my output data should be exactly fit in the excel sheet.
now the columns in excel sheet are overlapping.once i double clicked, the columns are getting separated.i do not want to double click.i want all the columns should come properly i.e excel field length should be adjusted as per the output field length.
i am giving my coding below.plz suggest how i can do the above thing .it's urgent.
any idea will be highly appreaciated.
Regards
if not p_email1 is initial.
perform fill_report_csv.
perform f_send_internet_mail.
endif.
FORM fill_report_csv.
data : l_text(232) type c,
v_matnr1(21) type c,
v_matnr(21) type c,
v_matkl(14) type c,
v_maktx(45) type c,
v_ttlstk(14) type c,
v_verpr(14) type c,
v_werks(14) type c,
v_lgort(14) type c,
v_char(10) type c,
v_stks type p ,
v_po(40) type c,
v_qty(13) type c,
v_qty1 type sy-datum,
v_date(15) type c,
v_date1(15) TYPE C,
v_name(35) type c,
v_eknam(18) type c,
v_lifnr(15) type c,
l_po(40) type c,
v_matnr(20) type c,
l_rate(11) type p decimals 5,
l_flag type c.
concatenate c_equal c_colon 'PO no.' c_colon
into v_po.
concatenate c_equal c_colon 'Material no.' c_colon
into v_matnr.
concatenate c_equal c_colon 'Description.' c_colon
into v_maktx.
concatenate c_equal c_colon 'Due Qty.' c_colon
into v_qty.
concatenate c_equal c_colon 'Del Date.' c_colon
into v_date.
concatenate c_equal c_colon 'Vendor.' c_colon
into v_name.
concatenate c_equal c_colon 'Buyer.' c_colon
into v_eknam.
concatenate c_equal c_colon 'Vendor Code.' c_colon
into v_lifnr.
concatenate
v_po v_matnr v_maktx v_qty
v_date v_name v_eknam v_lifnr
into i_download
SEPARATED BY con_tab.
append i_download .
clear : v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
clear wa_output.
loop at i_output into wa_output.
on change of wa_output-ebeln.
clear v_lines.
loop at i_eket into wa_eket
where ebeln = wa_output-ebeln.
v_lines = v_lines + 1.
clear wa_eket.
endloop.
**-- Checking of page break
v_lines = sy-linno + v_lines .
if 55 < v_lines .
write:/0(161) sy-uline.
new-page.
endif.
clear v_lines.
loop at i_eket into wa_eket
where ebeln = wa_output-ebeln.
v_lines = v_lines + 1.
clear wa_eket.
endloop.
*-- Calculating the due qty.
wa_output-dumng = wa_output-menge - wa_output-wemng.
*-- Writing the Line items of the PO.
read table i_ekpo into wa_ekpo
with key ebeln = wa_output-ebeln
ebelp = wa_output-ebelp.
l_rate = wa_ekpo-netpr / wa_ekpo-peinh.
*-- Writing of PO detail
if wa_output-dumng gt 0 .
v_qty = wa_output-dumng.
v_date1 = wa_output-eindt.
v_maktx = wa_output-maktx.
if wa_output-maktx+0(1) = '"' .
concatenate c_equal wa_output-maktx
into v_maktx .
else .
concatenate c_equal c_colon wa_output-maktx c_colon
into v_maktx .
endif .
if wa_output-name1+0(1) = '"' .
concatenate c_equal wa_output-name1
into v_name .
else .
concatenate c_equal c_colon wa_output-name1 c_colon
into v_name .
endif .
v_name = wa_output-name1.
v_lifnr = wa_output-lifnr.
write wa_output-eindt to v_date1 DD/MM/YYYY.
concatenate '="' wa_output-ebeln '/'
wa_output-ebelp '"' into v_po .
concatenate '="' wa_output-matnr '"' into v_matnr .
concatenate c_equal c_colon wa_output-maktx c_colon
into v_maktx .
concatenate c_equal c_colon wa_output-dumng c_colon
into v_qty1 .
concatenate c_equal c_colon wa_output-eindt c_colon
into v_date1 .
concatenate c_equal c_colon wa_output-name1 c_colon
into v_name .
concatenate c_equal c_colon wa_output-eknam c_colon
into v_eknam .
concatenate c_equal c_colon wa_output-lifnr c_colon
into v_lifnr .
concatenate c_equal c_colon wa_mard-werks '/'
wa_mard-lgort c_colon
into v_lgort .
concatenate '="' wa_output-lifnr '"' into v_lifnr .
condense:v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
concatenate
v_po v_matnr v_maktx v_qty
v_date1 v_name v_eknam v_lifnr
into i_download
SEPARATED BY con_tab.
concatenate con_cret i_download INTO i_download .
append i_download .
endif.
clear : v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
endloop.
ENDFORM. " fill_report_csv
*& Form f_send_internet_mail
text
--> p1 text
<-- p2 text
FORM f_send_internet_mail.
Variables
data: it_packing_list like sopcklsti1 occurs 0 with header line,
it_contents like solisti1 occurs 0 with header line,
it_receivers like somlreci1 occurs 0 with header line,
it_attachment like solisti1 occurs 0 with header line,
gd_cnt type i,
gd_sent_all(1) type c,
gd_doc_data like sodocchgi1,
gd_error type sy-subrc.
data: it_message type standard table of SOLISTI1 initial size 0
with header line.
data : found_receiver type c,
v_title(80) type c,
l_text(180) type c.
Fill the document data.
gd_doc_data-doc_size = 1.
Adds text to email text table
append 'Pls see attached open purchase order report.' to it_message.
append '' to it_message.
concatenate 'Note: This is system generated report'
', figures may subject to actual physical count.'
into l_text separated by space.
append l_text to it_message.
Populate the subject/generic message attributes
CLEAR gd_doc_data.
READ TABLE i_download INDEX w_cnt.
gd_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( i_download ).
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
if p_asdate is initial .
concatenate p_title ' '
sy-datum sy-uzeit into v_title separated by space.
else .
concatenate p_title ' '
p_bldat p_cputm into v_title separated by space.
endif .
gd_doc_data-obj_descr = v_title .
gd_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = i_download[].
Describe the body of the message
clear it_packing_list.
refresh it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
describe table it_message lines it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
append it_packing_list.
Create attachment notification
it_packing_list-transf_bin = 'X'.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES it_packing_list-body_num.
it_packing_list-doc_type = 'XLS'.
it_packing_list-obj_descr = 'OPEN PURCHASE ORDER' .
it_packing_list-obj_name = 'PO.XLS' .
it_packing_list-doc_size = it_packing_list-body_num * 255.
APPEND it_packing_list.
assign SAP user smtp address from successful retrieval.
loop at p_email.
Add the recipients email address
found_receiver = 'X' .
it_receivers-receiver = p_email-low.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = ''.
it_receivers-notif_ndel = 'X'.
append it_receivers .
endloop .
Add default recipient email when unable to locate purc group email
if found_receiver is initial .
it_receivers-receiver = p_email.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = ''.
it_receivers-notif_ndel = 'X'.
append it_receivers.
endif .
Call the FM to post the message to SAPMAIL
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = gd_doc_data
put_in_outbox = 'X'
commit_work = 'X'
importing
sent_to_all = gd_sent_all
tables
packing_list = it_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = it_receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
loop at it_receivers.
endloop.
Instructs mail send program for SAPCONNECT to send email.
wait up to 2 seconds.
if gd_error eq 0.
submit rsconn01 with mode = 'INT'
with output = ' '
and return.
endif.
ENDFORM. " f_send_internet_mailHi,
go through this link,
http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm
you have some sample programs.
Regards,
Raghavendra -
Barcode in PDF output not coming in Oracle R12.1.3
Hi,
We have a rtf template for Invoice report. In this report we have to display barcode in PDF output. In our development instance barcode is coming properly. But in our test instance barcode is not coming(same template is available in Development and Test instance).
We are using wocrb.ttf and w128l.ttf font files and we have these files available at $OA_JRE_TOP/lib/fonts path.
Also, we have config file available on $OA_JRE_TOP/lib directory. and this config file has correct path of both the font files.
Still the barcode is not coming in Test instance.
Request you all to please help me with this issue.
Thanks,
SAPDF requires the font be registered correctly, since it is not appearing you have missed something in your configuration.
The most common error is the font family name does not exactly match the font name in Word. (Open the font on your PC and the name is present there also.)
You can use the xdodebug.cfg troubleshooting method, then see what error appears in the xdo.log when the font is accessed.
See the following note for xdo.log:
Note 364547.1 : Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
Thank you
Eugen -
WBS element output not coming properly .
Hi ,
I have a customized report with , project(proj-pspid) ,wbs element( prps-posid) as selection parameters . The output is coming preperly when project is given as output but is not coming properly when wbs element is given as input. I am using PSJ logical database . Not sure why in debugging while giving only wbs element it is going to 'Conversion_exit_abpsn_input' instead of teh conversion exit 'Conversion_exit_abpsp_input' . Any idea on how it can be resolved?Hi,
Please refer the WBS element to PSPNR (PRPS-PSPNR) instead of prps-posid ,
prps-posid refers to exit 'Conversion_exit_abpsn_input' and not 'Conversion_exit_abpsp_input'.
Regards,
Srini. -
Saving reports output in PDF or Excel
Hello, I am in the process of developing some oracle reports to run over the web. My question is. When the reports are run over the web how can I save the output in either PDF or Excel. The reports will be called from
a form with parameters passed. I am also having a problem whem the output is shown in htlm it is wrapped. Is there away to stop this data wrapping process from happening?
Thanks,
MorrisHi Ratheesh,
In a previuos posted message I've suggested to Carla close exactly the same you did after. And also did'nt worked.Anyway, just for your info.
Dear Carlangas (as we say in Mexico, with no offense)
Here is a workaround for you...
As I'm not a JSP expert developer in my case I will do next
It seems we are facing a problem with the DESFORMAT=PDF and report out parameter for your jsp report and requiere a jsp/reports experienced developer help or further investigation. I'm not saying it's not possible to generate a PDF output from a jsp report, but for the moment nobody has said how to.
I believe you saved your report in jsp format because you need your users review the report previuosly they may print it.
I also suppose you have a form with a magic button from where you launch your report.
Well I will call your existing button PREVIUOS or will add a nice gif icon and will create another one called PRINT or with a pretty printer .gif icon. This new button will call a RDF version of your report. As you have read is very easy to create PDF format/output report in RDF format.
Also your will need negotiate presentation with your customer. As you must know reports output in a Paper report, PDF, jsp formats are not always exactly the same because they are not simply the same.
Hope this help you. In the meantime you will save time for your investigation for a future release of your report. -
I am using 9ids
before report were running fine.
but now report does not come in web page.
i am unable to find problem.
report server i am using named reportsrvadmin
and trace file data AT END IS AS SUCH
[2004/0/21 5:33:46] APP 50103 (C Engine): 17:33:46 APP . ( Text Boilerplate B_5
[2004/0/21 5:33:46] APP 50103 (C Engine): 17:33:46 APP . ) Text Boilerplate B_5
[2004/0/21 5:33:46] APP 50103 (C Engine): 17:33:46 APP ) Frame
[2004/0/21 5:33:46] DST 50103 (C Engine) 17:33:46 DST cust_label_ledger: desname= desformat=HTMLCSS destype=cache copies=1 level=Report
[2004/0/21 5:33:46] Debug 50103 (EngineImpl:run): CRunReport returns: 0
[2004/0/21 5:33:46] Debug 50103 (EngineImpl:run): Quit
new page shows connecting to admin1 only. and nothing else.i am running report in one system. therefore there can n't be any other report in quee manager.
one thng more i have found when i send report output directly to printer it goes. but on displaying page it has problem.
it shows on task bar
Web site found waiting for reply
and nothing
And application are running very well.
i think when new page is requested than this problem comes.
The same problem is coming in another sytem also
where i have insallet complete 9ids.
previously in this system also forms,reports both were running very well.
Suddenly reports page are not displaying. onlyforms are running.
I think when new page is requested ,there is some problem
please help me out. -
Need to download the report output list to a Excel file.
Hi,
I have a report output list, which i need to download to an Excel file, could any body suggest how to do this with out writing the ws_download.
My report data is coming from two internal tables, one internal table for left side reprt display and another internal table for right side report display, both the internal tables having the same fields.
suggest me how to combine these two internal table data in one internal table.
2 internal table structure is same but data is different.
SunilHi,
in the o/p list use the below menu path.
LIST>SAVE/SEND>FILE,
then a pop-up window with different formates will appear,then choose u r required format.
Thanks,
Anji -
Invoice output not coming properly
Dear Experts,
I have maintained condition record for the billing type and assigned it to the printer. Some of the invoices output are coming properly but for 4 to 5 invoices, print out prview is just skipping and when I click for printing, the system throws an error " output could not be issued" and the error is in green colour. I am not able to understand the reason behind it.
Can anybody help me out to solve the issue please.
Thanks & Regards,
RejiDear Reji,
T. Code: VF02/ VF03
Key-in your Invoice No. and Don't hit "enter".
On to the same Page, from Menu-bar, Click: Billing Document --> Issue Output to
A Window: Output Output, will pop-up.
Here, select the Output-line and Click Icon: Print Preview
Now, you would able to see Invoice Preview, providing Output Condition record is maintained.
If still, Invoice Preview doesn't appear, on to the same window: Output Output, Click Tab: Print Options.
Another Window will pop-up. Here, maintain Output Device (say, LP01) and tick Box: Print Immediately, and OK.
Again Select Output line and Click: Print Preview.
Best Regards,
Amit -
File read write program output not coming correct
this code is compiling without issues but the output is not what i am expecting .. the contents of delta.txt are as follows
*4014254420*
*2897449776*
*4207405601*
and the output thats coming is
+4014254420+
+40142544204207405601+
+4207405601+
its not reading the 2nd line somehow
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.*;
import java.io.FileWriter;
import javax.swing.*;
import java.util.Scanner;
public class testloop
static int i;
static char c;
static int j = 1;
static String filename;
public static void main(String[] args) throws IOException
try {
FileReader fmi = new FileReader("delta.txt");
FileWriter fmo = new FileWriter("Updated.txt");
BufferedReader br = new BufferedReader(fmi);
String temp=null;
do{
temp = br.readLine();
if(temp.startsWith("*"))
String tempc = temp.substring(1);
System.out.print(tempc+"\n");
long tp = Long.valueOf(tempc);
System.out.print(tp);
else
fmo.write(temp);
}while((temp=br.readLine()) != null);
fmi.close();
fmo.close();
}catch (FileNotFoundException e){ System.out.print("not found"); }
catch (IOException e){System.out.print("io"+e);
e.printStackTrace();
also if i use the following delta.txt
**4014254420*
**2897449776*
**4207405601*
mmm+
i get the output as
+4014254420+
+40142544204207405601+
+4207405601Exception in thread "main" java.lang.NullPointerException+
at testloop.main(testloop.java:33)*
its not writing the text to the file updated.txt
Edited by: adhiraj on Nov 27, 2007 6:58 AMYou are getting the next line twice.
do{
temp = br.readLine();
if(temp.startsWith("*"))
String tempc = temp.substring(1);
System.out.print(tempc+"\n");
long tp = Long.valueOf(tempc);
System.out.print(tp);
else
fmo.write(temp);
}while((temp=br.readLine()) != null);You need to change your code around so that you only call
temp=br.readLine();once per iteration of the loop. -
REPORT OUTPUT IN WORD OR EXCEL
Hi,
I need to convert my report output to word document with a customised logo in the word document. Can anyone please help me out by providing the necessary procedure (step by step process or code in abap).
Thanks and Regards
AKHi Ashok ,
You just copy this Abap code and run it. The output is an excel file .
REPORT ZKUN_FILE6 .
TABLES: USR03,DD02L.
DATA: ZX030L LIKE X030L.
DATA BEGIN OF ZDFIES OCCURS 0.
INCLUDE STRUCTURE DFIES.
DATA END OF ZDFIES.
DATA: BEGIN OF FLDITAB OCCURS 0,
FLDNAME(11) TYPE C,
END OF FLDITAB.
DATA ITABUSR03 LIKE USR03 OCCURS 0 WITH HEADER LINE.
DATA TNAME LIKE DD02L-TABNAME.
SELECT * FROM USR03 INTO TABLE ITABUSR03.
TNAME = 'USR03'.
PERFORM GETFIELEDS.
PERFORM SHOW123.
FORM GETFIELEDS.
CALL FUNCTION 'GET_FIELDTAB'
EXPORTING
LANGU = SY-LANGU
ONLY = SPACE
TABNAME = TNAME
WITHTEXT = 'X'
IMPORTING
HEADER = ZX030L
TABLES
FIELDTAB = ZDFIES
EXCEPTIONS
INTERNAL_ERROR = 01
NO_TEXTS_FOUND = 02
TABLE_HAS_NO_FIELDS = 03
TABLE_NOT_ACTIV = 04.
CASE SY-SUBRC.
WHEN 0.
LOOP AT ZDFIES.
FLDITAB-FLDNAME = ZDFIES-FIELDNAME.
APPEND FLDITAB.
ENDLOOP.
WHEN OTHERS.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
with SY-SUBRC.
ENDCASE.
ENDFORM.
FORM SHOW123.
CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
EXPORTING
FILE_NAME = 'C:\USR03.XLS'
DATA_SHEET_NAME = 'USER LIST'
TABLES
DATA_TAB = ITABUSR03
FIELDNAMES = FLDITAB
EXCEPTIONS
FILE_NOT_EXIST = 1
FILENAME_EXPECTED = 2
COMMUNICATION_ERROR = 3
OLE_OBJECT_METHOD_ERROR = 4
OLE_OBJECT_PROPERTY_ERROR = 5
INVALID_FILENAME = 6
INVALID_PIVOT_FIELDS = 7
DOWNLOAD_PROBLEM = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
Thanks and Regards,
Kunal.
( hope this solves your problem.) -
Copa report values not coming in report
hi Gurus
In copa Values are not coming in report.
where is the problem
can anybody suggest
bye
Ramesh ReddyHi Ramesh,
First u check with whether the COPA is integrated with other modules or not? that means with fi/mm and co and SD... -
Publishing the report output to PDF and Excel
Hi,
Is there any way to get the Report title, Report run date, Page numbers when we export the report output to Excel or PDF.Hi
I am assuming you are working in 2004s
<u><b>Exporting to PDF</b></u>
For page numbering, add the following parameter to the export command, which defaults the footer to the page numbering
<bi:FOOTER_RIGHT value="PAGEOFPAGES" />
Report Run Date ... we have included this in a text element in our report, and made sure that element is part of the export command. The text element we have used is configured as a Generic Text Element and uses the LAST_REFRESHED property
Report Title ... this is done in the same way, but uses the QUERY_DESCRIPTION property.
<u><b>Exporting to Excel</b></u>
As mentioned already, there is no sense in including page numbers when exporting to Excel, as everything is shown on 1 sheet.
Report Title and Report Run Date are included in the export the same way as above.
Hope this helps.
Cheers,
Andrew -
Reports server not coming up....
Hi ,
During clonign after the changing of APPS password the reports server is not coming up ....
getting the error below....
adrepctl.sh: exiting with status 2
starting Reports Server for CT1RTD on port 25103.
REP-0186: Daemon failed to listen to port
adrepctl.sh: exiting with status 0
Reports Server for CT1RTD is already stopped.
I had changed the CGIcmd.dat...wiht the newly updated apps password and also updated wdbsvr.app...
TNS entry also fine....
port is not used by anything else....
before changing the APPS password it was running up and fine...
anyone have any idea...how ot fix this....
Thanks,
Krissue got fixed...when changed the domain in tnsnames.ora
Maybe you are looking for
-
i am having flickering issues with my screen lately and i adjusted the brightness and have done many resets and i cant get it to stop. there is also blurring of lines from white lettering to dark screen. does anyone know a fix for this issue? thanx
-
Hi! I'm using tomcat 5.5 and I made a simple webapp: tomcat_dir/webapps/myapp I'm using root paths when refering to images, docs, servlets, and so within myapp (servlets, jsp, html, etc.)... For example: <img src="/myapp/imgs/pic1.jpg" ...> <form ...
-
Modifying a note in Data Modeler
There is a note in an ERD that I created with Data Modeler. I just edited it and clicked OK, but the changes I made do not show up in the note. As a test, I created a new note and added and deleted text to it several times and saw my changes appear.
-
My bookmarks run off the bottom of the page, and I cannot move them up
When I open my bookmark folder and try to open a subfolder near the bottom of the screen, the bookmarks in this subfolder run off the bottom of the screen, and I can find no way to move them into a visible area.
-
Re: Unable to see the required Bus. transaction to define screen variant.
Hello Sap mates, I am trying to define screen variant per business transaction, but i do not see the required business transaction (RKU3) in the drop down list. Could somebody of you please help me with that. Thank you. Regards, Pabbi.