Sending Body of letter Through mail along with PDF file.
Dear friends,
I want to write some text in the mail(Body) while sending the PDF file.
Now I am sending PDF file , besides PDF file I have to write some text in the mail.
Please help me .
Thanks ,
Praveen.
here is sample code.... Check the perform set_up_email_body.....
FORM send_mail .
Set up the header,body ,file attachment of the message.
PERFORM set_up_email_hdr.
PERFORM set_up_email_body.
PERFORM set_up_att_file.
CLEAR: wa_objtxt.
SORT t_fieldcat BY no_out col_pos.
Set up patcking list for attachment
wa_objpack-body_start = w_tabln + 1.
Loop at report and separate by semi-colons
CLEAR: w_tabln.
SORT t_fieldcat BY no_out col_pos.
Loop at report and append header values
LOOP AT t_fieldcat INTO fs_fieldcat WHERE no_out = space.
IF wa_objtxt IS INITIAL.
wa_objtxt = fs_fieldcat-seltext_l.
ELSE.
CONCATENATE wa_objtxt
fs_fieldcat-seltext_l
INTO wa_objtxt
SEPARATED BY c_comma.
ENDIF. " IF WA_OBJTXT ...
CONDENSE wa_objtxt NO-GAPS.
ENDLOOP. " LOOP AT T_FIELDCAT ...
IF sy-subrc EQ 0.
APPEND wa_objtxt TO t_objtxt.
ENDIF. " IF SY-SUBRC ...
Fill Email attachment
PERFORM fill_email_report.
DESCRIBE TABLE t_objtxt LINES w_tabln.
CLEAR W_LINE.
READ TABLE t_objtxt INTO w_line INDEX w_tabln.
IF SY-SUBRC EQ 0.
fs_docda-doc_size = ( w_tabln - c_1 ) * 255 + STRLEN( w_line ).
wa_objpack-body_num = w_tabln.
wa_objpack-doc_size = w_tabln * 255.
APPEND wa_objpack TO t_objpack.
Add receipients to the mail.
PERFORM add_recipients.
send the mail
PERFORM call_send.
ENDIF. " IF SY-SUBRC EQ 0.
ENDFORM. " SEND_MAIL
*& Form add_recipients
This subroutine is used to add receipients to send mail.
There are no parameters passed to this subroutine.
FORM add_recipients .
IF p_user IS NOT INITIAL.
wa_receiver-receiver = p_user.
wa_receiver-rec_type = c_u.
APPEND wa_receiver TO t_receiver.
ELSE.
wa_receiver-receiver = p_dlist.
wa_receiver-rec_type = c_c.
APPEND wa_receiver TO t_receiver.
ENDIF. " IF P_USER ...
ENDFORM. " ADD_RECIPIENTS
*& Form call_send
This subroutine is used to send the mail.
There are no parameters passed to this subroutine.
FORM call_send .
IF t_objtxt[] IS NOT INITIAL.
Send the mail.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = fs_docda
put_in_outbox = c_x
commit_work = c_x
TABLES
packing_list = t_objpack
object_header = t_objhead
contents_txt = t_objtxt
receivers = t_receiver
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 NE 0.
MESSAGE s100(ra) WITH text-e05.
STOP.
ELSE.
MESSAGE s100(ra) WITH text-026.
ENDIF. " IF SY-SUBRC ...
ELSE.
MESSAGE s100(ra) WITH text-029.
STOP.
ENDIF. " IF T_OBJTXT[] ...
ENDFORM. " CALL_SEND
*& Form set_up_email_hdr
This subroutine is used to Setup the attributes of the Document
There are no interface parameters to this subroutine.
FORM set_up_email_hdr .
MOVE text-i03 TO fs_docda-obj_name.
IF sy-sysid+0(1) NE c_p.
CONCATENATE text-i02 text-i03 INTO fs_docda-obj_descr.
ELSE.
MOVE text-i03 TO fs_docda-obj_descr.
ENDIF. " IF SY-SYSID+0(1) ...
ENDFORM. " SET_UP_EMAIL_HDR
*& Form set_up_email_body
This subroutine is used to set body of an email
There are no interface parameters to this subroutine.
FORM set_up_email_body .
Setting the attributes of the document.
IF P_ZCR3 EQ C_X.
wa_objtxt-line = text-007.
ELSEIF P_REL EQ C_X AND P_CHECK NE C_X.
wa_objtxt-line = text-008.
ELSEIF P_REL EQ C_X AND P_CHECK EQ C_X.
wa_objtxt-line = text-008.
ELSE.
wa_objtxt-line = text-009.
ENDIF. " IF P_ZCR3 ...
APPEND wa_objtxt TO t_objtxt.
DESCRIBE TABLE t_objtxt LINES w_tabln.
CLEAR W_LINE.
READ TABLE t_objtxt INTO w_line INDEX w_tabln.
IF SY-SUBRC EQ 0.
fs_docda-doc_size = ( w_tabln - 1 ) * 255 + STRLEN( w_line ).
wa_objpack-head_start = c_1.
wa_objpack-head_num = c_0.
wa_objpack-body_start = c_1.
wa_objpack-body_num = w_tabln.
wa_objpack-doc_type = c_RAW.
APPEND wa_objpack TO t_objpack.
ENDIF. " IF SY-SUBRC EQ 0.
ENDFORM. " SET_UP_EMAIL_BODY
*& Form set_up_att_file
This subroutine is used to set up an attachment file.
There are no interface parameterst that need to be passed to
this subroutine.
FORM set_up_att_file .
Attaching the file to the mail.
wa_objhead-line = c_fname.
APPEND wa_objhead TO t_objhead.
wa_objpack-head_start = c_1.
wa_objpack-head_num = c_1.
wa_objpack-body_start = w_tabln.
wa_objpack-doc_type = c_CSV.
IF P_ZCR3 EQ C_X.
wa_objpack-obj_name = text-012.
wa_objpack-obj_descr = text-012.
ELSEIF P_REL EQ C_X.
wa_objpack-obj_name = text-027.
wa_objpack-obj_descr = text-027.
ELSE.
wa_objpack-obj_name = text-028.
wa_objpack-obj_descr = text-028.
ENDIF. " IF P_ZCRE EQ....
ENDFORM. " SET_UP_ATT_FILE
Similar Messages
-
I'm picking up all of the data script related to the sending / receipt of an e-mail along with the e-mail itself and can't find a way of not showing the text. Obviusly only a command but can't find it! Help!
Shift-Command-H is the key-combo to switch 'Long Header'/'Standard Header' .
Long way: Top Menu -> View -> E-Mail
Stefan -
How to include body of the mail along with attachment using the below FM
Hi All,
I am using the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' to generate an e-mail with excel file as attachment. Can you please let me know how to include body of the e-mail along with this attachment.
Thanks & Regards
Gowthamihi,
see this code
TABLES: apqi. "Queue info definition
TYPES DECLARATION
*& Global Types
TYPE-POOLS: slis, "Type for alv list
sx. "SAP connect
TYPE-POOLS: list.
*& Types
TYPES: BEGIN OF s_itab_apqi.
INCLUDE STRUCTURE apqi.
TYPES: END OF s_itab_apqi.
INTERNAL TABLE / WORK AREA DECLARATION *
*& For email attachment
DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
it_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE ,
it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE ,
it_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE ,
it_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE .
DATA: v_cnt TYPE i ,
v_sent_all(1) TYPE c ,
v_doc_data LIKE sodocchgi1 ,
gd_error TYPE sy-subrc ,
gd_reciever TYPE sy-subrc .
DATA: p_email TYPE somlreci1-receiver
VALUE 'mail id here of the reciever'.
*& Variable for attachment name
DATA: v_attach(12).
*& Internal table to get data from apqi table
table here
DATA: ws_line TYPE slis_listheader.
DATA: it_list_top_of_page TYPE slis_t_listheader.
CONSTANTS : v_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE'.
VARIABLE DECLARATION
DATA: v_colpos TYPE i.
DATA: v_transcnt(10) TYPE c,
v_transcnte(10) TYPE c,
v_transcntf(10) TYPE c,
v_msgcnt(10) TYPE c,
v_qid(20) TYPE c.
DATA v_tot_rec(3) TYPE n.
DATA :v_date(10) TYPE c,
v_time(8) TYPE c .
DATA: v_fromdate(10) .
DATA: v_todate(10) .
SELCTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-015.
PARAMETERS:
SELECTION-SCREEN END OF BLOCK blk1.
AT SELCTION SCREEN
AT SELECTION-SCREEN.
IF p_dfrom IS INITIAL AND
NOT p_dato IS INITIAL.
MESSAGE e000(zp) WITH text-020.
ENDIF.
START OF SELECTION
START-OF-SELECTION.
*& To get data from APQI table into internal table
PERFORM populate_itab.
**To Populate table with details to be entered into .xls file
PERFORM build_xls_data_table.
END OF SELECTION
END-OF-SELECTION.
*& To display ALV list when IT_APQI is not initial
IF NOT it_apqi[] IS INITIAL.
*&-- Send an Notification email
PERFORM send_email .
*&--To populate fields for ALV
PERFORM build_fieldcat .
PERFORM build_eventcat .
PERFORM e04_comment_build USING it_list_top_of_page[].
PERFORM build_layout .
PERFORM build_sortcat .
PERFORM start_list_viewer.
ELSE.
*&-- If no record exists in IT_APQI internal table then message is displayed
MESSAGE s000(zp) WITH text-021.
ENDIF.
FORMS **********************************
populate itab here -
*& Form BUILD_FIELDCAT
FORM build_fieldcat .
ENDFORM. " BUILD_FIELDCAT
*& Form BUILD_EVENTCAT
FORM build_eventcat .
DATA: v_header(25) .
CONCATENATE 'ZPIPY016' p_dfrom p_dato INTO v_header.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_eventcat[]
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
READ TABLE it_eventcat WITH KEY name = slis_ev_top_of_page
INTO wa_eventcat.
IF sy-subrc = 0.
MOVE v_formname_top_of_page TO wa_eventcat-form.
APPEND wa_eventcat TO it_eventcat.
ENDIF.
ENDFORM. " BUILD_EVENTCAT
*& Form BUILD_LAYOUT
FORM build_layout .
ws_layout-no_keyfix = 'X'.
ws_layout-group_buttons = 'X'.
ws_layout-colwidth_optimize = 'X'.
ENDFORM. " BUILD_LAYOUT
*& Form BUILD_SORTCAT
FORM build_sortcat .
CLEAR wa_sortcat.
CLEAR v_colpos.
ENDFORM. " BUILD_SORTCAT
*& Form START_LIST_VIEWER
FORM start_list_viewer .
DATA: ws_pgm LIKE sy-repid.
*& To Display ALV list
ws_pgm = sy-repid.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = ws_pgm
is_layout = ws_layout
it_fieldcat = it_fieldcat
it_sort = it_sortcat
i_save = 'A'
it_events = it_eventcat
TABLES
t_outtab = it_apqi
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. " START_LIST_VIEWER
*& Form BUILD_XLS_DATA_TABLE
FORM build_xls_data_table .
CLASS cl_abap_char_utilities DEFINITION LOAD.
CONSTANTS: con_tab TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
*& To populate it_attach table to be send as email.
CONCATENATE 'Error of transaction SM35' ' '
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
*& To gettotal number of error records
DESCRIBE TABLE it_apqi LINES v_tot_rec .
CONCATENATE 'Number of Errors = ' v_tot_rec
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
CONCATENATE text-001
text-002
text-003
text-004
text-005
text-006
text-007
text-008
text-009
text-010
text-011
text-012
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
*& To populate it_attach from it_apqi
LOOP AT it_apqi INTO wa_apqi.
*& To get the date format in DD/MM/YYYY
WRITE wa_apqi-credate TO v_date DD/MM/YYYY.
*& To get time format in hh:mm:ss.
v_time = wa_apqi-cretime.
CONCATENATE v_time(2) ':' v_time2(2) ':' v_time4(2) INTO v_time.
v_transcnt = wa_apqi-transcnt.
v_transcnte = wa_apqi-transcnte.
v_transcntf = wa_apqi-transcntf.
v_msgcnt = wa_apqi-msgcnt.
v_qid = wa_apqi-qid.
CONCATENATE wa_apqi-groupid wa_apqi-creator
wa_apqi-qstate v_date
v_time wa_apqi-progid
wa_apqi-userid v_transcnt
v_transcnte v_transcntf
v_msgcnt v_qid
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach .
CLEAR it_attach .
CLEAR: v_transcnt ,
v_transcnte,
v_transcntf,
v_msgcnt ,
v_qid ,
v_date ,
v_time .
ENDLOOP.
ENDFORM . " BUILD_XLS_DATA_TABLE
*& Form POPULATE_EMAIL_MESSAGE_BODY
FORM populate_email_message_body .
REFRESH it_message.
it_message = 'message here'.
APPEND it_message.
CLEAR it_message.
ENDFORM. " POPULATE_EMAIL_MESSAGE_BODY
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
FORM send_file_as_email_attachment TABLES pit_message
pit_attach
USING p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
CHANGING p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email .
ld_mtitle = p_mtitle .
ld_format = p_format .
ld_attdescription = p_attdescription.
ld_attfilename = p_filename .
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
v_doc_data-doc_size = 1.
Populate the subject/generic message attributes
v_doc_data-obj_langu = sy-langu.
v_doc_data-obj_name = 'SAPRPT'.
v_doc_data-obj_descr = ld_mtitle .
v_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR v_doc_data.
READ TABLE it_attach INDEX v_cnt.
v_doc_data-doc_size =
( v_cnt - 1 ) * 255 + STRLEN( it_attach ).
v_doc_data-obj_langu = sy-langu.
v_doc_data-obj_name = 'SAPRPT'.
v_doc_data-obj_descr = ld_mtitle.
v_doc_data-sensitivty = 'F'.
CLEAR it_attachment.
REFRESH it_attachment.
it_attachment[] = pit_attach[].
Describe the body of the message
CLEAR it_packing_list.
REFRESH it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
APPEND it_packing_list.
Create attachment notification
it_packing_list-transf_bin = 'X'.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
DESCRIBE TABLE it_attachment LINES it_packing_list-body_num.
it_packing_list-doc_type = ld_format.
it_packing_list-obj_descr = ld_attdescription.
it_packing_list-obj_name = ld_attfilename.
it_packing_list-doc_size = it_packing_list-body_num * 255.
APPEND it_packing_list.
Add the recipients email address
CLEAR it_receivers.
REFRESH it_receivers.
it_receivers-receiver = ld_email.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
APPEND it_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = v_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = v_sent_all
TABLES
packing_list = it_packing_list
contents_bin = it_attachment
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.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT it_receivers.
ld_receiver = it_receivers-retrn_code.
ENDLOOP.
ENDFORM. " SEND_FILE_AS_EMAIL_ATTACHMENT
*& Form SEND_EMAIL
FORM send_email .
Populate message body text
PERFORM populate_email_message_body.
PERFORM send_file_as_email_attachment
TABLES it_message
it_attach
USING p_email
'Error Sessions from SM35'
'XLS'
'filename'
v_attach
CHANGING gd_error
gd_reciever.
ENDFORM. " SEND_EMAIL
*& Form E04_COMMENT_BUILD
text
-->E04_LT_TOP_OF_PAGE text
FORM e04_comment_build USING lt_top_of_page TYPE slis_t_listheader.
CLEAR: v_fromdate,
v_todate.
WRITE p_dfrom TO v_fromdate DD/MM/YYYY.
WRITE p_dato TO v_todate DD/MM/YYYY.
*& To write header in ALV list
*& Program name
CLEAR ws_line.
ws_line-typ = 'H'.
ws_line-info = text-016.
APPEND ws_line TO lt_top_of_page.
CLEAR ws_line.
ws_line-typ = 'S'.
ws_line-key = text-018.
ws_line-info = v_tot_rec.
APPEND ws_line TO lt_top_of_page.
*& Date from
CLEAR ws_line.
ws_line-typ = 'S'.
ws_line-key = text-050.
ws_line-info = v_fromdate.
APPEND ws_line TO lt_top_of_page.
*& Date to
CLEAR ws_line.
ws_line-typ = 'S'.
ws_line-key = text-051.
ws_line-info = v_todate.
APPEND ws_line TO lt_top_of_page.
ENDFORM. "E04_COMMENT_BUILD
FORM TOP_OF_PAGE *
FORM top_of_page.
*& To write Heading in Top of page
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_list_top_of_page.
ENDFORM. "TOP_OF_PAGE
thanks -
.Once the billing document is saved, then an auto-generated mail along with
please provide me with solution on this real time ticket..
Once the billing document is saved, then an auto-generated mail along with PDF copy of invoice has to trigger to customer contact person.please provide me with solution on this real time ticket..
Once the billing document is saved, then an auto-generated mail along with PDF copy of invoice has to trigger to customer contact person. -
To send a mail along with a csv attachment.
Hi All,
my requirement is to send a mail along with a csv file attached to it. Could someone provide me their valuable comments that will guide me. I am using the function module.
SO_NEW_DOCUMENT_ATT_SEND_API1.https://forums.sdn.sap.com/click.jspa?searchID=22504268&messageID=6015600
https://forums.sdn.sap.com/click.jspa?searchID=22504268&messageID=3640641
https://forums.sdn.sap.com/click.jspa?searchID=22504268&messageID=6879100
https://forums.sdn.sap.com/click.jspa?searchID=22504268&messageID=5281059 -
Send PO Mail with PDF File that Chinese character doestn't display
Send PO Mail with PDF File that Chinese character doestn't display.
I am using RSTXPDFT4, unicode ECC6.0
Some computer Adobe Reader can read the file, but some computer cannot read, just a blank page.
Thanks.Hi
I worked for one client-chinese where we have to print chinese & english ( bilingual).You need to have dricer program which could identify both scripts .You are right ( unicode0
Please check for the driver program : TWPDF : PDF converter Chinese in SPAD setting.
SAP note is available.I will check and let you update .
Edited by: sunny on Oct 28, 2009 10:29 AM -
How to send a smartform result through mail?
How to send a smartform result through mail?
HI,
YOu can convert the output of Smartform into a attachment say PDF file & then send it across through mail.
Refer following program:
<a href="http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm">http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm</a>
Best regards,
Prashant -
Send PO Mail with PDF File that Chinese character doestn't display correctl
Send PO Mail with PDF File that Chinese character doestn't display !
I am using RSTXPDFT4 , tried different computer, some Adobe Reader can read
some are Blank .......
why ?Hi,
那不是要每一台 PC 如果看不到中文就要更新 ?
如果用戶不懂, 那就不是永遠看不見 ? 因為那是供應商嗎 ! -
Is anyone else having a problem sending a mail message with PDF attached?
Is anyone else having a problem sending a mail message with PDF attached? I receive the following message:
Sending the message content to the server failed.
Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
Is there a fix for this?Anyone? I was hoping my problem would just 'fix itself'... but I still have some clients telling me they're not receiving any email from me. I've since deleted that account on my computers and re-added it. But still having the same issue.
-
Whenever I send a email from iPad mail app with an attachment from pages or numbers, the receiver is getting only attachment in the email. They are getting the email content. How to troubleshoot this issue.
Someone is probably sending spam with your address forged on the To: line. Could be one of your old contacts with a Windows machine has a virus that's doing it. It's also possible your e-mail account has been hacked, though I'd think such a hacker would be a bit more purposeful.
For more information, see:
http://www.reedcorner.net/guides/macvirus/is_it_malware.php#spam
* Disclaimer: links to my pages may give me compensation, and should not be taken as endorsement of my services by Apple. -
Notes in Mail: Every time I type a new note it is emailed to my Mail along with a new note for every change I make to it.
I don't mind the Note being updated in my mail but I don't need a new copy every time I edit/add to the note.
It's driving me mad!
Thanks.A new tab opens by default as a blank tab (about:blank).
If that isn't the case then an extension has changed that behavior.
* https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
Problem when trying to send a mail with pdf file attached
When I use this features from Adobe reader, a new mail is opened with pdf file but my Outlook signature is not set automatically. Note that all is right configure in Outlook 2007 for the signature option...
Do you have a solution for this problem ?someone else reported this (unless it was you) You'll have to insert your sig manually.
-
.tmp files genrated along with XML files
Hi all,
Here my Interfaces are type of RFC- XI - FTP.
these are running successfully past long time and creating XML files in the target directory of FTP aplication system. Along with XML files this time abnormally .tmp files were generated in the Target directory of FTP application system. This was occured only one time few days back.
The generated XML files in target FTP system as usually read by Application system and processed in the sytem.
And tmp files generated are as XI_ftp_XI_ftp_0c200300-704c.tmp
could you all please let me know what could be the reason for happening this like generation of .tmp files abnoramally in Target FTP application system.
Thanks in advance...
Regards,
SivaHi, thanks for reply.
The Write mode is "Use temporary file"
But we have not got these .tmp files earlier and we have not mentioned any temporary file name sceme too.
Could any body please explain will .tmp files are generated randomly?
If i keep 'Directly' mode, will it keeps only the XML files in target directory?
Please advise.
Thanks,
Siva -
Hello, I am trying to send an email where the recipient opens the PDF file with a password, can anybody show me how to do that
Hi surez,
To password protect a PDF file, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. See www.adobe.com/products/acrobat.html for more information.
In Acrobat, you choose File > Properties when the document is open, and then click the Security tab to set up a password.
Please let us know how it goes.
Best,
Sara -
To Import XSD file along with WSDL file in ED
Dear All,
I am doing a scenario web service1 XIRFCweb service2. Web service1 sends request to XI and XI sends to RFC and RFC response to web service2 and web service2 response (acknowledge) back to XI and XI sends back to web service1.
My client (web service2) has given me the web service (WSDL) file along with XSD file.
In the wsdl file there are number of elements and complex types.
<xs:element name="GetCustomer">
<xs:complexType>
<xs:sequence>
<xs:element name="authentication" type="xx:AuthInfo"/>
<xs:element name="CompanyName" type=" xx:AuthInfo "/>
</xs:sequence>
</xs:complexType>
</xs:element>
The type (xx:AuthInfo and xx:AuthInfo) are defined in XSD file.
My questions are
1) Do I have to import the XSD file in ED or not.
2) How do I map this XSD
3) As WS1, RFC and WS2 all are synchronous MT do I have to use BPM for it.
4) Can some one help with any docs please..
Thanks in advanceHi,
>>Do I have to import the XSD file in ED or not
If you are having the wSDL files then you can take the structure from there itself. Just import the wsdl files in IR. You can also use XSD.
>>How do I map this XSD
XSD are same as Message Types. So create a MM and choose your XSD.
>>As WS1, RFC and WS2 all are synchronous MT do I have to use BPM for it.
Yes you have to because you are taking the responce from RFC and going to give it to WS2.
BPM steps:
1) receive (open sync bridge)
2) transformation 1
3) send (snyc)
4)transformation 2
3) send (close sync bridge)
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Regards
Suraj
Maybe you are looking for
-
How to improve performance of DSO activation
Hi all, We have created a DSO which is updated daily from another DSO. The extraction is from the Active table of the source DSO, so all records are extracted, in this case roughly 1,000,000 records. (we cannot use delta update for this particular DS
-
A friend recently gave me their old Macbook pro 15 because they broke the screen and the Apple store quoted them $500-600 to fix it. I looked online and bought a screen of ebay for $170 in hopes of fixing it myself. After getting the screen I hooked
-
Hello All, I am trying to figure out how can i run a AD hoc query to see only last four digits of selected employee's? Is there any way, anybody knows how to do this? Thanks all abhijit
-
Anyone else having these issues? NOTES APP The cursor vanishes and I need to quit and re-launch the app to get it back. This happens after the app has been open for a period of time. Loss of Sound in certain apps After my Mac is open and running for
-
Hi Gurus,, I had a Requirement, Iam Passing Some Set Of tables on to the Adobe Forms From Web Dynpro Abap.. All the Tables are Positioned In Adobe Forms as per my requirement..In this set of Tables ..I Had A table..If this Tables has ma