How do I generate a PDF output report when the layout template is an Excel file in BI publisher 11.1.1.7
This is what I did ..
1. Create new report
2. Create a report using an existing Data Model (browsed and picked a data model)
3. How do you want to create your report? (clicked on Used Report Editor)
4. Clicked Finished (then saved the report)
5. Then it asked me to create layout (I chose Upload or Generate Layout and then browsed for an uploaded my excel template with XDO_* column mappings to the data model)
Template File = Excel Template, Locale = English (US)
5. Clicked on Upload
6. Then clicked on View Report on the top right, which opened up my report file name "my_report_layoutname.xls" with sheet 1 (xdo mapped all fine) and a xdo_metadata sheet.
I just wanted step 6 to be a pdf report of sheet 1. How do I do that ? Can't find the place where I can specify that.
M. Jamal
Thanks Daniel for pointing that out. Though you answer is helpful but I am not sure if that is what I would want to do.
The link you provide for csv says "For each report there's an _report.xdo file that contains the XML structure of the report... " It suggests I modify the .xdo file for each report. I currently have 16 reports.
Does it mean I modify the .xdo file for all 16 and what happens if someone creates a 17th report ?
Also, what if I run the same report using different input parameters will that change the xml structure for the report and therefore will need me to modify the .xdo again ? (I think it should not change the xml structure so the answer should be "NO" to that, unless I change the structure of the report).
Finally, the link you provide says after doing what it suggest "Now log back into BI publisher and select the report. You should now be able to see that CSV is now an option."
CSV should be an option where ? on what screen/page ? Maybe PDF is already an option for me that I cant see because I do not know where that option is.
I was hoping there would be something I could do on the xdo_metadata sheet (in the data constraints section or elsewhere) OR in BI Publisher itself as some property of the report.
I will try out what you suggest any ways.
M. Jamal
Similar Messages
-
How do I manually submit an error report when the automated error report submission fails?
How do I manually submit an error report when I receive a message, 'submission failed' after choosing automated error reporting?
Since Leopard is now out of production there will be no future updates so there is no point in filing an error report.
-
How do I close a PDF document automatically when the browser is closed?
I have a web app writen in HTML/ASP. In order to acccess this app, our users have to enter a password and user id. Once on the main page of the app, they can click on a link which opens the reader in another window. Quite often, when finished with the app, they close the browser, but leave the reader window open (with sensitive information). It is becoming to riskly to hope that they remember to close that window also, even with visual reminders. I would like for that window to close automatically when the browser with the app is closed.
Can this be done?Let me elaborate a little more on what I am trying to do.
(1) A website (#1) is opened after entering a UID and PWD.
(2) Within website #1, a link is clicked which opens a second web app (#2) in a seperate window using window.open().
(3) Within website #2, a user can click on a link which opens a PDF as _SELF.
(4) If the user:
(a) exits out of website #1 by closing the brower
(b) we would like to automatically close the PDF from website #2 also, as this contains sensitive information and most of the time the users are forgetting to close it -
How can I insert a parameter to the layout template?
How can I insert a parameter defined in report to the layout template? just like insert a field. I wanna display the parameter in the output.
If its Ebiz, concurrent program.
Put this in your template in the starting,
where the P_BUSINESS_GROUP_ID is one of the concurrent program parameters,
<?param@begin:P_BUSINESS_GROUP_ID?>
and then you can access the parameter in your rtf like <?$P_BUSINESS_GROUP_ID?>
Upload the rtf template back into apps.
and then rerun the conc pgm :) -
Layout to be generated as PDF output in a Spool
Hi ,
I am generating a layout using smartform. My requirement is layout has to be generated as PDF output in a Spool.
Please let me know how to write the code in my driver program to generate the spool or any FMs related to this.
Thanks in advance.
Regards,
Jyothi
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Jul 14, 2009 12:44 PMhi
use below sample code hope this may help u out
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
IMPORTING
fm_name = fname
CALL FUNCTION fname
IMPORTING
job_output_info = impdata..
i_itcoo[] = impdata-otfdata[].
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
use_otf_mc_cmd = 'X'
IMPORTING
bin_filesize = binsize
TABLES
otf = i_itcoo
doctab_archive = idocs
lines = t_pdf
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
CALL METHOD cl_gui_frontend_services=>file_save_dialog
CHANGING
filename = filename
path = path
fullpath = fullpath.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = bin
filename = fullpath
filetype = 'BIN'
TABLES
data_tab = t_pdf
EXCEPTIONS
OTHERS = 99.
thank you
surya -
How to send the report output to the application server in a excel file
Hello,
how to send the report output to the application server in a excel file.
and the report runs in background.
Thanks in advance.
SundeepDear Sundeep.
I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
D A T A D E C L A R A T I O N *
TYPES: BEGIN OF TY_EXCEL,
CELL_01(80) TYPE C,
CELL_02(80) TYPE C,
CELL_03(80) TYPE C,
CELL_04(80) TYPE C,
CELL_05(80) TYPE C,
CELL_06(80) TYPE C,
CELL_07(80) TYPE C,
CELL_08(80) TYPE C,
CELL_09(80) TYPE C,
CELL_10(80) TYPE C,
END OF TY_EXCEL.
DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
WA_EXCEL TYPE TY_EXCEL..
E V E N T : S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Here you populate the Internal Table.
Display - Top of the Page.
PERFORM DISPLAY_TOP_OF_PAGE.
E V E N T : E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
SET PF-STATUS 'GUI_STATUS'.
E V E N T : A T U S E R - C O M M AN D *
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'EXPORT'.
Exporting the report data to Excel.
PERFORM EXPORT_TO_EXCEL.
ENDCASE.
*& Form DISPLAY_TOP_OF_PAGE
text
--> p1 text
<-- p2 text
FORM DISPLAY_TOP_OF_PAGE .
SKIP.
WRITE: /05(128) SY-ULINE,
/05 SY-VLINE,
06(127) 'O R I C A'
CENTERED COLOR 1,
132 SY-VLINE.
WRITE: /05(128) SY-ULINE,
/05 SY-VLINE,
06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
CENTERED COLOR 4 INTENSIFIED OFF,
132 SY-VLINE.
WRITE: /05(128) SY-ULINE.
E X C E L O P E R A T I O N
CLEAR: IT_EXCEL[],
WA_EXCEL.
PERFORM APPEND_BLANK_LINE USING 1.
WA_EXCEL-cell_02 = ' XYZ Ltd. '.
APPEND WA_EXCEL TO IT_EXCEL.
CLEAR: WA_EXCEL.
WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
APPEND WA_EXCEL TO IT_EXCEL.
PERFORM APPEND_BLANK_LINE USING 1.
ENDFORM. " DISPLAY_TOP_OF_PAGE
*& Form APPEND_BLANK_LINE
text
-->P_1 text
FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
DO P_LINE TIMES.
CLEAR: WA_EXCEL.
APPEND WA_EXCEL TO IT_EXCEL.
enddo.
ENDFORM.
*& Form EXPORT_TO_EXCEL
text
--> p1 text
<-- p2 text
FORM EXPORT_TO_EXCEL .
DATA: L_FILE_NAME(60) TYPE C.
Create a file name
CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
'.' SY-DATUM+0(4) INTO L_FILE_NAME.
Pass the internal table (it_excel which is already populated )
to the function module for excel download.
CALL FUNCTION 'WS_EXCEL'
exporting
filename = L_FILE_NAME
tables
data = IT_EXCEL
exceptions
unknown_error = 1
others = 2.
if sy-subrc <> 0.
message e001(ymm) with 'Error in exporting to Excel.'.
endif.
ENDFORM. " EXPORT_TO_EXCEL
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
Regards,
Abir
Don't forget to award Points * -
Jfmerge:Invalid printer Type (98) when generating a pdf output.
I am receiving "Invalid Printer Type (98)" error message when i call jfmerge from my servlet to generate a pdf output. Any idea?
Thx,
AnupamHi Frazer,
I am indeed using Central Output Server not the Central Pro. Is there any trial version available for Central Pro? Any information on this will be greatly appreciated.
Thanks,
Anupam -
To send output of report to the mails ids as an excel attachment
Hi all,
I have a requirement that I have created a report using classes. Now I have to send output of my report to the particular mailids as an excel attachment.
Can anybody help me?
Regards,
Azra.Hi,
Refer Below links.
Re: Formatting Excel Attachment output in SO_DOCUMENT_SEND_API1
Information Broadcasting with Excel Report as attachment
Zip the excel and send as mail attachment
Regards
Md.MaahboobKhan -
How do I convert a pdf to Word. The India support people are of no help!
How do I convert a pdf to Word. The India support people are of no help!
Hi John,
I'd be happy to assist.
Here is a 'getting started' guide that should be helpful.
Launch Adobe Reader and open your PDF file
Select "Tools" and click "Sign In" link to sign in with your Adobe ID and password
Select "Export PDF"
Click "Convert" button
Click "Download Converted File" link to download the exported Word file to your computer.
Let me know if you have further questions.
Looking forward to hearing back from you!
Regards, Stacy -
How to Broadcast BI Reports in the latest version of MS Excel
Dear Friends
I am broadcasting BI reports to our field team, and many of them are using mobile phones. But they are not able to view these reports in their mobile.
I am broadcasting it as Excel and it is going in the format .xls. We have other BI tools where they could open the reports which are in .xlsx.
That's why I doubt that our reports are not getting opened because we are sending in a older format of excel.
Please let me know if there is any option to send reports in the latest version of MS Excel (.xlsx)
Thanks & Regards
Ranjan JinkaI agree with Michael Devine . You have to setup Pre-calculation server to broadcast with .XLSX format.
Did you try with other output formats in broadcast definition? Also check your Users mobiles excel compatibility with .xls format? -
Any ideas how I can insert a pdf into word, using the insert object option. However the pdf i want to insert has text and lines annotated, but once inserted the comments don't appear???? any help would be greatly appreciated.
You will need to find a forum for MS Word since that is the software that you are trying to manipulate in this. If you think the processing/creation of the PDF plays a role then you should ask in the forum for the software that you are using to create the PDF.
This forum is for issue regarding downloading and installing Adobe trial products, so in any circumstance, your issue does not fit in this forum. -
How can i open a pdf in safari without the screen turning black?
How can I open a PDF in Safari without the screen turning black?
Welcome to Apple Support Communities. We're all users here.
Depending upon your version of OS X and your version of Safari, as detailed in the Adobe help document links below, Adobe pdf documents created with the latest releases may require an (updated free) Adobe plug-in for Safari, or (free) Adobe Reader in order to display properly.
http://helpx.adobe.com/x-productkb/multi/safari-5-1-incompatible-reader.html
http://www.adobe.com/support/downloads/product.jsp?platform=macintosh&product=10
I encountered the problem recently when attempting to view documents from a financial institution. -
How can I convert a .pdf to a .ppt (The .pdf are both letters and pictures)
Hi,
To export your PDF files to PPTX files:
Using Web UI:
Log into https://exportpdf.acrobat.com/signin.html with your Adobe ID and password
Select “Export from PDF”
Click “Select Files” button then choose your PDF file
Select the format from the list below (PPTX)
Check ON “Recognized text in” if your PDF file is scanned images to recognize the image to text
Click “Export” button
Click “Download” button in the progress bar after completion of exporting to download the file to your computer.
Note:The exported PPT files are stored at https://files.acrobat.com. You will see the file in file list and clicking "FILES" at top of the screen will redirect you to https://files.acrobat.com site .
Hisami -
I am trying to import a PDF file from my desktop PC in to Excel using XI Pro. When the data imports in to excel, the majority of the data is vertical along the far left comumn instead of horizonal along the colums such as name, address, etc. I need to be able to import the data in to the horizonal categories so I can categorize the data after it is in excel. Thanks.
Hi johnc,
I'm sorry to hear that your file didn't convert well for you. Can you please tell me more about the PDF that you're trying to convert? Do you know how it was created? The quality of a conversion depends on the quality of the PDF, and it sounds like the file you have may not include the tagging information that is required to convert that properly into an Excel file. Would you be willing to share that file with me? If so, let me know and I'll send you a private message with my contact details.
Best,
Sara -
How to export the text edit data to excel file without splitting the data in excel file?
how to export the text edit data to excel file without splitting the data in excel file?
I have a requirement in SAP HR where in the appraiser can add comments in the area given and can export that to excel file. Currently the file is getting exported but the comments getting split into deifferent rows.
I want the entire comment to be fit in one row.
Please help.
Thank youHi,
if your text edit value is stored in 'lv_string' variable.
then before exporting the value to excel you have to remove CL_ABAP_CHAR_UTILITIES=>NEWLINE
that is '#' from the variable lv_string.
for that use code some thing like this.
REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>NEWLINE in lv_string WITH space.
I think this will do the trick.
Maybe you are looking for
-
The laptop accesses my personal email accounts (4 different ones) and my business email accounts (2 different ones). The old desktop accesses my personal email accounts and my wife's emails (2 accounts for her). I now have a new desktop computer and
-
Power manager doesn't display - so I can't get rid of the power change beep...
Hi everybody, I just got the X200 laptop, like it very much except for the annoyingly loud beep when the system goes into stand-by. Looking trough this forum I tried many things, like changing the sound settings in regedit to 'no' and disabling the '
-
Topic missing in Word TOC only, but OK in document
Sorry for yet another print issue.. I know Peter Grainge's site and have also done some research but could not solve this problem. This applies to RH7. Certain topics are always missing in the TOC of the printed documentation. If I delete the TOC and
-
Hi, A client confronted me with the next question: I have a map with 500 pdf's in it. Is it possible to make a new file with only the first page of each pdf? After that to make a new file with only the second page of each pdf? And after that the thir
-
Where can I find Adobe CS6 apps to download?
I need to download CS6 apps onto my new computer. I am a member of Creative Cloud and was able to download the CC apps but cannot seem to find CS6.