Ansicht
Dokumentation

ABENGLOBAL_PARAMETERS_OBSOLETE - GLOBAL PARAMETERS OBSOLETE

ABENGLOBAL_PARAMETERS_OBSOLETE - GLOBAL PARAMETERS OBSOLETE

rdisp/max_wprun_time - Maximum work process run time   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Global Parameters

The formal parameters of the interface of a function module can be made known globally by choosing Edit → Interface → Globalize Parameters in the Function Builder. Then the field Global is selected in the properties of the function module. The formal parameters of a global interface have the following properties:

  • All parameters that are completely typed and for which pass by value is defined are handled as if identically named global data objects were declared in the top include. This means they are visible in the entire function pool and, when the function module is exited, they retain their value.
  • All other parameters are handled as if identically named data objects were declared in the top include (two in each case for table parameters, one for the table body and one for the header line). They can however only be used during execution of the function module. If a parameter of this type is accessed when the function module is not executed, the runtime error GETWA_NOT_ASSIGNED occurs, since these parameters are implemented internally by field symbols. A data object is only assigned to these field symbols during the execution of the function module.

In the function pool, no global data objects with the same name as a global parameter may be created. If multiple function modules in a function pool have global interfaces, identically named parameters must have identical definitions.

Note

The use of global interface parameters is obsolete and interfaces should generally not be globalized in new function modules.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1936 Date: 20240419 Time: 163540     sap01-206 ( 45 ms )