2487194 - UI5 router pattern error “invalid value for segment" | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2487194 - UI5 router pattern error “invalid value for segment"

Symptom

You have defined a mandatory parameter in the routing pattern, similar to this one:

{“pattern”: “ViewDetails/{PA1}/{PA2}”,
“name”: “ViewDetails”,
“target”: “ViewDetails”}

Then you pass a value which includes slashes to one of the parameters:

PA1 = 0
PA2 = A/B/C/D

As a result, you receive the following error:  “invalid value “A/B/C/D” for segment “{PA2}

 


Read more...

Environment

  • SAP Netweaver.
  • SAP UI Add-On for Netweaver.

Product

SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; UI add-on 1.0 for SAP NetWeaver 7.0 ; UI add-on 1.0 for SAP enhancement package 1 for SAP NetWeaver 7.0 ; UI add-on 1.0 for SAP enhancement package 2 for SAP NetWeaver 7.0 ; UI add-on 1.0 for SAP enhancement package 3 for SAP NetWeaver 7.0 ; UI add-on 2.0 for SAP NetWeaver

Keywords

"/", '/', slash, sap.m.routing, sap.m.routing.Router , KBA , CA-UI5-COR , SAP UI5 Core and Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.