06-29-2007 11:29 AM
Hi,
I am new to ABAP. plz tell me know the difference between char, NUMC and INT1, INT2.
Regards,
Rams
06-29-2007 11:59 AM
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.
06-29-2007 11:32 AM
Hi,
Check this link.
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/data.htm
F1 help will also help you.
06-29-2007 11:32 AM
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
06-29-2007 11:32 AM
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
06-29-2007 11:35 AM
hi rams,
go thro this link.
http://help.sap.com/saphelp_47x200/helpdata/en/76/edcaa4ea987840934fa0b7d9836824/frameset.htm
Regards,
Arun.
Reward points if useful.
06-29-2007 11:37 AM
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
06-29-2007 11:59 AM
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.
06-29-2007 12:10 PM
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