on 01-08-2024 9:08 AM
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
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-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.