‎2007 Aug 21 12:11 PM
Hi Experts,
I am getting a dump "Runtime error: CONV_EXIT_FIELD_TOO_SHORT"
Output field too short for converted value.
in the function module CONVERSION_EXIT_ALPHA_INPUT.
This function module is used in the program like as follows:
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = <fs>
IMPORTING
OUTPUT = lv_partner
and lv_partner is declared like this:
data: lv_partner type bu_partner.
bu_partner is of character 10.
Please guide.
‎2007 Aug 21 12:17 PM
Hi Sowmiya,
Its due to the insufficient length of output field.So increase the length of output field..
‎2007 Aug 21 12:33 PM
Hi..
Declare both the Input and Output Actual parameters with the Same type and Length ... So it will not generate any Exception.
Try this way:
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = <fs>
IMPORTING
OUTPUT = <fs> .
write <fs> to lv_partner.
Reward if Helpful
‎2007 Aug 21 12:35 PM
Hi.. Correct my code GIVEN in BOLD
Use MOVE instead of WRITE
Declare both the Input and Output Actual parameters with the Same type and Length ... So it will not generate any Exception.
Try this way:
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = <fs>
IMPORTING
OUTPUT = <fs> .
<b>MOVE <fs> to lv_partner.</b>
‎2007 Aug 21 12:35 PM
hi,
use this declaration
data: lv_partner(12). ie. char length 12.
regrds
Debjani
Reward points for helpful answer
‎2007 Aug 21 12:38 PM
Hi
Declare your outpur fields on which u r using "CONVERSION_EXIT_ALPHA_INPUT" to the data type of the fields used in that FM : CONVERSION_EXIT_ALPHA_INPUT.
Regards,
Sree
‎2007 Aug 21 1:51 PM
Hi,
Thank you for your answer.
The problem is that the fields in the FM CONVERSION_EXIT_ALPHA_INPUT doesnot have data type.
Regards,
Soumya.
‎2007 Aug 22 5:32 AM
hi,
tell me against which field you are going to execute the FM
CONVERSION_EXIT_ALPHA_INPUT.
regards
Debjani