Skip to Content
avatar image
Former Member

XI condition for Mail triggering

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 16, 2008 at 09:17 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Sep 16, 2008 at 11:17 AM

    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

    Add comment
    10|10000 characters needed characters exceeded