Symptom
- ABAP dump occurs when opening F4 help in ITSmobile service.
- The following dump is found in ST22:
Category ABAP programming error
Runtime Errors ITS_REFERENCE_NULL
Application Component Not assigned
Date and Time 00.00.0000 00:00:00
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Short Text |
| Template interpretation terminated, runtime error. |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|What happened? |
| Template "itsmobile/99/searchhelp.html" has caused a runtime error in function |
| "unknown". Cause of |
| error: Variable "~searchhelpcontrolname" ("context field") could not be |
| referenced. |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|What can you do? |
| Call transaction SE80 and check the HTMLB program. In SE80, choose |
| 'Internet Service' and navigate to the corresponding template. Take the |
| service, theme and template name from the path of the template causing |
| the error: |
| "itsmobile/99/searchhelp.html". |
| Remember to publish the corrected template on the 'INTERNAL' site in |
| order to activate the change. |
| |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Error analysis |
| In HTMLB, variable "~searchhelpcontrolname" was referenced, but the content of |
| the variable |
| could not be used as a reference. Make sure that the variable contains |
| a valud value and is initialized. |
| |
| HTMLB example, error ITS_REFERENCE_NULL: |
| `varA;` |
| `varB;` |
| `varB = ^varA;` <- error, varA not initialized |
----------------------------------------------------------------------------------------------------
Read more...
Environment
- ABAP Platform
- SAP S/4HANA
- ITSmobile
Product
Keywords
itsmobile, search help, abap dump, its_reference_null, template error, web browser, F4 key, runtime error, variable initialization, kernel patch, sap basis, ITS, itsmobile/99/searchhelp.html, ~searchhelpcontrolname, searchhelp.html, F4 help, F4, searchhelp, template, regression. , KBA , BC-FES-ITS , SAP Internet Transaction Server , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview