on 11-20-2013 2:57 PM
Within the Fiori APP “Create Sales Orders” we have a problem with creating Sales Orders. The SAP UI 5 Javascript generates a mal formed XML document for create sales order command. We receive the error “Error while parsing an XML stream”
1. Choose “Create Sales Orders” in the HOME page.
2. Choose a customer, e.g. “TEST01”.
3. Switch to “Products” tab and enter “P-” as search string.
4. Choose any product and click on “Add To Cart” button.
5. Choose the cart icon.
6. Choose “Check Out” button.--> We get an error: “Error while parsing an XML stream”
In the Firefox web console, we found the http body for the create command.
The XML prolog <?xml version=”1.0” ?> is missing in the http body. The XML document from the web console:
<a:entry xmlns:a="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"><a:author><a:name/></a:author><a:content type="application/xml"><m:properties><d:SalesOrderSimulation m:type="Edm.String">true</d:SalesOrderSimulation><d:SingleShipment m:type="Edm.String">false</d:SingleShipment><d:PO m:type="Edm.String"/><d:RequestedDate m:type="Edm.String">20131121</d:RequestedDate><d:CustomerID m:type="Edm.String">TEST01</d:CustomerID><d:SalesOrganization m:type="Edm.String">1000</d:SalesOrganization><d:DistributionChannel m:type="Edm.String">10</d:DistributionChannel><d:Division m:type="Edm.String">00</d:Division></m:properties></a:content><a:link href="" rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrderItemSet" type="application/atom+xml;type=feed"><m:inline><a:feed><a:entry><a:author><a:name/></a:author><a:content type="application/xml"><m:properties><d:Quantity m:type="Edm.String">1</d:Quantity><d:UnitofMeasure m:type="Edm.String">PC</d:UnitofMeasure><d:RequestedDeliveryDate m:type="Edm.String">20131121</d:RequestedDeliveryDate><d:Product m:type="Edm.String">P-100</d:Product><d:ItemNumber m:type="Edm.String">000010</d:ItemNumber><d:ProductName m:type="Edm.String">Pump PRECISION 100</d:ProductName></m:properties></a:content></a:entry></a:feed></m:inline></a:link></a:entry>
Here is the request data, displayed in the gateway error log:
Gateway Error Log
Do you have any idea how to fix this bug or do we have a mistake in our configuration??
Thanks for any hints!!!
Best Regards
Dominik
Hi Dominik,
What is SAP_BASIS SP level and Kernel patch level?
Regards,
Masa
SAP Rapid Innovation Group - RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dominik,
You should apply SP01 for SRA017 and UISRA017.
Regards,
Masa
SAP Rapid Innovation Group - RIG
Hi Masayuki,
Kernel SAP : 720_EXT_REL from SM51 Release Notes.
Yes, I get the same error in Google Chrome.
I have copied the Chrome error and it is the following:
Thanks for your reply!!!
Regards,
Nicola
Hi Masayuki,
I have checked for new service pack and I have updated all the packages about this applicaiton and also the other ones.
After the update the Create Sales Order app works! Good! But now Track Shipments doesn't work
(Uncaught TypeError: Cannot read property 'length' of undefined ListBase.js:31)
and Track Sales Order app works incorrectly because there are areas where the application doesn't load
information even if are present.
Do you have any idea how to fix this bug or do we have a mistake in our configuration??
I should open a new task?
Thanks for any hints!!!
Best Regards
Nicola
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.