Query related to time in mail sending..
Hi all,
When I am sending the mail using my ABAP code where used FM is SO_DOCUMENT_SEND_API1...its not reflecting the correct time into the outlook mail..please help how could I make it correct..
Thanks
Rajeev
Edited by: Rajeev Shrivastava on Sep 15, 2009 7:30 AM
Hi Karthik,
I have tried your logic but its not giving the correct time ...
actually its already being used in my program,
The difference is only in : you have used ..........output = ' ' & I have used ...........output = 'X'
like this :
SUBMIT rsconn01 WITH mode = 'INT' WITH output = 'X ' .
Thanks
Rajeev
Edited by: Rajeev Shrivastava on Sep 15, 2009 12:20 PM
Edited by: Rajeev Shrivastava on Sep 15, 2009 1:30 PM
Edited by: Rajeev Shrivastava on Sep 15, 2009 2:18 PM
Similar Messages
-
Query related to multiple attachments in mail adapter
Hi,
I have a query related to multiple attachments in receiver mail adapter.
I have successfully configured mail related scenarios but now I have another requirement in which I have multiple source files in one directory and I want to send one mail for multiple files as mail attachment using receiver mail adapter. Can anybody help me how to achieve multiple attachments in reciever mail adapter.
To clarify the requirement more let us take an example
Ex: I have 5 input files in the source which I pick up using additional files option in the sender file adapter, now I want to send those 5 files into one mail with 5 attachments. Can anybody explain how 5 different payload will be sent as multiple attachments in one mail.
For your information I used, options like "keep attachments" , some parameters in module processesors etcs...but not able to find out as how exactly it will be achieved.......I dont want to use BPM collect pattern for this.....
Need your help on this issue. Please suggest the solution as how it can be achieved using receiver mail adapter.
Thanks & Regards
PrabhatHi,
I resolved the issue on my own. Thanks for your help and support.
Thanks & Regards
Prabhat -
Why is it, every time I click send e-mail for instructions on resetting my security questions, I don't get them? I just want to play minecraft. I already put $15 in my balance and I can't even spend it. Thank you for taking the time to read this.
Either they're being sent to a different email address, or got caught in a spam filter, or something's wrong at Apple's end. If you can't find the email, you need to ask Apple to reset your security questions, which can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
(105723) -
Hi,
I am a newbie in SP2013. I have a task to crate a Timer Job that send e-mail to specific people and in specific time. My situation: there is list "Task for developer" with only 2 field "Developer" - people or group field and "Date"
- date field. Time Job should check current date and date from "Date" and if it current data = "Date" the message to people from "Developer" should be send.
I have never worked with Timer Job. As I uderstand TJ it include some steps:
1) Connect to my site
2) Get my list "Task for developer"
3) Get all item from list
4) Check the field "Date" of all items
5) If current data and "Date" are equal to get all people from "Developer" and formed message.
If I correctly understand help me please to realise it in VS C#.
P.S. Workflow doesn't offer :)
Tank you for any reply :)This has been asked before if you googled it or used search
Take a look
here
Also
here
If this is helpful please mark it so. Also if this solved your problem mark as answer. -
Hi experts,
I m using SO_NEW_DOCUMENT_ATT_SEND_API1 function moduel for sending mails to dealers. That is, whenver i execute a Z transaction, the customer invoice details are getting displayed in report output. At the same time, the same output data is sent as mail to the respective dealers.
Now teh user is asking whether there is any possiblity for the end users to have a proof of the mail which is being sent from the Z transaction. If the mail is sent, the end user who executes the Z transaction (mail sending transaction) should have that mail in his/her SENT ITEMS. If the mail not reaches the dealer, then the user must identify the mail bounce identification.
Pls tell me how to achve the same..
Regards,
ShanthiHi,
Yes it is possible..
Just pass 'X' to the exporting parameter 'put_in_outbox'. The user can check the send mail in 'sost'. All the details of the mail will be there. This will be the proof that the mail was sent.
Reg the 2nd part of your query, if the mail is not delivered to any reciepent or to particular recipient, the details will be there in the SAP outbox, that also you can see through transaction 'sost'.
Thanks & Regards
Rocky -
How can i read only .txt file and skip other files in Mail Sender Adapter ?
Hi Friends ,
<b> I am working on scenario like , I have to read an mail attachement and send the data to R3.</b>
It is working fine if only the .txt file comes.
<b>Some times ,html files also coming along with that .txt files. That time my Mail adapter fails to read the .txt file.</b>
I am using PayLoadSwap Bean and MessageTransformBean to swap and send the attachment as payload .
<b>Michal as told to write the Adapter module to skip the files .But i am not ware of the adapter moduel . If any blogs is there for this kind of scenarios please give me the link.</b>
Otherwise , please tell me how to write adapter module for Mail Sender Adapter?
How to download the following
newest patch of XI ADAPTER FRAMEWORK CORE 3.0
from SAP Service Marketplace. Open the file with WinZip and extract the following
SDAs:
aii_af_lib.sda, aii_af_svc.sda
aii_af_cpa_svc.sda
I have searche in servive market place .But i couldn't find that . Can you please provide me the link to download the above .
If any other suggestions other than this please let me know.
Regards.,
V.Rangarajan=P
Dude, netiquette. Messages like "i need this now! Do it!" are really offensive and no one here is being payed to answer anyone's questions. We're here because we like to contribute to the community.
Anyway, in your case, just perform some search on how you could filter the files that are attached to the message. The sample module is just an example, you'll have to implement your own. Tips would be to query the filename of the attachments (or maybe content type) and for the ones which are not text, remove them.
Regards,
Henrique. -
Query related to Email adapter
Hi,
I have query related to receiver Email adapter. I am able to run a scenario for 2 attachments in receiver mail adapter scenario.
My scenario is that I am picking up the multiple files using sender file adapter "additonal fiiles" fucntionality and and post the two files as attachments in receiver email adapter. I am picking up two formats: .xml file and PDF and successfully attached to the receiver email adapter.
My query is is related to Standard module processors sequence.
For 3 files in mail attachments(.xml , pdf & .txt) what should be the module processors sequence in receiver email adapter?
Currently I am using the following module processors sequence
1 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans2
2 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swap
3 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans1
4 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
swap -> swap.keyName -> payload-name
swap> swap.keyValue> file1
trans1> Transform.ContentDescription>file1
trans1> Transform.ContentDisposition>attachment
trans1> Transform.ContentType>application/pdf;name="file1.pdf"
trans2>Transform.ContentDescription>file1
trans2>Transform.ContentDescription>inline
Can any body tell me what should be the sequence of module processors and the associated parameters so that all formats(.xml , pdf & .txt) should go as an attachments in the reciever email adapter.
Thanks & Regards
Prabhatit would be something like this, Try this
1 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swaptxt
2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans3
3 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swapxml
4 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans2
5 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swappdf
6 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans1
7 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
swapxml -> swap.keyName -> payload-name
swapxml> swap.keyValue> file2
swappdf -> swap.keyName -> payload-name
swappdf> swap.keyValue> file1
trans1> Transform.ContentDescription>file1
trans1> Transform.ContentDisposition>attachment
trans1> Transform.ContentType>application/pdf;name="file1.pdf"
trans2>Transform.ContentDescription>file2
trans2>Transform.ContentDisposition>attachment
trans2> Transform.ContentType>application/xml;name="file2.xml"
trans3> Transform.ContentDescription>file3
trans3> Transform.ContentDisposition>attachment
trans3> Transform.ContentType>application/txt;name="file3.txt"
mail --> mime.contenttype --> multipart/mixed
I have not tried this myself. but it should work -
Query related to datasubsetting
hi,
How is datasubsetting helpful in olite applications? How and in which scenarios can it be used??
In my application I have various uses and each uses has access to particular processes, here will datasubsetting be helpful for me to give access to user. Please give me some information related to datasubsetting.
Thanks and regard,Using data subsetting is primarily about only sending relevant data to a client, rather than all of it.
Simplest example is
Imagine you have a table of jobs on the main server, each of which has a statuys to show whether or not it is active, and also the user the job is assigned to
If you create a publication item based on JOBS with the basic query
SELECT * FROM JOBS
then you will send all data within the table to the client, including jobs for all users and closed jobs - likely to be a lot of data
If the query is
SELECT * FROM JOBS WHERE STATUS='ACTIVE'
then you will reduce the data downloaded by only sending the active jobs, but data for all users will still be sent
If the query is
SELECT * FROM JOBS WHERE STATUS='ACTIVE' AND USER=:USER (note the colon to identify the bind variable)
you can restrict the data set to only the active jobs for a particular user.
If you publish a publication item with a bind variable in the query string like this, you will see that in the mobile manager Users tab you will see the bind variable in the data subsetting tab to allow you to define the value for a particular user
You can have multiple data subsetting/bind variables within a particular application for different purposes (eg: user and team).
Another approach we use is to have publication item queries like
SELECT * FROM JOBS STATUS='ACTIVE' AND CUSTOMER IN
(SELECT CUSTOMER FROM CUSTOMER_ASSIGNMENTS WHERE USER=:USER)
ie: use the results of other data in your database to drive the selection
NOTE data subsetting variables are ALWAYS VARCHAR2, so for performance do explicit typecasting in your queries
ie: NOT
SELECT * FROM TABLE WHERE EMPLOYEE_NUMBER=:EMP
rather
SELECT * FROM TABLE WHERE EMPLOYEE_NUMBER=TO_NUMBER(:EMP)
Need to consider a few aspects when looking at the purpose of subsetting
1) compose and selection time is based on the complexity of the query, plus the data returned (adding a where clause may slow the query)
2) synchronise time partly depends on the volume of data uploaded and downloaded, so large tables with no where clause will take longer, particularly on initial build
3) some types of device (phones, PDAs etc) are limited in spece and it may not be feasible to download entire large tables
4) the client SQL is typically less efficient at performing queries than the server. You will get better performance by only sending active jobs to the client and then querying all jobs on the client, rather than sending all data and querying for active jobs on the client -
Mail Send Functionality using SO_NEW_DOCUMENT_ATT_SEND_API1
hi,
i m using Fn Module "SO_NEW_DOCUMENT_ATT_SEND_API1" to send email with attachment.
I have written a program which will fetch data in excel format . this excel should be sent as attachment to specified receiver. however i m having difficulties adding attachment to function module.
I specified under parameter "contents_bin" but its giving some error message related wth structure.
I chkd SDN and wasnt able to find any resolution yet.
Any suggestion or idea which can be useful on this.
Thanks.REPORT zsendemail .
PARAMETERS: psubject(40) type c default 'Hello',
p_email(40) type c default 'write email address' .
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,
gd_cnt type i,
gd_sent_all(1) type c,
gd_doc_data like sodocchgi1,
gd_error type sy-subrc.
data: it_message type standard table of SOLISTI1 initial size 0
with header line.
*START-OF-SELECTION.
START-OF-SELECTION.
Perform populate_message_table.
*Send email message, although is not sent from SAP until mail send
*program has been executed(rsconn01)
PERFORM send_email_message.
*Instructs mail send program for SAPCONNECT to send email(rsconn01)
perform initiate_mail_execute_program.
*& Form POPULATE_MESSAGE_TABLE
Adds text to email text table
form populate_message_table.
Append 'Email line 1' to it_message.
Append 'Email line 2' to it_message.
Append 'Email line 3' to it_message.
Append 'Email line 4' to it_message.
endform. " POPULATE_MESSAGE_TABLE
*& Form SEND_EMAIL_MESSAGE
Send email message
form send_email_message.
Fill the document data.
gd_doc_data-doc_size = 1.
Populate the subject/generic message attributes
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
gd_doc_data-obj_descr = psubject.
gd_doc_data-sensitivty = 'F'.
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.
Add the recipients email address
clear it_receivers.
refresh it_receivers.
it_receivers-receiver = p_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 the FM to post the message to SAPMAIL
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = gd_doc_data
put_in_outbox = 'X'
importing
sent_to_all = gd_sent_all
tables
packing_list = it_packing_list
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.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
loop at it_receivers.
endloop.
endform. " SEND_EMAIL_MESSAGE
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
form initiate_mail_execute_program.
wait up to 2 seconds.
if gd_error eq 0.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
endif.
endform. " INITIATE_MAIL_EXECUTE_PROGRAM -
I need an e-mail sending to my macbook, it appears to download but is never in my inbox. It does got to my iphone. It isn't in trash. Can anyone help ?
I get those all the time. Most annoying. I usually ignore them or mark them as spam.
-
Send E-mail Send E-mail question
Hi,
Im trying out the Developers Toolbox and am trying to figure out if its right for me, and have very basic - beginning MySQL and php skills.
The tutorial at http://help.adobe.com/en_US/Dreamweaver/9.0_ADDT/help.html?content=ch12_send_email_01.htm l is rather sketchy, when I follow the tutorial on that page:
"The Send E-mail trigger allows the site developer to automatically send an e-mail when a form is submitted. It is an AFTER trigger, and it can be executed after insert/update/delete/custom transactions.
This trigger is accessible from the Application panel, Server Behaviors > + > Developer Toolbox > Send E-mail > Send E-mail."
well, when I try that, I get an error on the page which says:
"There are no insert, update, custom or login or delete transactions on page. Please insert an appropriate transaction first."
OK I am assuming that I need some kind of an html form open and on a page, however where do I start? Its as if the tutorials left out a huge chunk of the instructions. I realize I am no expert but if someone was buying the toolbox for the first time how would one know where to start? Do I need to create a new database table first? What kind of table? Can it be a table that is part of the site database for the shopping cart database that I already have linked to the store? Or does it need to be a seperate - database, table? Or just a php page with the form in it? Or does the form page need to be .html?
Or is the toolkit only for advanced developers with advanced php and MySQL skills and should I not even bother buying it?
Anyway can someone please give me a hint?
All I am trying to do is construct a simple email form for my web site which I have created in Dreamweaver and I need a php script to process the data inserted into the form and send it off to the mail server to forward to the webmaster's email address. I have the form created and brought up the form page, but then the Server Behaviors > + > Developer Toolbox > Send E-mail > Send E-mail. Tab is not accessible, and I am assuming that it wont be unless I have a .php file open, so I dont have a clue as to where to start.
So Ive got 27 days left to determine if its worth buying the toolbox, if I cant figure it out by then then I guess Ill buy some easier to use extension or stand alone to create my email form and other scripts.Hi DBS,
just some thoughts:
So Ive got 27 days left to determine if its worth buying the toolbox, if I cant figure it out by then then I guess Ill buy some easier to use extension or stand alone to create my email form and other scripts
honestly said: if sending form data via email is about all you want to achieve, buying ADDT or even trying to learn it would be overkill, as it comes with heaps of features which you´ll probably never need -- in this case investing in a stand alone form-to-email script seems a better solution.
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
My mail send defaults to wrong mail server. How do I change it?
My mail send defaults to wrong mail server. How do I change it?
That was a long time ago. I don't even remember asking the question. I don't have that trouble at the moment.
-
Error in mail sender channel : invalid sequence number
Hello all,
I'm having the following issue.
I'm using the mail adapter to get messages from a mail server, which are attached to the mail.
This interface is already productive, and is working fine most of the time.
Only frequently I get the following error, which can be found in the java log.
exception caught during processing mail message[630];
java.io.IOException: the specified message not found: -ERR invalid sequence
number
This error seems only to appear when there are a lot of mails to be fetched.
All the mail is read into PI and processed succesfully, only I also get a lot these errors.
Does anyone know what causes this error?
I also don't know where this sequence number is coming from, and what's the meaning of this.
Is it possible it's trying to read the same mail more then once?
The settings in the mail sender channel are:
- transport protocol : POP3
- message protocol : XIPAYLOAD
- Use mail package : enabled
- content encoding : none
- Keep attachments : enabled
- QOS : exactly once
- Set adapter specific message attibutes : enabled
The PI version is 7.01
Thanks a lot in advance for the replies on this question.
Kind regards,
Marco van IerselHi
Well we have used it with POP3 and it is working in the way as it should be.
This feature is recommended by sap when the number of emails to be read is large.
You can set this additional parameter to restrict the number of mails fetched by sender mail adapter in one polling interval.
Sometimes the mailbox configured for the sender mail adapter contains large number of unread mails, which exceeds the average expected number of mails in one polling interval. In such a case, processing of all the unread mails in the same polling interval by sender mail adapter degrades the system performance. To avoid this, set value of this parameter to the maximum number of mails to be fetched and processed in one polling interval. The remaining mails exceeding the limit would be processed in the next polling interval.
That's why I have asked you to give it a try. -
Multiple "Backup of ..." Entries In Finder / Related to Time Machine
I currently have 17 items under "Devices" in the Finder which are labeled "Backup of System". It seems like each time Time Machine performed a backup (or perhaps failed?), another entry was added. The list has grown over time, although I can't seem to figure out when it occurs.
Anyhow, when a Time Machine backup begins, near the top of the "Devices" list, an entry called "Backup of System" appears with the appropriate spinning animation showing that the backup is in progress. The 17 other entries will each have an eject/unmount button next to them, but nothing happens when the buttons are clicked. As soon as the backup is complete, the eject buttons go away. Clicking on the just flashes the contents of the finder, and doesn't change to any particular folder.
Why is this happening? I'd love to send along a screenshot. It looks like I'm going to have to reboot to get rid of these, since there seems to be no way to remove them manually.
I run PathFinder on this system, and for some reason, these entries do not appear under PathFinder ... only in Finder.
Any suggestions?Nimiety wrote:
I have the same issue. It is directly related to time machine.
If you notice carefully, each time time machine goes to do it's routine backup, it creates a temporary filesystem under devices. What seems to happen is these filesystems don't get properly cleaned out after TM is done. I suspect it may have something to do with capacity on the receiving device (I have a 1TB time capsule that is nearly full).
It is annoying, and I'd love to see it addressed.
Contact Apple's Canada technical support: (800) 263-3394
Have all your particulars handy, including the serial numbers of both your Mac and Time Capsule, the version of OSX and Airport, etc.
When you get an answer, be sure to post it here so others can benefit. -
How to skip all files other than .txt file in Mail Sender Attachemnt ?
Hi Friends ,
I am reading an Mail attachement and sending to R3 using PaloadSwapBean and MessageTransformBean .
I used to get attachement as .txt file , name like Ex10185.txt in one mail . In another mail Ex10186.txt like that.
If only thoses file comes then no problem .
<b> IF some times along with .txt file some .html files are coming by that time my Mail Adapter incorretly reading the .html file.</b>
<b> Please tell me how to skip those kind of attachements and read only .txt file</b>
Expecting your answers asap.
Best Regards.,
V.RangarajanHi Michal,
Thanks for your reply , Sorry! I am aware of how to write adapter module. Can you please tell me how to write adapter module ?
Is there any links available or Blogs ?
I am expecting your reply asap .
Best Regards.,
V.Rangarajan
Maybe you are looking for
-
I Recently bought a new computer and I need to transfer all my iTunes data from my old computer to the new one, how can I do that? And by the way, my old computer won't turn on
-
Master Projects, Subprojects, Resource Pool
I have reviewed the previous threads and have not found a good match with my issue. Here goes. I have a project plan (Plan1) stored on OneDrive. I have a second plan that is my resource pool stored in the same location. I open both plans by clicki
-
Sound Cutting Out on Standard Def Channels with or wthout DVR
Hi! We are having occasional sound drop-out problems. They seem to only be happening on standard def channels although we have a hi-def box. (We often record sitcoms and kids shows in standard def to save room on the DVR.) The problem is that the so
-
The mouse on my 6500/300 developed an intermittent fault in its cable which means the keyboard freezes until I can wiggle the mouse cable into just the right position for it to unfreeze then freeze again. I bought a Logitech USB Trackball which works
-
Idvd - left theme window (preview) is blank - everything else seems ok
I can create a new file and as soon as I select a theme from the right palette, the left window appears BLANK. I can load photos and music if I choose add slideshow, but they won't view if I try to preview DVD. (The music plays however and the contro