BAPI - Packed field contains incorrect BCD format

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

BAPI - Packed field contains incorrect BCD format

Post by Amos.Rosmarin »

Hi there,

I get this error while trying to load BOM data into SAP using the BOMCreate BAPI:

Code: Select all

LoadBapi_Error..PACK_for_SAP_R_3___BAPI_120: RFC Error: Packed field contains incorrect BCD format.
Any idea what it is and howto solve this ?
Assume the data is correct, when using the BAPI test with the same data it is OK.


Thanks,
Amos
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You and BAPI Test may like it, but RFC clearly does not. Consult your SAP experts; thay may have some idea. Show them that BAPI Test gave your data the green light.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post by Amos.Rosmarin »

Thanks Ray,

My problem isthat the SAP experts have no clue.


Is there a special treat I have to do to a packet-decimal values (a.k.h comp-3 in other systems)

I see that if I put a number value in the derivation, the BAPI stage transforms it to packed in the temp files but I suspect it is not correct


Amos
Post Reply