removing the leading zeros from the material number in workitem t ext

David Weston weston at clockwork.ca
Wed Sep 11 10:23:28 EDT 2002


Check out CONVERSION_EXIT_MATN1_INPUT and CONVERSION_EXIT_MATN1_OUTPUT.
 
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Norris, Susie
Sent: Wednesday, September 11, 2002 10:16 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: removing the leading zeros from the material number in
workitem t ext
 
 
Hello Jose,
We have this issue as well.  Do you know the name of the FM that removes =
the
zeroes?
Thanks,
Susie
 
-----Original Message-----
From: Jose Burgman [AST] [mailto:jose.burgman at ast.co.za]
Sent: Wednesday, September 11, 2002 1:18 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: removing the leading zeros from the material number in
workitem t ext
 
 
Hi there
 
The material number undergoes a conversion and is stored in the database
with all the leading zeroes - look at table MARA with SE16. The conversio=
n
is linked to the domain. You can't avoid it I'm afraid - the system needs
that for selection purposes. Being an ABAPer as well, with customized
programs we have to remember to do the conversion, otherwise we can't fin=
d
the material.
 
If its for display purposes only, there is a SAP standard FM that removes
the zeroes. If you are going to do updates or creates, you will have to u=
se
the SAP standard FM to put the zeroes back. If you don't your material da=
ta
will be inconsistent.
 
Regards
 
Jos=E9
 
-----Original Message-----
From: Ronen Fox [mailto:Ronen.Fox at ness.com]
Sent: Wednesday, September 11, 2002 7:22 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: removing the leading zeros from the material number in workitem
t ext
 
 
Dear workflow experts,
 
When creating a workflow for processing a newly created material (busines=
s
object BUS1001006), the material number is added to the workitem text as =
a
variable. problem is that while the material number is only 6 characters
long, it appears with leading zeros in the workitem text. For example
instead of 60612 we get 00000060612.
Any idea how to avoid this would be most welcome.
Thank you very much for your help !
Ronen Fox
Ness Technologies
______________________________________________
 
"This information is intended only for the person or entity to which it i=
s
addressed and
may contain private, confidential, proprietary and/or privileged material
and may be subject
to confidentiality agreements.
 
Any review, retransmission, dissemination, or any other use of or taking =
of
any action in
reliance upon this information, by persons or entities other than the
intended recipient,
is prohibited.
 
If you received this in error, please contact the sender and delete the
material from all
storage media.
 
The company is neither liable for proper, complete transmission of the
information contained
in this communication, any delay in its receipt or that the mail is
virus-free"
 


More information about the SAP-WUG mailing list