Start of Content Area

Background documentation GACEvent  Locate the document in its SAP Library structure

You can define your own events for your FlashIsland.

The GACEvent enables you to respond in Web Dynpro to events appearing in the FlashIsland. The FlashIsland can pass parameters to the events.  There are two important issues with GACEvent:

      What is the name of the event appearing in the FlashIsland (property name).

      What is the name of the Web Dynpro action that is to be executed (event onAction).

The event parameters are aggregated in the GACEvent (aggregation GACEVENTPARAMETER). Wit these GACEvent Parameters two issues are important:

      The name of the parameter in the FlashIsland (property name)

      The type of the parameter (property type)

A FlashIsland can have multiple GACEvents, which in turn can have multiple GACEvent parameters.

Caution

The integration of GAC* controls in Web Dynpro ABAP dialog boxes (popups) is not supported.

 

Runtime Class

CL_WD_GAC_EVENT

 

Properties in the View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

name

STRING

 

No

 

Aggregations in the View Designer

Name

Cardinality

Type

EVENT_PARAMETERS

0..n

GACEventParameter

 

Events in the View Designer

Name

onAction

Note

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are: ViewElement

Dynamic Programming

For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

name

NAME

STRING

 

Dynamic Programming of Events

View Designer Name

Runtime Name

onAction

ON_ACTION

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

EVENT_PARAMETERS

EVENT_PARAMETERS

0..n

 

 

End of Content Area