PDF document to SAP SPOOLER:
Hello everyone,
There are many many examples of objects outputted to PDF. ALV lists, grids, and also SAP Spooler.
Has anyone run across a way to send a pdf to SAP spooler to print out? I know that
Adobe Forms is currently doing this in some manor.
Is it possible to customize that functionality?
Thanks for any help on this.
Steve
I am not an expert, but I hope it will help you:
1) SAP is able to convert ABAP lists and OTF documents (sapscript, smart form) into PDF binary, but it is not able to send this binary to printers. PDF1 device is a converter but I think it can't be used with printers. PDF conversion is only used to create files, attach PDF to mails, and so on.
2) SAP sends documents to printers by first converting them into PCL, PS, Prestige, etc. PDF is not used.
So I think that printing directly a PDF by sending it to a printer is not possible: it must be first converted to PCL, PS, etc. For that, you may use softwares like Ghostscript...
Similar Messages
-
How to save the output of sap script to pdf document in sap
hi abapers
how to save the output of sap script in sap so that can retrieve the saved document later.
i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
how to use dmsHi deepika,
This thread will solve ur problem OTF -> PDF
Regards,
Pravin -
Sharing and displaying Excel and pdf documents in SAP BO Mobile
Hello all,
I have one quick question. Is it possible to share excel and pdf documents through SAP BO Mobile?
I tried it uploading documents to BO Launch pad and assigning them to Mobile category. I can't see them in my ipad. Is there another way to share these kind of files through SAP Mobile in mobile devices? and how?
Thanks.No that won't do it. Because my users have their own excels which are not related to BO or BW platforms. They are entering data manually to excel spreadsheets and reporting. We just want to upload them to BO platform and let them share those files with other users.
I know I could create a webi report on top of excel, but we don't want to spend redoing the reports in excel.
Thanks though. -
Printing existing PDF-File via SAP-Spool
Hi to all,
I'm looking for a solution to print existing PDF-Files (external Directory) via SAP-Spool, in order to create a set of documents in correct succession, where some of them are created within SAP and others beeing created externally (PDF-Files).
We use NW7.0 and have AdobeDocumentServices activated.
I don't want to create PDF-Files out of SAP-Spool-Requests.
Thank you for any helpful hint.
Best Regards
ChristianThanks for this, having a look through at the moment, just one question do I have to install this SDK just to automatically print an existing PDF document from a 3rd party application when I have only the Reader installed?
Thanks -
How to read the data from a PDF document into SAP
Hi Everyone,
I am trying to read a PDF document from my desktop and get the data into SAP but i am not getting successful.
I am using the method cl_gui_frontend_services=>gui_upload and passing the filename and type and importing the file length and the data into an internal table.
I tried the file type as ASC but i couldn't get any records in the internal table and the filelength is displayed as 0.
When i tried the file type as BIN, it is giving the short dump. I guess that is because the file i am trying to read is not with the extension BIN.
Please Advice me on this
PoornimaHi Kiran,
Below is my program..
REPORT zpdf_data_update.
DATA : lt_file_table TYPE filetable.
DATA : lv_rc TYPE i.
DATA : lv_filename TYPE string.
DATA : lv_filelength TYPE i.
TYPES : BEGIN OF hex_record,
data TYPE string,
END OF hex_record.
DATA: lt_rawtab TYPE TABLE OF hex_record.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
CHANGING
file_table = lt_file_table
rc = lv_rc
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.
READ TABLE lt_file_table
INTO lv_filename
INDEX 1.
cl_gui_frontend_services=>gui_upload(
EXPORTING
filetype = 'BIN'
filename = lv_filename
IMPORTING
filelength = lv_filelength
CHANGING
data_tab = lt_rawtab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
not_supported_by_gui = 17
error_no_gui = 18
OTHERS = 19 ).
But it is giving me a short dump saying that the field symbol is not assigned ...
If i give the file type as ASC , then i am getting an empty table... Please advise me on this
Thanks
Poornima -
Insert/Embedding PDF documents to SAP Adobe forms
Hi all,
We have a requirement to insert/embed an external PDF documents to an SAP Adobe Form.
Please provide pointers in this regard.
Thanks,
SandhyaI would think the common sense approach would be to upgrade to ECC 6 first then migrate your forms.
This seems to be just another step in the upgrade process.
We went from 4.7 to ECC 6, but only had Smartforms and SAPScripts. We wound up just re-creating the forms directly in Adobe. -
Download the pdf document from sap server
Hi,
I uploaded the pdf document as MIME type in mime browser. I have a requirement to open this document when I click on the button. How could we achieve this ? I appreciate your help.1.You could use offline intractive form to display PDF.
2. use
cl_wd_runtime_services=>attach_file_to_response(
i_filename = file_name
i_content = lv_content
i_mime_type = mime_type
i_in_new_window = abap_true
i_inplace = abap_false ). -
How to save sap script output in pdf document
hi abapers
how to save the output of sap script in sap so that can retrieve the saved document later.
i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
how to use dmsPDF Creation + connection to DMS
cheers
Aveek -
Setting passwords for pdf document generated by SAP system
We are generating PDF documents from SAP system and distributing them as email attachment. just want to know if anyhow we can enforce the password protection while generating these documents or may be setting the password protection before distribution. If yes, then what are the requirements/essentials for the same?
1. Is there any OSS Note on the same issue where it has been published by SAP that it can only be ensured using third party solutions? If yes, may I have the link?
I have no clue on this i.e. whether we can integrate Adobe Policy Server. My understanding was in it's current state it is NOT possible to have secured PDF Forms.
2. May I have the more elaboration on the way you mentioned in your reply?
Well what you can do is hide all the elements in the form and keep only a TextField visible. Now write a script and check the value entered in the TextField. If it matches with the default password you want to set then make the form visible else display error prompt back to user. -
Convert SAP spool output to PDF
I have created program running in background to convert SAP spool output to PDF using function CONVERT_ABAPSPOOLJOB_2_PDF .
It has been working fine untill I have SAP spool contained > 99 pages. It has a dialog pop up asking to run it in background.
If I clicked YES, the function generated another background job and another spool.
Also the returned table PDF contained no data.
But it is ok when click NO. The program can generate PDF file.
My problem is I want to set this program as job, so it will not generate PDF file when SAP spool contained > 99 pages.
Has anyone experienced about this problem? or know how to convert to PDF from SAP spool (>99 pages)?
Thank you in Advance.Hi,
Use the FM convert_otfspooljob_2_pdf
see this link for example Re: Download in PDF format
"Do not use CONVERT_ABAPSPOOLJOB_2_PDF for script or Smartforms
Prabhudas -
SAP PS Extractors requirement for BI + how v can do pdf document?
SAP PS Extractors requirement for BI + how v can extract pdf document?
Posted: Mar 12, 2008 6:04 PM Edit E-mail this message Reply
Hi Experts
Please anyone provide the answers for the followings:
1)SAP PS available extractors currently.
2)How we can extract pdf document in SAP PS to SAP BI side ... or any other possibilites is available to
bring it in reporting?
3)Is it compulsory to use 0PSGUID or not?
pls advice me experts...
Regards
selvan
[email protected]Hi Peras,
Pls chk this links;
http://help.sap.com/bp_biv335/BI_EN/html/BW/ProjSystem.htm
http://help.sap.com/saphelp_nw04/helpdata/en/b4/60073c0057f057e10000000a114084/frameset.htm
hope this helps.
Regards
CSM Reddy -
SAP PS Extractors requirement for BI + how v can extract pdf document?
Hi Experts
Please anyone provide the answers for the followings:
1)SAP PS available extractors currently.
2)How we can extract pdf document in SAP PS to SAP BI side ... or any other possibilites is available to
bring it in reporting?
3)Is it compulsory to use 0PSGUID or not?
pls advice me experts...
Regards
selvan
[email protected]Hi Peras,
Pls chk this links;
http://help.sap.com/bp_biv335/BI_EN/html/BW/ProjSystem.htm
http://help.sap.com/saphelp_nw04/helpdata/en/b4/60073c0057f057e10000000a114084/frameset.htm
hope this helps.
Regards
CSM Reddy -
Need to bulk-upload PDF documents ?
Dear ALL,
I have some 18 lakh separate PDF documents in my windows server.I need to upload all the 18 lakh separate PDF documents to SAP - DB (COntent server)for SAP - DMS.
How to proceed?
One more query...Is there any function module to read all the PDF documents/files?
Appreciate if some one solves mine..
Regards,
John.
Message was edited by: john wesleyDear Chritian,
Thanx for the reply...
I am just trying that now, but it seems to be 3 parameters are there.
SPOOL request.....
Download PDF file(A check box) ......
PDF file name......
what to be given in the spool?Also i hope its for downloading the PDF ...
Kindly let me know your thoughts.
Regards,
John. -
Hi,
I want to print a PDF document from SAP. I am able to suck the document into memory but I have no way to convert it to something that is printable. Though SAP offers ways to convert from a sap script / smart form to a PDF there doesnt seem to be a reverse process. Does anyone know of a way, without using system commands, to print this document?
thanks,
RogerSend it as an attachment in an email to the printer's email address
Although I am not affiliated with HP, please give Kudos if I've answered your question -
Hi together,
perhaps anybody have an idea: I need to print out pdf documents within SAP. The PDF files are attached to the order document and are stored in the archive.
I know that it give professional solutions to print different document formats. But I think it must give a function module (or different function modules) which can read the PDF from SAP archive and print it on a PostScript Printer.
Any idea? Thank for your help.
Regards ThomasHi Thomas,
i make an download as PDF and start Acrobat wit /P /H.
Here a code example:
Download the file as C:\TEST.PDF.
DATA: PROGRAM(128) TYPE C.
Path of PDF
CALL FUNCTION 'SO_PROGNAME_GET_WITH_PATH'
EXPORTING
DOCTYPE = 'PDF'
IMPORTING
PATHNAME = PROGRAM
EXCEPTIONS
PATH_NOT_FOUND = 1
PROGRAM_NOT_FOUND = 2
NO_BATCH = 3
X_ERROR = 4
OTHERS = 5.
CALL FUNCTION 'WS_EXECUTE'
EXPORTING
<b> COMMANDLINE = '/p /h C:\TEST.PDF'</b> PROGRAM = PROGRAM
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6.
Hope it helps.
Regards, Dieter
Maybe you are looking for
-
Call to WPG_SESSION API Failed. Error-Code:6550
Can someone please help me figure out what I may be doing wrong? Using recent downloaded versions of 8i and 9iAS I cannot access Portal30 using IE5 browser. Please see error below. During portal configuration I specified connect string of oracle:1521
-
Can i Sync my Sony Ericsson P990 to my Macbook
I have searched the web and saw that the model isn´t supported by the system. is there any way that i can connect it??? i really need to ... So is apple going to update isync for new mobile phones soon???? please help me.... i am a really new user i
-
Taking 9 minutes to make A/R invoices
Dear All, We are facing an issue on AR Invoice while selecting any delivery document and copy it to AR INvoice it is taking almost 9-10 minutes to load. There are 50 line items in the row level and there are 3 formatted searches used to pouplate each
-
Base Unit of Measure - Day & Hours
Hi All, We are facing a unique problem. We created a material with Base Unit of Measure as "DAY". At the time of MIGO, the FI Document also got posted with Quanity 5.00 and Base Unit of Measure as "DAY". However, when we go to the Report Painter Repo
-
Move all photos from one computer to other computer
How can I move all my photos from my old MAC with Lightroom 4 to my new MAC with Lightroom 5 ? I have no idea how to do this.