2007 Feb 22 3:32 PM
hi experts,
what is the conversion routine ,how to define it.
explain me in brief.
thanks in advance.
hi experts,
what is the conversion routine ,how to define it.
explain me in brief.
thanks in advance.
2007 Feb 22 3:36 PM
Hi
refer to the links below:
http://www.sap-img.com/abap/what-is-conversion-programs.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ee19446011d189700000e8322d00/content.htm
regards,
madhu
2007 Feb 22 3:39 PM
Hi,
A function module which convert the internal representation of a field into its external representation (Depending upon the user settings) and vice versa.
Please check this sample code.
data : auart like vbak-auart.
auart = 'TA'.
CALL FUNCTION 'CONVERSION_EXIT_AUART_INPUT'
EXPORTING
input = auart
IMPORTING
OUTPUT = auart.
write:/ auart.
reverse it with 'CONVERSION_EXIT_AUART_OUTPUT'
Regards,
Ferry Lianto
2007 Feb 22 3:41 PM
Please check this PDF
This is coversion routines available in SAP BW. It will help you to understand about conversions.
2007 Feb 22 3:41 PM
HI,
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.
Regards
Sudheer
2007 Feb 22 3:41 PM
Please check this PDF
This is coversion routines available in SAP BW. It will help you to understand about conversions.
Message was edited by:
pradeepvonti kumar
2007 Feb 22 4:05 PM
Conversion routine is used to convert the values from internal to external // external to internal.
This will be maintained at domain level of the field and default conversion routine is ALPHA.
There will 2 conversion routines one ends with _INPUT and the other ends with _OUTPUT.
All conversion routined starts with CONVERSION_EXIT_*
Eg:
CONVERSION_EXIT_ALPHA_INPUT Conversion exit ALPHA, external->internal
CONVERSION_EXIT_ALPHA_OUTPUT Conversion exit ALPHA, internal->external
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |