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-dev] Add Zeros to a Field in Internal Table

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

Reply from R. N. Wilhite on Dec 19 at 12:00 PM
Ralph,

The OP's example shows an character "m" in the field. I suggest that you
put that data in your field and try your suggestion...

Neal

---------------Original Message---------------
From: RBIrving
Sent: Wednesday, December 19, 2012 11:45 AM
Subject: Add Zeros to a Field in Internal Table

Whenever I need to replace leading zeros in a field, I do it this way. The
intermediary field is defined as type num with the number of spaces in the
end result.


data: lv_num18(18) type n.

lv_mantr = lv_num18 = lv_matnr.



Ralph B Irving
Senior Programmer Analyst

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
R. N. Wilhite  

Senior Project Manager
32 achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have an SAP Question? Ask Your Peers at Toolbox for IT

_.____.__

0 comments:

Post a Comment

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