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: 

Batch input for ME11

Former Member
0 Kudos

Hi all,

I want to copy an existing plant-specific inforecord from plant A to plant B using call transaction method.

But an error occurs when I fill in the plant A's planned delivery time to that of plant B,

Error:

EINE-APLFZ input value is longer than screen field.

I just retrieve plant A's data into internal table (ITAB-APLFZ) and fill it for batch input, what's wrong / meaning for the above error?

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi. Macy.

EINE-APLFZ is DEC field.

Maybe, I think you defined ITAB-APLFZ field with DEC.

But, screen field is character format.

so, you must converted APLFZ field value to character.

ex:

data : w_aaa(3) type n.

move ITAB-APLFZ to w_aaa.

move w_aaa TO bdcdata-fval.

Good Luck..

4 REPLIES 4

Former Member
0 Kudos

Hi Macy,

There is no problem in copying data inside ur internal table but c to that u give the appropriate size of the field that u have declared inside ur program.

EINE-APLFZ may exceeed the size.

Hope this helps u,

Regards,

Nagarajan.

0 Kudos

Hi,

I don't quite understand. which field size should I consider? How to check ?

the internal table ITAB just has APLFZ like EINE-APLFZ.

Thanks.

Former Member
0 Kudos

Hi. Macy.

EINE-APLFZ is DEC field.

Maybe, I think you defined ITAB-APLFZ field with DEC.

But, screen field is character format.

so, you must converted APLFZ field value to character.

ex:

data : w_aaa(3) type n.

move ITAB-APLFZ to w_aaa.

move w_aaa TO bdcdata-fval.

Good Luck..

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Macy!

With batch input you convert normally your fields with 'write' before appending your batch tables. Then you can get a space (for a not needed sign) at the end -> number output format is longer than 3. Try to use a shift left and itab-aplzf(3) or something similar.

Or just run once in display mode, than you should easily discover conversion problems.

Regards,

Christian