Ansicht
Dokumentation

CFG_API_GET_LOAD_MESSAGES - Load Messages for a Configuration

CFG_API_GET_LOAD_MESSAGES - Load Messages for a Configuration

General Data in Customer Master   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

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

*"*"Local Interface:

*"  IMPORTING

*"     VALUE(CONFIG_ID) TYPE  COMT_CFGM_CONFIG_ID

*"  EXPORTING

*"     VALUE(LOAD_MESSAGES) TYPE  COMT_CFGM_MESSAGE_I

*"  EXCEPTIONS

*"      EXCEPTION_CONFIG_NULL

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

If the load status indicates messages, the messages for individual changes during load may be retrieved.

The messages cover only severe changes to the configuration like

  • characteristics that are not known in the new knowledgebase versions:
  • instances that are removed.

The structure of the returned messages in table LOAD_MESSAGES is the following:

  • TYPE: message type (E, W, I)
  • ID: T100 message area (here: 34)
  • NUMBER: T100 message number
  • MESSAGE: message Text (with variable substitutions). Uses the language of the current session
  • MESSAGE_V1: argument of message (for variable substitution)
  • MESSAGE_V2: argument of message (for variable substitution)
  • MESSAGE_V3: argument of message (for variable substitution)
  • MESSAGE_V4: argument of message (for variable substitution)
  • INST_ID: ID of instance where message occurred
  • CHARC: name of characteristic where message occurred

For a full difference between the original and the loaded configuration, a comparison may be used.





Parameters

CONFIG_ID
LOAD_MESSAGES

Exceptions

COMMAND_EXCEPTION
EXCEPTION_CONFIG_NULL
PARAMETER_EXCEPTION

Function Group

COM_CFG_API_UI_COMMAND

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2852 Date: 20240523 Time: 115435     sap01-206 ( 29 ms )