Core Data Services for ABAP

Inhaltsverzeichnis

... Preface ... 17

... Structure of the Book ... 19

... Acknowledgments ... 22

1 ... Modeling Your First CDS View ... 23

1.1 ... Define the Data Model of the Application ... 24

1.2 ... Implement the Data Model of the Application ... 27

1.3 ... Summary ... 51

2 ... Fundamentals of CDS Data Modeling ... 53

2.1 ... Overview of CDS Models ... 54

2.2 ... Overview of CDS View Syntax ... 57

2.3 ... Key Fields ... 59

2.4 ... Cast Operations ... 61

2.5 ... Typed Literals ... 63

2.6 ... Case Statements ... 64

2.7 ... Session Variables ... 66

2.8 ... Client Handling ... 67

2.9 ... Union Views ... 69

2.10 ... Joins ... 76

2.11 ... SQL Aggregation Functions ... 82

2.12 ... Projection Fields ... 85

2.13 ... Parameters ... 86

2.14 ... Reference Fields ... 91

2.15 ... Conversion Functions for Currencies and Quantity Units ... 94

2.16 ... Summary ... 97

3 ... Associations ... 99

3.1 ... Define Associations ... 100

3.2 ... Expose Associations ... 102

3.3 ... Model Compositional Relations ... 103

3.4 ... Model M:N Relations ... 105

3.5 ... Project Associations ... 109

3.6 ... Use Associations in CDS Views ... 109

3.7 ... Use Associations in ABAP Code ... 120

3.8 ... Summary ... 121

4 ... Annotations ... 123

4.1 ... Annotation Definitions ... 124

4.2 ... Effects of Annotations ... 135

4.3 ... Propagation Logic of Element Annotations ... 137

4.4 ... CDS Metadata Extensions ... 144

4.5 ... Active Annotations ... 148

4.6 ... Summary ... 149

5 ... Access Controls ... 151

5.1 ... Fundamentals of Access Controls ... 152

5.2 ... Mode of Action of Access Controls ... 156

5.3 ... Implementation Patterns for Access Controls ... 161

5.4 ... Test Access Controls ... 193

5.5 ... Summary ... 196

6 ... Business Services ... 197

6.1 ... Projection Views ... 198

6.2 ... Service Definitions ... 201

6.3 ... Service Bindings ... 206

6.4 ... Testing Business Services ... 213

6.5 ... Summary ... 215

7 ... Native SAP HANA Functions in CDS ... 217

7.1 ... Implementation of a CDS Table Function ... 218

7.2 ... Application Scenarios ... 226

7.3 ... Aspects for Consideration ... 227

7.4 ... Summary ... 228

8 ... Modeling Application Data ... 231

8.1 ... Application Architecture in SAP S/4HANA ... 232

8.2 ... Field Labels ... 235

8.3 ... Field Semantics ... 239

8.4 ... Foreign Key Relations ... 245

8.5 ... Text Relations ... 249

8.6 ... Composition Relations ... 252

8.7 ... Time-Dependent Data ... 255

8.8 ... Summary ... 256

9 ... The Virtual Data Model in SAP S/4HANA ... 257

9.1 ... Why a Virtual Data Model? ... 257

9.2 ... Lifecycle, Release, and Stability ... 259

9.3 ... Structure of the Virtual Data Model ... 270

9.4 ... Naming in the Virtual Data Model ... 277

9.5 ... Basic Interface View for the Sales Order ... 282

9.6 ... Tips for Finding Virtual Data Model Views ... 289

9.7 ... Summary ... 298

10 ... Modeling Analytical Applications ... 299

10.1 ... Analytics in SAP S/4HANA ... 299

10.2 ... Analytical Views ... 301

10.3 ... Analytical Queries ... 321

10.4 ... Analytical Infrastructure ... 348

10.5 ... Summary ... 351

11 ... Modeling Transactional Applications ... 353

11.1 ... Transactional Applications ... 354

11.2 ... Transactional Infrastructure in SAP S/4HANA ... 355

11.3 ... Transactional Object Models ... 358

11.4 ... Behavior Definitions ... 364

11.5 ... Transactional Service Models ... 442

11.6 ... Define Projection Behavior Definition ... 451

11.7 ... Runtime Orchestration ... 461

11.8 ... SAP Fiori and OData Consumption ... 466

11.9 ... Summary ... 479

12 ... Hierarchies in CDS ... 481

12.1 ... Hierarchy Categories and Basics ... 481

12.2 ... Annotation-Based Parent-Child Hierarchies ... 484

12.3 ... CDS Hierarchies ... 492

