Quantcast
Channel: SCN : All Content - ABAP in Eclipse
Viewing all 909 articles
Browse latest View live

Netweaver 7.31 SP4 with Kernel 7.21

$
0
0

Hi ADT-Team :-)

 

as I read the announcement in this space, I would to ask if there will be a new version of the NW 7.31 trial version including the newest Kernel 7.21 in the near future?

 

Regards,
Andreas


Problem Set up SAP HANA Cloud Runtime Environment

How to add field in Table Maintainance Generator

$
0
0

Hi friends,

 

Can any one guide me how to add fields in TMG which in production system. It has to done by end user. if you know please provide links or screen shots

Please help me to download SAP NetWeaver for practice at home

$
0
0

I am trying to download SAP NetWeaver AS ABAP 7.03 SP04 64-bit Trial, as i want to practice ABAP at home , but the download link does not work, it as me for login again, but i am already loged in, i don't no what to do? please help

ABAP in eclipse - my Notes from SAP teched 2013.

$
0
0

Hello all Experts and beginners,

 

I have gone through the online session on ABAP IN ECLIPSE from the sap-teched, since am very new to ABAP eclipse I was nearly stunned to see the features and functionalities of this tool. I wonder on the consistent improvement on this field that is being made at a very rapid manner.

Thanks to SCN, through which I was able to attend the session. Am really happy and satisfied for attending this session and for learning something I don’t know.

 

Introduction:

 

This Blog will definitely be very useful to all beginners like me with ABAP-ECLIPSE. I have jotted down most of the points from the session, but still if you get a chance to go through the session please do since it will be helpful to a great extent.

 

BASIC POINTS WITH ABAP IN ECLIPSE:

 

è Before using the ABAPO eclipse it must be locally installed in the system and you can run the tool by double clicking on execute.

 

è When we start for the first time we will be displayed with a welcome page, there we can see the tutorials and sample programs.

 

è To create your first project click tutorial->Create your first ABAP project.

 

è You can access the ABAP development tools by selecting workbench in top right corner.

 

è ABAP PROJECT will serve as the logon to the back end system.

 

è From here to create a new project click

 

File->New->ABAP Project.

 

è Please remember to maintain a connection between sap logon pad and eclipse.

 

è You can create several projects as possible.

 

OVERVIEW OF THE ECLIPSE TOOL:

 

This content will give you feel about working with eclipse.

 

è Initially when you open for new project you screen will appear as below.

 

1.PNG

 

è By expanding the tree node structure on the left you can see the development objects as below in the system(SE80).

 

2.PNG

 

è You can add your package which you use often in the favorite package.

 

3.PNG

 

 

è You can open your project directly in project explorer by double clicking the project.

 

è All keyboard shortcuts can be accessed in tool bar or context menu in eclipse.

 

è Since eclipse is an open software you can install additional components to develop your developments.

 

è We can also have own plugins to visualize key board shortcuts.

 

è In Eclipse each object can be opened in a separate editor as shown below.

 

è We can have large number of editors opened at a same time.

 

 

4.PNG

 

 

 

 

 

 

è You can even place editor separately outside by simply dragging it out as shown below.

 

è New layout will be preserved when we close the editor.

 

è If you feel lost you can easily restore your default layout by clicking ABAP(At top right)-> and clicking reset.

 

5.PNG

 

 

 

è Eclipse is highly configurable not only with tools but also with editors. You can insert line numbers and other functionalities to the code by following the path as shown below.

 

6.PNG

 

 

è Eclipse provides an overview of the object in the outline view as shown below in bottom left.

 

7.PNG

 

 

è In compared to classic ABAP, ABAP eclipse also supports new possibilities to support the code.

 

è One main feature of the tool is we need not toggle between the edit and display mode because this is done automatically.

 

è Icons like save, check, activate are all same here.

 

è Great advantage of this tool is seamless integration of all development tools in eclipse.

 

ABAP DEBUGGER:

 

è Setting is same that is by double clicking on the particular line.

 

è Here to improve the performance we are provided with a **** pit, whose navigation is shown below,

 

