Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi

Former Member
0 Kudos

Hi,

I am new to ABAP. plz tell me know the difference between char, NUMC and INT1, INT2.

Regards,

Rams

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hiiiiiiiii,,

CHAR -> Its a character string which has permitted place from 1-255.

INT1 -> Its a 1 byte integer which has permitted place of 3.

INT2 -> Its a 2 byte integer which has permitted place of 5.

NUMC -> Its a numerischer Text with permitted place of 1-255.

I hope this information is useful to you...

If answer is satisfactory do awrd points.

Reagrds,

Mandeep.

7 REPLIES 7

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Check this link.

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/data.htm

F1 help will also help you.

Former Member
0 Kudos

hi,

chk out the links..

<i><b>http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm</b></i>

<i><b>http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/content.htm</b></i>

Regards,

viji

Former Member
0 Kudos

Hi

Refere to SAP help regarding DATATYPES

these are the basic DATA TYPES used in SAP

char - used for character data type names or any string or fields

NUMC - Numerical data type which is used for Postal code and bank account numbers, You can't do calculations with this data type

INT1, INT2 - both are same of type INTEGERS and cn be used to reperesent Integer value of fields

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos

hi rams,

go thro this link.

http://help.sap.com/saphelp_47x200/helpdata/en/76/edcaa4ea987840934fa0b7d9836824/frameset.htm

Regards,

Arun.

Reward points if useful.

Former Member
0 Kudos

HI.

Those are data types.

Char: character type it allow Charater ,int,numerical.

Numc: it allow only numerical values.(it allow only NUMC)

Int1: Integer size1 (it allow only int)

int2:integer size2. (it allow only int)

refer this link:http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/data.htm

Reward all helpfull answers.

Regards.

Jay

Former Member
0 Kudos

Hiiiiiiiii,,

CHAR -> Its a character string which has permitted place from 1-255.

INT1 -> Its a 1 byte integer which has permitted place of 3.

INT2 -> Its a 2 byte integer which has permitted place of 5.

NUMC -> Its a numerischer Text with permitted place of 1-255.

I hope this information is useful to you...

If answer is satisfactory do awrd points.

Reagrds,

Mandeep.

Former Member
0 Kudos

Hi Rams

A character string is a data type that consists of a series of alphanumeric characters

NUM(a) is a conversion function that converts the expression a to a numeric value.

The data type INT[EGER] is the same as the data type FIXED (10.0). In contrast to data type FIXED(10.0), however, only values between -2147483648 and 2147483647 are permitted for the data type INT[EGER].

The data type INT[EGER] is specified when columns are defined.

Reward all helpfull answers

Regards

Pavan