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

MOVE_CAST_ERROR

Former Member
0 Likes
2,548

Hi,

When I try to change the BP role in transaction BP, i'm getting the below dump error.

Category               ABAP Programming Error

Runtime Errors         MOVE_CAST_ERROR

Except.                CX_SY_MOVE_CAST_ERROR

ABAP Program           SAPLFTBP

Application Component  FS-BP

It was tried to assign a reference to a rereference variable using the
'CAST' operation ('?=' or 'MOVE ?TO').
However, the current content of the source variable does not fit into
the target variable.

source type: "\CLASS=FSBP_BO_CVI"
target type: "\CLASS=FTBP_BO_CLASSIC"

I'm getting the error at line:

  1           function ftb_bupa_pai_ftb520 .

  30

>>>>     lr_bo_classic ?= fsbp_business_factory=>get_instance(

  32        i_partner = cvi_bdt_adapter=>get_current_bp( )

  33        i_name    = if_fsbp_const_xo_objects=>bo_business_partner_classic

  34      ).

Please help me to resolve this.

Thanks

Rajesh

1 REPLY 1
Read only

Former Member
0 Likes
1,079

HI, Rajesh Parandkar

I met same errors in our project. I solved this issue through apply notes(1599095)

Apply following notes.

Note 1599095 - BP_ALL Short dump in BP after EA-FINSERV 6.06 installed

Thanks

hj.kim