Show TOC Entering content frame

Procedure documentation Enhancing Parameter Interfaces Locate the document in its SAP Library structure

Use

You can enhance the parameter interface of a function module with new, optional formal parameters as enhancement implementation elements. Enhancing by adding new exceptions is not possible.

In the context of the enhancement concept, the parameter interface of a function module provides corresponding enhancement options.

Procedure

To implement an enhancement of the interface, use the Function Builder to call the Enhancement Builder:

...

       1.      Choose the tab of the parameter type for which you want to insert a formal parameter.

       2.      Choose Edit ® Enhancement Operations ® Enhance Interface for a function module.

A dialog box appears.

       3.      Select an existing enhancement implementation or create a new one (see Creating an Enhancement Implementation).

This takes you to the enhancement mode of the Function Builder in which the original components of the function module are displayed and cannot be changed.

       4.      Insert the new formal parameter in the same way as when you create a function module.

       5.      Save and activate the function module.

The new parameter can now be used at implicit and explicit enhancement options in enhancements to the source code of the function module. This can be done using ABAP source code enhancements.

 

 

Leaving content frame