SAP® Documentation

Single view

ABAPEVENTS_PARAMETERS - EVENTS PARAMETERS

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

EVENTS - parameters

Short Reference



Syntax

... VALUE(p1) typing$[OPTIONAL$|${DEFAULT def1$}$]
    VALUE(p2) typing$[OPTIONAL$|${DEFAULT def2$}$]
    ...

Effect

The syntax of the additions VALUE, OPTIONAL, and DEFAULT and the typing using typing corresponds to the definition of formal parameters in the interface of methods.

When an event is raised using RAISE EVENT, suitable actual parameters must be specified for all non-optional output parameters; these actual parameters are optional for all optional output parameters. Optional parameters for which no actual parameter has been specified are set to their type-dependent initial value or to the replacement parameter def1 def2 ...

Example

Declaration of an instant event with an output parameter in class CL_DEMO_OUTPUT_STREAM.

CLASS cl_demo_output_stream
  ...
  PUBLIC SECTION.
    ...
    EVENTS completed
      EXPORTING
        VALUE(ev_output) TYPE xstring .
    ...
ENDCLASS.





ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2233 Date: 20200125 Time: 091123     sap01-206 ( 23 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.