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

Not type-compatible...

aris_hidalgo
Contributor
0 Likes
358

Hello experts,

I am currently doing a BDC program and I am encountering the said error. Here is the

code:

METHOD bdc_for_revcode_l_or_b.

CALL METHOD me->bdc_field

EXPORTING

im_fnam = 'RF05A-NEWBS'

im_fval = im_newbs.

ENDMETHOD.

It says that im_newbs is not type-compatible with im_fval. Anyway, the type of im_newbs is

rf05a-newbs and for im_fval it is bdcdata-fval. Thank you guys and take care!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
308

Hi,

Change the variable type of IM_NEWBS to the same type that of IM_FVAL and then pass it to bdcdata-fval value.

PS: Reward if the solution if helpful

1 REPLY 1
Read only

Former Member
0 Likes
309

Hi,

Change the variable type of IM_NEWBS to the same type that of IM_FVAL and then pass it to bdcdata-fval value.

PS: Reward if the solution if helpful