Lutz Baumbusch, Matthias Jäger, Michael Lensch
ABAP RESTful Application Programming Model
The Comprehensive Guide
Lutz Baumbusch, Matthias Jäger, Michael Lensch
ABAP RESTful Application Programming Model
The Comprehensive Guide
- Gebundenes Buch
- Merkliste
- Auf die Merkliste
- Bewerten Bewerten
- Teilen
- Produkt teilen
- Produkterinnerung
- Produkterinnerung
You've worked with ABAP, SAP Fiori, and core data services-now 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 architecture Core data services (CDS) Behavior definition and implementation Business service definition and binding Field definitions,…mehr
Andere Kunden interessierten sich auch für
- Paul HardyABAP to the Future94,99 €
- Gairik AcharyaABAP in the Cloud65,99 €
- Renzo ColleCore Data Services for ABAP68,99 €
- Rene GlavanovitsSAP Fiori Elements74,99 €
- Renzo ColleCore Data Services for ABAP67,99 €
- Krishna Kishor KammajeSAP Extension Suite Certification Guide65,99 €
- Leon HassanVisual Studio Code for SAP65,99 €
-
-
-
You've worked with ABAP, SAP Fiori, and core data services-now 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 architecture
Core data services (CDS)
Behavior definition and implementation
Business service definition and binding
Field definitions, associations, and actions
Entity manipulation language (EML)
SAP Fiori elements
SAP Business Application Studio
Visual Studio Code
SAP 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
Highlights include:
REST architecture
Core data services (CDS)
Behavior definition and implementation
Business service definition and binding
Field definitions, associations, and actions
Entity manipulation language (EML)
SAP Fiori elements
SAP Business Application Studio
Visual Studio Code
SAP 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
Produktdetails
- Produktdetails
- SAP PRESS Englisch
- Verlag: Rheinwerk Verlag / SAP PRESS
- Artikelnr. des Verlages: 459/22379
- Seitenzahl: 508
- Erscheinungstermin: 10. März 2023
- Englisch
- Abmessung: 261mm x 182mm x 35mm
- Gewicht: 1220g
- ISBN-13: 9781493223794
- ISBN-10: 1493223798
- Artikelnr.: 64389393
- SAP PRESS Englisch
- Verlag: Rheinwerk Verlag / SAP PRESS
- Artikelnr. des Verlages: 459/22379
- Seitenzahl: 508
- Erscheinungstermin: 10. März 2023
- Englisch
- Abmessung: 261mm x 182mm x 35mm
- Gewicht: 1220g
- ISBN-13: 9781493223794
- ISBN-10: 1493223798
- Artikelnr.: 64389393
... Foreword ... 15
... Preface ... 17
... Acknowledgements ... 19
... Basic Concepts and Technical Components ... 21
1 ... Introduction ... 23
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 ... Core Data Services: Data Modeling ... 61
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 ... Behavior Definition ... 117
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 ... Entity Manipulation Language: Accessing Business Logic ... 205
4.1 ... Data Types ... 206
4.2 ... EML Operations ... 210
4.3 ... Using EML Outside of Behavioral Implementations ... 220
5 ... Behavior Implementation ... 225
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 ... Business Services ... 263
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 ... User Interfaces and SAP Fiori Elements ... 277
7.1 ... Development Tools ... 277
7.2 ... SAP Fiori Elements ... 281
... Practical Application Development ... 313
8 ... Use Cases ... 315
8.1 ... Applications Types ... 315
8.2 ... Implementation Types ... 316
8.3 ... Selecting the Appropriate Implementation Type ... 318
9 ... Managed Scenario: Developing an Application with SAP Fiori Elements ... 321
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 ... Managed Scenario with Unmanaged Save: Integrating an Existing Application ... 371
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 ... Unmanaged Scenario: Reusing Existing Source Code ... 429
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 ... Specific Features for the SAP BTP, ABAP Environment ... 465
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 ... Outlook ... 491
13.1 ... Build ... 492
13.2 ... Extensibility ... 492
13.3 ... Integration and Reusability ... 494
... Bibliography ... 497
A.1 ... Books ... 497
A.2 ... Online Resources ... 497
... Authors ... 499
... Index ... 501
... Preface ... 17
... Acknowledgements ... 19
... Basic Concepts and Technical Components ... 21
1 ... Introduction ... 23
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 ... Core Data Services: Data Modeling ... 61
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 ... Behavior Definition ... 117
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 ... Entity Manipulation Language: Accessing Business Logic ... 205
4.1 ... Data Types ... 206
4.2 ... EML Operations ... 210
4.3 ... Using EML Outside of Behavioral Implementations ... 220
5 ... Behavior Implementation ... 225
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 ... Business Services ... 263
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 ... User Interfaces and SAP Fiori Elements ... 277
7.1 ... Development Tools ... 277
7.2 ... SAP Fiori Elements ... 281
... Practical Application Development ... 313
8 ... Use Cases ... 315
8.1 ... Applications Types ... 315
8.2 ... Implementation Types ... 316
8.3 ... Selecting the Appropriate Implementation Type ... 318
9 ... Managed Scenario: Developing an Application with SAP Fiori Elements ... 321
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 ... Managed Scenario with Unmanaged Save: Integrating an Existing Application ... 371
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 ... Unmanaged Scenario: Reusing Existing Source Code ... 429
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 ... Specific Features for the SAP BTP, ABAP Environment ... 465
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 ... Outlook ... 491
13.1 ... Build ... 492
13.2 ... Extensibility ... 492
13.3 ... Integration and Reusability ... 494
... Bibliography ... 497
A.1 ... Books ... 497
A.2 ... Online Resources ... 497
... Authors ... 499
... Index ... 501
... Foreword ... 15
... Preface ... 17
... Acknowledgements ... 19
... Basic Concepts and Technical Components ... 21
1 ... Introduction ... 23
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 ... Core Data Services: Data Modeling ... 61
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 ... Behavior Definition ... 117
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 ... Entity Manipulation Language: Accessing Business Logic ... 205
4.1 ... Data Types ... 206
4.2 ... EML Operations ... 210
4.3 ... Using EML Outside of Behavioral Implementations ... 220
5 ... Behavior Implementation ... 225
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 ... Business Services ... 263
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 ... User Interfaces and SAP Fiori Elements ... 277
7.1 ... Development Tools ... 277
7.2 ... SAP Fiori Elements ... 281
... Practical Application Development ... 313
8 ... Use Cases ... 315
8.1 ... Applications Types ... 315
8.2 ... Implementation Types ... 316
8.3 ... Selecting the Appropriate Implementation Type ... 318
9 ... Managed Scenario: Developing an Application with SAP Fiori Elements ... 321
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 ... Managed Scenario with Unmanaged Save: Integrating an Existing Application ... 371
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 ... Unmanaged Scenario: Reusing Existing Source Code ... 429
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 ... Specific Features for the SAP BTP, ABAP Environment ... 465
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 ... Outlook ... 491
13.1 ... Build ... 492
13.2 ... Extensibility ... 492
13.3 ... Integration and Reusability ... 494
... Bibliography ... 497
A.1 ... Books ... 497
A.2 ... Online Resources ... 497
... Authors ... 499
... Index ... 501
... Preface ... 17
... Acknowledgements ... 19
... Basic Concepts and Technical Components ... 21
1 ... Introduction ... 23
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 ... Core Data Services: Data Modeling ... 61
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 ... Behavior Definition ... 117
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 ... Entity Manipulation Language: Accessing Business Logic ... 205
4.1 ... Data Types ... 206
4.2 ... EML Operations ... 210
4.3 ... Using EML Outside of Behavioral Implementations ... 220
5 ... Behavior Implementation ... 225
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 ... Business Services ... 263
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 ... User Interfaces and SAP Fiori Elements ... 277
7.1 ... Development Tools ... 277
7.2 ... SAP Fiori Elements ... 281
... Practical Application Development ... 313
8 ... Use Cases ... 315
8.1 ... Applications Types ... 315
8.2 ... Implementation Types ... 316
8.3 ... Selecting the Appropriate Implementation Type ... 318
9 ... Managed Scenario: Developing an Application with SAP Fiori Elements ... 321
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 ... Managed Scenario with Unmanaged Save: Integrating an Existing Application ... 371
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 ... Unmanaged Scenario: Reusing Existing Source Code ... 429
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 ... Specific Features for the SAP BTP, ABAP Environment ... 465
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 ... Outlook ... 491
13.1 ... Build ... 492
13.2 ... Extensibility ... 492
13.3 ... Integration and Reusability ... 494
... Bibliography ... 497
A.1 ... Books ... 497
A.2 ... Online Resources ... 497
... Authors ... 499
... Index ... 501