Generate a PDF doc from binary content.
Hi folks,
I have this scenario: File Adapter <- XI -<ABAP Proxy.
The scenario starts when R/3 runs a report (job scheduled) that invokes an outbound method of ABAP Proxy. Under this outbound method, few parameters are sent to XI, one of them is an xstring. The xstring (binary content) can be a PDF or TXT document, depends of the doc_format parameter value.
I already read some documents and web logs about file format conversions. But my problem is that the XML element is coming in binary (xstring) and I need to generate a new PDF document from that element. All the web logs mention conversion from XML to any other format and not from binary!
My idea is to develop a Receiver File Adapter Module. The Module only picks the binary XML element and converts it in a PDF document giving the name and the format that comes into others neighbors elements of XML.
Anyone knows which classes/methods are needed? Or is there another easy way to do this that am I not seeing?
Thanks in Advance,
Ricardo.
Hi all,
First, thank you all for the quick replies.
To be clear, I have a binary stream that I want to convert into PDF format and not XML to PDF. So, like I said before, the SDN web logs only mention conversions from XML to PDF and not binary stream to PDF or even others formats. Using XSL I need my source message in XML and that is not the case
Venkat, your approach is develop a module to get the binary stream and other module to convert into PDF format, am I right?
Cheers,
Ricardo.
Similar Messages
-
How to generate a pdf document from excel on ipad version?
IS there a way to generate a pdf document from an excel file directly from excel ipad version ?
IS there a way to generate a pdf document from an excel file directly from excel ipad version ?
-
Troubles with Pages-impossible to send a pdf doc from pages
Hi, I am having troubles in sending a pdf doc from pages to a pc (via email). It work fine with word doc but not pdf. When I open the email with the pdf doc I just received, the email is empty. What could I do? Please help, I really need pdf! Thanks.
Hi Jerry,
I don't think so, because I can send a word doc but not a pdf?! And my gmail account has plenty of space... And it worked fine before I upated the new version of Ipad. I hope I can find a solution, otherwise I can't use Pages anymore. Any other apps equivalent to Pages?
Thanks anyway.
Alex -
Problem when loading pdf files from Shared Content
When I load pdf files from Shared Content, I got the following problem: "The selected document could not be retrieved, please try uploading the document again."
Anyone knows this?
Thank you very much in advanced.I don't migrated the program, but installed it from the original installer,
i. e. I first installed Indesign from backup, and then uninstalled it and
reinstall clean from Adobe.
What a plug-in or utility converts page from InDesign to PDF?
2014-08-10 22:51 GMT+04:00 Peter Spier <[email protected]>:
problem with exporting PDF files from InDesign CS5 created by Peter
Spier <https://forums.adobe.com/people/P+Spier> in InDesign - View the
full discussion <https://forums.adobe.com/message/6627440#6627440> -
Unable to download/save a pdf doc from Adobe Acrobat Reader (in IE8 or IE9)
I can open the pdf doc, but the button that I would normally click to download the doc to my computer is not highlighted. I tried upgrading from IE8 to IE9, but still cannot download. Thanks for any help!
Actually, I had similar issue, but it was FM. Occasionally, when I did a Save as PDF or Save as with HTML, FM went on for a few moment then stoped saving with an error message along the line: Cannot create <some file name>... It kept doing the same thing for several tries until I deleted the previously generated files, then all would be well for a while, until the next time... I don't know it had anything to do with the generated files (PDF or HTML) being opened on a web-browser at the moment. Yet, as I remembered prior to that and verified afterward, in those times that went without such error, those files were being opened as well. Thanks!
PS: I'm using FrameMaker 11 -
How to generate a pdf form from a webform
HOW TO GENERATE POPULATED PDF?
We used to fill out the forms at work longhand (yes, with a pen!)
Now since we created the form using Acrobat 9 Pro, we just enter the data on computer, and print out the form.
Acrobat 9 form creator was great - I found it quite easy to use.
Now, I'd like to automate the process even further.
Each week we receive response forms from our website (maybe about 20-25). These response forms have about 10 fields that
people have completed with their information.Currently I am printing out the response form and then open up the acrobat form and I enter their information into the pdf (and then print).
1. Is it possible to automatically populate a pdf from the response form ? (without me having to print out the response form and re-enter the data)
2. Is it really complicated; is this something I can do with some software/learning or do i need a programmer?
Thank you kindly for any advice or direction.It sounds like you are using the forms in your local shop and that e-mail may work fine. If e-mail submission works fine (not recommended for normal use, but find in a controlled environment where you can be sure each e-mail client is running MAPI), then add a submit button to submit a FDF or XML data file (I like FDF when using forms in Acrobat, Designer only uses XML forms). You can then import the FDF or XML data to the form and print it. You can even manipulate the FDF or XML data and add it to a database of some form, furthering your processing even more.
-
Unable to open PDF files from Fileserver Content Source using Browser
The situation is this :
A content source was created to search a fileserver
Search facility finds the files using the browser
Able to open MS Office files from the fileserver
Able to open PDF files that are in the Sharepoint Portal
Unable to open PDF files from the Fileserver
Currently using Sharepoint 2010. PDF Filter is installed and configured on the Sharepoint Server
Your assistance is always greatly appreciated.
Have a great day.
NRHHello Nate,
I have the necessary access to the folder.
The content source addresses are
\\172.25.136.53\KDrive\Home\Company\DAILYREP
\\172.25.136.53\KDrive\Home\Company\TRINMAR
\\172.25.136.53\KDrive\Process Safety Management
NRH -
Not opening pdf docs from websites
We recently installed Adobe Acrobat (full version) 7 onto our computers. For some reason it will now not open any docs that are pdf's from websites/webpages which has rendered my computer virutally useless as I'm an insurance agent and 90% of what I print are pdf's from carrier websites. Thoughts? I've messed with my restricted sites options and some of my security features and am not having luck.
Thanks Tim,
I am using IE, so I did the instructions, but the box was already marked. It so weird, whenever I go to open the PDF's from online it just errors out and says IE isn’t responding. I'm sure it has to do w/ the Adobe b/c that is the only change that was made to my PC between the time it worked and stopped working...
Alysia Lutz
KFG Insurance Agency, LLC
"A Division of Korhorn Financial Group, Inc"
6910 N. Main St, Unit 41, Bldg 16
Granger, IN 46530
Local: (574) 247-5898 ext. 117
Toll Free: (800) 258-9574 ext. 117
Fax: (574) 243-2639
Website: www.korhorn.com
Email: [email protected] -
How to generate a pdf file from Excel
Hi all,
I've a Excel file i want to generate a pdf file by using java...can any one explain wht r the things r required. If ur answer is "iText" or "apache FOP" then wht r the things to be needed...I want to know the exact answer...step by step....plz help me out...
Eagarly waiting for reply...
regards
[email protected]hi,
I've a idea on jdk,,,i need to know who to use FOP packages?
regards,
[email protected] -
Attach doc from external content server- using Generic Object Service (GOS)
Dear All,
i have intergrated an external content server to SAP using SAP archive link. All the scanned document are there in Content server and corresponding entries are done in SAP.I can search and view document using tcode : OAAD
Please tell me steps for "how to attach a document from external content server using Generic Object Service "
Scenario is : For example when we change any Master records or create a new PO, or do some financial transaction then i need to attach the supporting document which is there in my content server connected to SAP.how do we manual attach a Document in SAP using GOS.
Do we need to do some special configuration to use GOS .please give the steps from initial.
Thanks
sandeepHello,
Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
This will help in attaching the document to your required business document.
To verify you can check the archivelink table or by transaction OAAD.
Hope this will help you.
-Thanks,
Ajay -
Trying to View PDF Doc from IE
Hi.....recently a couple of machines i administer keep getting the following errors when they click on a link to a pdf doc,
Object label badly formatted
that is what happens when i try to view the pdf through IE......if i turn that of so it actually downloads the doc to the temp files folder and view it through adobe reader i got the following error message,
there was an error opening this document. There was a problem reading the document (109)
this has only started to happen recently and only on 2 pcs.
thats versions for all programs are as follow,
OS - XP Pro SP3
IE - 8.0.6001.18701
Adobe Reader Version - 9.1.0
Any help would be greathttps://www.adobe.com/account/sign-in.adobedotcom.html
Click on the 'Trouble signing in' link to reset your password. -
I would like to create a pdf document from several photos - is there a limit and how do i do that please?
Do you have Acrobat Pro?
Otherwise check out File > Automate > PDF Presentation or if you want several images per pdf page Adobe Bridge’s Output Workspace. -
How do I open pdf file from web? Opening pdf docs from hard drive works fine.
Hello,
I am unable to open pdf files from the web. Documents on my hard drive open fine. My computer gives me 2 error messages when I try to open web-based documents. Thanks.Why did you post so many informations about operating system, web browser, Adobe Reader version, and the error messages?
-
Generating PDF doc from java..
hello all!
i am looking for some API that would help me generate PDF or WORD document in my JSP or servlets.
i have to present data and some graphs in PDF document.
suggestions are appreciated.
thanks in adavance,
/rahulthanks aswhin. iText workds just fine.
i am also looking to generate word documents from my servlets.
do you have any suggestions?
thanks once again.
/rahul -
How to generate a PDF document from ABAP program
Hi experts,
I have arequirement where in i need to create a PDF document using program. I have all the data collected into tables and i have used the calss CL_FP_PDF_OBJECT.
A pdf document is successfully created, but unable to open it because of some error. I guess some encryption is missing.
As an alternative I have created a smartform and generated its OTF data in my program and created a PDF. This is working fine.
But as per my requirement, i cannot go for a smart form.
Any help to resolve this issue will be highly appreciated.
Thanks & regards,
Asrar Ahamed MA
Infosys Tech. Ltd. INDIAHi Asrar ,
create a report with this Copy and give your program name in the selection screen whose output need to be in PDF.
*report zanusha_spool_to_pdf.
---TABLES----
tables:
tsp01.
---STRUCTURES---
data:
mstr_print_parms like pri_params,
mc_valid(1) type c,
mi_bytecount type i,
mi_length type i,
mi_rqident like tsp01-rqident.
---INTERNAL TABLES---
data:
mtab_pdf like tline occurs 0 with header line,
mc_filename like rlgrap-filename.
---SELECTION SCREEN---
parameters:
p_repid like sy-repid, " Report to execute
p_linsz like sy-linsz default 132, " Line size
p_paart like sy-paart default 'X_65_132'. " Paper Format
start-of-selection.
concatenate 'c:\'
p_repid
'.pdf'
into mc_filename.
*-- Explicitly set line width, and output format so that
*-- the PDF conversion comes out OK
mstr_print_parms-linsz = p_linsz.
mstr_print_parms-paart = p_paart.
*-- Make sure that a printer destination has been set up.
*-- If this is not done the PDF function module ABENDS
if mstr_print_parms-pdest = space.
mstr_print_parms-pdest = 'LOCL'.
endif.
*-- Setup the Print Parmaters
call function 'GET_PRINT_PARAMETERS'
exporting
authority = space
copies = '1'
cover_page = space
data_set = space
department = space
destination = space
expiration = '1'
immediately = space
in_archive_parameters = space
in_parameters = space
layout = space
mode = space
new_list_id = 'X'
no_dialog = 'X'
user = sy-uname
importing
out_parameters = mstr_print_parms
valid = mc_valid
exceptions
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
others = 4.
submit (p_repid) to sap-spool without spool dynpro
spool parameters mstr_print_parms
via selection-screen
and return.
*-- Find out the spool number
perform get_spool_number using sy-repid
sy-uname
changing mi_rqident.
*-- Convert Spool to PDF
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid = mi_rqident
no_dialog = space
dst_device = mstr_print_parms-pdest
importing
pdf_bytecount = mi_bytecount
tables
pdf = mtab_pdf
exceptions
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
others = 12.
*-- Download the file
call function 'DOWNLOAD'
exporting
bin_filesize = mi_bytecount
filename = mc_filename
filetype = 'BIN'
importing
act_filename = mc_filename
tables
data_tab = mtab_pdf.
FORM get_spool_number *
Get the most recent spool created by user/report *
--> F_REPID *
--> F_UNAME *
--> F_RQIDENT *
form get_spool_number using f_repid
f_uname
changing f_rqident.
data:
lc_rq2name like tsp01-rq2name.
concatenate f_repid+0(9)
f_uname+0(3)
into lc_rq2name.
select * from tsp01 where rq2name = lc_rq2name
order by rqcretime descending.
f_rqident = tsp01-rqident.
exit.
endselect.
if sy-subrc ne 0.
clear f_rqident.
endif.
endform." get_spool_number
Thanx
Anusha.
Maybe you are looking for
-
How do i add the itunes card to the ipad?
how do i add the itunes card to the ipad?
-
Desktop Software does not detack BB 6 System Software and Language
Hi, I wanted to install other languages back to my phone (currently only English). However, my Desktop Software 6.1.0.36 installed in Vista does not detect and display BB 6.0.0 system software, and so is language option. BI can see other installed
-
.What exactly are .itc2 files? can they be moved or deleted ?
I realized that ever since I installed iTunes and started adding music to my library the space on my C (windows) partition is shrinking. I have my computer set up for speed, where my C partition has ONLY windows on it. Programs like iTunes are instal
-
How to stop thread permanatly after start?
hello, i am using one thread . that thread start with time delay 10 seconds as follow, class tableUpdateThread implements Runnable Thread thread; int i,j; tableUpdateThread() thread = new Thread (this, "Table updation"); t
-
Dear All, Can anyone suggest me on how to find out the backdated customer consignmnet stock. I am geting this stock from table MSKUH but being history table i dont want to use it. Is there any otherway how I can find out the customer consignment stoc