on 2024 Apr 03 6:20 AM
I am trying to link directly to the object BP_CONTACT by passing CONP_NUMBER.It works perfectly fine till here but i want to pass Account id as well in the URL.
Any idea how to do that?
Thanks
Monika
Request clarification before answering.
Hi Monika,
don't know if you figured out already, but I had the exact same problem... after debugging and trying for a while I recognized the strange SHIFTING in the URL Parameter the mapper class does to get the "two" parameters for Account and Contact Person.
Solution is you combine both GUIDs after each other into the crm-object-value parameter. Account first, Contact Person directly after.
Here is the URL I came up with that works:
The logic it runs through is in the mapper class CL_CRM_BUPA_UIU_OBJ_MAPPER in method IF_CRM_UI_OBJ_MAPPER~GET_ENTITY_FROM_UI_OBJECT.
Kind regards
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris
Thank you for your reply.
I am not sending GUID but instead am sending CONP_NUMBER from UI. If user click on a contact ID i.e. CONP_NUMBER it should open the details with the account with which it has Main Relationship with. This works perfectly fine if contact id is linked to only one Account
but gives problem if contact id is linked to multiple account ids. I raised a ticket with SAP Product team as well -They told me that standard code is not equipped to handled two URL parameters Objects needs to be customized to accommodate this.
Thanks
Monika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.