Application Development 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: 

CX_SY_CONVERSION_OVERFLOW

Former Member
0 Kudos
4,521

Hi

Same question as y'day.Iam getting this error CX_SY_CONVERSION_OVERFLOW..the code works fine in mysap..when copied this in sapR/3 its not working and iam getting this error..

Regards

vijaya durga

8 REPLIES 8

Clemenss
Active Contributor
0 Kudos
160

Hi vijaya,

don't know your yesterdays question.

Please provide information about where the error occurs - including source field value and target field technical characteristics.

Regards,

Clemens

Former Member
0 Kudos
160

Hi

when iam running a custom function module iam getting the error

Re: CX_SY_CONVERSION_OVERFLOW.

its working fine in MYSAP and its giving this error in R/3

the error shows in this line

FIELD-SYMBOLS: <

<fs_dyn_table> TYPE STANDARD TABLE,

<fs_dyn_wa> TYPE ANY,

<fs_record> TYPE ANY.

LOOP AT <fs_dyn_table> ASSIGNING <fs_dyn_wa>.

MOVE-CORRESPONDING <fs_dyn_wa> TO <fs_record>.

GET REFERENCE OF gs_record INTO gt_record.

ENDLOOP.

IF gv_operation = c_inbound_modify OR gv_operation = c_inbound_create.

  • When updating, update the <fs_record> table with what's been sent in

  • the function table INFOTYPE_SET

LOOP AT gt_infotype_set ASSIGNING <fs_infotype_set>.

ASSIGN COMPONENT <fs_infotype_set>-fieldname

OF STRUCTURE <fs_record> TO <fs_dyn_field>.

SHIFT <fs_infotype_set>-value LEFT DELETING LEADING space.

<fs_dyn_field> = <fs_infotype_set>-value.

ENDLOOP.

ENDIF.

Regards

vijaya

Clemenss
Active Contributor
0 Kudos
160

Hi vijaya,

when dump occurs you can click debugger button.Cursor is at the command causing the error. Check the contents of the data in <fs_dyn_wa> and the fields in <fs_record>.

This is not necessarily about MYSAP and R/3 - looks more like the data.

Regards,

Clemens

Former Member
0 Kudos
160

Hi clemen

Thanks for ur reply..i did all that..

Regards

vijaya

Former Member
0 Kudos
160

Hi,

Check this post, May help you.

Regards,

Satish

0 Kudos
160

Hi satish

Thanks for the reply..i already saw this forum..it doesnt help me..

Thanks and Regards

vijaya

Former Member
0 Kudos
160

i have had the same problem, the things to check are the Field definitions - the error could be that thre is a mismatch in the Field definition lengths , if this is consistant between the two Field symbols then it is a data problem-- for some STRANGE REASON SAP input firld are inconsistant , if an input field e.g. IE03- > general Data-> weight is defined as Packed 7 dec 3 which is then filled to the max eg 1234567890.120 Kg, then you try an assignment of this value from one Field sysmbol to another - you will get this error..wierd

former_member182040
Active Contributor
0 Kudos
160

use CATCH statement