Tuesday, December 3, 2013

SAP GUI protocol script development in Load Runner(PreRequisites)

Before starting script development for SAP GUI the following prerequisites to be met.

1. Enable Client scripting
2. Enable Proper communication between SAP GUI and SAP Server.
3. Enable server scripting

The procedure is:


1. Enable Client script:

  • Install SAP GUI client on Vugen and go to
  • Load Generator go to SAP GUI installation directory
  • Go to scripting Directory
  •  Verify that the scripting is available or not. If you don’t see the script directory   re install SAP GUI client with SAP scripting API option enabled.
2. How to Enable Proper communication between SAP GUI and SAP server.

  • The port #### used by SAP GUI to communicate to the dispatcher is TCP 32***
  •  Verify that we have connectivity to this port XX=port number.
  • You need to know the system number.
  • You may need SAP router String.
3. How to Enable server Script

  • Need admin access to the SAP Server.
  • Login to SAP server as admin RUN RZ11 TCODE
  • Enter parameter name sapgui/user_script
  • If parameter exists change current value to TRUE and Save it. Then the new script is enabled on server side.
NOTE:  If the parameter name is not found contact SAP for correct package and support level.