Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

programming Input and Output Conversions

Former Member
0 Likes
1,137

Can i create own Input and Output Conversions for domain, field on screen i.e.?

10 REPLIES 10
Read only

Former Member
0 Likes
1,085

you can use field exits for conversion routines on the screen fields.

regards,

Sumeet Mishra

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,085

u can use CONVERSION_EXIT_(XXXX) fn modules.

and place them in the domain, in conversion routines.

Read only

Former Member
0 Likes
1,085

Yes you can create input output conversions using functional modules CONVERSION_EXIT_*.

i.e it should start with CONVERSION_EXIT

Read only

Former Member
0 Likes
1,085

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.

Read only

Former Member
0 Likes
1,085
Read only

Former Member
0 Likes
1,085

how can i create my own functional module - convertion_exit_XXXXX_input or convertion_exit_XXXXX_output?

Read only

0 Likes
1,085

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

Read only

Former Member
0 Likes
1,085

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

Read only

Former Member
0 Likes
1,085

Harikishore Sreenivasulu, has no value what requirements. I'm interesting in mechanism of creation and programming Input and Output Conversions.

Read only

0 Likes
1,085

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.