sapdev logo background
sapdev logo sapdev logo
Comments

SAP CALL FUNCTION ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTIClE

Calling Function Modules
This example demonstrates how a function module is called.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The function module READ_SPFLI_INTO_TABLE
reads all data from the database table SPFLI where the key field
CARRID matches the import parameter id and passes this data into the internal table itab . If no suitable data can be found, the exception NOT_FOUND is raised using
MESSAGE ... RAISING . Otherwise, the table is passed to the caller as an export parameter.
The actual parameters carrier and itab in the program above have the same data types as the corresponding interface parameters of the function module. The exception NOT_FOUND is handled and the function module displays the same message text as if it were not handled.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




CALL_EVENT_HANDLER
CALL_PROCEDURES




comments powered by Disqus