Skip to Content

How SAP is handling Customer specific enhancements in HANA XSJS based development?

We are new to XSJS based developments and we came across a situation to handle customer specific enhancements in this topic. Usually in ABAP we have different kinds of enhancements like BADIs, Enahcement Framework and Etc. So We would like to know the feasibility of handling these kinds of enhancements in XSJS based developments as well.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 30, 2017 at 01:53 PM

    There are no technology solutions such as BADIs in the XSJS environment. If you alter an SAP delivered XSJS or XSJSLIB file, the alteration will have to be repeated after each update of the source content from SAP. An application might be designed to use a call to an empty JavaScript function would you could more safely implement (kind of like the old User Exit functionality in ABAP). However this isn't a technology solution, but just a design approach that each application would have to take.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Thomas,

      Here is my example and i am using HANA trail account SAP web based Workbench development editor:


      "<mySchema>"."EMPLOYEE" as "Employees"

      create using "xsjsLibDemo::testProc"

      events ( before "xsjsLibDemo:dbUpdate.xsjslib::insert_data" );


      This service is being called by SAP UI5 ODATA model. I am pretty sure that this javascript method(insert_data) is getting triggered. But i am not able to debug during this call.

      If i import this xsjslib into another xsjs file then i am able to debug the function.

      Am i need any additional things to activate breakpoint in my SAPUI5 ODATA call?

      Thanks & Kind Regards,