Sap Rap
Sap Rap
by
Muthu
Behavior Definition
What is Behavior Definition?
Behavior Definition - Overview
Behavior Characteristics:
Behavior Body:
● Persistent table
● Draft table ● Field characteristics
● Use
● Saving options
● Actions and functions
● Locking ● Augment
● Etag ● Type mapping
● Early numbering
● Late numbering
Service Definition & Binding
Business Services
Task Application Service Binding
Technical objects
Service Definition
Projection
Task item C Projection
Behavior Task C view
view Views
definition
Header:
Item:
Validation ValName on save { create; update; delete; field field1, field2 etc., }
Output Parameters
Behaviour Characteristics
Numbering
Feature Control
Authorization
ETag
Draft handling
Feature Controls
Instance Feature Control
Static Feature Control
Global Feature Control
Numbering in RAP
Numbering
● External - What is External Early Numbering ?
● Internal
○ Early
■ Managed - What is Managed Internal Early Numbering ?
■ Unmanaged - What is Unmanaged Internal Early Numbering ?
○ Late
■ Unmanaged - What is Late Numbering ?
● Uniqueness Check for Primary keys
Concurrency Control
What is Concurrency Control in RAP ?
How to Define Etag in RAP ?
How to Define Locking ?
Concurrency Control
USER 2
USER 1
UPDATE EMP
WHERE ID = 2
USER 3
UPDATE EMP
WHERE ID = 2
USER 1
USER 2
Thinking about Solution
Server
Stateful session store
communication details of the
each request
USER 1
Server
Dependency
Solution - Stateless communication with Stateful
capability
Stores data in the
Draft DB table as
temporary state
How Draft works?
Stateless communication - No fixed backend session
Due to scalability & elasticity requirements in the Cloud model, we have to use
stateless communication
Side Effects in RAP
What is Side Effects ?
RAP Generator
What is RAP Generator ?
How to Deploy RAP
Application ?
Step by Step guide
Thanks for your support!
Email - [email protected]