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

Dump "CONVERSION_EXIT_ALPHA_INPUT" in TCode VF04

Former Member
0 Likes
3,407

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

14 REPLIES 14
Read only

Former Member
0 Likes
2,477

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

Read only

0 Likes
2,477

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.

Read only

Former Member
0 Likes
2,477

Hi,

Kindly post the values from the dump.

Regards,

Jovito

Read only

0 Likes
2,477

Hi dsouzajovito

Can you please guide me how to fine the values in ST22?

Thanks

Read only

0 Likes
2,477

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.

Read only

Former Member
0 Likes
2,477

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.

Read only

0 Likes
2,477

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.

Read only

0 Likes
2,477

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.

Read only

0 Likes
2,477

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

Read only

0 Likes
2,477

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.

Read only

0 Likes
2,477

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

Read only

0 Likes
2,477

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.

Read only

Former Member
0 Likes
2,477

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 statement

here along with the data types of the variables you are passing.

Regards,

Jovito

Read only

0 Likes
2,477

Hi all

Thanks for your valuable information am closing this Question