Pass default values - factory action in RAP
Refer - Factory action (copy records) in RAP Steps to pass default values. Step 1: Change behavior definition of header interface view. managed implementation in class zbp_iv_ab_hdr_stu13 unique; strict ( 2 ); with draft; define behavior for ZIV_AB_HDR_STU13 alias Student persistent table ztl_ab_hdr_stu13 draft table ztl_ab_hdr_dra13 lock master total etag LastChDate authorization master ( instance ) etag master LastChDate { create ( authorization : global ); update; delete; field ( numbering : managed, readonly ) StuId ; association _attach { create; with draft; } draft action Activate ; draft action Discard ; draft action Edit ; draft action Resume ; draft determine action Prepare ; factory action ...