Ansicht
Dokumentation

CNV_MBT_CR_INTERFACE_TEMPLATE - Template for the checking rule function module interface

CNV_MBT_CR_INTERFACE_TEMPLATE - Template for the checking rule function module interface

PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used as template for checking rule function modules. We have to take care that the interface for all checking rules are equal . We have also included some helpful coding that supply the user to write his own checking rule functionality.

The checking rule creator has to complement the generated coding. The generated coding includes the selection of the Global Parameters they are selected before the generation of function modules as well as the values from the variant you have specfied with the import parameters ip_variant and ip_cnvmbtcr.

Use Global Parameters in your Checking Rule

If you have selected a Global Parameter you want to use for a decision the data will be available with internal table it_cnvmbtparams. Note: you specify the Global Parameter for using it in the checking rule in the checking rule maintenance and there if you choose the "Generation of a checking rule function module" where you can click on the button @7X@ and gets a list of all selectable Global Parameters.

Pass data via variants to your Checking Rule

For an checking rule you can specify the data you want to process in your checking rule by creating a Checking Rule variant. In the column "No. of parameter" you specify how many parameters you want to use. In the Checking Rule Maintenance you mark the Checking Rule in the table and click on the button @0Z@ in the application toolbar. You get a table where you can enter values for each of the parameter. You can assign one value or a set or range of values for each parameter as well as an logical operator like EQ, NE, GT, GE, LE or BT.

Example

Notes

Further information





Parameters

IP_CNVMBTCR
IP_PACKID
IP_STATUS
IP_TEST
IP_VARIANT
RETURN_CODE
RETURN_TABLE
T_CNVMBTCRVAL

Exceptions

ERROR_READ_GP
NO_CHECKING_RULE_FOUND
NO_FUNCTION_MODULE_NAME
NO_GLOBAL_PARAMETER
NO_VARIANT

Function Group

CNV_MBT_CR

TXBHW - Original Tax Base Amount in Local Currency   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2274 Date: 20240523 Time: 104643     sap01-206 ( 57 ms )