14.01.2020 Views

ABAP_to_the_Future

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents

13.2 Prerequisites .................................................................................. 565

13.2.1 Requirements in SAP ........................................................ 565

13.2.2 Requirements on Your Local Machine .............................. 566

13.3 Backend Tasks: Creating the Model Using SAP Gateway ................ 567

13.3.1 Configuration ................................................................... 567

13.3.2 Coding ............................................................................. 581

13.4 Frontend Tasks: Creating the View and Controller Using SAPUI5 ... 592

13.4.1 View ................................................................................ 596

13.4.2 Controller ......................................................................... 608

13.4.3 Testing Your Application .................................................. 613

13.5 Adding Elements with OpenUI5 .................................................... 615

13.6 Importing SAPUI5 Applications to SAP ERP ................................... 620

13.6.1 Storing the Application in Releases Lower than 7.31 ........ 620

13.6.2 Storing the Application in Releases 7.31 and Above ......... 622

13.6.3 Testing the SAPUI5 Application from within SAP ERP ....... 624

13.7 SAPUI5 vs. SAP Fiori ...................................................................... 626

13.8 Summary ....................................................................................... 627

PART IV Database Layer

14 Shared Memory ......................................................................... 631

14.1 The Promises of Shared Memory ................................................... 632

14.1.1 Database Access ............................................................... 633

14.1.2 Memory Usage ................................................................. 633

14.2 Creating and Using Shared Memory Objects .................................. 634

14.2.1 Creating the Root Class .................................................... 635

14.2.2 Generating the Broker Class ............................................. 640

14.2.3 Using Shared Memory Objects in ABAP Programs ............ 643

14.3 Updating the Database and Shared Memory Together ................... 647

14.4 Troubleshooting ............................................................................ 649

14.4.1 Data Inconsistency between Application Servers .............. 649

14.4.2 Short Dumps .................................................................... 652

14.5 Summary ....................................................................................... 654

15 ABAP Programming for SAP HANA ........................................... 655

15.1 Introduction to Code Pushdown .................................................... 657

15.2 Top-Down Development ............................................................... 658

15.2.1 Building and Calling CDS Views ........................................ 659

15.2.2 Building and Calling ABAP Managed Database

Procedures ....................................................................... 671

16

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!