SAP ABAP Data Element DMEE_CONV_NUMC_ABA (DMEE: Convert Character String to Numeric Character String)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-CSC (Application Component) Country-Specific Objects
     ID-DMEEA (Package) INTDEV: ABA services of Data Medium Exchange Engine
Basic Data
Data Element DMEE_CONV_NUMC_ABA
Short Description DMEE: Convert Character String to Numeric Character String  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type XFELD    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short  
Medium  
Long 34 Convert to Numeric Characters 
Heading  
Documentation

Definition

Means that the system converts a character string to a string of numeric characters. This conversion takes place internally: the string is converted from data type CHAR to data type NUMC, according to ABAP rules.

Difference between data types Character and Numeric

If your node content is to be numeric, you can define the node in two ways, depending on how you want to implement your requirement:

  1. You define the data type of your node as numeric.
  2. You define the data type of your node as character. In this case, you additionally assign a conversion rule that converts the string to numeric characters.

These methods produce different results only when the target field is shorter than the source field, as illustrated in the example below.

Example

Your source field has a length of 8 and its content is 'AB1234CD'. Your target field (an element) has a length of 4.

  • If you define your node using method 1 above, the value is first transferred to an internal target field of length 4 and data type NUMC. According to ABAP rules for data type NUMC, the content is converted as follows:
    'AB1234CD' --> '3400'
    This means that the source value is cut off on the left.
  • If you define your node using method 2 above, the value is transferred to an internal target field of length 4 and data type CHAR. This results in the following conversion:
    'AB1234CD ' --> 'AB12'
    The conversion to numeric characters takes place in the second step:
    'AB12' --> '0012'

This means that a conversion from the source value 'AB1234CD' results in either '3400' or '0012', depending on your node definition.

For more information, see data mapping.

History
Last changed by/on SAP  20040312 
SAP Release Created in 640