Skip to Content
author's profile photo
Former Member

Deleting a Partner Function using BAPI_BUSPROCESSND_CHANGEMULTI

Hi,

I am trying to delete a partner function from a business transaction using BAPI_BUSPROCESSND_CHANGEMULTI, and even though I have tried every single possible combination (for the partner structure and the input_list) I have not been able to do so.

Any ideas on how could I achieve this?.

I already know that the BAPI_BUSPROCESS_SAVE has to be called after BAPI_BUSPROCESSND_CHANGEMULTI in order for the changes to be updated, but still I get no result on deleting the partner function and I get no error from the BAPI.

I kept testing and if I call the function only with the partner function deletion I get the error:

E CRM_ORDER 037 The document could not be saved

And this error is generated after the BAPI has called de BUSPROCESS_SAVE BAPI.

I checked and there are no implemented BADIS on my system that could be generating this error or throwing the DO NOT SAVE exception.

Thanks for any help you guys can give me.

PS: The business transaction is a sales order.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Sep 30, 2005 at 11:07 AM

    Hi,

    how about using function CRMXIF_ORDER_SAVE?

    --> you can fill the bdoc structure with whatever change you want (in your case a deletion of a partner function on header level) and pass it on to the function which will then map it to the standard update and process it in the API.

    Might be easier, and you can pass any sales order update to this function.

    Kind regards,

    Michael.

    Add comment
    10|10000 characters needed characters exceeded