Tooling (+ SAP Build) Forum
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP BPA Updating API specification deletes all previous Actions

MMonis
Explorer
276

There seems to be some major bugs in the SAP BPA tool. The more I work with it, the more frustrating it is 😤

One of them is if you have an Actions project with some endpoints pointing to a CAP service and if for some reason you update the CAP service with new actions/functions/entities, it deletes all the previous actions within the Actions project and you need to start all over again.

I have a CAP service that exposes an action called myAction1. I then have an Actions Project in SAP Build which consumes the actions exposed by the CAP service via a destination.  So for the first time I am able to add myAction1 to the Actions project

MMonis_0-1760102858594.png

And myAction1 appears fine.

MMonis_1-1760102883159.png

I then add another action in my CAP service called myAction2 and deploy it to BTP.  In SAP Build Actions Project, the new endpoint myAction2 doesn't show up which is fine as it doesn't have the updated specification.

MMonis_2-1760103246072.png

I then click on Update API Specification in the Actions project and it takes me through some steps where it now shows the myAction2 endpoint.

MMonis_3-1760103395021.png

At the end of these steps, it shows me a dialog with an Update button. In the background of the popup, it still shows myAction1 that was added and saved.

MMonis_6-1760104237623.png

When I then click on Update, it shows a popup asking to choose the endpoints and it removes the existing myAction1 entry that was already saved. I choose myAction2 to add.

MMonis_7-1760104320663.png

myAction1 has disappeared and I would have to add it all over again.

MMonis_8-1760104380565.png

There should be a way to update the API specification without the existing actions getting deleted from the project. Can this be fixed or a workaround to this ?

Regards,

Melwyn.

 

 

 

 

 

 

 

 

 

 

1 REPLY 1
Read only

MMonis
Explorer
0 Kudos
6

Spoke to the team at SAP TechEd and they acknowledged that this is a bug in the tool. Will be raising a customer influence request and will share it here so we can get this resolved.

Regards,

Melwyn