SAP Display Material Serial Number App Shows Dump

Introduction-S/4 Hana Display Material Serial Number

S/4 Hana Display material Serial Number app contains information for serial number management. The serial number is given to an item of material in addition to the material number in order to differentiate that individual item from all other pieces of this material. The combination of material and serial number is unique.

S/4 Hana Display material Serial Number has a bug where if the production has a lot of entries i.e. if there are multiple numbers of Material with huge quantities the app shows a dump when trying to see the entire list. Refer to the article below, where the steps to replicate the issue and a workaround is: 

  1. Replicate in Production
  2. Works fine in Development
  3. Workaround to create a custom CDS view.

Steps To Replicate The Dump In Production

While using SAP Display Material Serial Number, it shows a dump in production. If the system has a lot of material and huge quantities of each material, the issue is likely to occur as the system cannot process a huge number of records to show as a list. Open the Display Material Serial Number Fiori app and click on Existing SerialNo List app, as seen below

S/4 Hana Display Material Serial Number App shows Dump

Below is what happens when clicking on the Existing Serial Number list button.

S/4 Hana Display Material Serial Number App shows Dump

Works Fine In Development

Following the same steps in Development works fine, as seen below it shows the list of all material, Serial numbers in the system. This is due to a Production issue related to the table having too many rows

S/4 Hana Display Material Serial Number App shows Dump

Workaround

This note talks about the same issue 3169273 – App “Display Material Serial Number” dumps when using the button ‘Existing SerialNos List’.

https://launchpad.support.sap.com/#/notes/3169273

The issue occurs because too many records are in access and it is causes a memory shortage

Resolution as stated on the note says  “In the App Display Material Serial Number ( App ID IQ03 ) input a Material Number before using button ‘Existing SerialNos List’ or use the other app Display Material Serial Number app ( App ID IQ09 ) which has many more filters that could be used to reduce the size of data set.

The Display Material Serial Number app ( App ID IQ09 ) does not have a parameter / field to specify the limit of records returned.”

However, this does not work as the whole purpose is to see the entire list and not just specific to a material.

So in order to meet the client’s requirement to show an entire list of all serial numbers and materials in the system, I created a CDS view using the  CDS View I_MfgOrderItemSerialNumber. This was then consumed in an analytical report and got the entire list. Here is the link to the Released CDS view from SAP.

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/8308e6d301d54584a33cd04a9861bc52/f0640dd38c0f425bb97e6fcbf9993836.html?version=1909.latest&q=serial%20number%20cds

Note that this still has a limitation that the Status field is not included in this or any other CDS view in the system; hence the list we published had all of the other fields shown in standard except status.

Conclusion-S/4 Hana Display Material Serial Number

Using the Display material serial number app it works fine when Existing SerialNos List button is being used in Development but shows a dump when used in production as too many records are being accessed and causing a memory shortage issue. The article explains a workaround if the list is needed to be seen in production on the standard CDS view, which can be used.

Create a custom analytical query that uses the CDS View, or you could combine this standard View and other CDS views to create a custom CDS view, and a similar view, as seen in development can be created. You can use this CDS view to create analytical queries.

If you need help, Refer to this blog on How to create a custom analytical query  

Get In Touch If You Have A Business Query

Related Posts