Ansicht
Dokumentation

CFG_API_GET_CSTIC_TYPES2 - Retrieves the static characteristic data ... from the knowledgebase

CFG_API_GET_CSTIC_TYPES2 - Retrieves the static characteristic data ... from the knowledgebase

Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

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

*"*"Local Interface:

*"  IMPORTING

*"     VALUE(CONFIG_ID) TYPE  COMT_CFGM_CONFIG_ID

*"     VALUE(INST_ID) TYPE  COMT_CFGD_INSTID

*"  TABLES

*"      CSTIC_TYPES TYPE  COMT_CFGM_CSTIC_TYPE_I

*"      CSTIC_GROUPINGS TYPE  COMT_CFGM_CSTIC_GROUPING_I

*"  EXCEPTIONS

*"      PARAMETER_EXCEPTION

*"      COMMAND_EXCEPTION

*"      EXCEPTION_CONFIG_NULL

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

Characteristic data is returned, that is non-changeable within a configuration. Thus it can be viewed as belonging to the knowledgebase and could be retrieved independently on a configuration by knowledgebase version, object name and type. For the ease of use the data is retrieved here by configuration ID and Instance ID. The result can be buffered so that the function module could be called once per configuration or even better only once per knowledgebase version.

All characteristics belonging to the specified instance are returned.

The retrieved data is:

CSTIC_TYPES:

  • CSTIC_NAME ,,,,the name of the characteristic
  • TYPE,,,,,,,,the type of the characteristic. Currently supported are:
  • String ,,= 0;

  • Integer ,,= 1;

  • Float ,, ,,= 2;

  • Boolean ,,= 3;

  • Date,,,,= 4;

  • TYPELENGTH ,,,,the length (in characters) a value of this characteristic may not exceed. Please note that in case of numeric values, particularly floating point values, the length only counts digits, not separators or leading "-".
  • MULTI,,,,,,flag if the characteristic allows multiple value assignments.
  • ADDIT_VALUES,,,,flag if in addition to the maintained domain other value assignments are allowed.
  • CASE_SENSITIVE,,,,flag indicating, if the characteristic is case sensitive.
  • NUMBERSCALE,,,,the numeric scale of this characteristic or null if it doesn't hold floating-point values. The scale is the number of digits behind the "."
  • UNIT,,,,,,,,a string representation of the unit used for the values of characteristics of this

type (eg: G, KG, M, ...).

  • ENTRY_FIELD_MASK,,the entry field mask for the cstic or SPACE if none exists
  • VARSEARCH_RELEVANT indicates if the characteristic is relevant for variant search
  • DISPLAY_MODE,,,,indicates how the characteristic shall be displayed
  • INST_POSITION,,,,the position of the characteristic for the given instance
  • VIEWS,,,,,,list of views this characteristic is assigned to. A view is identified by a single character id. Up to 10 views are supported per characteristic.

CSTIC_GROUPINGS:

  • CSTIC_NAME,,,,the name of the characteristic
  • GROUP_ID,,,,,,the group id (language independent name of the characteristic group)
  • GROUP_CSTIC_POSITION,,the position of the characteristic within the characteristic group





Parameters

BUILD_NUMBER
CLASS_TYPE
CSTIC_GROUPINGS
CSTIC_TYPES
KB_ACTIVE
KB_LOGSYS
KB_NAME
KB_VERSION
OBJECT_NAME
OBJECT_TYPE

Exceptions

BUILD_NOT_UP_TO_DATE
COMMAND_EXCEPTION
KNOWLEDGEBASE_NOT_FOUND
PARAMETER_EXCEPTION

Function Group

COM_CFG_API_UI_COMMAND

CL_GUI_FRONTEND_SERVICES - Frontend Services   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 5399 Date: 20240523 Time: 093423     sap01-206 ( 61 ms )