2024 Feb 26 5:49 AM
Hi Experts,
I am trying to find a way where the decision table feature offered inside BPA can be change externally.
Basically I am looking for an approach where I do not need to go to decision table, make changes and deploy it inside the BPA for changes to reflect.
Is there any way like any API based approach where I could add extra conditions into the rule in decision table externally?
Thanks & Regards,
Karthika
2024 Feb 26 7:11 AM
You can create the rule in a separate project and publish it. Then you can use the standard rules APIs to interact with it.
2024 Feb 26 7:53 AM - edited 2024 Feb 26 7:54 AM
Hi @SandipAgarwalla ,
Thanks for the reply.
So basically the idea is make a different project where we only have decision tables.
But in case I want to add a new entry that would still be I need to go into that project in SAP BPA, build and deploy it again for it to reflect, right?
Or is there any other approach where without building and redeploying , I can add new entry to it?
Regards,
Karthika
2024 Feb 26 9:36 AM
I was referring to the REST API interface provided by SAP to access these rules. Check this
https://api.sap.com/api/SPA_Decision/overview
I do not know if you can add a new rule using this API, the documentation does not provide this detail.
If this api does not work for update, then you may have to rebuild the rules project.
2024 Feb 26 2:11 PM
Hi @SandipAgarwalla ,
Yes I have tried the above API , it only gives the option to display the rules, but not the option to edit.
So that was the reason was looking for an approach where it might provide to be easier, and something not involving deployments.
Regards,
Karthika