Working with SAP Functions in ABAP Mappings Overview
Working with SAP Functions in ABAP Mappings Overview
SAP functions are generic modules in the SAP system. The SAP system has a set of standard functions and user-defined functions. SAP functions can accomplish simple tasks such as getting the name of a field, or complex tasks such as calculating depreciation.
If the mapping requires an ABAP program to extract data from SAP, you can insert SAP functions in the ABAP program flow dialog box in the Application Source Qualifier to customize how the ABAP program extracts data. When you run a workflow, the ABAP program calls the SAP function to perform tasks.
To use SAP functions in the ABAP program, you first import the functions in the Source Analyzer and then insert them in the ABAP program flow. In the ABAP program flow, you assign values to function parameters so the function can perform calculations. You then assign variables to hold the result of the function output.
After you customize the ABAP program, you generate and install the ABAP program. The Designer generates a CALL FUNCTION statement in the ABAP program to use the SAP function.