Convert PO in to PDF file
Hi,
Can anybody help me to configure system to convert PO in to PDF file.
Thanks,
Sanjana
Hi jain,
When using external mail, the following basic settings are required:
1. You must maintain an e-mail address in the address in the vendor master.
2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on).
The system only uses the e-mail address of the vendor that is maintained in the vendor master!
3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
5. In the condition records for the output type NEU (for example, Transaction MN04), use medium '5' (External send). Then in Transaction M/34 for the output type NEU add the medium '5' (External send) in Partner functions & Processing routines.
6.Then Create a PO
Go to Messages>select the output type & medium '5' (External send). Then communication method > Comm Strategy CS01. Remoce Print immediately if it is ticked.
7. Then go back ,Select message>Further data>Dispatch time>Select 'Send immediately (when saving application)'
Back and save PO.
8. Check SCOT. PO will be in the waiting list. If u want to see the detailed list of waiting items then go to transaction SOST. Specify the Send date, select the check box Waiting & execute.
If you want further details Please check the SAP note 191470.
Or
If you want a particular document in PDF , Goto SE38 enter program as RSTXPDFT4 , Enter Spool number of the document generated while print output that you want to convert in to PDF. Give location where you want to save. open the file in PDF format. Then attach this file to the email.
Regards,
hareesha
Similar Messages
-
I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.
Hi Frank ,
Please refer to the following link and see if this helps.
https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
Regards
Sukrit Dhingra -
Convert word document to PDF file in SAP
Hello experts,
I've been searching around to get some code examples to upload a word document and convert it into a PDF file and then store it in unix. I hope one of you can help me, because many explanations and threads exist, but I did not get wiser reading them...
I don't want to use 3rd party tools to do the conversion, but do it directly in SAP with abap coding and if necessary spool processing.
System details:
SAP ECC 6.0 (unicode system)
SAP_ABA 700 0014 SAPKA70014 Cross-Application Component
SAP_BASIS 700 0014 SAPKB70014 SAP Basis Component
Thanks in advance!
Regards,
DannyHi,
You can get the spool no from transaction SP01 and later use this spool no to convert the word document to PDF
using the function module CONVERT_OTFSPOOLJOB_2_PDF and give the import parameter as ur spool id.
once the doc gets converted to PDF u can use CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
to get the path where the file is to be saved and later give the path to function module GUI_DOWNLOAD to download the file.
or else u can manually execute the following reports:
RSTXPDFT4 (give the spool no. as input)
RSPO0068 (give the word doc with its full path as input)
Hope that helps u
Regards,
Radhika -
How to convert a password protected pdf file?
How do I convert a password protected pdf file to Word?
Yup. You all are right. I ordered Adobe Acrobat today and the order is still processing. I can get to Adobe Acrobat.com but that too does not work. I guess I will have to wait until my order is processed before I get the keys to the kingdom. Thanks for your help and please forgive my ignorance.Regards,Bob
-
Convert portfolio to single pdf file
Hi, I have a portfolio of my email archive which I want to convert to a single pdf file. The way I'm doing it is by combining files and adding the portfolio file and then clicking combine, merge files into a single pdf, adding the portfolio and selecting single pdf file. This 'breaks up' the portfolio into its individual constituents which you can then combing into a single normal pdf file.
But there is a problem. In the portfolio the original date of the email is retained so you can sort the emails chronologically. However, when the portfolio is broken up the individual files are dated on the date the portfolio is created and so the new file is not sorted in the chronological send/receive order of the emails.
So my question is: how do I combine emails to a single pdf file in the chronological order of the emails?
Many thanks
Ps Since typing this message I've noticed that when printing all files in the portfolio it also doesn't print it in chronological order even though that's how they're sorted in the portfolio.Something to try —
View the open Portfolio in the List or Basic Grid view.
Select all the files.
Select File > Sae Files from Portfolio > Use the Browse For Folder dialog to select a destination.
Click OK.
A copy of the Portfolio's files will be in the designated location.
Perform the Combine > Merge Files into a Single PDF action.
Be well..
Message was edited by: CtDave -
Will adobe pdf converter recognize an Hebrew pdf file?
Will Adobe pdf converter recognize an Hebrew pdf file and convert it into an editable Word or OpenOffice file?
Our ExportPDF service doesn't support Hebrew text at this time. Feel free to vote for this feature here: http://forums.adobe.com/ideas/1554
-David -
I downloaded an magazine as a web archive and want to convert ii to a PDF file. Can I do this and if so, how ? Thank You
Thank you Frederic, however when I click on "open with", 3 sidebars (?) open in this order ..Safari (default); Textedit; Other. If I click on "other", another window opens with "recommended applications" highlighted. Preview is not one of the chosen applications. However if I click on "all applications", Preview is then highlighted, but it only has an "open" window and I don't get an opportunity to File>Save as PDF.
I hope this makes sense...ellietess -
Convert Report Program to PDF file
Hi All,
I need example of converting Report program to PDF file.
I am beginner so please give simple example to understand it properly ..
Please write the description along with the code so that i can understand it...
no long long programs please.
Thanks.
RajHi,
report zabap_2_pdf.
*-- Enhancements: only allow to be run with variant. Then called
*-- program will be transparent to users
*-- 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.
*-- 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.
*-- 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.
*-- 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.
submit (p_repid) to sap-spool without spool dynpro
spool parameters mstr_print_parms
via selection-screen
and return.
*-- Find out what the spool number is that was just created
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.
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(8)
f_uname+0(3)
into lc_rq2name separated by '_'.
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
Regards
Sudheer -
How to write adapter module to convert the xml to pdf file
Hi all,
how to write adapter module to convert the xml to pdf file.
Please any body assist step by step procedure.PI 7.1 XML to PDF transformation
have you seen below links:
http://forums.sdn.sap.com/thread.jspa?threadID=1212478
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14363 -
Not able to convert spool output to PDF file properly
Hi guys,
i have got spool which contains russian characters which needs to be converted to PDF file.
Note: ******Assuming user enters only one spool in S_Spool*******
I am using following code to do this:
**---- Get Spool ID Details from TSP01
select * from tsp01 into table i_tsp01 where rqident eq s_spool.
**---- Sort Table in Ascending order based on Spool Id
sort i_tsp01 by rqident.
**---- Get information about Multiple spools
loop at i_tsp01.
**---- Get Multiple Spool information
call function 'RSPO_RETURN_SPOOLJOB'
exporting
rqident = i_tsp01-rqident
tables
buffer = i_spool_table
exceptions
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
others = 8.
if sy-subrc = 0.
endif.
**---- Get the Last line index (Number of Lines)
describe table i_spool_table lines v_lines.
i_otf[] = i_spool_table[].
endloop.
**---- Convert the OTF information to PDF.
call function 'CONVERT_OTF_2_PDF'
importing
bin_filesize = v_size
tables
otf = i_otf
doctab_archive = i_doc
lines = i_pdf
exceptions
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
others = 3.
if sy-subrc <> 0.
message i002(sy) with 'Cannot convert to PDF, exiting....'.
leave program.
endif.
DATA: v_numbytes TYPE i.
DATA : v_return1(128).
CONCATENATE 'C:\' 'F_spool' '.pdf' INTO v_return1.
CONDENSE v_return1.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
bin_filesize = v_size
filename = v_return1
filetype = 'BIN'
IMPORTING
filelength = v_numbytes
TABLES
data_tab = i_pdf
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10 .
IF sy-subrc NE 0.
EXIT.
ENDIF.
i have already tried standard pgm : RSTXPDFT4. But it does not work.
Suitable answers will be rewarded.
Thanks,
GURUHi Guru,
Use FM 'CONVERT_ABAPSPOOLJOB_2_PDF'.
Refer this code:
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
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.
CHECK sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Regards,
Hemant -
Page format problem while converting spool job to PDF file
Hi,
I convert the sapscript from spoollist to pdf with the FM CONVERT _ OTFSPOOLJOB _ 2 _ PDF giving the spool id but I can not get the file properly. It adds a raigth margin to the PDF file.
Should I call aany other FM to format the PDF file ?
Thanks.
Utku.Hi,
I have executed the report and the PDF file has the right margin.
In the properties of PDF file it says PDF version 1.3 (Acrobat 4.x) and Page Size 11.69 in x 11.69 in
Also I open the PDF file with Acrobat 5.0
Thanks.
Utku. -
Converting Company Logo from PDF file to...
Forum,
I had my company logo emailed to me as a PDF file. Can somebody please tell me what I need to convert this to in order to:
1) Use as a background on my desktop?
2) and this is a big one - be able to resize it so it doesn't look to visibly small on the tv/computer screen during playback of the end product?
Thank you very much,
TreyHey Trey, How's things?
Open the pdf in Preview. Hit the command and + keys till you get the size you want.
Press shift command and 3 to make a screenshot. It will land up on your Desktop with the name Picture1.
Open the result in Preview and crop off any menus.
Save and drag it to Hard Drive/Library/Desktop Pictures.
Open System Preferences > Desktop & Screensaver > Desktop.
Locate and double click your picture to set it as your background.
For the second part of your question, make a copy of Picture1 (command D) and import it into FCP. Use the scale control to adjust if needed.
Message was edited by: Christopher Lee -
Convert Screen(spool) to PDF file sending mail with attach file
Hi :
I'd like convert spool list to pdf and sending file...
so, I read thread about spool convert to PDF before,
and know how to convert Spool to PDF file and send mail with attach file.
but I have a problem.
my solution as:
step 1. Call function: "CONVERT_ABAPSPOOLJOB_2_PDF"
step 2. Call function: "SO_NEW_DOCUMENT_ATT_SEND_API1"
then, I got a mail with attached PDF file, but the PDF file display limited 255 line.( SO_NEW_DOCUMENT_ATT_SEND_API1 limited)
I want to showing word is wider that 255.
and then I find a manual method as:
After program finished.
Function Menu -> system -> List -> Send
use Prog: "Create Document and Send"
I use this prog sending mail and attached file ,
PDF file do <b>NOT</b> have 255 word limit !
finally. my question is, If I want sending mail as Prog: "Create Document and Send", how to do?
which Function I have to use?...
Please help me, Thanks!Hi,
Check this sample code of sending spool as attachment to an email address..
Parameters.
PARAMETERS: p_email(50) LOWER CASE.
PARAMETERS: p_spool LIKE tsp01-rqident.
Data declarations.
DATA: plist LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
DATA: document_data LIKE sodocchgi1.
DATA: so_ali LIKE soli OCCURS 100 WITH HEADER LINE.
DATA: real_type LIKE soodk-objtp.
DATA: sp_lang LIKE tst01-dlang.
DATA: line_size TYPE i VALUE 255.
DATA: v_name LIKE soextreci1-receiver.
DATA rec_tab LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
Get the spool data.
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = p_spool
first_line = 1
last_line = 0
desired_type = ' '
IMPORTING
real_type = real_type
sp_lang = sp_lang
TABLES
buffer = so_ali
EXCEPTIONS
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE s208(00) WITH 'Error'.
LEAVE LIST-PROCESSING.
ENDIF.
Prepare the data.
plist-transf_bin = 'X'.
plist-head_start = 0.
plist-head_num = 0.
plist-body_start = 0.
plist-body_num = 0.
plist-doc_type = 'RAW'.
plist-obj_descr = 'Test ALV'.
APPEND plist.
plist-transf_bin = 'X'.
plist-head_start = 0.
plist-head_num = 0.
plist-body_start = 1.
DESCRIBE TABLE so_ali LINES plist-body_num.
plist-doc_type = real_type.
Get the size.
READ TABLE so_ali INDEX plist-body_num.
plist-doc_size = ( plist-body_num - 1 ) * line_size
+ STRLEN( so_ali ).
APPEND plist.
Move the receiver address.
MOVE: p_email TO rec_tab-receiver,
'U' TO rec_tab-rec_type.
APPEND rec_tab.
IF NOT sp_lang IS INITIAL.
document_data-obj_langu = sp_lang.
ELSE.
document_data-obj_langu = sy-langu.
ENDIF.
v_name = sy-uname.
Send the email.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = document_data
sender_address = v_name
sender_address_type = 'B'
TABLES
packing_list = plist
contents_bin = so_ali
receivers = rec_tab
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.
IF sy-subrc <> 0.
MESSAGE e208(00) WITH 'Error'.
ENDIF.
COMMIT WORK.
Send the email immediately.
SUBMIT rsconn01
WITH mode = 'INT'
AND RETURN.
Thanks,
Naren -
How do I convert a batch of pdf files to tiff
I need to convert batches of 2000 multipage pdf files to a multipage tiff file with the same name as the original pdf
Can't do it with Reader but it may be possible in Acrobat.
Try asking in the Acrobat forum.
http://forums.adobe.com/community/acrobat/creating__editing_%26_exporting_pdfs -
Printing error when I convert Word document to PDF file
When I convert a Word document to a PDF file, I get a notificaton that there was a printing problem, but the document is converted anyhow.
The error message started to occur after I installed an upgrade to Acrobat Pro X and is shown in the task bar with the printer icon alongside a red and white question mark next to it.
Is there any way to get rid of the problem?Acrobat X Pro has problems with Explorer 9.0 and Office 64 bits version.
I started having similar problems when I upgraded X pro to 1.2 or 1.3 version and upgraded Explorer to 9.0. I was unable to print web sites(converting to PDF) correctly causing distiller errors, or printed some pages but the fonts were illegible. You could correct the problem by going to printer property, and uncheck "rely on system fonts".
On the other hand, technical support told me that X pro 1.2 version caused issues with office 64 bits version, and told me to upgrade 1.3 only. I did that, but by converting web sites or office files into pdfs with success, but print listing folder get error messages for each print command, and I had to clear them out. otherwise yellow triangluar mark will be attached to printer icon of Acrobat.
Obviously, upgrade to 1.3 did not solve all the issues, and I have to stay without any upgrade at all.
Maybe you are looking for
-
New User Guide (common questions)
Common Ipod Info For those who just go an ipod here is some basic info on the ipod and how to do a few things. Basic Info Disconnecting/Connecting Just plug in via USB and wait (can take a few minutes). Ipod will load up and the screen will show DO N
-
How to the link/path of the file being uploaded
Hi all, I am uploading a CSV file in apex3.2 and would like to store the actual path of the file into a custom table. I get the file name as F26222/my_filename.csv from the FILE BROWSE apex item. How can I capture the path also? Thanks in advance. Mo
-
Hi, I am new to JPopupMenu and JTree. Let me explain the scenario first. There is a JTree with two branch nodes(Game tables and New Players). First branch node(game tables) can have multiple branch nodes which are different tables and each of these g
-
Offline Files (Background) Sync makes File Explorer and other programs responding slow
Hi TechNet, I have a problem with Offline Files and especially with VPN users. For VPN users, the slow-link policy is activated with a background sync interval of one hour. But, when Offline Files is syncing, their File Explorer is hanging (not respo
-
Change of settlement control (not binding) from 2 to 3
Dear expert we want to change in plant xxxx settlement control (not binding) from 2 to 3. How can be do that. transaction has already been made in the plant.