cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP -RAP draft functionality error, unable to create draft table

appzz1
Discoverer
0 Kudos

screenshot-13.pngscreenshot-14.png

Hello All

while trying to implement the draft functionality in behavior definition.
im getting the error .The behavior definition is "strict", which means that every entity must be flagged as "authorization master" or as "authorization dependent".The behavior definition is "strict", which means that every entity must be flagged either as a "lock master" or as "lock dependent".

im enitirely new to RAP, can someone help me out here.
im attaching the image for reference.

Thanks

JessieCheah
Product and Topic Expert
Product and Topic Expert

Hi Ananthu,

have you created the draft table? If not, try and use Quick Fix to do it. Go to line 6 of your BDEF and use shortcut key Ctrl + 1.

Regards,
Jessie

Accepted Solutions (0)

Answers (1)

Answers (1)

AbhishekSharma
Active Contributor
0 Kudos

Hi appzz1

By looking to your error screenshot-13.png you shared... There are couple of things you need to verify:

1- Check If you have created Draft Table properly or not. you can use Quick Fix feature available in Eclipse. If you do not see Bulb sign, no worries just right click on Draft table "ZAMP_DT_STUDENT" and then select Quick Fix Option.

2- Once you created it Activate it.

3- I see none of your Draft Actions are also available, there can be 2 reasons for this issue:

a) You do not have Draft Table available and Activated (which is TRUE)

b) Once your Draft Table is available and Active, You need to have these methods available in Projection View of your ROOT Entity, with syntax :

use action Discard

use action Activate

use action Resume

use action Edit

use action Prepare

4- On line no 22 put space before your setSubmitted Action name.

5- If you are using Update Record functionality then you need to Update line number 23 with Control Structure

Try making these changes, Hope this helps...

https://www.youtube.com/@codeinmins

Thanks-