cancel
Showing results for 
Search instead for 
Did you mean: 

Email to be sent on delivery acknwledgement from target system

Former Member
0 Kudos

Hi all,

We are running on SRM 5.0 (Standalone scenario).We are sending the local PO to the vendor system thorugh XI(SRM>XI>Vendor system).

My reqt is when the PO is sent to the vendor system,a response/message is sent to XI that the PO has been delivered to the Vendor(target) system.At this event(When the message of delivery is recieved in XI),I need to send an email to the Shopping cart requester/creator in SRM stating that "PO has been sent to the vendor".

Can anyone please suggest how this can be done?Is there any std provision in XI for sending an email at the time of successful delivery of the doc/data to the target system?

I am not clear as to what will be the link between XI and SRM system?Can we write a routine in XI to read the XMLmessage to get the PO no and thereafter the SC details??If so,how (As we will be having only the XML message in XI which will contain the PO no)??

Any inputs/help will be appreciated and rewarded!

BR,

SRM Tech.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

How are you sending the message to vendor system ?

Regards

Former Member
0 Kudos

Hey

>>Is there any std provision in XI for sending an email at the time of successful delivery of the doc/data to the target system?

No,you don't have any inbuilt mechanism to trigger e-mail on successful message transfer.

When you get a response you will get some tag/element saying that delivery was successsful for e.g.<Status>Successful</Status>,right?

now you need to configure a SRM to Mail scenario and in receiver determination check for condition

if Status=Sucessful then send message to the business system of mail .

also from among the radio button select "End message processing without error(restart not possible"

Thanx

Aamir

Former Member
0 Kudos

Hi Suhail,

Thanks for the prompt response.

Actually I am new to XI so dont have much idea abt how the messaging happens in XI.I jst know that whenever the doc is sent fromXI to the target system,the XI recieves a response for successful delivery to the target system!So I wanted to know if i have to code in XI (to incorporate the logic for sending the mail at runtime to the SC creator in SRM) ,how doI dothat???Using ABAP as the language or any other languages like HTML ,javascript etc for XI??Also how do I connect fromXI to SRM to fetch the reqd data from SRM system??

BR,

SRM tech.

Former Member
0 Kudos

>>So I wanted to know if i have to code in XI

XI is not a coding tool,its an integration tool.you need to design a scenario to pick the response from SRM and post it via Mail adapter to the final receiver.you don't do any coding in XI to trigger mails.

>>Also how do I connect fromXI to SRM to fetch the reqd data from SRM system??

You can use proxy for this purpose.

Thanx

Aamir

ravi_raman2
Active Contributor
0 Kudos

set up an alert...for when you recieve the msg to send an email out.....easiest way out......

Regards

Ravi Raman

Former Member
0 Kudos

Hi,

Thanks Ravi.I know abt the alert settings but the problem is the EMAIL ID needs to be determined at runtime based on the PO no in the XMLmessage.So jst wanted to know where can i include/write the logic for determining the email ID of the SC creator in SRM??

BR,

SRM Tech.

ravi_raman2
Active Contributor
0 Kudos

Can you add those in your mapping..add a value..to your target structure..a node..that is populated from your mappings...based on the value of your po...

Define that as a container variable..and see if you can access that value..

hope that helps..

Regards

Ravi Raman

Former Member
0 Kudos

Hi ravi,

Can you pls explain in detail abt the mappings to be done in the XI system?

Also are there any related links/docs which I can see for this??

BR,

SRM Tech

Former Member
0 Kudos

Hi experts,

Can anyone please provide some workaround for this ??

BR,

SRM tech