Skip to Content
author's profile photo
Former Member

Delete 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.

Thanks for any help you guys can give me.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Sep 29, 2005 at 04:41 PM

    Hi everyone,

    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 a lot for any help,

    Felipe

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Nitin,

      The standard transaction doesn't use this function module. It uses the one that this FM calls and I have put the breakpoint in it and checked the information that the standard sends and then I tried combinations in which the BAPI will call that FM sending the exact same parameters as the standard does and it still doesn't work. (Also there is a parameter that the BAPI definitively doesn't send and the standard does, I tried to find a note on this but couldn't find any, but then I was reading documentation on this BAPIs and they say I don't need that parameter, to delete a PF I should only need the REF_PARTNER_FUNC, REF_PARTNER_NO, REF_NO_TYPE AND REF_DISPLAY_TYPE.)

      Thanks,

      Felipe