2423702 - Attachment does not open on iOS Fiori Client 1.8.5 - FC/KAP | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2423702 - Attachment does not open on iOS Fiori Client 1.8.5 - FC/KAP

Symptom

Scenario1:

After Update to Fiori Client Version 1.8.5 on iPad, Attachment does not open.

The entry of different entry fields, for example Name, Address regarding Umlauts is wrong.

The entry #25# is entered in extra.
Space character is entered with #%20#.

iPad:

# wrong Request

<NAME>~request_line</NAME>
<VALUE>GET

/sap/opu/odata/sap/zsd_directorder_srv/PdfDrucken(IvBanf=&apos;1000263940&apos;,IvZusatz=&apos;&apos;,IvTelefon=&apos;&apos;,
IvMailadresse=&apos;&apos;,IvOrtsteil=&apos;&apos;,IvOrt=&apos;a_name%25c3%25b6schen&apos;,IvPlz=&apos;66987&apos;,
IvNummer=&apos;1&apos;,IvStrasse=&apos;Hauptstr.&apos;,IvNameZusatz=&apos;&apos;,IvName=&apos;a_name%2520M%25c3%25bcller%2520&apos;,
IvAnrede=&apos;a_name&apos;)/$value
HTTP/1.1</VALUE>
________________________________________________________________

PC-Browser:

# correct Request

<NAME>~request_line</NAME>
<VALUE>GET

/sap/opu/odata/sap/zsd_directorder_srv/PdfDrucken(IvBanf=&apos;1000263921&apos;,IvZusatz=&apos;&apos;,IvTelefon=&apos;&apos;,
IvMailadresse=&apos;&apos;,IvOrtsteil=&apos;&apos;,IvOrt=&apos;a_name%c3%b6schen&apos;,IvPlz=&apos;66987&apos;,
IvNummer=&apos;1&apos;,IvStrasse=&apos;Hauptstr.&apos;,IvNameZusatz=&apos;&apos;,IvName=&apos;a_name%20M%c3%bcller&apos;,
IvAnrede=&apos;a_name&apos;)/$value
HTTP/1.1</VALUE>

_________________________________________________________________

Scenario 2:

Using the Fiori application "Approve Purchase Orders".
Technical app details (from version.json):

"application" : "ui.s2p.mm.purchorder.approve",
"version" : "1.5.11",
"buildNumber" : "49",

OData-Service: GBAPP_POAPPROVAL

When using the app on iOS (native SAP Fiori Client v1.8.5), cannot open attachments.
The file can't get opened because the OData call seems to fail.

Specifically the following error get's logged in the Gateway-Log ( /IWFND/ERROR_LOG ) :

Wert 'FOL18%20%20%20%20%20%20%20%20%20%204%20EXT42000000083522' verstößt gegen Facettenangaben 'maxlength=46'

In English: value 'FOL18[...]' is violating facet information 'maxlength=46'.

The Field in question is the property 'AttachmentGuid' of EntityType 'Attachment'.
Its maximum length is limited to 46 characters. The native iOS Fiori Client v.1.8.5 seems to have issues
while decoding the URL encoded query string ( see the '%20' parts, those are URL encoded blanks ).

In fact:
it doesn't get decoded, therefore the query string get's too long, resulting in a violation of the maximum length property.

Desktop Browsers ( IE, Chrome, Firefox ) as well as smart phone browsers ( Android: Chrome, Firefox; IOS: Safari ) work fine.
Even with the Android SAP Fiori Client ( v.1.8.5 ) there is no such issue.

Problems arise only with iOS SAP Fiori Client v1.8.5.
No issues as well with an older version of the iOS client: v1.8.0.


Read more...

Environment

  • Fiori Client 1.8.5
  • iOS
  • iPad Air 2 iOS 9.3.4 to 10.2.
  • iPad 2 iOS 9.2 to 9.3.5

With desktop browsers like Chrome and Firefox the app still works.

  •  Fiori application "Approve Purchase Orders"

Product

SAP Fiori Client 1.X.X for iOS ; SAP Mobile Platform SDK 3.0

Keywords

Umlaut, extra character, 25, space, 20, %20, replace, 1.8.5, iOS , KBA , MOB-FC , SAP Fiori Client Native Mobile Application , 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.