2007 Oct 25 8:42 PM
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.
2007 Oct 25 8:48 PM
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.
2007 Oct 25 8:48 PM
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
2007 Oct 25 9:00 PM
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.
2007 Oct 25 9:21 PM
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
2007 Oct 25 9:10 PM
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
2007 Oct 25 9:35 PM
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.