Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from arbis82 on Dec 10 at 1:47 AM I agree with what John Louk has pointed out here. Alphanumeric values for MATNR should not be appended with leading zeros. As this can be achieved technically with a little bit of coding, why hasn't SAP done the same in their conversion exit as well? Pavan, just a thought. If you want to add leading zeroes to non-numeric MATNR values for the sake of comparison (IF/ELSE, CASE, etc..) why not try removing leading zeroes from the other 'MATNR' value. Also, it would be easier for us to provide a more accurate solution if you could explain the context of this problem you are facing (pseudo code, requirement, etc..). I found this thread from earlier this year. Similar issue, and there was a good discussion on the same: http://sap.ittoolbox.com/groups/technical-functional/sap-dev/leading-zeros-from-alphanumerical-material-4819369
| | | ---------------Original Message--------------- From: pavangonuguntla2008 Sent: Friday, December 07, 2012 7:17 AM Subject: Add Zeros to a Field in Internal Table Generally we copy a fields of matnr field from vbap to our internal table ,my question is normally matnr field is like 'm-01' but i want to store in my table like '00000m-01' in matnr , please suggest me relevant answer . | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |