It can be useful for developing your own templates or verifying errors to output the ITS context dump on the HTML page.
To output the ITS context dump, proceed as follows:
For security reasons, you first need to allow the writing of the context data. To do this, call transaction SITSPMON.
Choose the Change Parameters button, set the parameter itsp/devmode/contextdump to the value 1 and choose Save Changes. The change is reset at the next system start.
If you want to set the parameter persistently, you need to enter it in the SAP Web AS profile.
Now that writing the context data is permitted, you can prompt the writing of the context data by setting the variable ~record=1 in the URL of the relevant session.
Example call:
/sap/bc/gui/sap/its/test/mobile/itsmobile00?~record=1
The ITS context data is written to the HTML page in an HTML comment. To view the context data in the HTML page, choose View Source in the browser.