‎2007 Jan 23 1:36 PM
I am getting the date from a third party interface in the packed form of size 4 char of bit data type. Can this be converted into the SAP format?
‎2007 Jan 23 7:03 PM
can you give one sample Date data so i can change the one and tell you the required step.
Aman
‎2007 Feb 07 11:55 AM
The date would be coming in the asci format . This has to be converted into the SAP format.
‎2007 Feb 07 2:46 PM
HI
When converting decimal figures with numbers following the decimal point into binary floating-point numbers, unavoidable rounding errors occur. This is because many decimals (for example, 0.1) correspond to periodic fractions, and are therefore unable to be displayed exactly.
If you choose Calculate with Packed Numbers in the query monitor, packed numbers (ABAP data type P, with nine decimal places) are used as the internal number format for all query key figures instead of binary decimals. Rounding errors are avoided with commercial calculations with this fixed-point number, because in doing so no conversion of numbers into the dual system takes place.
Choose this option for those application areas in which a high accuracy is required (for example, for queries in the accounting and cost accounting areas).
Because calculating with packed numbers causes a high processing status overall, we recommend not using this number format for all query key figures, but rather only for those key figures for which a very high degree of accuracy is required.
You have to make this setting in the InfoObject maintenance for the respective key figure:
1)From the SAP Easy Access Menu, choose Modeling ® Object Maintenance ® InfoObject.
2)Enter the name of the key figure and choose Maintain.
3)To calculate with packed numbers, choose from the Additional Properties tab page under Diverse with the option Key Figure with Maximum Accuracy.
with regards
vinayaka