Entering content frame

Function documentation Data Session Management (DSM) API Locate the document in its SAP Library structure

The DSM uses this API to access the properties of the SessInfo object. See chapter Session Management for more details.

EPCM.DSM.init (String url)

This method Initializes the DSM and registers the URL at the Terminator component.

Parameter Description

Argument

Type

Description

url

String

URL that is registered at the Terminator component.

EPCM.DSM.processSession (sessInfo)

This method is the entry point for the session management (handler for SAPWP_receiveSessInfo).

Parameter Description

Argument

Type

Description

sessInfo

Object

SessInfo object.

EPCM.DSM.notifyMonitor (sessInfo)

This method notifies the DSM when the new SessInfo object is available.

Parameter Description

Argument

Type

Description

sessInfo

Object

SessInfo object.

EPCM.DSM.registerSession (sessInfo)

This method registers the SessInfo object.

Parameter Description

Argument

Type

Description

sessInfo

Object

SessInfo object.

EPCM.DSM.removeSessionByGUSID (gusid)

This method removes the SessInfo object associated with the Global Unique Session ID (GUSID) from the register.

Parameter Description

Argument

Type

Description

gusid

String

GUSID.

EPCM.DSM.teminateByGUSID (gusid)

This method terminates the sessions associated with GUSID and removes them from the register.

Parameter Description

Argument

Type

Description

gusid

String

GUSID.

EPCM.DSM.teminateAll ()

This method terminates all registered sessions and clears the register.

EPCM.DSM.getAllToArray ()

This method makes a copy of all active SessInfo objects in a JavaScript Array object. The SessInfo objects can be used and processed by the client application.

EPCM.DSM.getSize ()

This method returns the number of registered SessInfo objects in the DSM.

Leaving content frame