cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unable to edit draft - RAP (Restful ABAP Programming) Embedded

0 Likes
1,818

Hi RAP Experts

I am creating an OData service for Fiori Elements application using RAP. Everything is working fine and expected. However, I am stuck when I am trying to edit data. Whenever I try to Edit some data that has been created I get an error "Edit not possible: draft already exists.". I am not sure what I am missing to allow the data to be edited.

It would be great if someone can help with this. Thanks in advance.

View Entire Topic
jasmin_gruschke
Product and Topic Expert
Product and Topic Expert
0 Likes

My first impulse would have been: does a colleague hold an exclusive draft on the data you would like to update?

But as you mentioned that RAP app has just been created, right?

A little more information about your problem might be helpful, e.g. is it a managed/unmanaged RAP scenario? Some insights into the BDEF...

0 Likes

Hi Jasmin


thank you for your answer. However, in this scenar that is not the case. I had created the data myself and after I hit create I go back to edit it. Once I hit the edit button I get this error. No other user is working on the data.

jasmin_gruschke
Product and Topic Expert
Product and Topic Expert
0 Likes

Did you check the Draft table if there is indeed data in there? And as mentioned above, a little more information about your specific RAP scenario might be helpful to help you find the issue ;-).

0 Likes

Hi Jasmin

Thanks for the idea to check the draft table. I just realised that I had used my table as draft table as well by mistake. I have created a separate draft table now and it is working as expected.

Best Regards

Chandan Singh