cancel
Showing results for 
Search instead for 
Did you mean: 

ECC ISA - Changing Partner in Partner Function

karuna_gangireddy
Contributor
0 Kudos

Hi All,

We are having our ISA running on ECC. We had a custom requirement and added a field on the ISA B2B site. Another part of this requirement is to save this custom value as a partner function when the order is saving. I am able to save the data in partners_ex and sales_partner table in sd_salesdocument_create badi (i say this because i am able to see the data being updated in the debug mode) but when i check it is a different partner.

This is what i am thinking is happening the partner determination procedure is taking precedence and overwriting my value with the value taken from the customer master. How do i overcome this and have my value saved?

Any suggestions/workarounds are very much appreciated..

Thanks in advance,

Karuna

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Karuna,

Call the commit bapi after changing the partner in partner function than only it will work.

Regards,

Arshi

karuna_gangireddy
Contributor
0 Kudos

Hi Arshi,

Thank you for the quick reply. I tried using 'BAPI_TRANSACTION_COMMIT' but still did not work.

Thanks,

Karuna.

Answers (1)

Answers (1)

karuna_gangireddy
Contributor
0 Kudos

I wrote the code in MV45AFZZ.