Ansicht
Dokumentation

ABAPCALL_FUNCTION_SHORTREF - CALL FUNCTION SHORTREF

ABAPCALL_FUNCTION_SHORTREF - CALL FUNCTION SHORTREF

rdisp/max_wprun_time - Maximum work process run time   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

CALL FUNCTION

Reference



Syntax

CALL FUNCTION func [ {IN UPDATE TASK}
                   | { [ {STARTING NEW TASK task}
                       | {IN BACKGROUND TASK [AS SEPARATE UNIT]} ]
                       [DESTINATION dest] }
                   | {IN BACKGROUND UNIT} ]
                   [{CALLING meth}|{PERFORMING subr} ON END OF TASK]
                   { [EXPORTING  p1 = a1 p2 = a2 ...]
                     [IMPORTING  p1 = a1 p2 = a2 ...]
                     [CHANGING   p1 = a1 p2 = a2 ...]
                     [TABLES     t1 = itab1 t2 = itab2 ...]
                     [EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
                                 [error_message = n_error]
                                 [system_failure = ns
                                   [MESSAGE smess]]
                                 [communication_failure = nc
                                   [MESSAGE cmess]]
                                 [resource_failure = nc]
                                 [OTHERS = n_others]] }
                   | { [PARAMETER-TABLE ptab]
                       [EXCEPTION-TABLE etab] }.


Effect

Calls the function module specified in func.

Additions

  • EXCEPTIONS
    Enables the handling of non-class-based exceptions:

    exc1 = n1 exc2 = n2 ... - Assigns numbers n1, n2, ... to the classic exceptions exc1, exc2, ... for the return code sy-subrc.

    error_message = n_error - Handles messages using the special exception error_message.

    system_failure, communication_failure, resource_failure - Handles special classic exceptions by passing the first line of the short dump to smess or cmess.

    OTHERS = n_others - Assigns a number n_others for the return code sy-subrc to all exceptions not named explicitly.
  • PARAMETER-TABLE ptab
    Assigns dynamic actual parameters to formal parameters using an internal table ptab of the type abap_func_parmbind_tab.
  • EXCEPTION-TABLE etab
    Assigns dynamic return codes to non-class-based exceptions using an internal table etab of the type abap_func_excpbind_tab.





SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 7603 Date: 20240616 Time: 105035     sap01-206 ( 35 ms )