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

Is It Possible to Create a Custom Conversion Exit?

Former Member
0 Likes
3,136

What are the steps needed to do this? Is it just a matter of updating DD01L & DD01V, which I do not have authority to do. Or, are these exclusiviely SAP objects?

Thank-You.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,997

Hi,

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.

Then go transaction SE11 to attach custom routine Z0001 to the custom domain. Once done, save and activate the domain. This should update table DD01L for field CONVEXIT with Z0001.

Regards,

Ferry Lianto

What are the steps needed to do this? Is it just a matter of updating DD01L & DD01V, which I do not have authority to do. Or, are these exclusiviely SAP objects?

Thank-You.

5 REPLIES 5
Read only

Former Member
0 Likes
1,998

Hi,

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.

Then go transaction SE11 to attach custom routine Z0001 to the custom domain. Once done, save and activate the domain. This should update table DD01L for field CONVEXIT with Z0001.

Regards,

Ferry Lianto

Read only

0 Likes
1,997

This is very helpful, but how is the relation between the Function Modules and Conv Exit Rt entered in the domain become usable? I am thinking there must be some config work neeeded in DD01L or DD01V?

Thank-You.

Read only

0 Likes
1,997

Check the online help :

http://help.sap.com/saphelp_40b/helpdata/en/cf/21ee19446011d189700000e8322d00/content.htm

First goto Se11 -> create or change domain

enter routine name -> when you double click -> then it shows

CONVERSION_EXIT_xxxxx_INPUT ( here XXXXX - Conversion routine name )

Now create FM with above name ,now auotmatically it will identified the FM )

Thanks

Seshu

Read only

Former Member
0 Likes
1,997

Hi,

No need configuration ... please chek this online help.

Conversion routine CONV (also known as conversion exit) 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, or is directly assigned a conversion routine in its attributes, 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 using WRITE or WRITE TO and the converted content is displayed. Conversion routines cannot be dedugged before Release 6.40.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
1,997

Let us say you want to create a custom conversion exit ZZTMP. Go to SE37, enter the name CONVERSION_EXIT_ZZTMP_INPUT, click CREATE. Once you create this and the CONVERSION_EXIT_ZZTMP_OUTPUT function module. You then go and use ZZTMP in any domain that you want to use it in.