‎2011 Jun 08 4:22 PM
Hello Experts,
I had created a column of type numc in my table control.
I had applied the logic that when user fills first row then after pressing 'ENTER' all rows of this column will fill automatically with corresponding serial numbers. This logic is working correct.
Now my problem is, I need to display integer values in 3 digits like, if user enters 1 in first row then data should appear as:
001
002
003
.
.
.
010
.
.
I had taken field in abap program as numeric type with length 3 and in Table control type NUMC length 3.
I had checked in the debug mode in abap, field contains data in 3 digits but when values are assigned to table control then zeros are automatically suppressed. What should I do to display values in table control in 3 digits.
Please help.
‎2011 Jun 08 4:48 PM
Hi.,
In your Module Pool Go to Element List Tab In that Go to Display Attributes Tab., Now For that Column which you want to display 001 002 like that Select Leading Zeros Check Box ( 5th column ) .
Then it will come like what you want..
hope this helps u.,
Thanks & Regards,
Kiran
‎2011 Jun 08 4:48 PM
Hi.,
In your Module Pool Go to Element List Tab In that Go to Display Attributes Tab., Now For that Column which you want to display 001 002 like that Select Leading Zeros Check Box ( 5th column ) .
Then it will come like what you want..
hope this helps u.,
Thanks & Regards,
Kiran
‎2011 Jun 09 9:50 AM
Hi,
Double click on your Input Screen in the table contro then go to the Attributes and
Under the DICT Tab you find Format. Here enter NUMC as the field type
For more info go to VA01 Tcode and take F1 help on POSNR field(Sales ITem) and check it
Cheerz
Ramchander Rao.K
‎2011 Jun 09 10:23 AM