Thanks for your post. It helped me to solve one of my issues.
But still I have some further questions about the "Request key name". You mentioned in the Transaction GENIL_BOL_BROWSER we can find the suitable key for it. However if you check the t-code with component name "BT" you will find there are a lot of different Models in it. And I still could not figure out the way to link the model with the crm-object-type.
For example, the URL http://: <port-num>/sap/bc/bsp/sap/crm_ui_start/?crm-object-type=CRM_SRQM_INCIDENT&crm-object-action=B&saprole=ZSS_SRVREQ&crm-object-value=9010000003&crm-key-name=OBJECT_ID. Here we see the object type is CRM_SRQM_INCIDENT, and we check it in the view BSPDLCV_OBJ_TYPE, then we get the GenIL component name "BT" and BOL object name "BTOrder".
I went to t-code GENIL_BOL_BROWSER to check the component BT, and found there were so many different models in it (for example: BTQuery1O, BTQWecSrvReq, etc...). I could not understand when I navigate to the URL, which model would be called. And if this step is not determined, it would be difficult for me to decide which Key I should use.
Of course normally we would use "GUID" or "OBJECT_ID" to search it out, but I just want to know how the link is built so that I could better understand next time what kind of key name could be used.
Thanks with regards,
lo_tx TYPE REF TO if_bol_transaction_context,
lo_factory TYPE REF TO cl_crm_bol_entity_factory,
lw_param TYPE crmt_name_value_pair,
lw_detail TYPE zscrmloy_warehouse_details,
lt_param TYPE crmt_name_value_pair_tab,
lo_result TYPE REF TO if_bol_entity_col,
lo_order TYPE REF TO cl_crm_bol_entity,
lo_core TYPE REF TO cl_crm_bol_core,
lo_admin TYPE REF TO cl_crm_bol_entity,
lo_activity TYPE REF TO cl_crm_bol_entity,
lo_text_set TYPE REF TO cl_crm_bol_entity,
lo_partnerset TYPE REF TO cl_crm_bol_entity,
lo_act_partner TYPE REF TO cl_crm_bol_entity,
lo_status_set TYPE REF TO cl_crm_bol_entity,
lo_status_current TYPE REF TO cl_crm_bol_entity,
lo_text TYPE REF TO cl_crm_bol_entity.
lv_partner TYPE bu_partner,
lv_object_id TYPE crmt_object_id_db,
lv_description TYPE string,
lw_partner_fct TYPE crmst_partner_btil,
lv_bp_number TYPE bu_partner .
lw_address TYPE bapibus1006_address.
lc_category TYPE crmt_activity_category VALUE ‘Z20’,
lc_process_type TYPE crmt_process_type_db VALUE ‘Z004’,
lc_comments TYPE char3 VALUE ‘014’.