14.01.2020 Views

ABAP_to_the_Future

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Defining a Business Object 8.1

then choose the Create Subnode option. The wizard screen pops up, and you

repeat the same process as before.

Figure 8.5 Initial Monster Business Object

The first screen just tells you what the pa rent node is and asks you to give the

child node a name and description; nothing exciting here. Next, you’re asked for

two structures, as before: one to be stored in the database, and a transient structure

for things like text descriptions, which are calculated at runtime. You create

both structures by double-clicking them and adding assorted fields.

Finally, you’re asked for the name of the combined structure, a table type for the

combined structure, and a database table to store the items—exactly the same as

before. This time, the system doesn’t need to generate quite so many objects, and

the end result looks like Figure 8.6.

Figure 8.6 Monster Object with Item Node

289

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

Saved successfully!

Ooh no, something went wrong!