è We can also profile the debugger report by navigating through rtclick on program->Profile as

 

 

8.PNG

 

 

 

 

 

 

è The cockpit display will be as below, showing the warnings as below.

 

 

9.PNG

 

 

è We can also go to cockpit by rtclicking ->show ABAP problem help

 

 

10.PNG

 

è This will lead to the following image, showing the warnings at the right.

 

11.PNG

 

 

è You can also check into the traces  of the report by typing ‘trace’ at the top and click on abap traces in the view as below.

 

12.PNG

 

 

 

 

è This will give you a detailed analysis on the performance of the code, by showing the overall time, abap time, database time, also with a pie chart as below.

 

13.PNG

 

 

è You can also have a granular view of the performance.

 

14.PNG

 

 

 

è You can also compare the active and inactive version of the code.

è This comparison can also be made with some remote active program.

 

Shortcuts in Eclipse:

 

è Ctll+Space = to trigger content assist.(Content assist will be indicate through a bulb sign at the right side of the field)

è Ctrl+Shift+A = Development objects can be opened.(This is not part of ABAP in eclipse delivery)

è Ctrl+O=quick outline of types and methods.

è Ctrl+T= to display the hierarchy of any method.

è Ctrl+Shift+G = to see the where used information on any object.

è F2= Tool tip description.

è F3= Navigate source to other development object.

è Ctrl+shift+F10= for running the unit test directly

è Ctrl+shift+F11=to measure code coverage of unit tset.

è Ctrl 1 = to trigger quick fixes.

è F5=step overview

è Shift+enter= insert line below current line

You can also see more other shortcuts throughmenu bar option help->key assist.

Also you can see the tutorial in help->content->tutorial.

 

Note:

è I have gone through session in the following link,

 

http://events.sap.com/teched/en/session/8905

 

è When I went through the video streaming was stable for 10 minutes or less, I tried in two different browsers and in both it was the same, Please have a check on this before watching the session.

 

Wishing You all HAPPY AND PROSPEROUS NEW YEAR 2014

 

 

Thanks and Regards,

 

Satish Kumar Balasubramanian.

Webdynpro - Component usage gets lost when activating

$
0
0

hi folks,

when activating a webdynpro view  the usage of methods that are handling events (e.g. the click event of webdynpro ALV) looses the information about the component usage when we display the view in se80.

so the methods don't work after activating a view in eclipse.

we use AIE 2.7 backend 7.40

 

is this a known error, or a mis-configuration?

best regards

oliver

ABAP Communication Framework 2.16.0 is missing

$
0
0

Dear Experts

 

   I am trying to update all ABAP and UI5 plugins up to date. When i try to install i am getting below error. I dont know how to fix all these errors.

 

The actions required to successfully install the requested software are incompatible with the software to install.

  Cannot complete the install because one or more required items could not be found.

    Software currently installed: ABAP Development Tools for SAP HANA (Developer Edition) 2.16.1 (com.sap.adt.tools.hana.devedition.feature.group 2.16.1)

    Missing requirement: ABAP Communication Framework 2.16.0 (com.sap.adt.fwk.ci.feature.group 2.16.0) requires 'org.eclipse.emf.workspace.feature.group [1.5.0,2.0.0)' but it could not be found

    Cannot satisfy dependency:

      From: ABAP Development Tools Foundation - Basic Functionality 2.16.1 (com.sap.adt.tools.base.feature.group 2.16.1)

      To: com.sap.adt.fwk.ci.feature.group 1.0.0

    Cannot satisfy dependency:

      From: ABAP Development Tools Foundation - Basic Functionality 2.16.3 (com.sap.adt.tools.base.feature.group 2.16.3)

      To: com.sap.adt.fwk.ci.feature.group 1.0.0

    Cannot satisfy dependency:

      From: ABAP Development Tools Foundation 2.16.1 (com.sap.adt.tools.feature.group 2.16.1)

      To: com.sap.adt.tools.base.feature.group 2.0.0.qualifier

    Cannot satisfy dependency:

      From: ABAP Development Tools Foundation 2.16.3 (com.sap.adt.tools.feature.group 2.16.3)

      To: com.sap.adt.tools.base.feature.group 2.0.0.qualifier

    Cannot satisfy dependency:

      From: ABAP Development Tools for SAP HANA (Developer Edition) 2.16.1 (com.sap.adt.tools.hana.devedition.feature.group 2.16.1)

      To: com.sap.adt.tools.hana.feature.group [2.16.1]

    Cannot satisfy dependency:

      From: ABAP Development Tools for SAP HANA 2.16.1 (com.sap.adt.tools.hana.feature.group 2.16.1)

      To: com.sap.adt.tools.feature.group 1.5.0

