Mail Adaptor
Hi Guys,
Iam a beginner of XI. Can you help me for this scenario.
Need to send a mail to User from XI side using RFC adaptor after creating sales order in R/3 side using the flat file in XI side.
All the Mapping process has been done for Mail adaptor and RFC adaptor.
In RFC adaptor i have configured BAPI function modules, every thing is working fine now.
But the issue is:
1. Even the muti level item sales order created, the mail has only one line item.
My question is CAN WE LOOP THE BAPI FUNCTION MODULE? OR ANY OTHER SOLUTION IS THERE?
2. Even the sales order doesnot created, but mail has triggered and shows sales order created susccessfully like that..
Question is: CAN WE RESTRICT THE MAIL TRIGGERING AFTER SALES ORDER CREATED?
If it possible please let me know.
Thanks & Regards
Senthil kumar
hi all,
The issue has now been resolved.
We have a few more queries....
1. How can we attach two (or more) files. (In case of Message protocol=XIALL we do get two attachments but one is system details and the next is the whole file from sender. The system details in the first atachment includes the details of the agreements and determinations).
2. How can we change the type of the attachment? eg. instead of xml or txt can we have an .doc or .csv.
3. How can we give content and attachments in a single go?
and finally
4. How can we change the name of the attachment? ie by default it generates a paylod-xxxxxxxxxxxxx. can we rename it to our requirement?
Regards,
Shabarish & Prasad
Similar Messages
-
Mail Adaptor : How to configure sender mail adaptor?
Dear @,
I have to configure the sender mail adaptor I have gone thru varios blogs related to it but I am struck with some questions:
1.Where to find the message structure of the input message / what will be the input message structure
2.what is the default namespace / default interface name in the mail adaptor configuration
Thanks in advanceHi Monika,
My scenarion is Mail to File .I have to read mail from the mail server and then send it to file .
When I am trying F4 in the default namespace/Interface I am not getting any option also these values are fixed as http://sap.com/xi/XI/Mail/30 as I have observed in varios blogs and examples
This name spcae I guess we need to craete But why and what is the use
Regards -
Hi,
My scenario is file to mail.
Adaptor Monitor of Mail adaptor throws the follwoing error.
"error occured: [2005-05-05T11:42:54Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: com.sap.aii.messaging.srt.BubbleException: Unsupported protocol for XMBMailCallerService: http [null "null"]"
What could be the solution for this?
Thanks in Advance,
Prasad Uhi all,
The issue has now been resolved.
We have a few more queries....
1. How can we attach two (or more) files. (In case of Message protocol=XIALL we do get two attachments but one is system details and the next is the whole file from sender. The system details in the first atachment includes the details of the agreements and determinations).
2. How can we change the type of the attachment? eg. instead of xml or txt can we have an .doc or .csv.
3. How can we give content and attachments in a single go?
and finally
4. How can we change the name of the attachment? ie by default it generates a paylod-xxxxxxxxxxxxx. can we rename it to our requirement?
Regards,
Shabarish & Prasad -
Email distribution list in mail adaptor
Hi,
I am using mail adaptor / mail map to send email notificaiton, it works fine for single email id or multiple but not working for email distribution list which starts with "#". Is there any configuration required?
Thanks,
MenagaHi Menaga,
Distrubutor mail id is like simillar to normal mail id, but internally it contains the number of mail ids.
Ask your network team to create the distributed mail id (in this mail id how many mail ids you want you can put that mail ids).
and configure that distributed mail id like you configure in the normal mail id.
Regards
Ramesh. -
Error in Receiver Mail Adaptor
Hi mates,
I get the following error RWB for my receiver adapter.
<i>Mail: error occured: java.io.IOException: server not responding OK to AUTH; 535 5.7.3 Authentication unsuccessful.
Exception caught by adapter framework: Failed to call the endpoint
Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint.</i>
What does it mean? Any problem with the SMTP URL that I've provided?
I appreciate ur inputs.
thx in adv
praveenI fixed the issue.
I had to give full mail address in User name field like [email protected] instead of abc. -
Mail Adaptor : How to extract particular Mail from the mail server?
Hi @,
I have a requirement where I need to extract all the new mails with a aprticular Subject line to the XI and then forward it to the receiveing system.My problem is that the actual payload is situated in the Mail attachment which I will use in my scenarion but the filtering has to happen based upon the mail subject.
I am not able to deal as the filtering and usage of payload are diffrent,need help in this regard
RegardsHi
As far as i know Mail adapter wouldnt be able to do anything of this sort.It will read all mails which it has never read before.You should use the mail Server for this.
Thanks -
Receiver Mail Adapter message with PDF attachment
Hi.
We are trying to generate emails from the mail adapter that includes the plain text in the body of the resulting email and an attached PDF file. We receive the following structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:newMailRequest_MT xmlns:ns0="http:/pdk/sap/TorstenTest">
<Sender/>
<Receiver/>
<BodyContent/>
<Subject/>
<Attachment/>
</ns0:newMailRequest_MT>
I have set up an interface and mail adapter to be able to produce emails with plain text in the body. I used SAP note 748024 for this.
So right now I can make XI send emails with dynamic mail addresses. My problem lies in sending attached files with the mails as well.
I have read most of the threads in here, but none of them seem to answer just how to include the attachment. Which field in the 'Mail' message type is used for the attachment??
What needs to be added to the communication channel and adapter for it to include attachments, while the body of the mail still keeps the plain text message??hi
I have used the following links to send the file as an attachement and as payload.
so it may help u.
links:
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options , mail attatchment
Sender mail adapter - PayloadSwapBean - Step by step - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
points if helpful.
regards
sreeni -
Column header in receiver mail adapter
Hi experts,
I have a proxy to mail scenario in which I send a mail with a file attached.
Is it possible to put column headers in the attachment, possibly without changing the mapping?
I mean, working with module configuration in communication channel?
Thanks
Fabio Bonihi
There are several scenario's
have a look at following :
/people/sap.user72/blog/2005/05/02/useful-sap-notes-for-xi
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
/people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
and for further
you can follow
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
i hope this will help you.
Pls : Reward points if helpful
Vishal -
Support package of attachment for Sender mail adapter
can anyone tell me after which support package XI supports
Attachments in sender mail Adapter.
Thanks
Sunil Singhhi sunil,
check this links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
http://www.sapag.co.in/SAP-XI-Mail-Adaptor-FAQ'S.html
regards
srinivas -
Text Attachment in Mail Adapter
Hi, I have Proxy-XI-Mail scenario.
I want to send the mail as TEXT attachment.But the Text is coming as Mail content.
I have having following config
Processing Sequence
localejbs/CreateAttachment Local Enterprise Bean XML2Plain
localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
Module Configuration
XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion
XML2Plain Transform.ContentType text/plain;charset=utf-8
XML2Plain xml.Header1000.fieldFixedLengths 100,10,10,30,30,80,80,20,10,10,20,20,30,10,18,240,10,30,18,10
XML2Plain xml.Header2000.fieldFixedLengths 100,30,40,240
XML2Plain xml.addHeaderLine 0
XML2Plain xml.conversionType StructXML2Plain
XML2Plain xml.recordsetStructure Header1000,Header2000
Please suggest some solution.
Thanks.
RushikeshHi,
Refer these blogs
http://www.sapag.co.in/SAP-XI-Mail-Adaptor-FAQ'S.html
The specified item was not found.
The specified item was not found.
eMail Report as Attachment (Excel/Word)
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
and also refer these links
http://www.riyaz.net/blog/index.php/2008/02/27/xipi-configuring-the-sender-mail-adapter/
http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
Regards,
Suryanarayana -
Configuring the Receiver Mail Adapter
Hi,
I have to send data in a flat file via email using XI. I have configured a File adapter to read the XML file from sender. I have configured receiver mail adapter at the other end. I get success message in the SMXB_MONI transaction. But no mail is received.
My receiver communication channel settings are as follows:
Adapter type: Mail
Transport protocol: SMTP
Message protocol: XIPAYLOAD
Adapter Engine: Integration Server
URL: smtp://mail.xyz.com:25
Mail Attributes: Use Mail package (Source file has from/to Email Addresses)
I tried differnet cmobinations of SMTP server address (with/without port/using http:// etc), but no success.
Can anyone tell me what the problem could be and how to go about this?
Thanks in advance.
Riyazhi riyaz,
these r some of the links which can help u to configure ur mail adaptor.
https://www.sdn.sap.com/irj/sdn/weblogs? blog=/pub/wlg/1798
Info on Email Receiver Adapter
Mail Adapter Configuration in XI 3.0
regards
jithesh -
Mail package in receiver mail adapter
Hi ,
I am trying to put XIPAYLOAD with <b>USE mail package</b> option.I have gone through the blogger posted my Michal on this...
when I download the Document mentioned in the blog for mailpackage to create the message do I need to use the <b>namespace</b> "http://sap.com/xi/XI/Mail/30" as it is or I need to replace the namespace in the document with my namespace...
some one could you please explain it little clearly...what is the use of this namespace..and how do I exactly proceed to make use of this document...
Thanks a lot.....hi
There are several scenario's
have a look at following :
/people/sap.user72/blog/2005/05/02/useful-sap-notes-for-xi
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
/people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
and for further
you can follow
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
i hope this will help you.
Pls : Reward points if helpful
Vishal -
How to load XI Mail Adapter screen
We are using XI 3.0 how to load or how to configure XI mail adaptor, will I goto RWB or some tcode?
Please advised...
One more thing, is there any way I send xml messages for some others user eaiml?
Thanks a lotHi all
We are using XI30 SAP640 SP20 and trying to create Alerts to eamil setup
SAPconnect is working fine... all eamil works fine... in SAP system
System Name XDV
Follow this documents pdf file URL blow:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b4580be-0601-0010-d3ad-bd6ce51ae916
I am sending some paragraph arcording my probelm; someting I didn't understand please help me out
If you open above URL and check page number I having problem
QUESTION NO.1 Page No. 4.
3.1.1 Runtime Workbench Configuration
ICF Services
/sap/bc/bsp/sap/spi_monitor for example this services
all services are actived but when I right click any of them getting an error messages ?
Will it efect somewhere ?
QUESTION NO.2 Page No. 6
System Group Entry
When I check System Group Entry in RZ21 It does show XDV which is our XI system name with "YES" but
under Group name is "System 640" not as a documents said ExchangeInfrastructure_System
is that ok ?
QUESTION NO.3 Page No. 8
Set Up the Central Alert Server
In doc. said RFC dest alert server: None
In my system define our XI system host name forexample: xdbcixdv
sould I have to put none or is ok?
QUESTION NO. 3 Page No. 9
3.ICF Services: Activate the following services in SICF
some services are not listed in ICF such as
/sap/bc/bsp/sap/alertinbox
/sap/bc/bsp/sap/alertsubscription
/sap/bc/bsp/sap/alertpersonalize
/sap/bc/bsp/sap/alertpersonalize_rules
When I tried to create its not take longer 15 char. I eamil to SAP they said its ok but services
are running in background... i am not sure they are answer...? what do you thing?
QUESTION NO.4 Page No. 9 (same page)
4. Schedule Alert Processing
I didn't define schedule, sould I have to do that ? if yes, what sould I do that
and what kind of Variant report name should I select ?
QUESTION NO.5 Page No. 10
6. Schedule Report
What kind of Report does it said and why we need to do that ?
QUESTINO NO.6 Page No. 10
3.2 End-to-End Monitoring
its show PMI what is that for ? what does it do for alert
QUESTINO NO.7 Page No. 13
3. Schedule Alert Report
I didn't define background job, I will do that so what varlant should I select ?
QUESTION NO.8 Page No.14
4. Create System Group
When I tried to create its never create like Group its does show only sub-group
why ? I want its show same as picture like yellow folder or group
Exchangeinfrastructure_System
as I maintion above its show my XDV system under group System640 with monitoring active YES
is that ok ?
QUESTION NO.9 Page No. 15
6. Exchange Infrastructure Monitor
When I goto RZ20 and select SAP CCMS Monitor Template, its show Exchange Infrastructure
When I select it just show gray color look like disabled why is that that why its does not
shows like picture shows ?
QUESTINO NO.10 Page No. 16
1. Create GRMG Customizing File
Goto sap notes and download file in my computer change name like xdv_sld.txt
change scenario only system landscape directory for testing purpose
goto GRMG and updated that file and start it
its show GREEN check mark which is running fine no errors
Remember I just only change system landscape directory and create RFC connection
with test connection no errors...:), i will be create some more RFC connecitno first
I have to makesure its will works fine... or not ?
question is that will I have to create all others at this time or 1 is ok ?
QUESTINO NO.11 Page No. 18
2. Use Standard XI Monitor as Basis
can you please tell me what monitor should I select ? from the list ?
QUESTION NO.12 Page No. 19
1. Create an Alert Category
What kind of Alert category will I create, I treid ALRTCATDEF and copy some other category was there
like XDV_ALRT thats it ?
can you please tell me what alert category sould I select or where should I go?
QUESTINO NO.13 Page No. 21
5. Define Recipients
I would like to define some user like basis and other users sould I have to define there ?
and what about next picture "SAP_XI_MONITOR" should I have to define that roules alwyas?
QUESTINO NO.14 Page No. 22
7. Alert Inbox
When I goto Alertinbox does't show any messages at all; ? what i am missing
QUESTINO NO.15 Page No. 24
1. Create Alert Category for CCMS
I didn't understand from page no 24 to till end why we are create again some alert for CCMS
why we need that?
Please can you tell me thease answse or any create dummy alert for testing, will be very
help for me
Thanks a lot in Advance
Travis -
Configurations required for sender/reciever mail adapters
Hi,
I am working on a scenario, which involves mail adapter configuration.
Mail Adapter scenarios SAP Exchange Infrastructure:
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
XI: HTML e-mails from the receiver mail adapter ?
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
Sending XI-Content as Mail Attachement with specific Filename
Sending XI-Content as Mail Attachement with specific Filename
Triggering e-Mails to Shared folders of SAP IS-U
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u
I have gone through many threads but i am unable to understand what all configurations need to be done on XI and mail server like SMTP setup and stuff.
Please give me any specific links and share with me any real time problems faced while carrying out such a scenario.
Thanks,
PuneetHi check this,
Spam protection-mail
/people/alessandro.guarneri/blog/2007/03/18/basic-spam-protection-for-xi-mail-adapter
e-mails from the receiver mail adapter /people/natty.gur/blog/2007/03/18/if-it146s-all-about-semantic-make-it-formal
sender mail adapter
/people/natty.gur/blog/2007/03/18/if-it146s-all-about-semantic-make-it-formal
File to Mail
/people/varun.vijh/blog/2007/03/20/report-with-a-graph-an-approach
Dynamic mail address
/people/oliver.mayer/blog/2007/04/06/web-dynpro-java-and-adaptive-rfc-in-action
mail adaptor scenarios
/people/manfred.lutz/blog/2007/03/20/abap-trial-version-for-newbies-part-1-download-and-installation-of-the-trial-version
email reporting
/people/mark.yolton/blog/2007/04/05/teched07-were-making-a-list-and-checking-it-twice
mail attachment
/people/community.user/blog/2007/03/19/todo-ideas
/people/puru.govind/blog/2007/03/19/adding-class-inheritance-programaticallyor-dynamically
Triggering Email from folder /people/santosh.v/blog/2007/03/19/organizational-management
Thanks,
Kalenthirababu.P -
On mapping validation send e-mail on errors
I would like to be able to send an e-mail if the mapping comes up with an error.
I have a field (Supplier ID) and if its blank during the message mapping I want it to send an e-mail.
I have all the objects ready to send emails e.g. Mail adaptor etc, but need to know what to do in the mapping and how this works?Hi McCarthy,
I would like to be able to send an e-mail if the mapping comes up with an error.
Yes, this can be done from mapping.
I have all the objects ready to send emails e.g. Mail adaptor etc, but need to know what to do in the mapping and how this works?
Create a UDF and raise an exception if field is blank. Use Alert to capture this exception and send mail.
My advice is not to use this in mapping. Check this in an adapter module or enhanced receiver determination and then you can easily route it to a mail receiver if not okay.
If you want to use it in mapping, then it cannot be achieved without BPM.
Hope this helps.
Regards,
Neetesh
Maybe you are looking for
-
dear all, i'm now trying to integrate jasper report in ADF.. and i'm try to code this code at bean..but its error.. public void runOracleReport(ActionEvent actionEvent) { JRBeanCollectionDataSource ds = new JRBeanCollectionDataSource(PopulateBean.cre
-
I hope somebody can help with this problem. I have quick time player, latest version. When I play movies or anything else it works fine, but when I go to this particular website, their webcam won't load. It's a radio station that I listen to. I have
-
Sync. problem with from iPad2 to iTunes???
I've a problem with sync from iPad2 to itunes. I got the latest version of iTunes 10.5.2 and my iPad 2 is the version of ios 5.1. However, when I activate the sync. iTunes cannot process the sync. and it's locked. Is there anyone has the same problem
-
Need screen shot documentation for mySAP CRM
Hi all Greetings, I am looking for every ones help out here & need the screen shot documentation for the following; 1.Mysap crm Overview. 2.Base customization 3.Partner processing 4.pricing & actions It would be really appreciated & i would be very g
-
My organisation is just getting into Java development. We are keen to maximise the re-use benefits of Java and there is potential for a wide range of common components across projects. We will have 3 main environments: development, acceptance and pro