Skip to Content
0
Former Member
Jul 16, 2008 at 11:57 AM

Packed field contains incorrect BCD format

1406 Views

Hi,

I have a problem in ABAP.

I try to add two fields which have the same component type

(data type = curr length = 9 decimal places = 2).

After adding I get the dump: "Packed field contains incorrect BCD format".

Here is the source code:

************************************************************

DATA: BEGIN OF akt.

DATA: aktyp LIKE zq9006-aktyp.

DATA: anzhl LIKE zq9006-anzhl.

DATA: eibtr LIKE zq9006-eibtr.

DATA: spend LIKE zq9006-spend.

DATA: akbet LIKE zq9006-akbet.

DATA: freib LIKE zq9006-freib.

DATA: END OF akt.

DATA: BEGIN OF aktien OCCURS 10.

INCLUDE STRUCTURE akt.

DATA: BEGIN OF q9006.

INCLUDE STRUCTURE zq9006.

ADD aktien-akbet TO q9006-sabet

*********************************************************

Further informations:

zq9006-akbet has the component type I've written above.

Two Thread with this issue are in the forum, but there is no answer for my problem.

Has anybody a solution for this problem?

Thank you.

Best regards,

Daniel