‎2004 Aug 18 10:34 PM
Hi all,
Is it possible to create a custom conversion routine to be used at domain creation?
(i.e. convert a 15 numc to 17 character on input and exit.)
SAP standard is CONVERSION_EXIT_xxxxx_INPUT for input and
CONVERSION_EXIT_xxxxx_OUTPUT for output, however, I can't seem to find any documentation on how to create a Z conversion routine.
Any help would be greatly appreciated.
Thanks
Kevin Liu
‎2004 Aug 19 5:07 AM
Hi,
Exits in SAP have a standard naming convention. As SAP documents it, "A conversion routine is identified by its five-place name and is stored as a group of two function modules (CONVERSION_EXIT_xxxxx_INPUT and CONVERSION_EXIT_xxxxx_OUTPUT). The function modules have a fixed naming convention".
So a Z conversion routine wouldn't serve the purpose as it won't be recognized as a conversion exit. Could you please tell why you need a Z conversion routine?
Regards
Shehryar
‎2004 Aug 19 2:32 PM
I was unsure that if custom conversion routine would require z naming convention however, i see now that it should be the same as standard sap ones with CONVERSION_EXIT_xxxxx... Thanks Shehryar.
I looked into the alpha routine but I require more complex character manipulation than what alpha can provide. Thanks for the tip though.
Kevin
‎2004 Aug 19 5:10 AM
Hi Kevin,
Your problem could possibly be solved by conversiion exit ALPHA. Check it out.
Regards,
Tathagata
‎2004 Aug 19 2:33 PM
Yes you can create customer routines. According to OSS Note 41474 it is safe to create a function module that has the conversion exit naming standard (Begins with CONVERSION_EXIT*). You will get a warning that you can ignore. The important part is to have the first letter of your rountine name begin with Z or Y. That way you won't have a conflict with SAP. An example would be:
CONVERSION_EXIT_Z0001_INPUT
‎2006 May 31 6:53 PM
Hello!
I have created routine conversion.
It carryes out quite well in crm system, but when I execute BSP, the field containing the routine has showed empty.
Why?
What can i do?
Thanks.