Application Development and Automation 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: 
Read only

what is packed data type

Former Member
0 Likes
2,224

hi expects,

what is the packed data type?what is the limitation?

hi expects,

what is the packed data type?what is the limitation?

2 REPLIES 2
Read only

former_member156446
Active Contributor
0 Likes
1,121
  • Packed numbers - type P

Type P data allows digits after the decimal point. The number of decimal places is generic, and is determined in the program. The value range of type P data depends on its size and the number of digits after the decimal point. The valid size can be any value from 1 to 16 bytes. Two decimal digits are packed into one byte, while the last byte contains one digit and the sign. Up to 14 digits are allowed after the decimal point. The initial value is zero. When working with type P data, it is a good idea to set the program attribute Fixed point arithmetic.Otherwise, type P numbers are treated as integers.

You can use type P data for such values as distances, weights, amounts of money, and so on.

ref: [link|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2fd9358411d1829f0000e829fbfe/content.htm]

Read only

Former Member
0 Likes
1,121

ust follow up dis link and it will provide u all requiered awnsers:-

Regards

Kiran Sure