Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
raghuvirab
Product and Topic Expert
Product and Topic Expert


Some of the features are available on lower releases of ABAP NW server as well. This is specified version in their title. They will be marked as following:

  • 7.40 SP2 : Works with 7.40 SP2 and onwards
  • 7.31 SP4: Works with 7.31 SP4 and onwards

If not flagged with above markers, the feature works with NW 7.4 SP5 only


Define Controller and Component references

You can now view and edit\add\remove controller and component references from the overview page in controller editor

Fig. Click on Add or Remove button to add or remove controller and component references

Native Eclipse creation wizards

It is now possible to create the following Web Dynpro ABAP artifacts via native eclipse creation wizards

    1. Component
    2. Component Interface
    3. Component Interface à Interface View
    4. Application
    5. Floorplan manager application

(Native creation wizards for View, Window and custom controller was already supported in earlier ADT releases)

Fig. Context menus for creation of Floorplan Manager Application

Fig. Creation Wizard for Floor Plan Manager Application

Fig. Native creation Wizard for WDA Component

Native Eclipse deletion wizards (7.4 SP4)

(This feature works with NW 7.4 SP4 and later releases)

Deletion for views, custom controller brings up the native eclipse deletion wizard

Fig. Deletion wizard for WDA View

Navigate from Problems view to errors

Want to quickly navigate to the error location? Whenever you see problem reported in problems view for any WDA artifact, you can simply double click on it, to navigate to the precise location of the problem in the controller editor. For e.g. if there was an issue reported for the context, simply double-click on the error and navigate to the erroneous context node. Similarly for any WDA attributes, methods, parameters, events and plugs.

Fig. double-click on the row "The Type STR does not exist" and the the parameter with the error gets selected in the controller editor

Copy ABAP Resource URL for any WDA artifact(7.31 SP4, 7.4 SP2)


(This feature works with NW 7.31 SP4 and higher SPs, and NW 7.4 SP2 and higher SPs)


It is now possible to copy the ABAP Resource URL for any of the following WDA artifact

    • Context node, context attribute, recursion node
    • Methods, supply functions, event handlers
    • Method Exceptions
    • Parameters
    • Attributes
    • Events
    • Plugs

You can explore the “super Power” of ABAP Resource URL here.

http://scn.sap.com/community/abap/eclipse/blog/2013/05/10/how-adt-links-change-the-way-you-work

Fig. You can copy ABAP Resource URL for any UI element...

Fig. You can copy ABAP Resource URL for any context element...

Fig. You can copy ABAP Resource URL for any method, action, event handler, parameter...

Fig. You can copy ABAP Resource URL for any event...

Copy, paste and duplicate of WDA artifacts

Want to create a duplicate copy of a WDA component?

You can now copy and paste or create a duplicate copy of the following Web Dynpro ABAP artifact.

    1. Component
    2. View
    3. Window
    4. Custom controller
    5. Component Interface
    6. Component Interface à Interface View
    7. Application

Fig. Copy any Component...

Fig. ...paste it anywhere in Web Dynpro folder...


Fig. ...Give a new name to the component, and press Finish. The copy of the Component will be created

Copy and paste for WDA sub-artifacts (even across systems!) (7.31 SP4, 7.4 SP2)


(This feature works with NW 7.31 SP4 and higher SPs, and NW 7.4 SP2 and higher SPs)


Want to copy or move a method from View to the component controller?

You can now copy and paste any of the following WDA sub-artifacts within the same controller, across controllers, across components or even
across components in different systems !!

    1. Methods, supply functions, event handlers: The method definition and its complete implementation is copied and pasted at the target
    2. Actions: The action and its associated event handler is copied and pasted at the target
    3. Parameters
    4. Attributes
    5. Events
    6. Plugs

(Copy and paste of UI element and context element across controllers, was already supported in the earlier ADT releases)

The parameters can be copied across methods, events and plugs as well.

Additionally, it is possible to copy and paste multiple parameters in a single operation

Fig. In the methods page, copy a method...

Fig. ...and paste it in the methods page of the same or a different controller...

Fig. ...enter a new name for method, and the method(with its definition and the implementation code) will be created in the target controller

Fig. You can copy multiple parameters at once and paste at the target. In case of a name is not unique, parameter with new name is created


Create Tables and CTables from context (7.4 SP3)


(This feature works with NW 7.4 SP3 and higher SPs)


You can now create a Table or CTable for a list of context attributes

Fig. Create a Table UI element and select the context menu "Edit Table"

Fig. If there are some columns defined, then they are preselected. Select more attributes if necessary

Fig. UI elements are preconfigured based on the context attribute type. You can edit the UI element properties. Press finish and table will be updated with columns

Local variable renaming in controllers implementation page

You can now rename any local variable defined inside the controllers implementation page

Fig. select any local variable in the implementation page of the controller editor

Fig. press ctrl+1 to bring up the quick fix. Select Rename.

Fig. type in a new name and all the occurrences of the local variable is immediately renamed

Cardinality in context tree (7.31 SP4, 7.4 SP2)

(This feature works with NW 7.31 SP4 and higher SPs, and NW 7.4 SP2 and higher SPs)

You can now view the cardinality of the context node in the context hierarchy itself. You don’t need to switch to properties view and search for the
cardinality property anymore.

Fig. context node displays the collection cardinality in the tree

Standard context menus in controller editors (7.31 SP4, 7.4 SP2)


(This feature works with NW 7.31 SP4 and higher SPs, and NW 7.4 SP2 and higher SPs)


The controller editor now lists all the standard context menus in the controller editor.

Additionally, View designer now supports the standard context menus in the View area, making it much richer and visual editor.

Fig. Right-click on any attribute brings in all the possible actions in the context menus

Fig. Right-click on any method brings in all the possible actions in the context menus

Fig. Right-click on any event brings in all the possible actions in the context menus

Option in preference page to change order of objects in editor title (7.31 SP4, 7.4 SP2)

(This feature works with NW 7.31 SP4 and higher SPs, and NW 7.4 SP2 and higher SPs)

Cannot see the name of the controller when you have opened multiple WDA controllers? You can now configure how you would like to view the editor titles for any Controller editor. You can either view the controller editor followed by the Component name or in the reverse order

Fig. By default the editor title display the WDA Component followed by the controller name

Fig. Go to preference page and choose the option "Before the main object name" and press OK...

Fig. ...and the controller name is displayed before the WDA Component name