Problem using integrated SAP GUI in Eclipse

$
0
0

Hello,

 

I got a problem, that I cannot open an integrated SAP GUI in Eclipse anymore.

If I try it i get the error message "Failed to create part's controls".

 

It did already work. I did not change anything in my installation.

 

I'm using Eclipse 4.3.1 with ADT 2.16. SAP GUI 7.30 Patch Level 3.

 

Thx.

 

Detailed Log:

java.lang.IllegalStateException: Problems connecting to event pipe \\.\pipe\AiEWinguiEventpipe-F9A94DFCB36DA999BDF9EE745A6842-1389250200680. Command line: C:/Program Files/SAP/FrontEnd/sapgui/\SapGuiServer \\.\pipe\AiEWinguiEventpipe-F9A94DFCB36DA999BDF9EE745A6842-1389250200680

at com.sap.adt.sapgui.ui.internal.win32.embedding.WinGuiServerProxy.startGuiServerProcess(WinGuiServerProxy.java:170)

at com.sap.adt.sapgui.ui.internal.win32.WinGuiFragment.getGuiServerProxy(WinGuiFragment.java:86)

at com.sap.adt.sapgui.ui.internal.win32.embedding.EmbeddedWinGuiEditor.createEmbeddedGuiContent(EmbeddedWinGuiEditor.java:85)

at com.sap.adt.sapgui.ui.internal.views.AbstractSapGuiWorkbenchPart.createPartControl(AbstractSapGuiWorkbenchPart.java:119)

at com.sap.adt.sapgui.ui.internal.editors.AbstractSapGuiEditor.createPartControl(AbstractSapGuiEditor.java:149)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:142)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:323)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857)

at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)

at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)

at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)

at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:90)

at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)

at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)

at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)

at org.eclipse.swt.widgets.Display.syncExec(Display.java:4688)

at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:205)

at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)

at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)

at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)

at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)

at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)

at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)

at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)

at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)

at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)

at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)

at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)

at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:576)

at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:543)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:610)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:322)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1034)

at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3112)

at org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:3034)

at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3016)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3012)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2976)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2959)

at com.sap.adt.sapgui.ui.SapGuiPlugin.openGuiEditor(SapGuiPlugin.java:180)

at com.sap.adt.sapgui.ui.SapGuiPlugin.openEditorAndStartTransaction(SapGuiPlugin.java:122)

at com.sap.adt.sapgui.ui.internal.handlers.OpenSapGuiHandler.openView(OpenSapGuiHandler.java:45)

at com.sap.adt.sapgui.ui.internal.handlers.OpenSapGuiHandler.execute(OpenSapGuiHandler.java:39)

at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)

at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)

at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)

at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)

at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)

at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)

at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)

at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)

at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:850)

at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:743)

at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:727)

at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:662)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)

at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)

at org.eclipse.equinox.launcher.Main.run(Main.java:1450)


New Features in ADT 2.19 for Web Dynpro ABAP development

$
0
0


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

