We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] Field Type 'I' Does Not Permit Subfield Access

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
mic-bv  

achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language