Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Creating Objects and Values →  Shared Objects →  Shared Objects - Classes and Interfaces 

Shared Objects - IF_SHM_BUILD_INSTANCE

Interface IF_SHM_BUILD_INSTANCE must be included by an area constructor class that implements an area's optional area constructor.

Other versions: 7.31 | 7.40 | 7.54

Static Methods

BUILD

Interface method for implementing the area constructor of an area.

input parameter

  • INST_NAME of type SHM_INST_NAME
Name of the area instance version. Entering a name is optional. The default value is the value of constant CL_SHM_AREA=>DEFAULT_INSTANCE.

  • INVOCATION_MODE of type i
This parameter can be used to determine the type of call in the area constructor. The default value CL_SHM_AREA=>INVOCATION_MODE_EXPLICIT is used for the explicit call. CL_SHM_AREA=>INVOCATION_MODE_AUTO_BUILD is passed with the automatic call.

Exceptions

  • CX_SHM_BUILD_FAILED
An error has occurred while executing the area constructor.

Note

The BUILD method does not have an input parameter for the client identifier. The area is built in the current client when the method is called.

Continue

Shared Objects - Area Constructor Class