2011 Jan 03 5:31 AM
HI
I am getting runtime error u201COutput field too short for converted value.u201D in Tcode VF04.
In ST22 Error is given as below
Error in the SAP kernel.
The current ABAP "SAPLALFA" program had to be terminated because the
ABAP processor detected an internal system error.
This Dump is due to the FM u201CCONVERSION_EXIT_ALPHA_INPUTu201D
Please help me to solve this issue.
Thanks
Prajwal
HI
I am getting runtime error u201COutput field too short for converted value.u201D in Tcode VF04.
In ST22 Error is given as below
Error in the SAP kernel.
The current ABAP "SAPLALFA" program had to be terminated because the
ABAP processor detected an internal system error.
This Dump is due to the FM u201CCONVERSION_EXIT_ALPHA_INPUTu201D
Please help me to solve this issue.
Thanks
Prajwal
2011 Jan 03 5:44 AM
Check for the field you applied CONVERSION_EXIT_ALPHA_INPUT. May be its length varies from the variable you defined to store. Do check if that field has a CONVERSION ROUTINE
2011 Jan 03 6:02 AM
Hi.
Itu2019s a standard program SDBILLDL & we are running it in background daily. It was working fine till 29/12/2010. We are getting job cancelation message after 30th.
2011 Jan 03 6:04 AM
2011 Jan 03 6:25 AM
Hi dsouzajovito
Can you please guide me how to fine the values in ST22?
Thanks
2011 Jan 03 6:52 AM
Prajwal,
Go to ST22. Copy & Paste the relevant parts of Error Occurred , Diagonsis, Part of code which trigerred the dump. So that
you get better solutions. You could have been more specific on your first posting itself.
We came to know later about scheduling of background jobs which was working earlier.
2011 Jan 03 6:57 AM
Hi,
In ST22 double click on the dump.
Scroll to Error analysis and paste that block here.
Scroll to Chosen variables and paste that block here.
You will be able to see the values of the variables there.
Regards,
Jovito.
2011 Jan 03 7:20 AM
Hi
I have copied the detail you told. Please see the below details
Error analysis
When calling the conversion routine ALPHA, the specified
target field was too short.
Chosen variables
Name
Val.
No. 9 Ty. FUNCTION
Name CONVERSION_EXIT_ALPHA_INPUT
INPUT
CAPPROJECTS
4455544445522222
31002FA534300000
0000000000000000
0000000000000000
OUTPUT
2222222222
0000000000
0000000000
0000000000
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
%_VIASELSCR
#
0
4
thanks.
2011 Jan 03 7:22 AM
Hi,
The exception you were getting because the Source and Target fields(i.e, Input and Output fields) in the function module parameters were of different lengths.
Suppose if you use in any of the following ways, you will get the exception:
data: in_val(8) type c value '12345678',
out_val(7) type c.
data: in_val(8) type c value '12345678',
out_val(6) type c.
but when you use as under, you will not get any error:
data: in_val(8) type c value '12345678',
out_val(8) type c.
so, try to debug and see the lengths in both the INPUT and OUTPUT fields and try to correct it and you will be able to rectify the error.
Please debug and let me know how it worked for you.
Regards,
Vishnu.
2011 Jan 03 7:32 AM
Hi.
I have found out some information about this issue. In note 617437 it is mentioned that we have to delete a part of code and insert some alternate code to solve dump. I have checked program RVREUSE_FORMS, it contain both deleted as well as newly included code.
move pi_kunde to da_temp.
condense da_temp.
if da_temp+8(2) co ' '.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = pi_kunde
importing
output = ls_vbpa-pernr.
else.
ls_vbpa-pernr = '00000000'.
endif.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = pi_kunde
importing
output = ls_vbpa-parnr.
Error is coming because of this. Now my worry is can I apply this note? Since its released long back?
My Current system component information is SAP_APPL 600 0016 SAPKH60016 Logistics and Accounting
2011 Jan 03 8:21 AM
Check for the VERSIONS that the note supports. If it supports your current system envirnoment then it would work fine, else you can check for some new updated OSS Notes (if available) and apply that.
2011 Jan 03 8:54 AM
Hi Prajwal ,
What are the types of the fields da_temp and pi_kunde.
Im assuming ls_vbpa-pernr is from table vbpa field pernr.
Regards,
Jovito
2011 Jan 03 9:29 AM
Hi dsouzajovito.
Please see the below form code.
form reuse_partneranschrift using pi_kunde
pi_parvw
pi_ardnr.
data: ls_vbpa like vbpa,
ls_vbadr like vbadr,
ls_adrs like adrs,
da_temp(60) type c.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = pi_kunde
importing
output = ls_vbpa-kunnr.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = pi_kunde
importing
output = ls_vbpa-lifnr.
move pi_kunde to da_temp.
condense da_temp.
if da_temp+8(2) co ' '.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = pi_kunde
importing
output = ls_vbpa-pernr.
else.
ls_vbpa-pernr = '00000000'.
endif.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = pi_kunde
importing
output = ls_vbpa-parnr.
2011 Jan 03 9:55 AM
Hi Prajwal,
Your error is pretty simple.
The reason you are getting this error is cuz the field pi_kunde is greater than 10 characters.
If you try the below two, the first one will fail and the second will be successful.
PERFORM reuse_partneranschrift USING '50000000000' '100' '200'.
PERFORM reuse_partneranschrift USING '500000000' '100' '200'.If you still need further help,
paste the
perform statementhere along with the data types of the variables you are passing.
Regards,
Jovito
2011 Jan 03 11:33 AM
Hi all
Thanks for your valuable information am closing this Question
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |