Monday 26 November 2018

Activate HTTP/2 on AS ABAP 752 SP01 Dev Edition

The quickest way to maintain an Instance Profile is through transaction RZ10 however, I was not able to locate one when I ran this transaction on the server. Weird, isn’t it?

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

To get the profiles loaded into RZ10, go to Utilities -> Import profiles -> Of active servers

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

It’ll then take a while to execute and you should then get this screen.

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

After getting the screen above, you should now be able to add/change the Instance Profile directly from RZ10. Note: As best practice, please use the user id DDIC when performing these changes.

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

If you’re able to follow the steps above, ignore these instructions below.

Anyway, I am still determined to set this parameter – and here are the steps I took below:

Path to the Start Profile


To get the path for the Instance Profile, you can launch the SAP Management Console (see link below), right-click on the instance D00 -> Show Start Profile

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

Virtual Machine – Terminal


Now, go to the Virtual Machine and launch ‘Terminal’ app. From the command prompt, enter the following commands:

> cd /usr/sap/NPL/SYS/profile

> sudo nano NPL_D00_vhcalnplci

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

Find a good spot in this file and Insert the parameter icm/HTTP/support_http2 = true

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

Press Ctrl + O and Enter to commit the changes and then Ctrl + X to exit.

Restart the server and check your changes


You can restart the server through SMC or use the command stopsap and startsap.

To validate that the changes are active, go to transaction RZ11 and display the profile parameter.

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

Or, launch a Fiori application from Fiori Launchpad and use Chrome Developer Tools to display the protocol in the Network tab.

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Learning, SAP ABAP Live

That’s it! Now, go and enjoy faster and speedier Fiori/UI5 applications from your AS ABAP 752 server.

No comments:

Post a Comment