‎2007 Jun 01 11:55 AM
Hi,
I want to know what is conversion routine. i also want to use the routine:
CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'
EXPORTING
input = 'PY'
IMPORTING
OUTPUT =
please tell me - if i want to give PY as input parameter, how to get the output for that. please state the syntax.
regards
vivek
‎2007 Jun 01 11:58 AM
data:
w_parvw type tpar-parvw.
CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'
EXPORTING
input = 'PY'
IMPORTING
OUTPUT = w_parvw.
‎2007 Jun 01 11:58 AM
data:
w_parvw type tpar-parvw.
CALL FUNCTION 'CONVERSION_EXIT_PARVW_INPUT'
EXPORTING
input = 'PY'
IMPORTING
OUTPUT = w_parvw.
‎2007 Jun 01 11:59 AM
to know about conversion routines, check this link
http://help.sap.com/saphelp_47x200/helpdata/en/cf/21ee19446011d189700000e8322d00/content.htm
‎2007 Jun 01 12:02 PM
Hi,
Depending on the data type of the field, there is a conversion when the contents of a screen field are converted from display format to SAP-internal format and vice versa. If this standard conversion is not suitable, it can be overridden by defining a conversion routine in the underlying domain.
Conversion routines are identified by a five-place name and are stored as a group of two function modules. The function modules have a fixed naming convention. The following function modules are assigned to conversion routine xxxxx:
CONVERSION_EXIT_xxxxx_INPUT
CONVERSION_EXIT_xxxxx_OUTPUT
The INPUT module converts from display format to internal format, and the OUTPUT module converts from internal format to display format.
Regards,
Padmam.
‎2007 Jun 01 12:29 PM
HI vivek,
Running the function module 'CONVERSION_EXIT_PARVW_INPUT' with the input as "PY", the output was "RG". Capture the value into a variable.