Fax recieving (works) and sending as e-mail (works not)
I configured my mini as server. He recieve faxes, store them in a folder, but doesn´t send them away on my e-Mail-account. He has an stabile internetconnection via Hub an a router. What can i do?
mac mini Mac OS X (10.4.5) 256 RAM
Perfect! Works like a charm.
For others looking for the fix.
In 10.6, it seems someone at Apple decided that Copy Address should really mean Copy Name And Address And Add Angle Brackets Around The Address, because that's exactly what happens when you use Copy Address in Snow Leopard's Mail app. Instead of getting [email protected] on the clipboard, you get Sue Sample <[email protected]>.
Besides now having an incorrect name on the Copy Address contextual menu item (thought admittedly, the alternative is a bit lengthy), this behavior is incredibly irritating if you want only the email address on the clipboard. Thankfully, some engineer somewhere deep within Apple included a hidden preference to change this behavior -- and the fine folks at Mac Daddy World (the Ecamm Network blog site) dug deep and discovered this preference.
To revert to the 10.5-style behavior in Mail, first quit Mail then enter this command in Terminal:
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO
Similar Messages
-
I updated to 5.0 and my outgoing cox mail is not working
I updated to 5.0 and my outgoing cox mail is not working. In coming is fine, but I can't send any mail.
I have the same problem with my iphone4 purchased in Hong Kong, I live in Guangzhou. How can I switch the maps app back to English?
-
How can I mail merge in new Pages 5.2 and send it by Mail?
How can I merge mail in the new Pages version 5.2 and send it by Mail?
It seems that there is not a mail merger available anymore for Pages. Although it is a powerfull mecanism to send a bunch of letters by Mail, Apple has downgraded themselves by excluding this feature from this app. What is the solution to this problem?
Should i seek a Microsoft program to resolve this issue, because the new version of pages simply will not cut it without these necessary features.If you have the previous version of Number and Pages you can still use those applications to perform a mail merge. Neither the previous version nor the latest version support mass emailing. There are other applications that can do that.
Using my favorite search engine I was able to identify several services that can perform a mass email campaign:
I used the search term: "mass email service" -
Generating a PDF from a OTF (imported from CLOSE_FORM) and send it by mail.
Hello!
I have a problem.
I'll try to explain it toy you.
I have a SapScript that the user has the option to send it to the printer or have a Print Preview. I need to send it by mail in PDF format.
If the user select PRINT, a spool id is created, I can get the OTF, generate the PDF and send it by mail. Everything OK with that.
The problem is if the user select PRINT PREVIEW I don't get a spool id. So, what I did is to get the OTF from the CLOSE_FORM MF and generate de PDF from there. I tried several FM to generate the PDF but for sure I'm doing something wrong, because or the PDF is corrupted or I have a problem with the parameters in the SO_NEW_DOCUMENT_ATT_SEND_API1 FM.
So, what I need it: Generate a PDF from a OTF imported from CLOSE_FORM FM and send it by mail.
Examples or the FM I can use are welcome.
I tried to do search here, but I couldn't find anything that may help me..
So, please... Show me the light!!!
Thanks!!!
BettinaPart 3
* Send Report
clear: maildata, mailtxt, mailbin, mailpack, mailhead, mailrec.
refresh: mailtxt, mailbin, mailpack, mailhead, mailrec.
* Creation of the document to be sent File Name
maildata-obj_name = 'REPORT'.
* Mail Subject
maildata-obj_descr = 'Your Report'.
describe table mailtxt lines tab_lines.
read table mailtxt index tab_lines.
maildata-doc_size = ( tab_lines - 1 ) * 255 + strlen( mailtxt ).
* Creation of the entry for the compressed document
clear mailpack-transf_bin.
mailpack-head_start = 1.
mailpack-head_num = 0.
mailpack-body_start = 1.
mailpack-body_num = tab_lines.
mailpack-doc_type = 'RAW'.
append mailpack.
* Creation of the document attachment
loop at solisti1.
move-corresponding solisti1 to mailbin.
append mailbin.
endloop.
describe table mailbin lines tab_lines.
mailhead = 'REPORT.OTF'.
append mailhead.
** Creation of the entry for the compressed attachment
mailpack-transf_bin = 'X'.
mailpack-head_start = 1.
mailpack-head_num = 1.
mailpack-body_start = 1.
mailpack-body_num = tab_lines.
mailpack-doc_type = 'OTF'.
mailpack-obj_name = 'ATTACHMENT'.
mailpack-obj_descr = 'Some Report'.
mailpack-doc_size = tab_lines * 255.
append mailpack.
mailrec-receiver = lv_email_address. "<-- a valid email address
mailrec-rec_type = 'U'.
append mailrec.
* Sending the document
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = maildata
put_in_outbox = 'X'
tables
packing_list = mailpack
object_header = mailhead
contents_bin = mailbin
contents_txt = mailtxt
receivers = mailrec
exceptions
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
others = 99.
Regards,
Rich Heilman -
How to create Word file and send file in mail as an attachment
Hi Guys,
I want to create report which fetech data from table and create word file of the same data and send file in mail as an attachment.Hello Sagar,
Before posting please use GOOGLE,any way it may help u,
DivulgeSAP: Send email with PDF, ZIP, TXT etc., as attachment from CL_BCS interface
Thanks
Sam -
When I try and send an e-mail via the PDF in print it gives a warning
When I try and send an e-mail via the PDF in print it gives a warning saying :
“” does not appear to be a valid e-mail address. Verify the address and try again.
For whatever reason it is putting a "" in front of the address that I get from the address book.
There is nothing in my previous recipients and if I copy and paste the info from the e-mail to another e-mail from mail directly the address is fine and it sends without and problems.
Any ideas or web site I can visit to remove this ?
GregQuote : So you start typing in the recipients name and it puts the name in quotes?
Yes.
As is normal, I type in a few letters and the auto fills in the name and the name is highlighted in blue as always.
It does not happen if I send it from the SHARE dropdown.
However in the SHARE I have to send all the pages.
I have to use the FILE dropdown and then the PRINT, pick the first page (single) and then go to the MAIL PDF.
That is the one I am having the issue with.
Thanks for taking the time to help.
Greg -
Attach any file type in the same format and send it thorugh mail
Dear Guru ,
I have encountered an issue which i am not able to resolve .
The issue is like this I need to upload any kind of file type(such as .txt, .xls, .pdf, .doc, .jpeg, .bmp)
and need to send that file send that particular file and the same file type format attached in the mail.
how i should approch to get solution to this issue.
I have gone through the all prog refered in the code gallry (related to send mail with attachment) but i am not able to find out any prog which is giving guidine line attach any kind of file type from the PC (most of the prog is with either taking filetype .txt, .xls or RAW) and send it via mail .
Need proper guideline to resolve this issue.... how i should approch to solve this.....
Thanks & regards
Saifur RahamanDear Saha Da,
Yes saha da i know using SO00 or Sap Business Workplace (SBWP) you can send it.
But the requirment is like this it must have to do from the selection scereen of the prog .User can save the path of the file which is residing in pc in a variant and from that variant prog will run in background to automate the process.
We can do it using harcoding the filetype while uploading data from the selection screen.
But we have to provide the flexiblity to the user so that he/she can change to any file or any file path.
I am not pretty sure but i my plan i am thinking 1st i will provide the provision of uploading the file into sap application server and from there we will read the file type , file content and send it to mail.
I know it can be done but right now dont know how it can be done ..... but i will findout...
Can you give me some more guideline reagrding this.
Thanks & regards
Saifur Rahaman -
Trigger changes to T000 and send an e-mail
Dear all,
I've enabled the table logging for our R/3 system (ECC 6.0 EHP6), activating the rec/client paramenter for the productive client; because I need to monitor the changes to T000 table.
Is there a way with "standard" components (I don't want to write any ABAP program) to define a workflow that "triggers" the "change event" and sends an e-mail to an external address?
Thanks,
ClaudioHi Claudio
You can try the event approach mentioned here:
Triggering a Workflow whenever a new record is created:
regards,
Modak -
Any FM to pick an excel from a path in desktop, and send it as mail ?
Hi,
I want to pick a file from desktop, and send it through mail, as an attachment.
Does SAP provided that facility?
Regards
RudraHi Rudra,
Please chk if this program suits ur requirement..
report y_send_mail.
data method1 like sy-ucomm.
data g_user like soudnamei1.
data g_user_data like soudatai1.
data g_owner like soud-usrnam.
data g_receipients like soos1 occurs 0 with header line.
data g_document like sood4 .
data g_header like sood2.
data g_folmam like sofm2.
data g_objcnt like soli occurs 0 with header line.
data g_objhead like soli occurs 0 with header line.
data g_objpara like selc occurs 0 with header line.
data g_objparb like soop1 occurs 0 with header line.
data g_attachments like sood5 occurs 0 with header line.
data g_references like soxrl occurs 0 with header line.
data g_authority like sofa-usracc.
data g_ref_document like sood4.
data g_new_parent like soodk.
data: begin of g_files occurs 10 ,
text(4096) type c,
end of g_files.
data : fold_number(12) type c,
fold_yr(2) type c,
fold_type(3) type c.
parameters ws_file(4096) type c default 'c:\debugger.txt'.
Can me any file fromyour pc ....either xls or word or ppt etc ...
g_user-sapname = sy-uname.
call function 'SO_USER_READ_API1'
exporting
user = g_user
PREPARE_FOR_FOLDER_ACCESS = ' '
importing
user_data = g_user_data
EXCEPTIONS
USER_NOT_EXIST = 1
PARAMETER_ERROR = 2
X_ERROR = 3
OTHERS = 4
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
fold_type = g_user_data-outboxfol+0(3).
fold_yr = g_user_data-outboxfol+3(2).
fold_number = g_user_data-outboxfol+5(12).
clear g_files.
refresh : g_objcnt,
g_objhead,
g_objpara,
g_objparb,
g_receipients,
g_attachments,
g_references,
g_files.
method1 = 'SAVE'.
g_document-foltp = fold_type.
g_document-folyr = fold_yr.
g_document-folno = fold_number.
g_document-objtp = g_user_data-object_typ.
*g_document-OBJYR = '27'.
*g_document-OBJNO = '000000002365'.
*g_document-OBJNAM = 'MESSAGE'.
g_document-objdes = 'sap-img.com testing by program'.
g_document-folrg = 'O'.
*g_document-okcode = 'CHNG'.
g_document-objlen = '0'.
g_document-file_ext = 'TXT'.
g_header-objdes = 'sap-img.com testing by program'.
g_header-file_ext = 'TXT'.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
exporting
method = method1
office_user = sy-uname
ref_document = g_ref_document
new_parent = g_new_parent
importing
authority = g_authority
tables
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
changing
document = g_document
header_data = g_header
FOLMEM_DATA =
RECEIVE_DATA =
File from the pc to send...
method1 = 'ATTCREATEFROMPC'.
g_files-text = ws_file.
append g_files.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
exporting
method = method1
office_user = g_owner
ref_document = g_ref_document
new_parent = g_new_parent
importing
authority = g_authority
tables
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
changing
document = g_document
header_data = g_header
method1 = 'SEND'.
g_receipients-recnam = 'MK085'.
g_receipients-recesc = 'B'.
g_receipients-sndex = 'X'.
append g_receipients.
call function 'SO_DOCUMENT_REPOSITORY_MANAGER'
exporting
method = method1
office_user = g_owner
ref_document = g_ref_document
new_parent = g_new_parent
importing
authority = g_authority
tables
objcont = g_objcnt
objhead = g_objhead
objpara = g_objpara
objparb = g_objparb
recipients = g_receipients
attachments = g_attachments
references = g_references
files = g_files
changing
document = g_document
header_data = g_header.
*-- End of Program
Warm Regards
Gokul -
My printer receives and prints my e mail but not the attachments how do I rectify this?
My printer receives and prints my e mail but not the attachments. How do I rectify this?
Hi robgpearce,
Your issue could be related to the file type or a setting with the file. In the help section of ePrintCenter.com, it goes into details on how the HP ePrint service does not support printing webpages via email at this time, HP is currently developing dedicated solutions to support webpage printing from mobile devices. Image files (like jpeg, bmp, tiff, etc) need to be at least 100DPI in order to print via ePrint. PGP encryption, digitally signed documents, macro-enabled spreadsheets and password-protected documents are not supported by ePrint at this time and will not print.
If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
Although I work for HP, my posts and replies are my own opinion and not those of HP. -
Downloaded iOS7 on my 4S. Mostly went well, but sometimes screens lock up (especially text, but also Settings). Find I cannot access and send texts sometimes, plus do not receive some texts from others (group messages real problem). Any work around? And related problem: Getting told can not connect to network when trying to sign on with Apple ID to launch Facetime and Messages.
I've restarted several times. If I restore from backup, unfortunately the backup was done after iOS7 downloaded. Now, am I wrong that "restore as new" will essentially wipe me out? If so, and having backup, you're saying essentially start over and then backup?
-
my mail will not open after I click on mail.when I try to shut down my laptop ,it wouldn't telling that mail is preventing the computer from shutting down,asking to quit Mail and when I do mail dose not quit
Mail is open but it is frozen, being this the reason why you cannot open the Mail window. Press Alt, Command and Esc keys or go to > Force Quit, select Mail and force quit it. Finally, you will be able to turn off or restart the MacBook
-
Converting OTF to EXCEL or PDF to ECXEL and sending Excel through mail
Hi ,
I need a solution for Converting OTF into EXCEL or PDF into ECXEL and sending Excel as a attachment to the mail.
In my current Program I am getting OTF data from script and converting into PDF using Function module ' CONVERT_OTF'
And sending PDF as a mail attachment using Function module 'SO_NEW_DOCUMENT_SEND_API1' it is working fine but
My current requirement is I need to send Excel as a mail attachment instead of PDF.
Hope it is clear for you, please give me solutions with sample code..Hi!
Because OTF is not a grid, like Excel, and PDF can also contain anything, I think it is not possible to convert an OTF, or PDF into an excel spreadsheet.
You can convert an ALV into excel and send it via email.
Regards
Tamá -
Report to see and send as e-mail of all open Complaints/transactions
Hello Gurus,
We need to view all the Open Service Transactions/Incidents (we have a Ztransaction type) for the past 3 months and send that output as an attachment to our Service Manager's e-mail address for him to action on.
Is there a standard way of achieving this ?
Please point me if there are any GUI transaction codes that i can schedule them as a background job specifying an e-mail address ?
Thanks in advance,
Regards,
Gopi.Hi Gopi,
There are no standard tools for your requirement. It is very specific requirement to your customer.
However, there are a couple of tools which you can use to extract the data. The mailing part needs to be development in custom solution.
My suggestion would be develop a report and use the tools to extract the data. Then schedule the job in the back ground. I also developed a similar kind of functionality in one of my earlier project.
Let me know if you need any kind of technical inputs regarding the development.
Hope this helps.
Thanks,
Samantak Chatterjee. -
Convert smartform spool to 2 pdf and send it by mail
Hi! Can someone show me some code how to call the smartform and use the spool to convert to pdf and then send it by mail?
Thanks in advance,
Regardshai
its very useful for u
Object ID : PTP_TS_FRM_202 *
Description : Print Program For PO Goods Receipt Document *
Developer : Ganesh Shanker Vidyarthi *
Date : 11/06/2006 *
Genentech Contact : *
Functional Contact : *
Purpose : This program is driver program of Goods Receipt*
Printing. *
Program Logic : The Goods Receipt form (Raw material worksheet) *
would be created once we entered the values of
MBLNR MJAHR ZEILE fields on the selection screen.
Modification Log *
Changed On Developer Transport No. Description *
11/06/2006 G.S.Vidyarthi Creation *
REPORT zptpfrm202p_pogr_pr_instr MESSAGE-ID zmm.
TABLES *
Database table made for getting information about PRINTPREVIEW and
PRINT command more than one times
TABLES: zgr_table.
TYPE-POOLS:syscr.
GLOBAL TYPE DECLARATION *
DATA: zdoc_output_info TYPE ssfcrespd, "SF:Return Document Inf.
zjob_output_info TYPE ssfcrescl, "SF:Return value at end of
form printing
i_control TYPE ssfctrlop ,
i_output_options TYPE ssfcompop,
zjob_output_opts TYPE ssfcresop. "SF:Return value at start
of form printing
*This internal table is used for storing Document Segment: Material
DATA: BEGIN OF i_mseg.
INCLUDE STRUCTURE mseg.
DATA: END OF i_mseg.
This internal table is used for storing Header: Material Document
DATA: BEGIN OF i_mkpf.
INCLUDE STRUCTURE mkpf.
DATA: END OF i_mkpf.
*Variables
DATA flag(1) TYPE c.
DATA: vfile TYPE string.
SELECTION-SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
PARAMETERS:p_mblnr TYPE mkpf-mblnr OBLIGATORY MATCHCODE OBJECT zganesh,
p_mjahr TYPE mkpf-mjahr OBLIGATORY MATCHCODE OBJECT zganesh1,
p_zeile TYPE mseg-zeile OBLIGATORY MATCHCODE OBJECT zganesh2.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 10.
PARAMETER:r_disp RADIOBUTTON GROUP g1 USER-COMMAND u1 DEFAULT 'X'.
SELECTION-SCREEN:COMMENT 15(10) text-002 .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 10.
PARAMETERS: r_down RADIOBUTTON GROUP g1.
SELECTION-SCREEN:COMMENT 15(10) text-003.
*PARAMETERS: v_file LIKE rlgrap-filename .
*SELECTION-SCREEN:COMMENT 70(50) text-005.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 10.
PARAMETERS: r_print RADIOBUTTON GROUP g1 .
SELECTION-SCREEN:COMMENT 15(10) text-004.
SELECTION-SCREEN END OF LINE.
PARAMETERS: v_file LIKE rlgrap-filename MODIF ID g12.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR v_file.
DATA : wlv_field_name LIKE dynpread-fieldname,
wlv_file_name LIKE ibipparms-path.
wlv_field_name = v_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = wlv_field_name
IMPORTING
file_name = wlv_file_name.
IF sy-subrc EQ 0.
vfile = wlv_file_name.
v_file = wlv_file_name.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'V_FILE'.
IF r_disp EQ 'X' OR r_print EQ 'X'.
screen-input = 0.
ELSE.
screen-input = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
START-OF-SELECTION EVENT *
START-OF-SELECTION.
CALLING CONVERSION FUNCTION MODULE 'CONVERSION_EXIT_ALPHA_INPUT' *
*Conversion function module for appending 00 befor MBLNR FIELD
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = p_mblnr
IMPORTING
output = p_mblnr.
Call subroutine for fetching data from database
PERFORM get_data.
END-OF-SELECTION EVENT *
END-OF-SELECTION.
Call subroutine for calling and processing smartform
PERFORM call_smartform.
*& Form get_data
Subroutine for fetching data from database
FORM get_data .
Fetching data from MKPF table with using parameters MBLNR and MJAHR
SELECT SINGLE * FROM mkpf
INTO i_mkpf
WHERE mblnr = p_mblnr
AND mjahr = p_mjahr.
IF sy-subrc EQ 0.
Fetching data from MSEG with using parameters MBLNR,ZEILE and MJAHR
SELECT SINGLE * FROM mseg
INTO i_mseg
WHERE mblnr = i_mkpf-mblnr
AND mjahr = i_mkpf-mjahr
AND zeile = p_zeile.
IF sy-subrc NE 0.
CLEAR i_mseg.
ENDIF.
ELSE.
MESSAGE i000.
EXIT.
ENDIF.
ENDFORM. " get_data
*& Form call_smartform
Subroutine for calling smartform
FORM call_smartform .
Local template used in the processing output of smartform
TYPES: BEGIN OF lt_ztable,
mandt TYPE sy-mandt,
mblnr TYPE mseg-mblnr,
flag(1) TYPE c,
END OF lt_ztable.
CONSTANTS: c_x(1) TYPE c VALUE 'X'.
Workarea
DATA: lw_ztable TYPE lt_ztable.
*Variable used in the smartform
DATA: lv_form(30) TYPE c,
lv_fm_name(30) TYPE c.
lv_form = 'ZPTPFRM202L_POGR'.
*Calling function module SSF_FUNCTION_MODULE_NAME which gives new name
*to the function module that will generated by smartform.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lv_form
IMPORTING
fm_name = lv_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*Calling function module that will be generated by smartform
IF r_disp = c_x.
i_output_options-tdimmed = space.
i_output_options-tdnewid = c_x.
i_output_options-tddest = 'LOCL'.
i_control-no_dialog = 'X'.
i_control-preview = 'X'.
ELSEIF r_print = c_x.
i_output_options-tdimmed = c_x.
i_output_options-tddest = 'LOCL'.
i_control-no_dialog = c_x.
ELSE.
i_output_options-tdimmed = space.
i_output_options-tdnewid = c_x.
i_output_options-tddest = 'LOCL'.
i_control-getotf = 'X'.
i_control-preview = space.
i_control-no_dialog = c_x.
flag = c_x.
ENDIF.
CALL FUNCTION lv_fm_name
EXPORTING
control_parameters = i_control
output_options = i_output_options
user_settings = space
zmkpf = i_mkpf
zmseg = i_mseg
IMPORTING
document_output_info = zdoc_output_info
job_output_info = zjob_output_info
job_output_options = zjob_output_opts
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Modify the database table if it found the print command
IF zjob_output_opts-tdpreview NE c_x.
lw_ztable-mandt = sy-mandt.
lw_ztable-mblnr = p_mblnr.
lw_ztable-flag = c_x.
MODIFY zgr_table FROM lw_ztable.
CLEAR lw_ztable.
ENDIF.
IF flag EQ c_x.
DATA: li_lines LIKE tline OCCURS 100 WITH HEADER LINE.
DATA: lv_file TYPE string,
lbin_fsiz TYPE i.
lv_file = v_file.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = lbin_fsiz
TABLES
otf = zjob_output_info-otfdata
lines = li_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = lbin_fsiz
filename = lv_file
filetype = 'BIN'
TABLES
data_tab = li_lines
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDFORM. " call_smartform
**Please reward suitable points***
With Regards
Navin Khedikar -
Smart form to PDF and send it by mail
Hi ,
I have smartform whihc i have to conver into pdf and send by mail. nay inputs is higghly appreciatedHi,
You call the smartform-function module from within your printprogram.
That smartform-function module has some standard import en export
parameters(tables).
One of the parameters (OTF) you have to mark (X).
Than after the processing of the smartform(-function module) you get your
otf back in an internal table.
You have to convert this table to pdf with FM convert_to_pdf (or something
like that).
The output of this FM can be downloaded to the presentation server (pc) (FM
gui_download) or written to the application server (SAP server) (transfer
statement).
Then use this link to send mail
http://www.sap-img.com/abap/sending-email-with-attachment.htm
Reward if useful!
Maybe you are looking for
-
The Elements 12 Mac disk works fine - I also have a Dell, and the Windows disk will not run at all, sounds like it's grinding, and is almost impossible to remove from the hard drive. I cannot find any place to tell me who to CALL to ask for a replac
-
Need Help with SWF Video Files
Hello there. I'm experiencing a new problem with Presenter. I'm using WinXP, PowerPoint 2002 SP3, and the latest version of Presenter. I have a presentation that contains many video clips. I've converted them all to SWF files and have inserted them o
-
Can't add Custom Image to Contact Card
Just upgraded to Snow Leopard. Noticed that when making up a new contact card, I can't just drop an image (somebody's face) into the Custom Image box anymore. The box lights up -- highlighted in blue -- but it won't accept the image. Any ideas?
-
Can I control which of my devices shows photo stream
can I control which of my devices shows photo stream? I want to be able to store my photos privately in iCloud. I have my sons iPods synced to my iTunes Library but do not have my pictures on their devices. Can this be in the iCloud without going
-
Bug: Lightroom 3.3 hang when importing video
On Windows, Lightroom 3.3 will hang when importing .AVI videos when the following is true: - Move or Copy (not Add) - Rename Files is selected - Filename pattern includes "exposure" Changin to a pattern that only includes date and time will make the