Skip to Content
author's profile photo Former Member
Former Member

UPDATE SN DI API - ERROR OK ONE

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2012 at 08:33 AM

    Hi Jhonatan,

    Can you please post your code?

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 30, 2012 at 07:42 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.