Skip to Content
avatar image
Former Member

ISCOPE class not found in NW7.4 migration


We are doing migration of custom webdynpro java development from NW7.01 to NW7.4 version. While migrating, we are getting the IScope class is not resolved in NW7.4.

Can anyone please let us know in which component or jar file, we can find the Iscope class for NW7.4.

The error during compilation like

package does not exist

[javac] ERROR: import;



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 08, 2017 at 06:33 AM

    Here I do post the reply of the SAP Development Support to serve as a further reference...


    The jar _webdynpro_services.jar is removed from higher releases in design time and hence you will not be able to use IScope and Utils classes, however you can try using WDScopeType , WDScopeUtil or WDScopeManagementType.

    As per the SAP Note 928485 - Do not use internal APIs (java.lang.NoSuchMethodError)

    use of Internal Web Dynpro Classes and Interfaces are not supported as they are subject to change at any time without warning and are not documented in detail hence it is recommended to use interfaces that start with IWD and only use classes that start with WD.


    So, you will need to change your code accordingly to the newly implemented architecture of WebDynpro for Java, running on releases 7.1 and higher.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Milen,

      Thank you for your response regarding the Iscope Class.Earlier we were using the code to get and set session between 2 component using below code like

      IScope scope = Utils.getCurrentClientSession().getScope();
      pertElement = (IWDNodeElement)scope.get("PertDetails");


      Here PertDetails is a node.

      Now in NW7.31 onwards , we have to use WDScopeType , WDScopeUtil or WDScopeManagementType.

      Even to get and set method has the parameter only string but earlier we can pass the parameter object like table and node. Can you please help me out , how we can change the code for session to get and set the value for node or table object.


      Kanailal Metya