Ansicht
Dokumentation

CFG_API_LOAD_CONFIG - Loads a configuration overwriting an existing configuration

CFG_API_LOAD_CONFIG - Loads a configuration overwriting an existing configuration

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

*"----------------------------------------------------------------------

*"*"Local Interface:

*"  IMPORTING

*"     VALUE(CONFIG_ID) TYPE  COMT_CFGM_CONFIG_ID

*"     VALUE(EXT_CONFIG) TYPE  COMT_CFGM_CONFIG

*"  EXCEPTIONS

*"      PARAMETER_EXCEPTION

*"      COMMAND_EXCEPTION

*"      EXCEPTION_CONFIG_NULL

*"      EXCEPTION_DIFFERENT_ROOT_TYPE

*"----------------------------------------------------------------------

The function module loads a configuration from its external format and reuses all item data of the previously created configuration like external product reference, initial configuration, context and possibly pricing relevant data.

Prerequisite is that a configuration was created with CFG_API_CREATE_CONFIG. The root instance must refer to the same product as the configuration to be loaded, that is: the root instances types must have the same logical system, product id and product type. If tno configuration was created beforehand an EXCEPTION_CONFIG_NULL is thrown, if the root instances types do not match, an EXCEPTION_DIFFERENT_ROOT_TYPE is thrown.

If there is no external configuration or CONFIG_ID provided, a PARAMETER_EXCEPTION is thrown.

Further information

Take a look at the function module CFG_API_GET_EXT_CONFIG to learn how to get the external representation of a configuration.





Parameters

CONFIG_ID
EXT_CONFIG

Exceptions

COMMAND_EXCEPTION
EXCEPTION_CONFIG_NULL
EXCEPTION_DIFFERENT_ROOT_TYPE
PARAMETER_EXCEPTION

Function Group

COM_CFG_API_ENGINE_COMMAND

Addresses (Business Address Services)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3461 Date: 20240523 Time: 114525     sap01-206 ( 38 ms )