cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Track Shipments - Error opening the application

Former Member
0 Kudos

Within the Fiori APP “Track Sent” we have a problem with opening it. When we try to open the application it crashes due to the following error:

  1. Uncaught TypeError: Cannot read property 'length' of undefined ListBase.js:31

We have updated all the applications to the latest version. Before this update all the applications worked properly except Create Sales Order solved after the update.

Our SAP_BASIS SP level is 07 (release 731) and Kernel 720_EXT_REL.

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

Nicola


Accepted Solutions (1)

Accepted Solutions (1)

adrianox1
Participant
0 Kudos

Hi

I just closed the incident with SAP.

They suggest to install only the note 1931051 and they didn't mention the other two

probably because are needed for the Fiori Wave 2.

Good luck and regards

Adriano

Former Member
0 Kudos

Hi Adriano,

Thank you so much for the answer. I have implemented the note 1931051 and it works even in NW 7.31.

Regards,

Nicola.

Answers (5)

Answers (5)

toni_granados2
Explorer
0 Kudos

Hello,

This notes (1931051) not applicable for release NW 7.02.

Know another solution?

I can't see the Support package SAPK-10007INUISAPUI5, I have applied the UISAPUI5 SAPK-10006INUISAPUI5.

Regards,

Toni

Remco
Explorer
0 Kudos

I had the exact same error with the Check Price and Availability app after upgrading the UI Add-on components (UI2_700, UI2_701, etc.) to SP 6.

I have solved it by upgrading the SAPUI5 runtime from version 1.16.3 to version 1.16.6 with following notes:

1931051 SAPUI5 upgrade to version 1.16.4

1940304 SAPUI5 upgrade to version 1.16.5

1945647 SAPUI5 upgrade to version 1.16.6

You can check your version with .../sap/public/bc/ui5_ui5/index.html

Former Member
0 Kudos

I have the same problem. The problem is that this._aSelectedPaths = is null. So if you set this._aSelectedPaths = [] ; in chrome debugger it works fine.

Former Member
0 Kudos

Hi Samuel,

I have noticed in the ListBase.js code that the error is caused by this object (_aSelectedPaths).

How can i set this workaround in the chrome debugger and desktop browser?

Is there a way to solve this problem in a persisent way?

Thank you very much for your helpful answer.

Regards

Nicola.

Former Member
0 Kudos

You have to set BP on this._aSelectedPaths.length and check when it is null. Then open the console and for example write this._aSelectedPaths = [] ; But this dosent solve the real problem.

Do you have some errors or warnings on the track shipment service in segw?

Former Member
0 Kudos

Hi Samuel,

okok that's it. I've tried yesterday and i have seen that works using this workaround but, as we said, it's not a persistent solution.

I don't have errors or warnings in segw. Do you have errors or warnings instead?

Mr. Masayuki advised to open a customer message. I have not done yet because I'm not in charge of that operation. However, I hope to be able to solve all these problems maybe hoping in a new update.

Nicola

toni_granados2
Explorer
0 Kudos

Hello,

I have the same problem.

This occurs after upgrading, in my case:

Regards,

Toni

toni_granados2
Explorer
0 Kudos

Hello,

News? Regards,

Former Member
0 Kudos

Hi Toni,

There is no news, I have continued in the system configuration thus I haven't investigated again about this javascript error.

Had anyone of you opened a customer message to SAP?

Regards.

Nicola

adrianox1
Participant
0 Kudos

Hi
i did,

i have the same js errors and i opened a sap incident,

as soon as i get a response i'll post it here.

Regards,

Adriano

DAlpers
Explorer
0 Kudos

Hi Nicola,

we have a similar problem - could you resolve your Problem?

Regards

Dominik

Former Member
0 Kudos

Hi Dominik,

We are trying to solve the problem but we are stuck at the moment. I hope in the next few days to be able to find something and I will inform you in this thread.

Of course, if you find something useful write it as well.

Regards

Nicola.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nicola,

What is the support package level for the Track Shipment app?

Wha tis the last called OData service and the data in the response?


Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

The support package level for the Track Shipment app is:

UISRA0191000002SAPK-10002INUISRA019HTML5 Track Shipments

last called Odata Service is:


/sap/opu/odata/sap/SRA019_SHIPMENT_TRACKING_SRV/CustomerCollection(SalesOrganization='1000',DistributionChannel='10',Division='10',CustomerNo='100005')/Shipments?$skip=0&$top=10&$inlinecount=allpages

with status 200 OK and the result is the follwing json (from Network Inspect):

{

    "d": {

        "__count": "1",

        "results": [

            {

                "__metadata": {

                    "uri": "https://XXXXXXXX/sap/opu/odata/sap/SRA019_SHIPMENT_TRACKING_SRV/ShipmentListSet(SalesOrganization=''...')",

                    "type": "SRA019_SHIPMENT_TRACKING_SRV.ShipmentList"

                },

                "EstimatedShipmentDate": "20131121",

                "Date": "/Date(1384992000000)/",

                "ShipTo": "PANIFICIO TOSCANO SRL",

                "Status": "Shipment end",

                "SalesOrganization": "",

                "DistributionChannel": "",

                "Division": "",

                "Overdue": "",

                "CustomerNo": "",

                "ShipmentNumber": "1000",

                "ListtoItem": {

                    "__deferred": {

                        "uri": "https://XXXXXXXX/sap/opu/odata/sap/SRA019_SHIPMENT_TRACKING_SRV/ShipmentListSet(SalesOrganization=''..."

                    }

                },

                "ListtoDetail": {

                    "__deferred": {

                        "uri": "https://XXXXXXXX/sap/opu/odata/sap/SRA019_SHIPMENT_TRACKING_SRV/ShipmentListSet(SalesOrganization=''..."

                    }

                },

                "SaleRepContact": {

                    "__deferred": {

                        "uri": "https://XXXXXXXX/sap/opu/odata/sap/SRA019_SHIPMENT_TRACKING_SRV/ShipmentListSet(SalesOrganization=''..."

                    }

                }

            }

        ]

    }

}

I have tested in the iwfnd/gw_client too and I obtain the same result in xml as I expected.

Thanks for any hints!!!

Regards,

Nicola

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nicola,

I do not have other ideas for troubleshooting. You can create a customer message on SAP Service Marketplace. Please include your SAPUI5 library version in the message.

You can get SAPUI5 version by calling

http://<host>.<domain>:<port>/sap/public/bc/ui5_ui5/index.html

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hi Masayuki,

Thank you very much for your help. As soon as possible we will create a customer message on SAP.

Now we continue to seek a solution and to check out the various packages.

Regards,

Nicola

Former Member
0 Kudos

Hi Masayuki,

I have tried to find SAPUI5 version calling your posted link with our parameters but it is unreachable.

Is this version reachable using transaction saint on our gateway system?

From saint : UISAPUI5 100 0006 is this?

At last i found the error for  ListBase.js in another application of Sales Order (Check Price and Availability).

I suppose that maybe i have a package older than those updated in the last release.

If me and my team can't solve this problem in a few days we'll open immediatly a customer message.

Regard,

Nicola