12.4 ... Summary ... 510

13 ... CDS-Based Search Functionality ... 511

13.1 ... Modeling Value Helps ... 512

13.2 ... Free-Text Search Functionality in OData Services ... 529

13.3 ... Summary ... 537

14 ... Extensions of CDS Views and View Entities ... 539

14.1 ... Extension Options ... 540

14.2 ... CDS Entity Extensions ... 541

14.3 ... Usage of CDS Entity Extensions ... 552

14.4 ... Summary ... 558

15 ... Automated Testing ... 561

15.1 ... Fundamentals of the Test Double Framework ... 562

15.2 ... Test Sample Overview ... 563

15.3 ... Test Implementations of CDS Views ... 566

15.4 ... Test ABAP Logic with SQL Accesses to CDS Views ... 580

15.5 ... Test Code Generation Functions ... 583

15.6 ... Summary ... 587

16 ... Troubleshooting ... 589

16.1 ... Performance Aspects ... 589

16.2 ... Pitfalls ... 596

16.3 ... Troubleshoot Implementations of CDS Models ... 606

16.4 ... Troubleshoot Activation Issues ... 613

16.5 ... Summary ... 618

... Appendices ... 621

A ... CDS Annotation Reference ... 621

B ... The Authors ... 633

... Index ... 635

Core Data Services for ABAP

SAP PRESS: englisch

Buch (Gebundene Ausgabe, Englisch)

84,99 €

inkl. gesetzl. MwSt.

Core Data Services for ABAP

Ebenfalls verfügbar als:

Gebundenes Buch

Gebundenes Buch

ab 84,99 €

Beschreibung

Details

Einband

Gebundene Ausgabe

Erscheinungsdatum

26.02.2022

Verlag

Rheinwerk Publishing

Seitenzahl

648

Maße (L/B/H)

26,2/18,5/4,3 cm

Beschreibung

Details

Einband

Gebundene Ausgabe

Erscheinungsdatum

26.02.2022

Verlag

Rheinwerk Publishing

Seitenzahl

648

Maße (L/B/H)

26,2/18,5/4,3 cm

Gewicht

1485 g

Auflage

2. Auflage

Sprache

Englisch

ISBN

978-1-4932-2109-7

Weitere Bände von SAP PRESS Englisch

Unsere Kundinnen und Kunden meinen

0.0

0 Bewertungen

Informationen zu Bewertungen

Zur Abgabe einer Bewertung ist eine Anmeldung im Konto notwendig. Die Authentizität der Bewertungen wird von uns nicht überprüft. Wir behalten uns vor, Bewertungstexte, die unseren Richtlinien widersprechen, entsprechend zu kürzen oder zu löschen.

Verfassen Sie die erste Bewertung zu diesem Artikel

Helfen Sie anderen Kund*innen durch Ihre Meinung

Erste Bewertung verfassen

Unsere Kundinnen und Kunden meinen

0.0

