cancel
Showing results for 
Search instead for 
Did you mean: 

UPDATE SN DI API - ERROR OK ONE

Former Member
0 Kudos

Hello that such! I'm trying to update data in a business partner from the di api but I get an error in the user fields of ok one, is there any way to force the update ignoring the mistakes of the user fields, as if directly from sap modifications can be made and no problem but from the di api does not leave.

_------------------------------------------------------

Hola que tal! estoy tratando de actualizar los datos de un socio de negocios desde el di api

pero me sale un error en los campos de usuarios del ok one, hay alguna forma de forzar el update ignorando los errores de los campos de usuario,

pues directamente desde sap si se pueden hacer modificaciones y no hay problema pero desde el di api no deja.

Accepted Solutions (0)

Answers (2)

Answers (2)

Johan_H
Active Contributor
0 Kudos

Hi Jhonatan,

You cannot force the DI API to ignore mistakes / errors.

Pleases check the data types of your user fields, and make sure that you are passing the correct data type to them in your code. (alphanumeric = string, money = money or double, numeric = integer, etc.)

Also avoid passing NULL or nothing values to your user fields. Use dummy values in these cases (String.Empty or 0, etc).

Regards,

Johan

Former Member
0 Kudos

Hi Jhonatan,

     Can you please post your code?

Regards,