on 08-22-2013 9:06 AM
Hi All,
In DMS Customizing, we have maintianed " 5"external number range range without numbe range check.
We are creating external "NUMERIC" numbers, system is creating NUMERIC numbers with leading zeros.
For example, desied document number is 11
System creates 000000000000000000000011
How to control this., we want to create numnbers like 11
Regards,
Aby
Hi aby,
I think, the numbers which you is is the method SAP is displaying the number. Actually the system has created the document with number 11. All the characters are other than 11 are showing zero. This the way SAP Stores a number in the table.
means let say you have created document with number 11, it will stored in DRAW as
Document Number 00000000000000000011,
Doc Part 000
Doc Ver 00
Just try to put number 11 in document number field in CV02N/CV03n and check. if it display a document then your issue is resolved. if it requires all the zeros with 11 numbers then there is issue.
With Regards
Mangesh Pande
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thanks for all of your replies..
We are using DIR for a different purpose, and limiting the no: of characters as 7, in some screens, so leading zeros was causing issues for numeric numbers.
We will solve the issue with conversion routines, and I am closing this thread.
Regards,
Aby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Aby,
Please check with your abap and basis team they will restrict the leading Zeros through Program.
And other thins is system will take default leading zeros depends on the length of the filed.
But making the changes in DRAW table is not a good way.
Could you please elaborate what exactly you are facing the problem with Leading Zero's.
If you create any report report Abaper's will remove those Zero's by using statement
( gs_fieldcat-no_zero = 'X').
Regards,
Harsha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
do you get the number with the leading zeroes after you create the document? I mean is the gui saying "doc no. 0000000000000000011 000 00 created"? Or you see "Doc no. 11 000 00 created"?
In first case: you have to assing another external number range for that document type (transaction DC10). For example, number range A0000000000000000000 to ZZZZZZZZZZZZZZZZZZZZ worked. I dont have any leading zeroes for that in CV03n, CV04N etc. for document 11, 123 and so on. However I can still see leading zeroes in the draw table. Handle those with a proper function module (conversion exit) in programs. Maybe someone else will know how to avoid leading zeroes directly in table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.