2006 Jan 25 6:19 AM
Can i create own Input and Output Conversions for domain, field on screen i.e.?
Harikishore Sreenivasulu, has no value what requirements. I'm interesting in mechanism of creation and programming Input and Output Conversions.
2006 Jan 25 6:26 AM
you can use field exits for conversion routines on the screen fields.
regards,
Sumeet Mishra
2006 Jan 25 6:27 AM
u can use CONVERSION_EXIT_(XXXX) fn modules.
and place them in the domain, in conversion routines.
2006 Jan 25 6:27 AM
Yes you can create input output conversions using functional modules CONVERSION_EXIT_*.
i.e it should start with CONVERSION_EXIT
2006 Jan 25 6:29 AM
Hi denis,
1. Absolutely.
2. CONVERSION_EXIT_ABC_INPUT
In domain se11,
specify ABC
in the field.
3. and make two FM
like
CONVERSION_EXIT_ABC_INPUT
CONVERSION_EXIT_ABC_OUTPUT
regards,
amit m.
2006 Jan 25 6:29 AM
2006 Jan 25 6:32 AM
how can i create my own functional module - convertion_exit_XXXXX_input or convertion_exit_XXXXX_output?
2006 Jan 25 6:38 AM
u write a program,
in that program call fn module
ex: conversion_exit_alpha_input (note there are many fn modules conversion_exit_xxxx_input/ouput.
in the fn module pass the parameters required and now add that fn module in the domain of the field for which u have written the conversion exit
2006 Jan 25 6:40 AM
HI
yes you can write your own fm. but there are may conversion routine developed by SAP. what is your requirement?
Message was edited by: Harikishore Sreenivasulu
2006 Jan 25 7:29 AM
Harikishore Sreenivasulu, has no value what requirements. I'm interesting in mechanism of creation and programming Input and Output Conversions.
2006 Jan 25 7:35 AM
HI
ok fine.
A conversion routine conv is represented by two function modules that adhere to the naming convention CONVERSION_EXIT_conv_INPUT|OUTPUT. In these function modules, no statements can be executed that interrupt the program flow or end a SAP LUW . A conversion routine can be assigned to a domain in the ABAP Dictionary. If a screen field refers to a domain with a conversion routine, the system automatically executes the function module ..._INPUT for every input in the relevant screen field and the function module ..._OUTPUT when values are displayed in this screen field and uses the converted content in each case. If a data object refers to such a domain, the function module ..._OUTPUT is executed for the output of the data object in a list and the converted content is displayed.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |