Ansicht
Dokumentation

INIT_EVENT_REGISTER - Registrates function module (function group) for INIT

INIT_EVENT_REGISTER - Registrates function module (function group) for INIT

Vendor Master (General Section)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

When this function module is called, a function module is defined (registered) which is to be executed when the INIT event is triggered. This function module may only be used for initializations of roll area-related data, such as global data.

Example

FUNCTION XYZ.
CALL FUNCTION 'INIT_EVENT_REGISTER'
EXPORTING
FUNCNAME = 'ABC'.
...
...
...
ENDFUNCTION.

The function ABC is registered and executed when function XYZ is called and the INIT event is triggered by
a) The function module INIT_EVENT_RAISE being called or
b) An ABAP commit work/rollback (after the corresponding DB commit/ rollback)

Notes

A registration that has been made is not revoked after the INIT event has been triggered, but is retained for the lifetime of the roll area. You can realize a registration most easily as follows:

* In the top include
load-of-program
* This event is processed at the first call of a
* function/program of a program group (function
* group/module pool/form pool, and so on)
CALL FUNCTION 'INIT_EVENT_REGISTER'
EXPORTING
FUNCNAME = 'ABC'.

Further information

For more information, see the documentation for function module INIT_EVENT_MASTER_TUUID_GET





Parameters

FUNCNAME

Exceptions

Function Group

AIEV

General Material Data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1639 Date: 20240604 Time: 013501     sap01-206 ( 29 ms )