Ansicht
Dokumentation

CFG_API_GET_CSTIC_TYPES - Retrieves the static characteristic data as type, flags ...

CFG_API_GET_CSTIC_TYPES - Retrieves the static characteristic data as type, flags ...

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ABAP 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

CONFIG_ID
CSTIC_GROUPINGS
CSTIC_TYPES
INST_ID

Exceptions

COMMAND_EXCEPTION
EXCEPTION_CONFIG_NULL
PARAMETER_EXCEPTION

Function Group

COM_CFG_API_UI_COMMAND

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 5258 Date: 20240523 Time: 092333     sap01-206 ( 58 ms )