Ansicht
Dokumentation

CNV_MBT_CR_CHECK_PACKAGE_LOAD - CHECKS IF IT IS ALLOWED TO LOAD PACKAGES AND FROM WHICH CLIENT.

CNV_MBT_CR_CHECK_PACKAGE_LOAD - CHECKS IF IT IS ALLOWED TO LOAD PACKAGES AND FROM WHICH CLIENT.

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Checking Rule Check Package Load

This Checking Rule checks if it is allowed to load a package from local client and if the load is forbidden at all. There are two Global Parameters where we can set this settings. These are the Global Parameters GLOBAL_LOCAL_PACKAGE_LOAD and GLOBAL_FORBID_PACKAGE_LOAD. If the Global Parameter GLOBAL_LOCAL_PACKAGE_LOAD is not initial then it is only allowed to load packages from the local client. If the Global Parameter GLOBAL_FORBID_PACKAGE_LOAD is not initial then it is not allowed to load packages at all.

The Checking Rule function module returns the check result in the table return_table and the export paramter return_code. Following return codes are possible:

  • RETURN CODE 1: Could not determine the source client

  • RETURN CODE 2: Package load is not allowed

  • RETURN CODE 3: Package load from local client is not allowed

Prerequisite

Before calling the function module cnv_mbt_cr_process_rules you have to fill the parameter table PT_CNVMBTCRVAL with two entries and pass the table to the function module. In the first entry must have the value 9000 in the field paramter_number and the Checking Rul e number in field Checking_Rule. The second one must have the Checking Rule number in field Checking_Rule, the value 90001 in field Parameter Number and the number of the source client in field CR_LOW_VALUE.

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_MODULES

Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2247 Date: 20240523 Time: 113649     sap01-206 ( 49 ms )