Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 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.