Skip to Content
0

CRM Web UI Url in Url parameter

Jul 18, 2017 at 11:51 AM

93

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Varun Agarwal
Sep 12, 2017 at 09:20 AM
0

Hi Kevin,

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

Best Regards,

Varun Agarwal

Share
10 |10000 characters needed characters left characters exceeded