on 04-19-2007 7:43 PM
Hi to All,
I am trying one scenario in which i want to pick the Mail from mail server which contains an attachment in XML format and i want to Access this Attachment (i dont have to do anything with the main Body of mail) and want to put the Data of the attachment in RFC.
Can body please help me.
Its very urgent.
Thanks
Regards
Vikas
Hi,
Unfortunately, you do not have access to the attachment in mapping.
One way to do this is to develop an adapter user-module. In the user-module, you do have access to the attachment. You can copy the content of the attachment to the payload in the user-module. Then, you will be able to map the payload to the RFC in XI.
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Also, for adapter user-module development, pls take a look at:
Regards,
Bill
Hi
my attachment looks like this way:
<?xml version="1.0" encoding="UTF-8" ?>
- <Opportunity>
<ClosingDate>Mar 7, 2007</ClosingDate>
<Description>Sensor Beam Description CG</Description>
<Revenue>18,000,000</Revenue>
<CurrPurchase>Long Term Positioning</CurrPurchase>
<Probability>025</Probability>
<SoldTo />
</Opportunity>
Now i want to put this information in RFC.
Please give me any suggestion, if possible with any example.
Thanks
Regards
Vikas
Message was edited by:
Vikas Agarwal
Hi -
So you've done the part where you've used the PayloadSwapBean to convert the attachment to the main payload, correct?
Then, all you need is a message mapping from the source (which was the XML attachment) to the target RFC XML format. I assume you have already imported the relevant RFC metadata as an imported object.
Regards,
Jin
Hi Vikas -
<i>>>>So we have created the message mapping between the attachment and the RFC, Do we have to create the interface mapping also????</i>
Yes. Mappings themselves cannot be referred to directly within the Int. Directory configuration (i.e. Interface Determination). They always have to referred to within the context of an Interface Mapping.
Regards,
Jin
hi vikas,
u can use the following links to develop ur scenario.
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options , mail attatchment
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
regards
sreeni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.