on 10-09-2020 7:03 PM
Hello All,
We are trying to create a PM maintenance notification in S/4HANA from CPI. We are trying to achieve this by calling the standard BAPI available for it. However, we need to call the below BAPIs in sequence before the commit.
However, when we call these BAPIs in sequence using RFC adapter from CPI, the second BAPI does not save the notification because it cannot identify the ID %000001. We were guessing it could be because both the BAPI calls are not happening in the same LUW of S/4.
How can we make sure from CPI that sequence of BAPIs are executed in the same LUW?
Regards,
Sandesh
Hello Sandesh,
I dont think you can control this using SAP CPI.I guess you need to create wrapper BAPI which executes the related BAPI in sequence( you need to call wrapper BAPI from SAP CPI ).Below thread might give more details.
https://answers.sap.com/questions/9509610/bapialmnotifcreate-is-not-creating-a-notification-.html
Also have you tried using sequential multicast with 2 different calls ( both having Send Confirmation ).But this does not guarantee both the request processed in single LUW.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sandesh,
Thanks for clarification. I think, you could try use RFC Receiver Adapter on CPI(Configure a RFC Conection on SCC first, that call a Custom RFC). On Backend side, create a Custom RFC(it Will be call from CPI) and use Both BAPI's(sequentially) inside Custom RFC, this option will works.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.