Abap char to numc. ABAP FMs related to MOVE_CHAR_TO_NUM FM Description Application ; C14W_CHAR_NUMBER_CONVERSION: EHS: Pr: Environment, Health and Safety - Product Safety: CHAR_NUMC_CONVERSION: Konvertierung NUMC nach CHAR: Basis - F1 Help: CONVERT_STRING_TO_INTEGER: Konvertierung einer Zeichenkette in eine. Abap char to numc

 
ABAP FMs related to MOVE_CHAR_TO_NUM FM Description Application ; C14W_CHAR_NUMBER_CONVERSION: EHS: Pr: Environment, Health and Safety - Product Safety: CHAR_NUMC_CONVERSION: Konvertierung NUMC nach CHAR: Basis - F1 Help: CONVERT_STRING_TO_INTEGER: Konvertierung einer Zeichenkette in eineAbap char to numc  Contains a date and time as an offset in minutes from GMT

fltp_to_dec( fltp1 as abap. Move the integer field to a character or string field and do the concatenation. The data types for integer numbers i and int8 have a value range from -2147483648 to +2147483647 for i and -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807 for. ABAP FMs related to MOVE_CHAR_TO_NUM FM Description Application ; C14W_CHAR_NUMBER_CONVERSION: EHS: Pr: Environment, Health and Safety - Product Safety: CHAR_NUMC_CONVERSION: Konvertierung NUMC nach CHAR: Basis - F1 Help: CONVERT_STRING_TO_INTEGER: Konvertierung einer Zeichenkette in eine. JUST: LVC_JUST: Char(1) SPACE, 'R', 'L','C' Relevant only to fields of data type CHAR or NUMC. Data. Without it, you will lose your content and badges. 3758 Views. This special data value indicates that it should not be processed. NUMC equivalent datatype in ABAP. Result. These initial values are applied, for example, when initial dynpro fields are displayed and. Method 1: With ABAP coding (the “+” statement) The easiest way to convert a char variable to decimal is to use the + statement in order to sum a decimal variable and a string. 3 5 2,222. The validity of the source field is not checked. Luis E. TYPEKIND_PACKED. Skip to Content. quan(len,decimals) QUAN with length len with decimals decimal places: abap. The length of this field is limited to a maximum of 255 places. The following table shows the possible SQL functions for character strings in a CDS view, plus the requirements made on the arguments. 5 Character Numeric NUMC : Data Type . 1-max. Feb 01, 2008 at 07:13 AM. CACS_NUMC_IN_CHAR: ICM - Incentive and Commission Management (ICM) 38 : ISM_CHECK_NUMC: Pr 39 : VIEWFRAME_V_TIVBDNUMCONV: erweiterte. Built-in data types in ABAP Dictionary with the following. type can be specified as: any non-generic data type dtype or the fully generic data type data. Edm type of the property must be set explicitly in the metadata provider class. one way would be to fill in the values with leading zeros, than the sort will be okay. data: n_value like CAWAO_S_FIELDS-NUM_VAL. Conversion Functions for Units and Currencies; Example Cast expressions in a SELECT. Source type DEC, CURR, QUAN. DO 5. numc( len ) NUMC with length len: abap. The number value is converted to a character string in mathematical notationwithout decimal separators and is left-aligned. seshu. ABAP CDS. for numc to char, u can use move the destination field should be character type. Follow RSS Feed Hi Experts, I am using For all entries to combine two tables. But of course, it also adds the leading zeros to the alphanumeric values: lpad ( cast (matnr as. Search SAP Data elements. Code should work for everyone who has ABAP editor, since it only uses example tables. This post will focus bit more on syntax part rather than concepts as concepts here are either self. It is a data type defined for the attributes of a business object (BO) or business query (BQ). CHAR: RFC_CHAR: xsd:string: String: CLNT (Client) RFC_CHAR: xsd:string: String: CURR (Currency field) RFC_BCD: xsd:decimal Note: The SAP adapter rounds off the decimal values based on the definition of the DECIMAL parameter. The result is a representation of the source value in type dtype . cast (KEYFIELDSTRING as abap. I'm now trying to create data schema by referencing SAP's data schema. The following character-like data types in ABAP Dictionary have a special semantic meaning: From a technical perspective, the built-in data type NUMC describes objects of the type CHAR with a maximum length of 255 characters. Do not forget the space! another way is to execute an arithmetic operation. Internal type P (8) or P (11) like for Edm. Regular Expressions are generally composed of symbols and characters (literals). The predefined type CHAR, mapped to the ABAP type c, is used to describe general text fields with a maximum length of 30000 characters (only 1333 characters for table fields). type is used to define the data type of the table field. (if NUMC is initial, CHAR is empty) ABAP Method CONVERT_NUMC_TO_CHAR in SAP class CL_RETAIL_CBESH_SERVICES method available in SAP system, depending on. CLNT for client columns From a technical perspective, the data type CLNT describes. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations. NUMC: Long character field in which only numbers can be entered. IS INITIAL checks if the variable in concern has the initial values. Basically, I want to sort my table on post code, street and on house number. For example, if a DECIMAL parameter can accept up to five digits after the decimal point, a. DateTime. The concept of null date values is useful when calling R/3. Conversion of FLTP to CHAR type (ABAP) 3 6 16,720. It is intended for numerical texts. Is there any possibility to have decimal places for Characteristics infoobject which has datatype NUMC?? I have a object which is been in prod for many years now they want it to have decimal places fo. SAP ABAP Function Module CHAR_NUMC_CONVERSION (Konvertierung NUMC nach CHAR) - SAP Datasheet - The Best Online SAP Object Repository. Sep 19, 2013 at 09:27 AM. There is only an input check of the template for data types CHAR and NUMC. The built-in type CHAR, mapped to the ABAP type c, is used to describe general text fields with a maximum length of 30000 characters (only 1333 characters for table fields). The length of the target type must be enough for. so while i creating the infoobjects for those fields which datatype i need to select in 'characteristic maintanence' screen ? (CHAR or NUMC) 2) what is the difference between datatype of CHAR or NUMC ??The following example converts the value 7 to the VARCHAR value 7: SELECT CAST (7 AS VARCHAR) "cast" FROM DUMMY; The following example converts the value 10. CHAR –> NUMC –> INT. If the target type is too short, it is truncated on the right and if the target field is too long, it is padded on the right with blanks. Currency Fields. CONVT_NO_NUMBER = 1 CONVT_OVERFLOW = 2. Hey all,I have a weird issue that I cannot seem to get to the bottom of. Built-in data types in the ABAP. The help article "ABAP CDS - cond_expr, Comparable Types", says that NUMC can be compared to other NUMC literals with the relational operators >, < etc. OUTPUT = lv_PSPID. you can not use CONCATENATE fields of data Type NUMC. Thank you,It is 6-character type representing periods in a YYYYMM view. IF SY-SUBRC <> 0. table is activated in the ABAP Dictionary, and the table is created again on the database. Hello All, i have a user input '12889' which is of type char 12. WRITE lv_orderno. Type adjustment in ABAP SQL. SQL expressions, which have a type that matches dtype as shown below, can be used as an operand sql_exp. C(n) STRING. And pass the integer value in that field excluding characters. The following table shows the SQL functions for strings supported by ABAP CDS and Open SQL. The length of this field is limited to a maximum of 255 places. The amount is specified as a whole number in the smallest unit of the currency. Unable to reach 1 address on the internet from a server Networking. 1 for holding the sign (negative or positive) and 1 for holding the absolute value, but this way I create extra characteristics and I don't want to do this. Do you have an S- or P- account? If so, you need SAP Universal ID. The following table shows which combinations of predefined data types in ABAP Dictionary can currently be cast to each other and what the prerequisites are in each case. But I need the converted String! How convert SAP the content of the table field. PERNR is on its DB-table saved as a NUMC with leading 0's. Make sure that your data only containing numeric data. Relevant only to fields of data type CHAR or NUMC. ' IN lw_rest WITH ''. Little background on Group reporting,the data from group reporting is. You can use the TYPE addition of an appropriate ABAP statement to refer to these data types in any ABAP program. Was this post helpful? thumb_up thumb_down. We are doing an upgrade + unicode conversion project and during testing of a Z-program we noticed a difference due to a SAP standard domain (KOTABNR) that changed data type from NUMC to CHAR. The field in one table char, and in another the field is numc. Parameter: string (20). CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = lv_orderno IMPORTING output = lv_orderno. if you want to do this through ABAP program. Apr 11, 2012 at 07:39 AM. For example, if variable contains ABC, variable+1 is BC. Hi. Read these next. DATA text TYPE c LENGTH 255. Converts NUMC to CHAR. BINTOHEX and HEXTOBIN for conversions of byte strings to character strings and back. If the value of a field in a data record is undefined or unknown, it is called a NULL value. This is not checked however when writing to or reading from database fields of this. MM. lw_as_n = lw_rest + 1. For the operand operand, columns col of database tables or views plus host variables dobj and literals of all numeric types except. Change the data type of the segment field, and the table field to CHAR or VARC or VARCHAR data type. dats ), -1, 'INITIAL' ) as Gdatu2, ukurs as Ukurs, ffact as Ffact, tfact. If the target type is too short, the string is truncated on the right and a syntax check warning occurs. If the length of dmb is less than 16 then leading zeros should be added to that value to make it 16 as length. tl;dr = Find any country where they use ". For example, with variable = '4711', variable + 1 is evaluated to 4712, whereas variable+1 is '711' (a character sequence). With a SQL SELECT the only value I get is the original table content. I got it. Hi, if you want to know if string contains only numeric values, you can use operand CO '0123456789 '. pimiento. char (8)) as te33. You should consider the problem of printing icons. Edm. CHAR_NUMC_CONVERSION is a standard char numc conversion SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. Please help me if you have the idea why they use char data type for the above cases. The operand operand can be SQL expressions whose type matches dtype as shown below. . SAP ABAP Method: CONVERT_NUMC_TO_CHAR. abap. the column char1 of the database DEMO_EXPRESSIONS is cast to the data element demo_char_text with the same technical attributes. (I'll skip this part) ENDSELECT. ABAP - Keyword Documentation → ABAP - Reference → Processing External Data → ABAP Database Accesses → Open SQL → Open SQL - Operands and Expressions → Open SQL - SQL Expressions sql_exp → Examples of SQL Expressions →. As Char will also save NUMC values you will not get any problem for output. In this post, you will learn about various expressions and operations in CDS view. This can be especially confusing when dealing with NUMCs. But, in my smartform I get output as (000234). EXCEPTIONS. . sstring(len). The result is a representation of the source value in type dtype . The field name is PERNR(8) which is of type N. C(n) LCHR. CHR = "character value. The Z-table that are read into the program as an. Regards, Matthias. u can do it in number of ways. This means the alphanumeric order is in place. stringは可変長のデータ型です。. START-OF-SELECTION. First, type the statement CONCATENATE into the program, and follow this by specifying the fields, here “ f1 ”, “ f2 ” and so on. itab-newfield = field+ (charlength)integerlegth. abap. The material IDs in the system can be numeric (with leading zeros) or alphanumeric. The same rules apply as in the definition of a structure component, except that only elementary types can be specified here. The result is a representation of the source value in type dtype . The Best Online SAP Object Repository. clnt[(3)] CLNT: abap. A field of a data source data_source of the current CDS view. 2. The result has the type RAW with half the length of arg. The same can be achieved in the ABAP 7. Justifications: • ‘R’: right justified • ‘L’: left justified • ‘C’: centered How the column header is justified, depends on how the column contents are justified. So add this length information for the God's sake: cast (dogum_tarihi as abap. to delete trailing spaces. The length of the target type must be enough for. Text_Exam = ' 150. If you insert a new field in a table which already exists in the database, this operation is performed with the DDL statementYou can also compare the NUMC values directly. Long Character. ABAP; Hierarchy. The database table can be adjusted to the changed definition in the ABAP Dictionary in three different ways: By deleting the database table and creating it again. DATA: g_string (10) TYPE c. BDoc Modeler provides a data type called NUMC for. DATA: lv_orderno TYPE char10 VALUE '0000012345'. Two Approaches: Approach 1: Change field Y data type CHAR from NUMC ( so that can update both numc and char values in Y field) Approach 2: Where you updating Y = A, instead of A, you may use unique number like 999 etcc, that indicates that Y = A. Field is 3 characters long. DATA (lv_monat) = ‘02’. Tanuja. As well as the five non-numeric types (text field (C), numeric text field (N), date field (D), time field (T), and. Domain S_CLASS (data type CHAR, length 1) in the flight model describes the possible classes of a flight booking. mx Subject: [sap-r3-dev] How do I convert character to integer and integer to character. A currency field must be associated with a currency key of a structure, database. N(n) CHAR. 5 to the INT value 10, truncating the mantissa: SELECT TO_INT (10. As per the attached screenshot, SSTRING to Integer conversion is. The following built-in data types in ABAP Dictionary are available for general character strings: CHAR for text fields. and check out the data domain used by this fields (CBRQNO & TRACKNO). ABAP CDS - cast_expr, Conversion Rules. Add a Comment. (If you always have numeric values, you. Meaning you need to change this for your NUMC(10) to:In another word, in this case, REINR is NUMC and ZUONR is CHAR; does SAP ABAP convert ZUONR to NUMC before trying the join, or convert REINR to CHAR first? Is this clear about my question? flag Report. The following sections described the conversion rules for cast expressions in the CDS DDL . SSTRING if an argument has the type SSTRING, else CHAR with the length of the result. I am involved in Group Reporting implementation where we have to deal with lot of date attributes. The following example converts the value 10 to the INT value 10: SELECT TO_INT ('10') "to int" FROM DUMMY; The following example converts the value 10. If the target type is too short, the string is truncated on the right and a syntax check warning occurs. abap. For each built-in data type in ABAP Dictionary, the last column specifies the built-in ABAP type to which the built-in type is mapped in type references from an ABAP program to ABAP Dictionary. DateTimeOffset. raw(len) RAW: abap. Read earlier posts in this series at Exploring ABAP on HANA. Regards. In this case, you need a country code to pass to the COUNTRY parameter as described in the format options. In ABAP, NUMC is assigned to the special type n and the associated rules apply. Domain Data Element Table Table Cluster/Pool View Search Help. A cast expression converts the value of the operand operand to the dictionary type specified by dtype. Table Function for Calendar/Date Attributes. The ABAP operator MOD, on the other hand, only produces positive results. If this leads to a dump, you can catch this (CATCH or TRY statement). SAP ABAP Data Element NUMC5 (5 Character Numeric NUMC) - SAP Datasheet - The Best Online SAP Object Repository. With the transaction SE16N the field is automatically converted. NUMC – special type, technically held as character with max length of 255, but used for storing numbers. How to compare char and numc in select query. cast ( cast (parameter1 as abap. g_string = 'Hello'. in program i want to convert it to '000000012889' for comparison. 04/02/2003 12:35. ABAP doesn't support decimal points in numeric literals, and they should be specified in character literals, as proposed here. The element are used in a Z-table as field COND_TAB. CALL FUNCTION 'MOVE_CHAR_TO_NUM'"Move character to numeric, catch errors. also check the Contribute section for any additional notes. The column contents must consist of valid icon strings (@xx@ or @xxQ <Quickinfo> @). The length is set to 2 places for this data type but internally it. Numeric text. A currency field is a component of a structure, database table, or view defined in ABAP Dictionary of type CURR, for the inclusion of an amount in a specific currency. An initial value is assigned to most predefined data types. The valid argument types for arg1, arg2 are CHAR, CLNT, LANG, NUMC, CUKY, UNIT, DATS, TIMS, and SSTRING. Select default tab and select radio button 123467. PREC: Obsolete data type. Edm. Loaded 0%. DDIC. if I use &pernr(Z)& leading zeros r removed but then the output is ( 234). If so, you need SAP Universal ID. DATA : Text_Exam (255) TYPE C, Text_Out (255) TYPE C, Curr_Value TYPE P DECIMALS 2. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO *. 組込 abap データ型は 10 あります。 これらの基本データ型の間では、 100 種類の組合せが可能です。 abap では、相互変換が不可能なデータ型 d (日付) および t (時刻) の項目を除き、データ型の組合せに対し、自動的なデータ型変換および長さ調整がサポートされてい. 000'. The value range of domain S_CLASS is defined by the fixed values C (business class), F (first class) and Y (economy class). NULL values occur when new fields are inserted in existing tables or with inserts on database views. 5 AS INTEGER) "cast" FROM DUMMY;ABAP FMs related to MOVE_CHAR_TO_NUM FM Description Application ; C14W_CHAR_NUMBER_CONVERSION: EHS: Pr: Environment, Health and Safety - Product Safety: CHAR_NUMC_CONVERSION: Konvertierung NUMC nach CHAR: Basis - F1 Help: CONVERT_STRING_TO_INTEGER: Konvertierung einer Zeichenkette in eine. com. numc( 8 )) as abap. 7. You can try to convert from DEC --> CHAR --> NUMC. REPLACE ALL OCCURRENCES OF '. Using this blog post, it will be easy to understand the Arithmetic Operations with different data types and conversion logic between different data types, especially for beginners. Hi Simon, As said above, the NUM type is DEC and can be used for calculation or amount field with comma and +/- sign whereas NUMC type allows only numbers and cannot be used for calculations. For example: the value ‘6,250000000000000E+02’ had to be converted to ‘625 ‘. The character string is written to the target field as a left-aligned string including leading blanks. ABAP CDS - String Functions. The method CONVERT_TO of the class CL_ABAP_CODEPAGE expects the data type string for the input parameter SOURCE. REPORT Z_DEMO . The character string is written to the target field as a left-aligned string including leading blanks. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters. **<-- this here be the problem ** WRITE: /. The only problem is that house number is saved as a character, and not as a number, so the sort gives undesired results. The table on the database is deleted, the inactive. [abap 기초] abap 숫자 연산과 숫자. 01. WRITE: / l_text. Due to some must-have-features, the leading 0's must be deleted before displaying a SALV-Table with CL_SALV_TABLE (as it is not accessible later on since). dec(10,0) ) as dec1_10_0, fltp_to_dec( fltp1 as abap. 10120230340450510101111. Attachments. Apr 06, 2018 at 12:21 PM. また、abap sqlでの検証となりますので、abap cdsのみで動作する機能についても 動作確認をしていません。その点のご留意をお願いいたします。 記事一覧. Fields of type CHAR can have a maximum length of 1333 in tables. Correspondent ABAP type is m type. There are lots of changes in. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed. CLNT – char type technically represented as. I don't have access to change to change the table structure, nor can I use a seperate temporary table where I store it as a number and then switch. how to remove leading zeros and leading blanks from numc. EXP1: EXP2: DIV: MOD 7 3 2 1 -7 3 -2 -1 7 -3 -2 1 -7 -3 2 -1 . It stores attribute’s data as a string value in the application database. I need to group a table by the sum of a NUMC-column, which unfortunately seems not to be possible with ABAP / OpenSQL. 基本类型对象转换. the field PSPHI in the table PRPS is a numc field. This one is not compatible down to ABAP 700 like szakos but I want to bring in another solution: FORM increment CHANGING fcw_out TYPE string. numc = char. The last two columns indicate where a function can be used. For eg: data: dmb (6) type c value '123456', actually the output value of c should have leading zeros added to it for length 16. Text_Out = Text_Exam. 256-max. A direct conversion to a CHAR or STRING type doesn’t do the job: the char or string field will contain the value ‘6. When a null date instance is used when invoking R/3, it translates as 00000000 in R/3. com via sap-r3-dev" To: [email protected](1) SPACE, 'X' If this field is set, the column contents of the output table are output as an icon. ABAP CDS depends on ABAP version. There is a special list of conversion rules for every combination. IMPORTING. In a few months, SAP Universal ID will be. ABAP developers can use UNPACK command in order to unpack an packed field value into a target variable with adding leading zeros. Search SAP Function Modules. REPORT ztest_conv_exit. CHAR: Character string. abap. The ABAP Dictionary allows you to define global data types. For Example : XX1-XXXXX. 4. String of variable length. 5 to the INTEGER value 10, truncating the mantissa. Input wbs element posid = M-GA-0022-007 ( i. DATA: g_type TYPE dd01v-datatype. 01. char( 11 ) ) as abap. IMPORTING. The following table shows the results of integer divisions and their integer remainders in SQL. 1131 Views. if the field and literal have the exact same length. 回答№3の場合は1. You can only concatenate character fields. The addition KEY defines the table field as a key field. data_element or abap. 2491 Views. Character-like source type. The values of the individual fields, namely T005X-XDEZP are described in detail in the country-specific formats. 6 Answers. The character string is written to the target field as a left-aligned string including leading blanks. The possible target types are CHAR, SSTRING, NUMC, CLNT, LANG, DATS, TIMS, UNIT, and CUKY. 1. Mientras que el campo. dats[(8)]. A constructor expression with the casting operator CAST performs a down cast or an up cast for the argument dobj and creates a reference variable of the static type type as a result. Software Component Application Component Package. 5xの新しいselect文記述方法について(その1) これまでの記述方法との比較、fields句、インライ. *Check whether first character of material description is NUMERIC or CHAR CALL FUNCTION. The Best Online SAP Object Repository. Either convert your field to a field with converion exit ALPHA or add such another field in the internal table (map using CONVERSION_EXIT_ALPHA_INPUT to get a correct internal format) then sort on the corrected field. If the target type is too short, the string is truncated on the right and a syntax check warning occurs. 3. " as a thousands separator and "," as a decimal separator and use. Numc ABAP FMs Most important ABAP Function Modules for Numc # ABAP FM Description Application; 1 : CHAR_ NUMC _CONVERSION: Konvertierung numc nach CHAR. 1-255. 2. numc( len ) NUMC with length len: abap. If you want to make it readable according to format DD. . 4. ABAP;. WRITE : / char , / numc , / time , / int. Special char types. SQL Expressions, Cast Expression. First, I tried `lpad. Follow RSS Feed Hello All, i have a user input '12889' which is of type char 12. source = CONV string ( text )The possible target types are CHAR, SSTRING, NUMC, CLNT, LANG, DATS, TIMS, UNIT, CUKY, and ACCP. The following character-like data types in ABAP Dictionary have a special semantic meaning: NUMC for numeric texts From a technical perspective, the predefined data. INT1, INT2 and INT4. Numeric source type. 43 C (11) TYPE=%_T00006S00000000O0000000302 INDEX1 23579235 I (4) TYPE=INT4. The addition NOT NULL is used to set. Nothing about them is similar, actually. The concatenate statement allows two character strings to be joined so as to form a third string. Original Table content: 00000002. For converting a string to a numerical value the follwing Function Module can be used. 5) "to int" FROM DUMMY;Requirement like. Add a Comment. Lo que hace el intérprete es declarar la variable como un CHAR de longitud 2. These initial values are applied, for example, when initial dynpro fields are. Below is the list of data element attribute values including length, data type, description, domain, search help etc. It depends a lot on the ABAP version you are using. LZERO: Relevant only to fields of data type NUMC. Define another field type stirng and place v_res in there after the calculation. 基本データ型の変換ルール . I want to fetch the data from these tables. curr(len,decimals) CURR with length len and decimals decimal places: abap. sstring(len. NUM = "numeric value. DATA (xstr) = cl_abap_codepage=>convert_to (. CALL FUNCTION 'IF_CA_MAKE_STRING_NUMERICAL' EXPORTING INPUT_STRING = string IMPORTING VALUE = n_value EXCEPTIONS. int4 ) ) as abap. The data type in the ABAP Dictionary is the user's view of the data, that is, the data format at the user interface. The ABAP statement "UNPACK lv_char10 TO lv_vbeln. Use SAP Function module NUMERIC_CHECK to check whether a variable contains numeric value or character. Add a Comment. NUMC: Long character field in which only numbers can be entered. In Z_table1, there is the document field EBELN and item field EBELP (type as NUMC and the length is 5). CALL FUNCTION 'MOVE_CHAR_TO_NUM' EXPORTING CHR = lv_chr IMPORTING NUM = lv_num EXCEPTIONS CONVT_NO_NUMBER = 1 CONVT_OVERFLOW = 2 OTHERS = 3. Select Inner join condition problem on item. TYPE n, time TYPE t VALUE '010001', int TYPE i. Structure data types: – Structure data type is a grouping of data types in one name. The number value is converted to a character string in mathematical notation without decimal separators and is left-aligned. Source type NUMC. Example. NUMC Data Type Use. data v_res_c type string. Approach 3: Where you updating Y = A, create new infobject mark "X". Madhavi. The problem exists when you copy the numc field with its initial values into a char. cuky( len ) CHAR with length len: abap. NUMC.