cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering a mail for a Particular payload

Former Member
0 Kudos

Dear Friends,

I am doing a file to file scenario beween the same system.

My requirement is that if the payload of the file has flag value as 'S' i should put it in output folder in the ftp.

But if the flag is 'E' then i should trigger a mail.

Where this validation can be done and a mail can be triggered.

Please tell how to handle the same with out using the BPM.

Thanks

Prem

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

answered

Former Member
0 Kudos

Hi Prem

This can be done without using BPM.

You need to set conditions in the receiver determination.

Go to Receiver determination in ID

Configured receivers

set conditions

refer help link

http://help.sap.com/saphelp_nw70/helpdata/EN/43/a513f2632c332ce10000000a11466f/content.htm

for Flag S -> OP (=) put in folder so select receiver service for file adapter

for Flag E -> OP (=) send error email and select the receiver for the mail adapter etc.

Thanks

Gaurav

Former Member
0 Kudos

Hi Gaurav,

Where i can give my field name of the payload and the conditon in the 'Receiver Determination'. In condition Editor and even in Expression Editor i cant found the place to give the Field name and the condition to check.

Please brief me.

Thanks

Prem

santhosh_kumarv
Active Contributor
0 Kudos

Hello Prem,

Did u checked the Shabz blog which i replied earlier.

It shows how to do an XPATH condition.

Thanks

SaNv...

Former Member
0 Kudos

Hi

When you will go to condition editor. Under XPath you will be able to see your sender interface. You can select the field you are willing to use.

Check the Shabarish's blogs provided above for screen shots on this

Thanks

Gaurav

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

You need to use the conditional receiver.

In the receiver determination specify both the filesystem and mail receiver system in the configured receiver list and specify the condition using the XPATH.

Refer the Blog By Shabarish Vijayakumar

Thanks

SaNv...