
Hello everybody, i' m having trouble sending a smartform output to an email address as a pdf attachment using function so new document att send api1 pdf attachment so_ new_ document_ att_ send_ api1. relevant information for so_ new_ document_ att_ send_ api1. i try to send an email with a csv attachment, and all work fine. here is the actual problem. too_ many_ receivers = 1. object_ header = lt_ objhead. to send message from sap to xchange server. to send lists, you can use the so_ new_ document_ att_ send_ api1 module. we use function module so_ new_ document_ att_ send_ api1 to send mail with pdf attachment. subject: [ sap- abap] so_ new_ document_ att_ send_ api1 & csv file. so_ new_ document_ att_ send_ api1. sending attachment though mail using fm so_ new_ document_ att_ send_ api1. basically, it consists of three steps: create a document ( fm so_ document_ insert_ api1) attach some binary content to that document ( fm so_ attachment_ insert_ api1) send the document ( fm so_ old_ document_ send_ api1). this interface provides a comfortable, class- based method to send documents. i am using the < b> fm< / b> so_ new_ document_ att_ send_ api1 in my prog. basis components. i discovered that the sender of these emails is the sap user that fired the report and the function doesn' t have the sender exportation parameter like the old so_ document_ send_ api1 has. 10, you can also use the bcs interface. relevancy factor: 8. ( we may be wrong). receivers = lt_ reclist. sap abap fm ( function module) : so_ new_ document_ att_ send_ api1 - sapoffice: send new document with attachments using rfc. steps in the program. sending e- mails with attachments from sap. suggestion: use browser' s search ( ctl+ f) function to find reference/ help links. i' m using so_ new_ document_ att_ send_ api1 function to send an email with an attachment both for a sap user and for an external email. bcs stands for business communication service. posted by marco iozzelli on 04: 07: 00 am. sent_ to_ all = new_ object_ id = tables packing_ list = objpack object_ header = objhead contents_ bin = objbin contents_ txt = lit_ objtxt. hi guys, i’ m sorry to open another post on this argument, but i didn’ t found any answer to solve my problem. object_ para = object_ parb = receivers = reclist exceptions too_ many. send mail with attachment; call function ‘ so_ new_ document_ att_ send_ api1’ exporting. abap - sending email with pdf attachment. send the document call function ' so_ new_ document_ send_ api1' exporting document_ type = ' raw' document_ data = doc_ chng put_ in_ outbox = ' x' tables object_ content = objcont object_ para = object_ para receivers = reclist exceptions too_ many_ receivers = 1 document_ not_ sent = 2 operation_ no_ authorization = 4 others = 99. there are five steps involved in sending the email with an attachment. pack the mail contents and attachment. print report using new- page print off statement. basis services / communication interfaces. put in the mail contents. 6c we weren’ t able to provide the pc filenames list and make it work, but it does not mean that it won’ t work. contents_ bin = it_ attachment. one of these interfaces is the api1 send module. problem sending smartform to email as pdf attachment. finally, send the mail out. i have read many of the topics posted in this forum regarding that issue and incorporated some of the suggestions in my. output is sent to spool. this abap program uses the function module ‘ so_ new_ document_ att_ send_ api1’ to send the email with an attachment. create the attachment. hello gurus, please help me with the mail sending attachment ( excel file) using fm so_ new_ document_ att_ send_ api1. so_ new_ document_ att_
send_ api1: short text: sapoffice: send new document with attachments using rfc: function group: soi1: package: so: so new document att send api1 pdf attachment module type: remote- enabled. iam receiving an email with attachment but while opening file iam getting the error as ' the file is not in recognize format' with options ok cancel help. call function ‘ so_ new_ document_ att_ send_ api1’ exporting document_ data = docdata put_ in_ outbox = ‘ x’ importing. sap abap fm ( function module) : so_ new_ document_ att_ send_ api1 - sapoffice: send new document with attachments using rfc. packing_ list = lt_ objpack. iam developing a report to sent internal table data as an excel file to user using so_ new_ document_ att_ send_ api1 funtion module. create classical report output. ontents_ hex = objhex. document_ data = lv_ document_ data. put_ in_ outbox = ‘ x’ commit_ work = ‘ x’ tables. sending mail with pdf attachment. henry, if you use so_ new_ document_ att_ send_ api1 you have to work a bit with the packing list, and with objbin, but you should be able to send more than one attachement with them. sending e- mail from abap – version 610 and higher – bcs interface | sap blogs. hi guys, if i am getting the script output data in otf foramt ( by selecting the itcpo- tdgetotf = ' x', which doc_ type i have to use to send it as a pdf attachement. attaching a file to an e- mail in sap erp is not really hard. the big problem is content of the attachement. contents_ txt = lt_ objtxt. use subcomponents.