Silly question: Negative object keys...

Mark Pyc mark_pyc at gillette.com
Tue Sep 28 04:09:50 EDT 2004


Just out of curiosity, in terms of what is 'proper', what kind of object
can you define that requires a negative numeric key????
 
 
 
 
                      Michael Pokraka
                      <workflow at quirky.me         To:      SAP-WUG at MITVMA.MIT.EDU
                      .uk>                        cc:
                      Sent by: SAP                Subject: Silly question: Negative object keys...
                      Workflow
                      <Owner-SAP-WUG at MITV
                      MA.MIT.EDU>
 
 
                      27 Sep 2004 18:45
                      Please respond to
                      SAP Workflow Users'
                      Group
 
 
 
 
 
 
Hi all,
A workaround is easy enough, so this is purely academic Monday/Tuesday
trivia:
 
I have an object with a numeric key and wanted to use a negative number. No
can do says this 620 system, a NUMC doesn't permit a minus sign.
 
Trying to give an INT-type field as a reference results in:
"Only ABAP data types C, N, D and T are permitted as key fields"
 
OK, ... type N obviously refers to NUMC as I couldn't fit any other
suitable
field types in there. Type N should allow negatives... or maybe not. The
simple workaround is obviously to use a CHAR and fill it with whatever...
but doing that is a bit ... well, not 'proper'.
 
Anyway, not important... just curious.
 
Cheers
Mike
 


More information about the SAP-WUG mailing list