ABAPCALL_FUNCTION - CALL FUNCTION

ROGBILLS - Synchronize billing plans   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

CALL FUNCTION

Short Reference



Syntax Forms


General Function Module Call

1. CALL FUNCTION func { parameter_list
                    | parameter_tables }.

Registration of an Update Task Function Module

2. CALL FUNCTION update_function IN UPDATE TASK
                [EXPORTING p1 = a1 p2 = a2 ...]
                [TABLES t1 = itab1 t2 = itab2 ...].

Remote Function Call

3. CALL FUNCTION ... DESTINATION ...

Effect

Call or registration of a function module. A function module is always specified dynamically. The identifier of the called function module is always determined at runtime.

System Fields

When a function module is called, the system field sy-subrc is set to 0. If a non-class-basedexception occurs that is handled by assigning a value, sy-subrc is set to this value. Afterthe registration of an update function module using CALL FUNCTION ... IN UPDATE TASK, sy-subrc is undefined.

Notes

  • Although a function module is always dynamically specified, we can only talk about a real dynamic callin the case of simultaneous dynamic parameter passing. This is possible with a general function modulecall. For statically known function modules and static parameter passing however, the name is generally specified as a literal.

  • CALL CUSTOMER-FUNCTION is another variant for calling obsolete function module exits.





ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.


Length: 2753 Date: 20120518 Time: 195538     triton ( 132 ms )