Beschreibung
Youve worked with ABAP, SAP Fiori, and core data servicesnow see how these technologies and more come together in the ABAP RESTful application programming model. Learn to develop applications optimized for SAP S/4HANA, whether your system is on-premise or in the cloud. Follow step-by-step instructions to build new ABAP applications, update legacy applications, and reuse existing source code. Make the new model work for you!Highlights include:REST architectureCore data services (CDS)Behavior definition and implementationBusiness service definition and bindingField definitions, associations, and actionsEntity manipulation language (EML)SAP Fiori elementsSAP Business Application StudioVisual Studio CodeSAP BTP, ABAP environment Highlights: REST architectureCore data services (CDS)Behavior definition and implementationBusiness service definition and bindingField definitions, associations, and actionsEntity manipulation language (EML)SAP Fiori elementsSAP Business Application StudioVisual Studio CodeSAP BTP, ABAP environment
Inhalt
... Acknowledgements ... 19
1.1 ... What is the ABAP RESTful Application Programming Model? ... 24
1.2 ... Architecture and Concepts ... 42
1.3 ... Development Objects ... 48
1.4 ... ABAP Development Tools ... 53
1.5 ... Quality Attributes of the ABAP RESTful Application Programming Model ... 54
1.6 ... Availability of the ABAP RESTful Application Programming Model ... 58
2.1 ... What are Core Data Services? ... 62
2.2 ... Structure and Syntax of Core Data Services ... 65
2.3 ... Associations ... 79
2.4 ... Annotations ... 83
2.5 ... Access Controls ... 89
2.6 ... Extensibility of CDS Entities ... 94
2.7 ... Additional CDS Functionality ... 101
2.8 ... Virtual Data Model ... 109
2.9 ... CDS Language Elements for Modeling Business Objects ... 113
3.1 ... What is a Behavior Definition? ... 117
3.2 ... Editing a Behavior Definition in ABAP Development Tools ... 129
3.3 ... Implementation Types ... 136
3.4 ... Strict Mode ... 141
3.5 ... Entity Behavior Definition ... 142
3.6 ... Defining a Behavior Pool ... 143
3.7 ... Numbering ... 146
3.8 ... Field Properties ... 150
3.9 ... Field Mappings ... 153
3.10 ... Standard Operations for a CDS Entity ... 155
3.11 ... Specific Operations for a CDS Entity ... 159
3.12 ... Concurrency and Locking Behavior ... 168
3.13 ... Internal Business Logic ... 173
3.14 ... Authorization Checks ... 184
3.15 ... Draft Handling ... 189
3.16 ... Overarching Concepts ... 196
4.1 ... Data Types ... 206
4.2 ... EML Operations ... 210
4.3 ... Using EML Outside of Behavioral Implementations ... 220
5.1 ... Business Object Provider API ... 225
5.2 ... Runtime Behavior of the ABAP RESTful Application Programming Model ... 226
5.3 ... Interfaces for the Interaction Handler and the Save Handler ... 229
5.4 ... Interaction Handler ... 230
5.5 ... Save Handler ... 253
6.1 ... Projection Layer ... 264
6.2 ... Service Definition ... 267
6.3 ... Service Binding ... 268
6.4 ... Testing Business Services in the SAP Gateway Client ... 272
6.5 ... Testing UI Services with SAP Fiori Elements Preview ... 275
7.1 ... Development Tools ... 277
7.2 ... SAP Fiori Elements ... 281
8.1 ... Applications Types ... 315
8.2 ... Implementation Types ... 316
8.3 ... Selecting the Appropriate Implementation Type ... 318
9.1 ... Description of the Use Case ... 321
9.2 ... Building the Data Model ... 322
9.3 ... Creating Behavior Definitions ... 334
9.4 ... Defining a Business Service ... 340
9.5 ... Creating an SAP Fiori Elements User Interface ... 344
9.6 ... Enrichment with a Determination ... 352
9.7 ... Enrichment with a Validation ... 356
9.8 ... Enrichment with an Action ... 360
9.9 ... Generation and Deployment of the Application ... 362
10.1 ... Description of the Use Case ... 371
10.2 ... Building the Data Model ... 375
10.3 ... Creating a Behavior Definition ... 385
10.4 ... Implementing the Create Purchase Order Function ... 387
10.5 ... Implementing the Delete Purchase Order Function ... 409
10.6 ... Defining Business Services ... 416
10.7 ... Implementing Authorization Checks ... 419
10.8 ... Creating an SAP Fiori Elements User Interface ... 424
11.1 ... Description of the Use Case ... 430
11.2 ... Description of the Existing Application ... 431
11.3 ... Extending the Data Model ... 437
11.4 ... Creating a Behavior Definition ... 443
11.5 ... Creating a Behavior Implementation ... 447
11.6 ... Defining a Business Service ... 462
12.1 ... Technical Fundamentals ... 466
12.2 ... Identity and Access Management ... 473
12.3 ... Deploying SAP Fiori Apps and Assigning Authorizations ... 476
12.4 ... Consuming Business Services ... 484
13.1 ... Build ... 492
13.2 ... Extensibility ... 492
13.3 ... Integration and Reusability ... 494
A.1 ... Books ... 497
A.2 ... Online Resources ... 497