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

BDC

Former Member
0 Likes
535

Hi Experts,

In my BDC I am getting the following error when I execute it via SM35.

Field Q0008-BETRG(1) input value is longer than screen field.

Althought the value that I am passing has the same type.

Regards

Abdullah

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
509

I made the field of type char. The problem was that the salary field was being stored with 2 decimal places and on the screen it had 3.

5 REPLIES 5
Read only

Former Member
0 Likes
509

hi,

First of all check out if the screen is active or not....n se if u have given the correct screens for the correct fields....

with regards,

madhuri

Read only

Former Member
0 Likes
509

Can u tell for which Tcode u have done the BDC recording

Read only

Former Member
0 Likes
509

I made the field of type char. The problem was that the salary field was being stored with 2 decimal places and on the screen it had 3.

Read only

Former Member
0 Likes
510

I made the field of type char. The problem was that the salary field was being stored with 2 decimal places and on the screen it had 3.

Read only

0 Likes
509

Ismail I think the length of BETRG field is 9 with 2 decimal places.

Ultimately the value you enter is stored in some field of a table and it has to match the field's attribute, so you take the length as 9 with 2 decimal places.

So whichever variable u r taking should be the type of a table field in which that value gets stored and not the structure or screen field and its a better appraoch of defining the variables.

Thanks