Hi All,
Managed scenario - Created three levels of RAP BO.
Behavior definition is successfully activated however could not able to activate the "Behavior Projection". Follwing is the error under ADT Problem -
define root view entity ZSRA_C_CUST
provider contract transactional_query
as projection on ZSRA_CUSTTP
{
key CustomerId,
CustomerName,
CreatedBy,
CreatedAt,
LastChangedBy,
ChdLocalLastChangedAt,
LastChangedAt,
/* Assoziationen */
_project : redirected to composition child ZSRA_C_PRJ
}
------------
define view entity ZSRA_C_PRJ
as projection on ZSRA_R _PRJTP
{
key CustomerId,
key ProjectId,
ProjectName,
Project,
ProjectType,
Data,
Exporter,
CreatedBy,
CreatedAt,
LastChangedBy,
PrjLocalLastChangedAt,
LastChangedAt,
/* Associations */
_customer : redirected to parent /OSGMBH/ ZSRA_C_CUST,
_sys: redirected to composition child ZSRA_C_SYS
}
------------
define view entity ZSRA_C_SYS as projection on ZSRA_ R_SYS
{
key ProjectId,
key SystemId,
key CustomerId,
SystemName,
Service,
Tenant,
CreatedBy,
CreatedAt,
LastChangedBy,
SysLocalLastChangedAt,
LastChangedAt,
/* Associations */
_project: redirected to parent ZSRA_C_PRJ,
_customer
}
Behavior Projection –
projection;
strict ( 2 );
use draft;
define behavior for ZSRA_C_CUST alias Customer
{
use create;
use update;
use delete;
use action Edit;
use action Activate;
use action Discard;
use action Resume;
use action Prepare;
use association _project { create; with draft; }
}
define behavior for ZSRA_C_PRJ alias Project
{
use update;
use delete;
use association _customer { with draft; }
use association _sys { create; with draft; }
}
define behavior for ZSRA_C_SYS alias System
{
use update;
use delete;
use association _project { with draft; }
use association _customer { with draft; } <-- Error
}
Thanks & regards
Shobhan Rana
Request clarification before answering.
Try making your association as -
_customer: redirected to ZSRA_C_CUST
in ZSRA_C_SYS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.