0 Bewertungen filtern

  • Core Data Services for ABAP
  • ... Preface ... 17

    ... Structure of the Book ... 19

    ... Acknowledgments ... 22

    1 ... Modeling Your First CDS View ... 23

    1.1 ... Define the Data Model of the Application ... 24

    1.2 ... Implement the Data Model of the Application ... 27

    1.3 ... Summary ... 51

    2 ... Fundamentals of CDS Data Modeling ... 53

    2.1 ... Overview of CDS Models ... 54

    2.2 ... Overview of CDS View Syntax ... 57

    2.3 ... Key Fields ... 59

    2.4 ... Cast Operations ... 61

    2.5 ... Typed Literals ... 63

    2.6 ... Case Statements ... 64

    2.7 ... Session Variables ... 66

    2.8 ... Client Handling ... 67

    2.9 ... Union Views ... 69

    2.10 ... Joins ... 76

    2.11 ... SQL Aggregation Functions ... 82

    2.12 ... Projection Fields ... 85

    2.13 ... Parameters ... 86

    2.14 ... Reference Fields ... 91

    2.15 ... Conversion Functions for Currencies and Quantity Units ... 94

    2.16 ... Summary ... 97

    3 ... Associations ... 99

    3.1 ... Define Associations ... 100

    3.2 ... Expose Associations ... 102

    3.3 ... Model Compositional Relations ... 103

    3.4 ... Model M:N Relations ... 105

    3.5 ... Project Associations ... 109

    3.6 ... Use Associations in CDS Views ... 109

    3.7 ... Use Associations in ABAP Code ... 120

    3.8 ... Summary ... 121

    4 ... Annotations ... 123

    4.1 ... Annotation Definitions ... 124

    4.2 ... Effects of Annotations ... 135

    4.3 ... Propagation Logic of Element Annotations ... 137

    4.4 ... CDS Metadata Extensions ... 144

    4.5 ... Active Annotations ... 148

    4.6 ... Summary ... 149

    5 ... Access Controls ... 151

    5.1 ... Fundamentals of Access Controls ... 152

    5.2 ... Mode of Action of Access Controls ... 156

    5.3 ... Implementation Patterns for Access Controls ... 161

    5.4 ... Test Access Controls ... 193

    5.5 ... Summary ... 196

    6 ... Business Services ... 197

    6.1 ... Projection Views ... 198

    6.2 ... Service Definitions ... 201

    6.3 ... Service Bindings ... 206

    6.4 ... Testing Business Services ... 213

    6.5 ... Summary ... 215

    7 ... Native SAP HANA Functions in CDS ... 217

    7.1 ... Implementation of a CDS Table Function ... 218

    7.2 ... Application Scenarios ... 226

    7.3 ... Aspects for Consideration ... 227

    7.4 ... Summary ... 228

    8 ... Modeling Application Data ... 231

    8.1 ... Application Architecture in SAP S/4HANA ... 232

    8.2 ... Field Labels ... 235

    8.3 ... Field Semantics ... 239

    8.4 ... Foreign Key Relations ... 245

    8.5 ... Text Relations ... 249

    8.6 ... Composition Relations ... 252

    8.7 ... Time-Dependent Data ... 255

    8.8 ... Summary ... 256

    9 ... The Virtual Data Model in SAP S/4HANA ... 257

    9.1 ... Why a Virtual Data Model? ... 257

    9.2 ... Lifecycle, Release, and Stability ... 259

    9.3 ... Structure of the Virtual Data Model ... 270

    9.4 ... Naming in the Virtual Data Model ... 277

    9.5 ... Basic Interface View for the Sales Order ... 282

    9.6 ... Tips for Finding Virtual Data Model Views ... 289

    9.7 ... Summary ... 298

    10 ... Modeling Analytical Applications ... 299

    10.1 ... Analytics in SAP S/4HANA ... 299

    10.2 ... Analytical Views ... 301

    10.3 ... Analytical Queries ... 321

    10.4 ... Analytical Infrastructure ... 348

    10.5 ... Summary ... 351

    11 ... Modeling Transactional Applications ... 353

    11.1 ... Transactional Applications ... 354

    11.2 ... Transactional Infrastructure in SAP S/4HANA ... 355

    11.3 ... Transactional Object Models ... 358

    11.4 ... Behavior Definitions ... 364

    11.5 ... Transactional Service Models ... 442

    11.6 ... Define Projection Behavior Definition ... 451

    11.7 ... Runtime Orchestration ... 461

    11.8 ... SAP Fiori and OData Consumption ... 466

    11.9 ... Summary ... 479

    12 ... Hierarchies in CDS ... 481

    12.1 ... Hierarchy Categories and Basics ... 481

    12.2 ... Annotation-Based Parent-Child Hierarchies ... 484

    12.3 ... CDS Hierarchies ... 492

    12.4 ... Summary ... 510

    13 ... CDS-Based Search Functionality ... 511

    13.1 ... Modeling Value Helps ... 512

    13.2 ... Free-Text Search Functionality in OData Services ... 529

    13.3 ... Summary ... 537

    14 ... Extensions of CDS Views and View Entities ... 539

    14.1 ... Extension Options ... 540

    14.2 ... CDS Entity Extensions ... 541

    14.3 ... Usage of CDS Entity Extensions ... 552

    14.4 ... Summary ... 558

    15 ... Automated Testing ... 561

    15.1 ... Fundamentals of the Test Double Framework ... 562

    15.2 ... Test Sample Overview ... 563

    15.3 ... Test Implementations of CDS Views ... 566

    15.4 ... Test ABAP Logic with SQL Accesses to CDS Views ... 580

    15.5 ... Test Code Generation Functions ... 583

    15.6 ... Summary ... 587

    16 ... Troubleshooting ... 589

    16.1 ... Performance Aspects ... 589

    16.2 ... Pitfalls ... 596

    16.3 ... Troubleshoot Implementations of CDS Models ... 606

    16.4 ... Troubleshoot Activation Issues ... 613

    16.5 ... Summary ... 618

    ... Appendices ... 621

    A ... CDS Annotation Reference ... 621

    B ... The Authors ... 633

    ... Index ... 635