小编Car*_*ñoz的帖子

如何从 oData 响应中恢复错误消息 [SAPUI5]

我遇到了这个问题,我搜索了很多如何解决它,但目前找不到任何解决方案......

好吧,问题是下一个错误消息,我可以编写错误,但我需要该批次的特定条目。

错误、消息框和批量响应。

消息框中显示的代码:

{ "message": "HTTP 请求失败", "headers": { "Content-Type": "application/xml;charset=utf-8", "Content-Length": "1333", "DataServiceVersion": "1.0 " }, "statusCode": "400", "statusText": "错误请求", "responseText": " <?xml version=\"1.0\" encoding=\"utf-8\"?><error xmlns=\"http://schemas .microsoft.com/ado/2007/08/dataservices/metadata\"><code>SY/530</code><message xml:lang=\"es\">No posee permisos para el Centro seleccionado</message><innererror><application><component_id/><service_namespace>/SAP/</service_namespace><service_id>ZQMGW_LECTURATANQUE_SRV</service_id><service_version>0001</service_version></application><transactionid>9488BBDEFA9E11E685950000705EE2FB</transactionid><timestamp>20170224144147.5230000</timestamp><Error_Resolution><SAP_Transaction>Run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details</SAP_Transaction><SAP_Note>See SAP Note 1797736 for error analysis (https: //service. sap .com/sap/support/notes/1797736)</SAP_Note><Batch_SAP_Note>See SAP Note 1869434 for details about working with $batch (https: //service. sap. com/sap/support/notes/1869434)</Batch_SAP_Note></Error_Resolution><errordetails><errordetail><code/><message>No posee permisos para el …

error-handling sapui5 sap-fiori

1
推荐指数
1
解决办法
2万
查看次数

标签 统计

error-handling ×1

sap-fiori ×1

sapui5 ×1