cancel
Showing results for 
Search instead for 
Did you mean: 

XI condition for Mail triggering

Former Member
0 Kudos

Hi All,

Is that possible to give condition like mail should trigger after sales order has been created.

For EX:

the flat file send from XI to R3. In R3 side sales order will create using the BAPI Function module.

Here, the mail has triggered even the sales order creation has failed.

So we need to give some condition like after creating sales order the mail should trigger.

Please advice and help on this.

Thanks,

Senthil kumar V.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

note 566090 - FAQ for immediate transfer order creation

Question

Where do you have to set the mail indicator?

Answer

This depends on the respective process. For the immediate TO creation for material documents and for the immediate TO creation for deliveries (using the WMTA message type), you must set the mail indicator in the corresponding entry in the T321 table. For the immediate TO creation for the production supply, you must set the mail indicator in the storage type of the production supply.

For the 'automatic TO creation', you must assign the mail indicator in Customizing to the 'Automatic TO creation' indicator that you have assigned to the WM movement type.

might help u

Regards.

Siddhesh Naik

Former Member
0 Kudos

Hi senthil,

If you are using a BAPI, you can create a new scenario sending the response of the BAPI via mail.

You would need a BPM because you are mixing synchronous and asyynchronoys scenarios.

Regards,

Carlos

Former Member
0 Kudos

Hi Carlos,

I have created and assigned BPM already with it.

But the mail has triggered even the sales order has not been created.

Is that possible to include condition in Integration Process?

Thanks for reply.

Senthil kumar V.

Former Member
0 Kudos

Hi,

Well, you should check the payload of BAPI response. Depending on the response you trigger your email or not.

Add a XPATH routine roule in your receiver determination to do that.

If the BAPI went ok, trigger the mail. Otherwise, don`t send any message.

Regards,

CArlos