Skip to Content

Eclipse Tools and Plug Ins to Create Enterprise Widgets..

Finally, here you go as seen in DemoJam TechEd Las Vegas and Munich the Eclipse tools with plug-ins to create enterprise widgets.  Use them, let us know what works what doesn’t.  But most of all create more widgets that display SAP data!!!

Watch the video of DemoJam to see what the tools can do: DemoJam – Munich 


What you need:


Authentication agains the SAP Back-end:

SAP Widget Foundation 



Windows XP
Java 1.6 or higher
Yahoo! Widget Engine 4.x


To start working with SAP Widget Development Tools, unzip
SAP Widget Development and launch eclipse.exe. Detailed instructions
how to build enterprise widgets be found in SAP Widget Development Guide

4.1 Launch and debug functions works incorrectly if focus is on Properties view JIRA SAP-4566


For support e-mail:

You must be Logged on to comment or reply to a post.
    • Plugins are written for Eclipse 3.3. Currently we are shipping plugins bundled with Eclipse as one download
  • When I create a new project with the wizard “SAP Widget Project” I get the following error :
    SAPWidgetProjectTemplates.xml is not valid!

    I tried several times to re-download and re-install Eclipse without success.

  • Dear all,

    I create a widget with the template projekt. If I delete one Component from the header or footer the widget does not start anymore.

    Does anybody know how to fix this issue?

    Kind Regards


    • This is bug with component deletion. Workaround to this problem is to create dummy view with header and footer component that is not used anywhere in widget. Fix will be available in next release.
  • Regina,

    This is a nice demo. I also saw your performance in DemoJam and its fascinating. I’m starting to look at the world of widget. How can I deploy a widget on Enterprise Portal?



    • Widgets are run as standalone applications on users desktop. Currently they can be only downloaded from Portal and used locally.
  • Dear all,
    I have the problem while using BAPI BAPI_MATERIAL_GETLIST and Table MATNRSELECTION the fields SIGN and OPTION are not shown in the Eclipse RFC-View and they are not passed to SAP.
    This is the code:
    Controller.refresh = function(){
                   “SIGN”: “I”,
                   “OPTION”: “CP”,
                   “MATNR_LOW”: “*”
              “MAXROWS”: “50”

    I debugged the RFC-Call. The parameter MATNR_LOW is filled with “*” the SIGN and OPTION is empty.

    How to fix this? Any Idea?

    Kind regards


    • hmm. I also tried to do the same task. It seems that to more fields should be added to model.js function (look for <<< and >>> ):

      // import tables
      var table;
      table = bapi.addTable(“MATNRSELECTION”);
      var tableData = importParams.MATNRSELECTION;
      for (var i = 0; i < tableData.length; i++){
      “MATNR_HIGH” : tableData[i].MATNR_HIGH,
      “MATNR_LOW” : tableData[i].MATNR_LOW,
      // 2 more fields are added >>>>>>>>>>>>>>
      “SIGN” : tableData[i].SIGN,
      “OPTION” : tableData[i].OPTION
      // <<<<<<<<<<<<< 2 more fields are added

      !!!!!!!!!!!! Very important:
      tools tends to overwrite bapi functions, while saving. So, todisable such as behaviour do the folowing:

      in the function BAPI_MATERIAL_GETLIST change @overwrite-allowed parameter to false (see below)

      * Calls bapi BAPI_MATERIAL_GETLIST function
      * @param {hash} importParams object with all import parameters passed to function
      * @param {function} callback callback function to call if recieved data
      * @param {function} failCallback callback function to call in case if error happend
      * @return None
      * ——————————————
      * @generated-by SAPTools
      * @overwrite-allowed false
      * @generated-timestamp 1196248220429
      * @bapi-name BAPI_MATERIAL_GETLIST

      And now we are ready to test our changes:
      function testBAPI_MATERIAL_GETLIST(){
      //first row
      {“SIGN”: “I”,
      “OPTION”: “CP”,
      “MATNR_LOW”: “*”
      //second row
      //{“SIGN”: “??”,
      // “OPTION”: “CD??”,
      // “MATNR_LOW”: “*”
      “MAXROWS”: “50”
      }, function(data){showTestData(data);}, function(err){ alert(“failure ” + err)});

      showTestData = function(data){
      alert(“MATNRLIST.item total: ” + data.MATNRLIST.length);
      for(var i = 0; i< data.MATNRLIST.length; i++){

      The code aboves returns 50 items to me.

  • Hi,

    I am just trying widget development using Eclipse plug-in. Tried a basic sample, its working.

    I would like to know how to get user authentication for the widgets during the run-time instead of the development time. couldnt locate any material or object for doing this.

    Can anyone help me on this?

    Thanking in advance.


  • Hi,

    I went through your presentation. Thanks for the blog. Its a nice feature that we can use and I’d like to develop some widgets.

    At present I’m not able to find the right version of Eclipse which can install SAP Widget Development Tools. Can you please send me a link to the right/compatible version of Eclipse and “SAP Widget Development Tools”.


  • What will be the impact on WD ABAP and WD Java Applications? Will they also be AJAX Enabled. I heard WD Java is not going to be enhanced much and will only be supported till 2018. What would be the road map? Will SAP encourage use of GWT to build Portal Applications?