Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from mic-bv on Aug 6 at 2:12 AM Try RESULT = INTEGER01 + PACKEDDECIMAL01. Without space you try to access a part of a char-array or a string, for example: data: sample(20) = '12345678901234567890' write: / sample+5. will result in 678901234567890
| | | ---------------Original Message--------------- From: AnilKumar Bhakta Sent: Wednesday, August 06, 2014 12:28 AM Subject: Field Type 'I' Does Not Permit Subfield Access Hi, I am getting below ABAP Error when running a program: - Field type "I" does not permit subfield access My source code is as below: - REPORT ZBRIJ_EMPLOYEE_LIST_02. DATA INTEGER01 TYPE I VALUE 22. DATA PACKEDDECIMAL01 TYPE P DECIMALS 1 VALUE '-5.5'. DATA RESULT LIKE PACKEDDECIMAL01. RESULT = INTEGER01+PACKEDDECIMAL01. WRITE /RESULT. | | Reply to this email to post your response. __.____._ | _.____.__ |