Ansicht
Dokumentation

DMC_MIG_CHARACTERISTIC - Migration of Characteristics

DMC_MIG_CHARACTERISTIC - Migration of Characteristics

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

Functionality

This BAPI creates a characteristic that does not yet exist.

The following fields must contain data:

  • Charact_Name (characteristic name)
  • Data_Type (data type)
  • Length (number of characters)
  • Decimals (number of decimal places)
  • Status (status) in structure CharactDetail
  • Description (description) in structure CharactDescription
  • Either Language_Int (internal language format, 1 character) or Language_ISO (external language format, 2 characters)
ISO format overrides internal format. If there is more than one entry for the same language, the last is relevant.
  • The values must be entered in the following values tables, according to data type: numeric, time, and date values in CharactValuesNum, character and boolean values in CharactValuesChar, and currency values in CharactValuesCurr. The value descriptions are in table CharactValuesDescr, regardless of data type.

Check tables are entered in table CharactReferences and restrictions to class types are in table CharactRestrictions.

If the BAPI runs successfully, table RETURN contains no messages of type 'E'.

Caution

This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.





Parameters

CHANGENUMBER
CHARACTDESCR
CHARACTDETAIL
CHARACTREFERENCES
CHARACTRESTRICTIONS
CHARACTVALUESCHAR
CHARACTVALUESCURR
CHARACTVALUESDESCR
CHARACTVALUESNUM
IS_WRF_CHARVALH
IS_WRF_HIER_ID_T
IT_WRF_CHARVAL
IT_WRF_CHARVALT
IT_WRF_NODE
IT_WRF_NODE_BOX
IT_WRF_NODE_TXT
IT_WRF_OBJ
KEYDATE
RETURN
TESTRUN

Exceptions

Function Group

NGC_DMC

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2271 Date: 20240523 Time: 092541     sap01-206 ( 41 ms )