Quantcast
Viewing all articles
Browse latest Browse all 6745

Debugging XSJS configuration on SAP HANA System ( Version SPS6 )

I started to learn SAP HANA just now. While going through  Open SAP Course I found certain deviation in XSJS debugging configuration.


Reasons for deviation:

  • I was going through first SAP HANA tutorial material on Open SAP ( Introduction to Software Development on SAP HANA, May-June 2013 )
  • And I used SAP HANA Version SPS6, Rev 68 ( SAP HANA Studio and Client installed are developer edition Revision 68 )

 

I fixed the above deviation by referring to SAP HANA discussion forum. And then I thought it would be better to share my findings here at this forum. So that it helps other new learner like me.

 

  1. Changing SAP HANA system Configuration. Here we need to add debugger (section)  to "xsengine.ini".
  2. Creating Debug Configuration for XS JavaScriptin DEBUG
    • Earlier we were suppose to provide listenport ( from HANA system Configuration ) as port
    • But now we have to provide actual HTTP port 80XX ( XX = Instance Number ) ( e.g:- like for me its 8000)
    • Image may be NSFW.
      Clik here to view.
      Screenshot 2014-01-25 09.05.48.png
  3. Please add "sap.hana.xs.debugger::Debugger" role . To do so execute below query from HANA System SQL console.
    • CALL GRANT_ACTIVATED_ROLE('sap.hana.xs.debugger::Debugger','<ROLE_NAME>'); 


References:

debug server side JavaScript -- socket connection problem

Hana AWS - Serverside Javascript Debug timeout | SAP HANA

 

Complete Guide to XSJS Debugging:

http://help.sap.com/openSAP/HANA1/openSAP_HANA1_Week_05_Unit_05_Debugging_XSJS_Presentation.pdf

 

I hope that this content is useful for new learners. And all experienced developer please let me know in case I need to add more points here. Or your thought on how to improve this content.

 

-----------------------

Prakash Saurav


Viewing all articles
Browse latest Browse all 6745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>