‎2006 Nov 27 7:06 PM
HI ALL
What happens if use use alpha conversion for a domain of length 4 and type c.
and what happens if we don't use it.
Thanks
preeti
‎2006 Nov 27 7:08 PM
Hi Preeti,
Please check this link perhaps it may help.
http://help.sap.com/saphelp_nw04/helpdata/en/9b/f9c18f5a07f0459127e9676ae22a54/content.htm
Regards,
Ferry Lianto
‎2006 Nov 28 4:49 AM
Hi Preeti,
Here is what Alpha Conversion does:
Use
The ALPHA conversion is used in the BW system for each presetting for character characteristics. The ALPHA conversion routine is registered automatically when a characteristic is created. If you do not want to use this routine, you have to remove it manually.
The ALPHA conversion routine is used, for example, with account numbers or document numbers.
Functions
When converting from an external into an internal format this checks whether the entry in the INPUT field is wholly numerical, whether it consists of digits only, possibly with blank spaces before and/or after. If yes, the sequence of digits is copied to the OUTPUT field, right-aligned, and the space on the left is filled with zeros (0). Otherwise the sequence of digits is copied to the output field from left to right and the space to the right remains blank.
For conversions from an internal to an external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) the process is reversed. Blank characters on the left-hand side are omitted from the output.
Example
Input and output fields are each 8 characters long. A conversion from an external to an internal format takes place:
...
1. '1234 ' ®'00001234'
2. 'ABCD ' ® 'ABCD '
Hope this helps.
‎2006 Nov 28 4:56 AM
if u use conversion_exit_alpha_input ,
if the value is 4 , this will convert to 0004 , if it is of length 4
if u use conversion_exit_alpha_output ,
if the value is 0004 , it will convert to 4.
‎2006 Nov 28 4:58 AM
hi,
chk this.
data :wf_version(4).
wf_version ='4'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wf_version
IMPORTING
output = wf_version.
output => wf_version = 0004rgds
Anver