cancel
Showing results for 
Search instead for 
Did you mean: 

CRM Web UI Url in Url parameter

Former Member
0 Kudos

I followed the introductions of this link to receive some data via the url. I defined a class "ZCL_ZTEST_OBJ_MAPPER" that implements the interface "IF_CRM_UI_OBJ_MAPPER". If i call up the url...

"http://.../bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=ZTEST&crm-object-action=A&crm-object-key=NUMBER&crm-object-value=2"

...i get the correct value 2:

METHOD if_crm_ui_obj_mapper~get_entity_from_ui_object.
  DATA lv_test TYPE string.
  lv_test = iv_entity_key_value. " = 2
ENDMETHOD.

Is it possible to receive strings with control character like this?

"http://.../bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=ZTEST&crm-object-action=A&crm-object-key=URL&crm-object-value=http%3A%2F%2Fwww.test.com%2F"

In the method the variable "lv_test" gets the value "http" not "http://www.test.com/".

Thanks and regards

Kevin

Accepted Solutions (0)

Answers (1)

Answers (1)

Varun_Agarwal
Advisor
Advisor
0 Kudos

Hi Kevin,

This queries requires log in to system and answer can not be provided without that.

Best Regards,

Varun Agarwal