‎2007 May 09 6:35 PM
Hi, everybody
I've got a question.
It is very simple. I have a database table with a numc4 type field.
I want the field to store data with zeros, so if a go to SM30 and type: 1 for that field,
the stored value should be 0001, not 1.
Is there any way???
Thanks
‎2007 May 09 7:06 PM
Hi,
Try this..
In the attributes of that input field...Set the flag "Leading zeroes"
Activate..
Thanks,
Naren
‎2007 May 09 6:48 PM
‎2007 May 09 7:06 PM
Hi,
Try this..
In the attributes of that input field...Set the flag "Leading zeroes"
Activate..
Thanks,
Naren
‎2007 May 09 8:57 PM
Yes, but i meant, in sm30 transaction, if i enter 1 the value is not set to 0001.
Why?
‎2007 May 09 9:00 PM
‎2007 May 09 9:05 PM
Hi,
If it is custom table..
Then go to SE51
Give the program name -> SAPL + "Function group used to generate the screen".
Give the screen number..
Press change..
Go to the layout..
In the input field attributes for that NUMC field...Set the flag "LEADING ZEROES".
Activate the screen..
Then go to SM30..
Give 1 in the numc field and then press enter..You will see 0001
Thanks,
Naren