Skip to Content
avatar image
Former Member

SAP PI 7.0 integrate with 2 BAPI

Dear Expert,

i have scenario to integrate with SAP ECC,

integration design:

  SYSA --> (HTTP) PI (Abap Proxy) --> SAP ECC

to trigger SAP ECC  FM module Reversal (FB08) - ZBAP01  & posting (F43) - ZBAP02 - will depend SAP BAPI.

Question: is it possible PI to triggers ZBAP01 & ZBAP02 (if ZBAP01 success) instead to develop ZBAP03 (ZBAP01 + ZBAP02)?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 30, 2015 at 06:01 AM

    Hi Firdaus,

    Question: is it possible PI to triggers ZBAP01 & ZBAP02 (if ZBAP01 success) instead to develop ZBAP03 (ZBAP01 + ZBAP02)?

    Yes, this is possible. You have two approaches:

    1. Use BPM

    2. Use java connector (do not use rfc lookup because it is for lookups 😊) to perform one of the rfc update n message mapping.

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 07:13 AM

    HI Firdaus,

    As PI 7.0 doesn't support multi-mapping and it is not service oriented, i usually do a Z RFC/proxy with a new import field that point the type of the operation (create, post and so on). I think it is easier to develop than a ccBPM and more efficiently that do a lookup.

    Respecting to your question, it is possible as Mark pointed, but in my opinion it is better to offer one interface only.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 04:52 AM

    Hello Firadus,

    You can do conditional based interface routing.

    based on values in any field ZBAP01 or ZBAP02 or you can trigger both as well.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Raghuraman Sritharan,

      ZBAP02 only will be triggered if ZBAP01 return is success & PI will  pass the status to SYSA.

      can you advise which Conditional should i used? it will helpful if you can share the URL.