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.

14

Shared Memory

with data, then you could just select the Shared Memory–Enabled checkbox,

and that would be that. The root class do esn’t need to know anything about the

mechanics of shared memory; that’s the job of the broker class.

14.2.2 Generating the Broker Class

The broker class will be automatically generated by the system, and you do not

add any custom code of your own. In order to generate the broker class, call

Transaction SHMA, which is used to create the shared memory area and generate

the broker class in one step. Because this is going to generate a class, name the

shared memory area as if it were a class. In this case, call it ZCL_MONSTER_SHMO,

where “SHMO” stands for “shared memory object.”

Figure 14.5 Transaction SHMA: Creating a Shared Memory Area

The SHMA screen is shown in Figure 14.5; the following paragraphs work down

the page, telling you the options to select and why.

640

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

Saved successfully!

Ooh no, something went wrong!