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

uploading flat file through bdc, one error

Former Member
0 Likes
561

i am uploading notepad flat file data with call by transaction method,however fields having data type NUMC,DEC...does not accepting, only fields having data type CHAR accepting, error: 'input value is longer than screen field', what i have to do?

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
529

use CONDENSE on your BDCDATA-FVAL field.

Like


BDCDATA-FVAL = ITAB-AMT.
CONDENSE BDCDATA-FVAL.

Regards,

Naimesh Patel

Read only

0 Likes
529

the fields which r getting problem, if i change data type into CHAR ,like thisi n internal table

webaz like C

Read only

0 Likes
529

I am not suggesting to change the datatype of internal table fields.

My suggestion is: when you transfer your data to your BDC table which you are using into call transaction or Session, you need to use Condense to avoid the error.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
529

Hi,

You can go and see data type and length of the field in table. For example.

klimk type knka-klimk , " Credit limit.

klimk(17) type c

in my case data type was CURR

length 15

decimal places 2.

try this. hope it will work out for you.

Thanks

Dave