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 Bablu1987 on Dec 18 at 11:05 AM
You can try this I have seen it works, or you can concatenate but it will be a bit tricky because leading zeros will change depending upon length of matnr value.

VALUE (Matnr from VBAP table)
v_matnr type matnr.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = VALUE
IMPORTING
OUTPUT = V_MATNR

---------------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.
 
__.____._
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
Bablu1987  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

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