2010 Nov 01 12:05 PM
Hi All.
I'm trying to populate custom fields with BAPI_MATERIAL_SAVEDATA, but the program is dumping within the BAPI. The fields I'm trying to populate is in structure 'BAPI_TE_MARC'. The reason for the dump is that the way I defined one of my fields in structure 'BAPI_TE_MARC' is as a DECIMAL field: 4 characters with 2 decimals. But if I run it in debug mode it displays the field as being PACKED 3 characters.
Is there any reason why this is happening?
Thank you,
Edwin.
2010 Nov 01 12:25 PM
Dear Edwin,
Define you input structure same as the one defined in BAPI it will resolve your issue.
Regards,
Gaurav Sood
2010 Nov 01 1:29 PM
Hello Edwin Saunders ,
Probably the extra fields should be of flat Char type.