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: 

Length error in Batch input (ME12).

Former Member
0 Kudos

Hello all,

I've create a report which generate a batch input for transaction ME12. The batch input changes the conditions for inforecord.

The error occurs when the field <b>Rate</b> is filled : <b><i>Field KONP-KPEIN(1) input value is longer then screen field</i></b>.

I've try different ways to assign value to this field ( even of length 1), but still get the same error. I think this is because the field BDCDATA-FVAL is of 132 chars.

Do you know why this is happening? Or how to solve it? or some FM's to change inforecord conditions?

Thank you a lot!

A beautiful day!

Bogdan

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos

Hi,

for p - fields try in such a way:

data char5(5).

write KONP-KPEIN to char5.

-> use char5 for bdc-val

Andreas

1 REPLY 1

andreas_mann3
Active Contributor
0 Kudos

Hi,

for p - fields try in such a way:

data char5(5).

write KONP-KPEIN to char5.

-> use char5 for bdc-val

Andreas