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.

13

SAPUI5

3. Link together these two data structures by means of an association.

4. Create some generated classes based up on that data model and a related service.

5. Make sure that the system configuration is set up correctly so that you can proceed

with adding the new service.

6. Add the new service to the list of available services.

7. Perform a basic test to make sure that the service has been added correctly and

thus is able to be called by an SAPUI5 application.

Each of these steps is discussed in more detail next.

Creating a Project Using the Service Builder

When you install the SAP Gateway add-on into your SAP system, you get a new

transaction code—specifically, Transaction SEGW, which is the Service Builder.

Run this transaction now. (Admittedly, it doesn’t look very impressive—just a big

gray empty screen with a few icons in the top-left-hand corner.)

On this screen, the top nodes are called projects (which are groupings of one or

more business objects). Start by choosing the piece of paper icon in the top-lefthand

corner that says Create Project (Figure 13.3).

Figure 13.3 Creating an SAP Gateway Project

Now, you can get cracking!

568

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

Saved successfully!

Ooh no, something went wrong!