cancel
Showing results for 
Search instead for 
Did you mean: 

How to change some partner data for defined partner role?

former_member186148
Active Participant
0 Kudos

Hello SDN!

I need to set another ID and address for partner both in header and positions. Data comes from CRM ISA. I'm using extended BADIs with methods IF_EX_CRM_ISA_BASKET_HEADCHANGEHEAD_BEFORE_ORDER and IF_EX_CRM_ISA_BASKET_ITEMSCHANGEITEMS_BEFORE_ORDER for header and positions. These methods have tables CT_PARTNER and CT_INPUT_FIELDS. CT_PARTNER already has record needed for me (with role '000000002' and given REF_GUID). I need to change PARTNER_NO field with our ID for this record. But if I do this, focuses in ShipTos comboboxes in order.jsp become reseted after any refresh/actualisation of page. Record in CT_INPUT_FIELDS also created and filled properly.

How I can properly change PARTNER_NO field?

Regards, Lev

Accepted Solutions (0)

Answers (1)

Answers (1)

Patrick_McMahon
Contributor
0 Kudos

Hi Lev,

I found the best way is to read and store the partner details locally and then delete all the partner rows held in memory. Then recreate the partner rows you need.

Regards,

Patrick.

former_member186148
Active Participant
0 Kudos

Hi Patrick!

What do you mean at "locally", "delete rows held in memory" and "recreate"?

Can you give me more detailed answer?

Thanks, Lev

Patrick_McMahon
Contributor
0 Kudos

Hi Lev,

Local variables maybe?

Have a look at the CRM_PARTNER_OB function group for reading. storing and deleting the partner data.

Regards,

Patrick.