Email PDF from SmartForms but it is editable
In SD, we are emailing the invoice in PDF from SmartForm. The problem we are facing is that PDF is editable and we would like to protect PDF from editting for security reason. is it possible to control attribute of PDF file from SAP at the point of sending?
Thanks in advane,
Masa
hi
good
you can protect the pdf file using the authorization object, go through this link i hope this ll help you to solve your problem.
http://www.jhu.edu/hopkinsone/Secure_Private/Library/Blueprint/CrossFunc_Section6.pdf
thanks
mrutyun^
Similar Messages
-
I need to create a PDF from InDesign that people can edit in Reader or Acrobat
I need to create a PDF from InDesign that people can edit (for example, change a name from "John" to "Johnny") from either Adobe Reader or Adobe Acrobat. I have already looked at forms, but they do not keep your font colors, faces, and sizes and just make everything that is selected as a text form Black, 12pt, Times New Roman.
Can anyone here help me?Vincent,
If you use Acrobat pro, generate your .pdf file and then save it as (french version):
... so that anyone using Acrobat Reader (or Pro, of course) can modify the .pdf file (with limitations), add comments, ...
If you want to try to "protect" your .pdf file, you can try with this (in the "Préférences" menu (french version)): -
Emailing .pdf from Acrobat 9
Hello
I seem to be having an issue with emailing pdfs from acrobat. I am recieving an error "Acrobat is unable to connect to your email program" I am using Acrobat 9 running on a 2008r2 terminal server. The email program is Outlook 2010. All other users are able to attach a .pdf to email through adobe. Outlook is the default mapi client as i have read this is a common fix for this issue but it still does not work.Try clearing the profile preferences for Acrobat 9 and let them get recreate
Repair both Acrobat and Outlook/Office
BTW I don't thing Windows Server 2008R2 was ever tested for Acrobat 9 on WTS.
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/reader/pdfs/wts_9.pdf -
Making a interactive PDF from indesign, but it's too big. Tried to reduce file size in Acrobat, but it does not reduce file size.
Use the Optimize PDF command in Acrobat, it gives you more control. I think it's under the Advanced menu in Acrobat 9 Pro and File > Save As > Optimized PDF in Acrobat X Pro.
You might try playing around with different settings. You can also click the Audit Space button at the upper right to see if its from images or other things causing the file size problem.
Unfortunately, InDesign doesn't write interactivity in a very optimized way. You get better results with buttons, for example, creating them in Acrobat Pro and using the Duplicate command to duplicate them across multiple pages. -
Installed Pro 9 and Reader 9 now cannot open pdf from web, but can from an email?
Installed Both Adobe Acrobat 9 professional and reader 9 yesterday on co worker machine. Went to open a pdf attachement in email no problem. Went to web to download and open a pdf and will not let her, giving co worker the error message need reader 8 or 9 to open this document!
have unistalled 9 reader and reinstalled same problem.
So then uninstalled reader 9 and can now open pdf from the web
My machine has both on and no problems.
Thank YOU for your help!!It may be that you will need to uninstall Reader and Repair Acrobat after the uninstall. Adobe does not recommend the installation of both products. Since you have already done the uninstall and things work fine with just Acrobat, leave things alone as that is the recommended installation.
-
Email PDF from Mail Merge Problem
Using a data source of email addresses from Excel 2003 and performing a mail merge in Word 2003 with the Mail Merge to Adobe PDF button, everything worked okay and the emails generated to the outbox in Outlook 2003 with the relevant PDFs attached. However, once they were mailed the recipients who use Outlook Express had the attachments missing. I'm using Acrobat 8.1.5
I've seen previous queries about this and it seems to relate to Outlook using a RTF format. I set Outlook to default to html and then plain text formats but still had the same problem. Can anyone suggest how I can solve this or if the problem is Outlook related, then another email program that would work without causing this problem (preferable freeware or inexpensive).
ThanksJust an interesting after thought, since you mentioned blocking. Several federal agencies and companies block zip files also. I ran onto a message recently about the university blocking zip files at one time because of a problem. Mail merge files are typically personalized and it would be nice for them to go intact. If they re not personalized, but just being sent in general, then posting the basic file and e-mailing a link might work better. For a lot of things I do, I just use the mail merge that is built into my e-mail client. That creates a mail-merge of messages that are personalized.
Just thought the blocking comment might be of interest, though I give the same advice. I am not sure how it could be done with zip in a mail merge sense. -
How do I email pdfs from my WP7 phone to an email recipient?
I have and HTC Trophy with Windows 7 Mango. I am able to view pdf but not do anything else with them.
According to all of my research on Google and Bing, as well as talking to HTC directly, it appears that the current version of Acrobat Reader for Mobile is unable to support emailing a file to an email recipient. On all previous versions of my windows phones, I was able to do this.
Is anyone aware of a app or upgrade to Adobe that will allow me to send a pdf from my phone to an email recipient?
As much as I like my new phone, I will have to go back to my WP 6.1, if I am unable to perform a simple task like emailing a pdf to someone.
Thanks for any information.I'm a little confused as to why you are asking this in a Firefox forum. I think Yahoo might be a better place to ask.
-
Email PDF from Firefox -- keeps freezing
This may belong in a Firefox forum, but thought I'd give it a shot here.
I frequently use the Print>PDF>email PDF function from within Firefox. Recently, however, this has stopped working -- the "Printing Progress Bar" freezes, necessitating a Force Quit.
I've checked, and the email PDF print function works in other applications, including Safari.
I've made no changes (i.e. installed no updates) to Firefox, so I have no idea why it's started crashing.
Any ideas?Just a bit more info in the event anyone is listening....
I can do no printing whatsoever from Firefox -- PDF or to an actual printer. Printing from other applications, however, works fine.
I've tried repairing permissions, but that didn't do fix the problem.
Any ideas? -
Unable to email PDFs from Adobe reader. Can't get the as is or flattened option
HHow do I email my PDFs from Adobe reader for the ipad? Can't find 'as is' or 'flattened options
To email the currently opened PDF document from Adobe Reader for iOS
Tap anywhere in the PDF document to display the top toolbar.
Select the Share icon (the second icon from the right) to display the following menu.
Select E-mail Document.
Select "Share Original Document" or "Share Flattened Copy" from the E-mail Document dialog.
Enter email recipient(s) in the To field.
Tap Send in the upper right corner to send the PDF document as an email attachment.
At Step 4, Reader may not display the E-mail Document dialog if the currently opened PDF document has some restrictions (e.g. no permission for editing, adding comments, and/or filling out form fields). The original PDF document will be attached to an email automatically.
To check if your PDF document has restrictions (that are specified by the author of the document), tap anywhere in the document to display the bottom toolbar. If the bottom toolbar shows the lock icon, your PDF document has restrictions.
When you tap the lock icon, the following popup will be displayed.
If the lock icon is not visible in the bottom toolbar or the bottom toolbar is not visible, it means that your PDF document has no restrictions.
Please let us know if you need further assistance. -
Email pdf from iBooks isn't always possible
I have copied some pdfs from my computer to iPad when I synced. They are pdfs I made myself from Keynote presentations. When I open the files in iBooks, I can see the little arrow icon for export. When I tap it, there are usually 2 options, print and email. However sometimes the email option doesn't appear. I have made all the files in the same way so I don't understand why some files can be emailed and others can't.
Is anyone else having this problem.
Can anyone help?
Thank you.I think I just figured this out myself.
The option doesn't appear when the file is too big to email! -
How do you email pdf from the print screen
Anyone found a way to email a pdf from the print screen?
ThanksPrevious screen of what? You need to be more specific.
-
Error while sending by email a PDF from SMARTFORM
Hi all.
Wer'e upgrading to EP4 and I can send smartform PDF by email but get an error message while trying to open it.
*FORM convert_otf_2_pdf.
call function 'CONVERT_OTF_2_PDF'
importing
bin_filesize = lv_len_in
tables
otf = gs_return-otfdata[]
doctab_archive = it_docs[]
lines = lt_tline[]
exceptions
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
others = 3.
if sy-subrc ne 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
*then to send it as Email attachemnt we need to format the PDF data
call function 'SX_TABLE_LINE_WIDTH_CHANGE'
exporting
line_width_dst = '255'
tables
content_in = lt_tline
content_out = lt_objbin
exceptions
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed = 3
others = 4.
clear ls_solisti.
ls_solisti = 'Payment Notification'.
append ls_solisti to lt_objtxt.
DESCRIBE TABLE lt_objtxt LINES lv_lines.
READ TABLE lt_objtxt INDEX lv_lines.
ls_doc_chg-obj_name = 'Payment Notification'.
ls_doc_chg-expiry_dat = sy-datum + 10.
ls_doc_chg-obj_descr = 'Payment Notification'.
ls_doc_chg-sensitivty = 'F'.
ls_doc_chg-doc_size = 255.
ls_objpack-head_start = 1.
ls_objpack-head_num = 0.
ls_objpack-body_start = 1.
ls_objpack-body_num = 1. "lv_lines.
ls_objpack-doc_type = 'RAW'.
append ls_objpack to lt_objpack.
(pdf-Attachment)
ls_objpack-transf_bin = 'X'.
ls_objpack-head_start = 1.
ls_objpack-head_num = 0.
ls_objpack-body_start = 1.
describe table lt_objbin lines lv_lines.
"READ TABLE lt_objbin INDEX lv_lines.
ls_objpack-doc_size = lv_lines * 255 .
ls_objpack-body_num = lv_lines.
ls_objpack-doc_type = 'PDF'.
ls_objpack-obj_name = 'NOTIF'.
ls_objpack-obj_descr = 'Payment Notif.'.
append ls_objpack to lt_objpack.
clear lt_dli[].
lv_name = p_list.
call function 'SO_DLI_READ_API1'
exporting
dli_name = lv_name
dli_id = '000000000001'
shared_dli = 'X'
tables
dli_entries = lt_dli
exceptions
dli_not_exist = 1
operation_no_authorization = 2
parameter_error = 3
x_error = 4
others = 5.
if sy-subrc eq 0 and
lt_dli[] is not initial.
clear ls_reclist.
ls_reclist-receiver = p_list.
ls_reclist-rec_type = 'C'.
append ls_reclist to lt_reclist.
endif.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = ls_doc_chg
put_in_outbox = ''
tables
packing_list = lt_objpack
object_header = ls_objhead
contents_bin = lt_objbin
contents_txt = lt_objtxt
receivers = lt_reclist
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.
What's wrong ??
Thanks all,
RebekaHello,
Try below code
LOOP AT gt_check_data INTO gw_inc_payment.
CLEAR wa_pa0105.
READ TABLE gt_pa0105 INTO wa_pa0105
WITH KEY pernr = gw_inc_payment-pernr.
IF sy-subrc = 0. ELSE. CONDENSE wa_pa0105-usrid_long NO-GAPS.
TRANSLATE wa_pa0105-usrid_long TO LOWER CASE.
ENDIF.
CALL FUNCTION 'ZHR_ITA_MAIL_PDF'
EXPORTING
im_incentive = gw_ita_inc
im_flag = 'X'
IMPORTING
ls_job_output_info = ls_op_info
EXCEPTIONS
cntl_error_ctrl = 1
cntl_error_cont = 2
cntl_error_load = 3
cntl_error_show = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE text-024 TYPE 'E'.
ELSE.
CLEAR gt_tline[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = g_pdfsize
TABLES
otf = ls_op_info-otfdata
lines = gt_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
IF sy-subrc <> 0.
IF gt_tline IS INITIAL.
MESSAGE text-023 TYPE 'E'.
ENDIF.
ELSE.
Data handling with required length
LOOP AT gt_tline INTO gw_tline.
lv_pos = 255 - lv_len.
IF lv_pos > 134. "length of pdf_table
lv_pos = 134.
ENDIF.
gw_objbin+lv_len = gw_tline(lv_pos).
lv_len = lv_len + lv_pos.
IF lv_len = 255. "length of out (contents_bin)
APPEND gw_objbin TO gt_objbin.
CLEAR: gw_objbin, lv_len.
IF lv_pos < 134.
gw_objbin = gw_tline+lv_pos.
lv_len = 134 - lv_pos.
ENDIF.
ENDIF.
ENDLOOP.
IF lv_len > 0.
APPEND gw_objbin TO gt_objbin.
ENDIF.
CLEAR gw_objbin.
Mail process with the PDF attachment
PERFORM mail_process_attach USING wa_pa0105-usrid_long.
ENDIF.
ENDIF.
ENDLOOP.
FORM mail_process_attach USING lv_receive TYPE comm_id_long.
**//--- For Sending eMail
DATA : it_packing_list TYPE TABLE OF sopcklsti1,
wa_packing_list TYPE sopcklsti1,
it_receivers TYPE TABLE OF somlreci1,
wa_receivers TYPE somlreci1,
it_message TYPE TABLE OF solisti1,
wa_message TYPE solisti1,
it_line TYPE STANDARD TABLE OF tline,
wa_line TYPE tline,
it_attachment TYPE TABLE OF solisti1,
wa_attachment TYPE solisti1,
wa_doc_data TYPE sodocchgi1,
lv_cnt TYPE i,
lv_tablines TYPE i,
lv_subject TYPE so_obj_des,
lv_incref TYPE string.
*--Populating Mail Recepients
wa_receivers-rec_type = 'U'.
wa_receivers-com_type = 'INT'.
wa_receivers-notif_del = 'X'.
wa_receivers-notif_ndel = 'X'.
wa_receivers-express = 'X'.
assgining a receiver's mail id
wa_receivers-receiver = lv_receive.
APPEND wa_receivers TO it_receivers.
CLEAR wa_receivers.
*--Populating the body
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'ST'
language = sy-langu
name = gc_so10_name
object = 'TEXT'
TABLES
lines = it_line
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc = 0.
LOOP AT it_line INTO wa_line.
wa_message-line = wa_line-tdline.
APPEND wa_message TO it_message.
CLEAR : wa_line, wa_message.
ENDLOOP.
ENDIF.
*//--- Populate the subject/generic message attributes
wa_doc_data-obj_langu = sy-langu.
READ TABLE it_attachment INTO wa_attachment INDEX lv_cnt.
wa_doc_data-doc_size = ( lv_cnt - 1 ) * 255 + STRLEN( wa_attachment ).
wa_doc_data-obj_name = 'SAPRPT'.
*//--- Subject Begin
CLEAR : lv_subject.
lv_subject = gw_inc_payment-pernr.
SHIFT lv_subject LEFT DELETING LEADING '0'.
CONCATENATE text-009 '(' lv_subject ')'
INTO wa_doc_data-obj_descr
SEPARATED BY space.
*//--- Subject End
wa_doc_data-sensitivty = 'F'.
*--Describe the body of the message
CLEAR : wa_packing_list, it_packing_list[].
wa_packing_list-transf_bin = space.
wa_packing_list-head_start = 1.
wa_packing_list-head_num = 0.
wa_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES wa_packing_list-body_num.
wa_packing_list-doc_type = 'RAW'.
APPEND wa_packing_list TO it_packing_list.
Filling the attachment table
DESCRIBE TABLE gt_objbin LINES lv_tablines.
wa_packing_list-transf_bin = 'X'.
wa_packing_list-head_start = 1.
wa_packing_list-head_num = 0.
wa_packing_list-body_start = 1.
wa_packing_list-body_num = lv_tablines.
wa_packing_list-doc_type = 'PDF'.
wa_packing_list-obj_name = 'ATTACHMENT'(a01).
*//--- Attachment File Name - Begin
CLEAR : lv_subject.
lv_subject = gw_inc_payment-pernr.
lv_incref = gw_inc_payment-incref.
SHIFT lv_subject LEFT DELETING LEADING '0'.
SHIFT lv_incref LEFT DELETING LEADING '0'.
CONCATENATE text-011
lv_subject
gw_inc_payment-itafy
lv_incref
INTO wa_packing_list-obj_descr
SEPARATED BY '_'.
*//--- Attachment File Name - End
wa_packing_list-doc_size = lv_tablines * 255.
APPEND wa_packing_list TO it_packing_list.
CLEAR wa_packing_list.
calling the function module to send the mail
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = wa_doc_data
put_in_outbox = 'X'
sender_address = gc_sender
sender_address_type = 'INT'
commit_work = 'X'
TABLES
packing_list = it_packing_list
contents_bin = gt_objbin[]
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.
IF sy-subrc <> 0.
gw_inc_payment-zmail = '0'.
gw_inc_payment-mail_status = text-022.
gw_ita_inc-zmail = '0'.
MODIFY gt_inc_payment FROM gw_inc_payment
TRANSPORTING zmail WHERE incref = gw_inc_payment-incref
AND pernr = gw_inc_payment-pernr.
MODIFY zhr_ita_inc_payk FROM gw_ita_inc.
MESSAGE text-013 TYPE 'E'.
CLEAR gw_ita_inc.
ELSE.
gw_inc_payment-zmail = '1'.
gw_inc_payment-mail_status = text-021.
gw_ita_inc-zmail = '1'.
MODIFY gt_inc_payment FROM gw_inc_payment
TRANSPORTING zmail mail_status
WHERE incref = gw_inc_payment-incref AND
pernr = gw_inc_payment-pernr.
IF sy-subrc = 0.
MODIFY zhr_ita_inc_payk FROM gw_ita_inc.
IF sy-subrc = 0.
MESSAGE text-012 TYPE 'S'.
ENDIF.
ENDIF.
CLEAR gw_ita_inc.
ENDIF.
CLEAR : it_packing_list,
gt_objbin[],
it_message[],
it_receivers[],
wa_doc_data.
ENDFORM. " MAIL_PROCESS_ATTACH
regards -
Print (modified) pdf from smartforms
Hi all,
I am totally stuck.
I have a smartform which creates an OTF. The OTF is slightly adjusted and converted to pdf. No problem there.
But now I want to send the modified PDF to a printer. All in the same smartform.
(With smartform I actually mean the print program calling the smartform).
I was actually looking for a simple statement but I am not able to find one.
Can anyone help me out?
KarinHi Karin,
here is my sample report. Of course you have to delete some, because you might not have a Form called z_testfh
I cannot remember, but I copied parts of it, so if there is one out there, feel free to add a comment. I do not want the flowers of others in my hand
Hope you get your issue solved.
*& Report ZFH_OTF_TO_PDF_TO_SPOOL
REPORT zfh_otf_to_pdf_to_spool.
*& Declarations
DATA : w_options LIKE itcpo ,
it_otfdata TYPE STANDARD TABLE OF itcoo ,
it_tlines TYPE STANDARD TABLE OF tline ,
bin_filesize TYPE i ,
bin_file TYPE xstring ,
printer LIKE tsp01-rqdest VALUE '0079',
append TYPE c VALUE 'X',
doctype TYPE adsdoctype VALUE 'ADSP' ,
adstype TYPE string,
l_strlen TYPE i,
l_strlen1 TYPE i,
nopdf TYPE c, "Testweise auf X
globaldir(100),
pathname(256),
myfile TYPE string,
handle LIKE sy-tabix,
spoolid LIKE tsp01-rqident,
partname TYPE adspart,
filename TYPE file_name,
pages TYPE i,
size TYPE i.
DATA: BEGIN OF datatab OCCURS 100,
line(80) TYPE x,
END OF datatab.
PARAMETERS: pa_dest TYPE tsp01-rqdest DEFAULT '0210'.
PARAMETERS: pa_dest2 TYPE tsp01-rqdest.
PARAMETERS: pa_schr TYPE xfeld.
PARAMETERS: pa_suff TYPE xfeld.
*& Start of selection
START-OF-SELECTION.
w_options-tddest = pa_dest.
printer = pa_dest2.
w_options-tdgetotf = 'X'.
*w_options-tddest = '0079'.
*--Call the Script
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = ' '
form = 'Z_TESTFH' "'ZFH_BARCODE_OTF'
language = sy-langu
OPTIONS = w_options.
*CALL FUNCTION 'OPEN_FORM'
* EXPORTING
* form = 'ZFH_BARCODE_OTF'.
IF pa_schr = 'X'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'SCHRIFT'.
ELSE.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'DUMMY'.
ENDIF.
**call function 'WRITE_FORM'
**exporting
*** element = '520'
**function = 'SET'
**type = 'BODY'
**window = 'MAIN'.
DATA: ITCPP type ITCPP.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
result = ITCPP
TABLES
otfdata = it_otfdata.
*--Convert from OTF to PDF format
* bin_file needs to be XSTRING format.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 255
IMPORTING
bin_filesize = bin_filesize
bin_file = bin_file
TABLES
otf = it_otfdata
lines = it_tlines.
DATA: ls_tsp01 type tsp01.
IF pa_suff is initial.
ls_tsp01-RQ0NAME = 'NAME'.
ls_tsp01-RQ1NAME = 'SUFFIX1'.
ls_tsp01-RQ2NAME = 'SUFFIX2'.
*ls_tsp01-COPIES
*ls_tsp01-PRIO
*ls_tsp01-IMMEDIATE_PRINT
*ls_tsp01-AUTO_DELETE
ls_tsp01-RQTITLE = 'Titleline'.
CONCATENATE ls_tsp01-RQTITLE ' Zeit:' sy-uzeit into ls_tsp01-RQTITLE.
*ls_tsp01-RECEIVER
*ls_tsp01-DIVISION
ELSE.
ls_tsp01-RQ0NAME = 'PBFORM'.
ls_tsp01-RQ1NAME = '0454'.
ls_tsp01-RQ2NAME = '2410'.
ls_tsp01-RQRECEIVER = 'FIS-HENNINGE'.
ls_tsp01-RQPRIO = '5'.
*ls_tsp01-RQFINAL = 'C'.
ls_tsp01-RQTITLE = 'Anlage zu Beleg: 300006040'.
ENDIF.
CALL FUNCTION 'ADS_SR_OPEN'
EXPORTING
dest = printer
append = append
doctype = doctype
name = ls_tsp01-RQ0NAME
suffix1 = ls_tsp01-RQ1NAME
suffix2 = ls_tsp01-RQ2NAME
titleline = ls_tsp01-RQTITLE
IMPORTING
handle = handle
spoolid = spoolid
partname = partname
EXCEPTIONS
device_missing = 1
no_such_device = 2
operation_failed = 3
wrong_doctype = 4
OTHERS = 5.
* l_strlen = STRLEN( bin_file ).
* l_strlen1 = STRLEN( bin_file ).
l_strlen = bin_filesize .
l_strlen1 = bin_filesize .
DO.
IF l_strlen GT 80.
MOVE bin_file+0(80) TO datatab-line.
APPEND datatab.
l_strlen = l_strlen - 80.
bin_file = bin_file+80.
ELSE.
MOVE bin_file+0(l_strlen) TO datatab-line.
APPEND datatab.
EXIT.
ENDIF.
ENDDO.
* Filename from partname
CONCATENATE partname '.pdf' INTO filename.
* Get path of global directory
CALL 'C_SAPGPARAM'
ID 'NAME' FIELD 'DIR_GLOBAL'
ID 'VALUE' FIELD globaldir.
* Create fully qualified path
CONCATENATE globaldir '/' filename INTO pathname.
myfile = pathname.
OPEN DATASET myfile FOR OUTPUT IN BINARY MODE.
IF sy-subrc = 0.
LOOP AT datatab.
TRANSFER datatab TO myfile.
ENDLOOP.
CLOSE DATASET myfile.
ENDIF.
size = l_strlen1.
pages = itcpp-TDPAGES.
CALL FUNCTION 'ADS_SR_CONFIRM'
EXPORTING
handle = handle
partname = partname
size = size
pages = pages
no_pdf = nopdf
EXCEPTIONS
handle_not_valid = 1
operation_failed = 2
OTHERS = 3.
CALL FUNCTION 'ADS_SR_CLOSE'
EXPORTING
handle = handle
EXCEPTIONS
handle_not_valid = 1
operation_failed = 2
OTHERS = 3.
END-OF-SELECTION. -
Emails delete from iphone but not from my pc?
Hello all,
I have been noticing a problem lately but sadly cannot put my finger on when it started to occur because I was not paying enough attention to the details until it was too late.
I have an iPhone 3GS with all the latest updates and such. I have a personal Yahoo! email account set up on my phone as well as my university Outlook email. This is an "outlook live" email that I access by going to outlook.com on a computer, not the kind of inbox that you have to download. I receive new emails from my Outlook account on my phone with no problem, but when I delete emails from my phone, then log on to my email on a computer, the emails are not deleted. I do most of my emailing from my phone, so I was shocked to log in to my email on my pc one day to discover that I had 132 emails even though I had deleted nearly every single email that I received. This appears to have started abruptly. I have had this account set up on my phone for many, many, many months and have not had any problems. I haven't changed my password or anything like that... Has anybody else experienced this problem and how did you fix it?This is possible with one of two ways.
With an IMAP account that is accessed as an IMAP account with the iPhone's Mail app and the same with an email client used on your computer for accessing the account. If you don't use an email client on your computer for accessing the account, this will work when accessing the account via webmail access using a browser on your computer.
It is possible to access a Yahoo account as an IMAP account with the iPhone's Mail app but it is not possible to access the account as an IMAP account with an email client on your computer. Yahoo doesn't support accessing a Yahoo account as an IMAP account with an email client on your computer.
With a POP account along with the setting for the account on the iPhone to remove messages from the server after being downloaded when moved from the account's Inbox mailbox or in 7 days after a message has been downloaded. -
Email PDF from IE not working correctly
We use software that exports a Crystal Report to a PDF file and displays it in Internet Explorer (IE9). From the Reader toolbar, you can email the PDF as an attachment. Ever since upgrading to verion 11, the file is attached to the email with the name of the web page instead of the PDF extension (.aspx instead of .pdf). I copied the attachment to the Desktop and renamed it to a .pdf and it does open just fine. The problem is that I should not have to do that. Plus, users are having a hard time with it. How can I fix this issue?
This is a known issue in Acrobat11, will be fixed in dot release.
Maybe you are looking for
-
I have music on my iPad, but I can no longer find it in itunes on my mac. How do I get those "CDs" back in my library? I cannot listen to them on my Mac or put them on another device!
-
Ghost recon, came with card, doesn't work for v1.3/1.4
I think it is sort of bad news when even the games they package with the retail box don't quite work. Card: MSI geforce fx 5200 8x 128MB (running at 2x at the moment) memory: crucial 512MB 2700 MB: ECS K7VTA3 v3.x What else do you want to know? This
-
Change RADIUS Certificate or Reset RADIUS, SERVER 3.2.2
Hi All, I've got an expiring self signed certificate that I was using for the RADIUS service on 10.9, server 3.2.2. I can figure out how to replace this certificate with our valid trusted SSL certificate for our domain. We originally setup the RADIU
-
Using classic vm causes inverse relationship to fail?
Hi there, Anyone seen this problem? I'm using 2.2.3 on win2k, jdk 1.3.1_03. When I run my test app under the normal (hotspot) VM it works fine. Then, I tried to debug it and it failed with a NullPointerException. Weird. I tracked it down to the fact
-
Future price on the accounting screen in MM02
If a future price and validity date is maintained in field ZKPRS on the accounting view of the material master, what transaction needs to run to activate this future price? Thanks for your help!