Fonction SAP BAPI_SE37_CONSISTENCE_CHECK - Consistency Check for BAPIs in Function Builder

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
FUNCNAME RS38L-NAME C 30 ' ' Function module name
RFC_ENABLED TFDIR-FMODE C 1 ' ' Type of function module (local, remote, ...)

Paramètre Reférence Long. Facultatif Description
BAPI_FUNC_CHANGING RSCHA 217 X Function Builder: In/Out Parameters
BAPI_FUNC_EXCEPTIONS RSEXC 31 X Function module: Exceptions
BAPI_FUNC_EXPORT RSEXP 194 X Function Builder: Export Parameters
BAPI_FUNC_IMPORT RSIMP 217 X Function Builder: Import Parameters
BAPI_FUNC_TABLES RSTBL 194 X Function Builder: Table Parameters
BAPI_PARAM_DOKU RSFB_DOCU 177 X Parameter Documentation
CHECKRESULTS TODORET2 601 Return Values for Error Handling in BAPI ToDo

Exception Description
CANNOT_READ_BOR Error when Reading Business Object Data
INITIAL_FUNCNAME Initial Field
INVALID_FUNCNAME Function Module Not Assigned to a BAPI
NO_AUTHORITY No Authorization to Make Checks

Functionality
You can use this function module to check the consistency of a BAPIinterface.
Here, the name of the function module belonging to the BAPI, itsprocess type and its parameters are transferred to this. Errors foundduring the check are displayed in the CheckResults table, whereby theerror and information describing the BAPI is also returned as well asthe error message.

Description
The name of the function module that belongs to the BAPI is transferredin this field. It is used to determine the names of the object type andthe API method, so that the BOR data for the consistency check can beread.
If the field is empty when it is transferred, an error (SY-SUBRC = 1)is returned.
If the transferred name of the function module is not assigned to aBAPI, then an error is likewise generated (SY-SUBRC = 2).

Description
The process type of the function module that is assigned to the BAPI istransferred in this field. The value serves to check forRFC-compatibility. If this field is transferred empty, then it meansthat the function module of the BAPI that is to be checked is notRFC-compatible.

Description
In this table, the CHANGING parameters that are defined for thefunction module of the BAPI are transferred to the consistency check.If these tables contain entries, then an error is generated statingthat CHANGING parameters are defined for the function module illegally.

Description
In this table, the EXCEPTION parameters that are defined for thefunction module of the BAPI are transferred to the consistency check.
If this table contains entries, then an error message is generatedstating that EXCEPTION parameters are defined for the function moduleillegally.

Description
In this table, the EXPORT parameters that are defined for the functionmodule of the BAPI are transferred to the consistency check.

Description
In this table, the IMPORT parameters that are defined for the functionmodule of the BAPI are transferred to the consistency check.

Description
In this table, the TABLE parameters that are defined for the functionmodule of the BAPI are transferred to the consistency check.

Description
Enhancement parameter documentation is not in the DOKIL table. To
avoid error messages, this table be transferred filled with all
all parameters and information on whether a long text is available

Description
In this table, the results of the consistency check are returned.
Apart from a brief description of the error, the error number, messageclass, and additional information completing the error, is alsodisplayed.