Entering content frameProcess documentation Naming Parameters in the Function Module

Purpose

In the previous step you identified the scope and the required contents of the interface parameters. Now you have to specify the names of these parameters in three function module.

Process Flow

You are only allowed to define export, import and table parameters for the BAPI function module interface. Change and exception parameters are not allowed.

The names you choose for the function module parameters are used in the Business Object Repository (BOR) as the names of the associated method parameters. The names of BAPI parameters in the BOR and the names of the parameters in the associated function module must be identical. For this reason parameters in function modules must have meaningful names in English to ensure the BAPI method call can be carried out without any problems.

When assigning parameter names follow the guidelines below:

Example

In the above example based on the company code scenario, the following parameters were required:

You could use the following names for these parameters in the function module:

Contents

Name in Function Module

Parameter Type

Company code

COMPANYCODEID

IMPORTING

Detailed data of company code

COMPANYCODEDETAIL

EXPORTING

Address data of company code

COMPANYCODEADDRESS

EXPORTING

Return Parameters

RETURN

EXPORTING

 

 

 

 

 

 

Leaving content frame