controllerreferences.png

 

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

    createcontextmenu.png

     

     

    Fig. Creation Wizard for Floor Plan Manager Application

    createfloorplanmanager.png

     

     

    Fig. Native creation Wizard for WDA Component

    createcomponent.png

     

     

    Native Eclipse deletion wizards

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

     

    Fig. Deletion wizard for WDA View

    deleteview.png

     

    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

    problemsview.png

     

     

    Copy ABAP Resource URL for any WDA artifact


    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...

    copyABAPResourceURI1.png

     

     

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

    copyABAPResourceURI2.png

     

     

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

    copyABAPResourceURI3.png

     

     

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

    copyABAPResourceURI4.png

     

    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...

      copypastecomponent.png

       

       

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

      copypastecomponent2.png


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

      copypastecomponent3.png

       

      Copy and paste for WDA sub-artifacts (even across systems!)


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


      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...

        copypastemethod1.png

         

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

        copypastemethod2.png

         

         

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

        copypastemethod3.png

         

         

        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

        copypasteparameters.png


        Create Tables and CTables from context

        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"

        edittable.png

         

         

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

        edittable2.png

         

         

        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

        edittable3.png

         

         

         

        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

        localvariablerenaming1.png

         

         

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

        localvariablerenaming2.png

         

         

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

        localvariablerenaming3.png

         

         

        Cardinality in context tree

         

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

         

        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

        contextcardinality.png

         

         

        Standard context menus in controller editors


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


        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

        standardcontextmenus2.png

         

         

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

        standardcontextmenus.png

         

         

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

        standardcontextmenus3.png

         

        Option in preference page to change order of objects in editor title

         

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

         

        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

        editortitle1.png

         

         

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

        editortitle2.png

         

         

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

        editortitle3.png

        Bookmarks in ADT 2.19

        $
        0
        0

        (The bookmarks feature works with NW 7.31 SP4 and later releases, and NW 7.4 SP2 and later releases)

         

        You can now add bookmark to any ABAP artifact in ABAP Development Tools. To add a bookmark, select the artifact in the project explorer, and choose teh context menu "Add Bookmark" and give a name of your choice. That's it. This ABAP artifact is bookmarked in the Bookmarks view. You can double click on this artifact at any point in time to open its respective editor.

        Also, refer to this interesting post on adding bookmarks in source editors

        How to use Bookmarks in ABAP in Eclipse

         

        Fig. Select the ABAP artifact and choose "Add Bookmark"

        Picture4.png

         

         

        Fig. You can select any ABAP artifact to bookmark

        Picture1.png

         

         

        Fig. Enter a new name of your choice.

        Picture2.png

         

         

        Fig. The bookmarked objects are available in the Bookmarks view.

        Picture5.png

         

         

        You can also bookmark the fields defined inside artifacts such as ABAP Report.

        Picture6.png

        Sign up for SAP CodeJams on ABAP in Eclipse in February!

        $
        0
        0

        https://ebmedia.eventbrite.com/s3-build/images/3831905/31195314255/1/logo.jpg


        Happy New Year!


        2014 has just started and we kick it off with two SAP CodeJam events on ABAP in Eclipse. The first event will take place in 's-Hertogenbosch, Netherlands on February 7th, the second event will take place in Bielefeld, Germany on February 25th.


        What can you expect?

         

        Both CodeJam events focus on the Eclipse-based ABAP tools and how they increase your developer productivity.


        Since these are SAP CodeJams you can be sure that they will be highly interactive. You will have plenty of time to chat about ABAP in Eclipse and get hands-on experience.


        Compared to last years CodeJams in Bielefeld and Hamburg we will put less focus on theABAP in Eclipse SDK.


        How can you participate?

         

        Just register yourself for one of the events:


        The event is free, but space is limited.

         

        Sign up, now! We are looking forward to see you there!


        http://ebmedia.eventbrite.com/s3-build/images/4090270/31195314255/1/logo.jpg

        My Christmas wish: BSP tools for ABAP in Eclipse

        $
        0
        0

        I would really like to see BSP authoring tools available in the Eclipse tools.

         

        Yes, I know we have SAPUI5 now, but that means you have to use SAPUI5. What if I want to use JQuery Mobile or Dojo or some other library of my choosing and I want to use a BSP application as container and create my own controllers etc.?

         

        This would offer great flexibility for customers and developers.

         

        Together with that, it would be nice to have MIME repository integration in Eclipse as well, so that I could, for example, put all my third-party libraries in one location in the MIME repository and just reference them in my BSP project.

        ABAP Development Tools 2.19 available on Update Site now !

        $
        0
        0

        Today we published the latest version of the ABAP development tools for eclipse 2.19 on our Eclipse Tools Update site.

        Find all the information that you need on our update site overview page: SAP Development Tools for Eclipse

         

        For the Eclipse Kepler version use the update sitehttps://tools.hana.ondemand.com/keplerfor the installation within your eclipse IDE. For the Eclipse Juno version use the update sitehttps://tools.hana.ondemand.com/junofor the installation within your eclipse IDE.

         

        You can now experience all the new cool features via the version from the update site.

        Highlights are the new data preview, the new view editor and the new refactoring and debugging features.

        Find all the details about the new features in my recently published blog from end of last year:

        Get ABAP Development Tools 2.19 and find out what's new

         

        Also part of this new package on the update site are the language packages for the ABAP development tools.

        That means you can now also switch the language of your IDE to the following languages:

        • English
        • German
        • French
        • Russian
        • Spanish
        • Portuguese
        • Japanese
        • Chinese

         

        Have fun with ADT 2.19 !

         

        Kind Regards,

        Thomas.

        Install the language package for ABAP in Eclipse

        $
        0
        0

        In my recent blog about ABAP development tools version 2.19 I wrote that we now provide some language packages for the ABAP tools. That means you can now switch the language of your eclipse to one of the following languages:

         

        • English        (Locale en)
        • German       (Locale de)
        • French         (Locale fr)
        • Russian       (Locale ru)
        • Spanish       (Locale es)
        • Portuguese (Locale pt)
        • Japanese    (Locale ja)
        • Chinese       (Locale zh )

         

        In this blog I will give you an End to End description how you can setup your eclipse so that you are able to switch the language.

         

         

        Step1 : Update your eclipse IDE to ADT version 2.19 via the Update site or via the SMP download package

         

        Step2 : Open eclipse and enter the eclipse language package update site via the menu Help->Install New Software...

         

        langu1.png



        Enter the update site in the "Work with" input field of the installation popup.


        For Eclipse Kepler choose: http://download.eclipse.org/technology/babel/update-site/R0.11.1/kepler

        For Eclipse Juno choose: http://download.eclipse.org/technology/babel/update-site/R0.11.1/juno

         

         

        Step3: Open the node "Babel Language Packs for eclipse" in the tree and mark the language pack that you need:


        langu2.png


        Click the "Next Button" two times to go on and accept the license agreement.

        Eclipse now starts with the installation of the packages.

        After the installation you will be prompted to restart the IDE.

         

        Step 4: Switch the language of your eclipse IDE:

         

        Go to the installation folder of your eclipse IDE and open the eclipse.ini file:

         

        langu4.png

         

        Enter the additional eclipse start-up parameter:

        -nl 

        <Your Locale>

         

        Remark: The line-break between -nl and the locale is important.

         

        langu3.png

         

        Now you have to restart your IDE again so that the new start parameter is used.

         

        Congratulation, your Eclipse IDE starts now in the specified language.

         

        Kind Regards,

        Thomas.

        RFC debugging in ABAP Eclipse

        $
        0
        0

        I encountered the following problem when debugging with ABAP Eclipse: When setting a break-point within a class/method that is being called within a RFC (destination NONE), the debugger does not stop. Also setting the break-point at the RFC and trying to step into (F5) does not work. The only thing which helps is to set a break-point within the remote function module itself - then both break-points (within remote function module and within called class/module) achieve the debugger to stop. Did someone else have a similar problem?


        SAP NetWeaver How-To Guide: SDK for the ABAP Development Tools

        $
        0
        0

        The ABAP development tools for SAP NetWeaver are built on the open Eclipse platform and offer a public API to implement or integrate your own tools. This SAP NetWeaver how-to guide describes the fundamental concepts of the software development kit for the ABAP development tools and initial steps to get you started.

        View Document

        Missing authorization for new project

        $
        0
        0

        Hey folks,

         

        I have a problem getting started with abap in eclipse.

        When I want to start a new project I receive the following message, when trying to connect to the system:

        User <user> is not authorized to access system <sid> via ABAP in Eclipse (No authorization to access the resource  /sap/bc/adt/compatibility/graph.)

         

        I have the done all the things described in the following blog:

        Enabling ABAP in Eclipse

         

        Can someone help me?

         

        Transaction SU53 was not helpfull.

        Integrate SCN Community in ADT via RSS Feeds

        $
        0
        0


        In this blog post I will tell you how can display the content of the ABAP in Eclipse SCN community directly in your ADT environment. We are doing this via the RSS feeds that are provided by the SCN community page:feed1.png

         


        How can I integrate the Feeds in Eclipse ?

         

        Maybe you already discovered the Feed Reader View in Eclipse that helps you to display short dumps and system messages of an ABAP systems in your eclipse environment. These feeds are already prepared within the feed reader for you. After you have created a new ABAP project with connection to a new system a new entry is automatically added to the list of feeds in the feed reader. So you are able to see the short dumps and the system messages in the feed reader view.


        feed2.png


        As the feed reader is a generic view component within ADT to display all kind of RSS feeds we provide you the possibility to configure your own feeds in eclipse. You just have to trigger the 'Add feed...' button in the toolbar of the feed reader and choose the option 'Add Atom / RSS feed from URL'.   


        feed3.png


        In the upcoming popup you have to enter the URL of the feed you want to configure.

        For the SCN community of ABAP in Eclipse the URL for the feed is:


        http://scn.sap.com/community/feeds/allcontent?community=2423


        feed4.png


        After pressing 'Next >' just configure the refresh interval and the notification messages.

        That's it. You have configured your first RSS feed in eclipse. From now own you will see all the discussions, blogs and questions directly in your development environment. You will find them in the folder "Native Feeds":


        feed5.png


        By double-clicking an item in the feed reader list a web browser opens in eclipse and displays the content of the corresponding item in the SCN community.


        Have Fun !

        Regards Thomas.






         



        ABAP Sourcecode Search

        $
        0
        0

        Searching within the whole source code repository of the ABAP system was never so easy as it is with the ABAP development tools for Eclipse. With the new version ADT 2.19 which is available since a couple of weeks we offer you a new search console in eclipse. With that feature you can search for arbitrary code snippets and navigate to the related development objects in the editor.  


        In this video you will see how you can use the new ABAP Sourcecode Search:


         

         

        Remark about the memory consumption:

        Enabling the ABAP Source Search will cause an increased memory consumption in the respective system. The required full text index will consume at least one but regularly several GBs of additional memory, so ensure that the system can provide the needed space!


        Before you start you have to enable your backend system for the feature:

        In order to enable the ABAP Source Search, you need to switch on the business function SRIS_SOURCE_SEARCH. To be able to do that, you need activation authorizations in the Switch Framework (authorization object S_SWITCH, activity 07). Open transaction SFW5, expand the ENTERPRISE_BUSINESS_FUNCTIONS node and look for the SRIS_SOURCE_SEARCH business function. Switch on the checkbox in the column 'Planned Status' and press the button "Activate Changes". The activation process will take place in a background job. Please check transaction SM37 for the progress.

        10.09.sfw5-source-search.png

         

        Remark:
        The index activation may be finished within seconds, but please be aware, that the indexing takes place asynchronously and may take up to several hours. You can also use report SRIS_CODE_SEARCH_PREPARATION in order to check the status. It also checks another index on the TADIR table which is under normal circumstances updated regularly with the where-used index. If this TADIR index is incomplete, you can schedule an index rebuild also with this report.

         

        10.09.check-report.png

         

         

        Have Fun with the new feature !

         

        Kind Regards,

        Thomas.

        ABAP Development Tool Installation Issue

        $
        0
        0

        Hi,

         

        I am trying to install ABAP Development Tool from SAP HANA Studio. I am doing it through SAP HANA Studio -> Help -> Install New Software.

        But once i choose the plug-in and say next, it does not install. I keep getting the message "Calculating requirements and dependencies".

         

        What could be the issue?

         

        1-25-2014 12-42-40 PM.png

         

         

         

        1-25-2014 12-43-09 PM.png

         

        Regards

        Rohit

        Viewing all 909 articles
        Browse latest View live