Quantcast
Channel: SCN : Popular Discussions - ABAP in Eclipse
Viewing all 1215 articles
Browse latest View live

AIE: Installation problem: UnsatisfiedLinkError

$
0
0

Hello,

 

i have setup a new Eclipse-AIE enviroment based on Eclipse Kepler 4.3.2 (Windows 8.1 64 Bit). After the installation of all Eclipse-ADT, -HANA,... plugins from the update site i received the error:"Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path"

 

 

2014-05-21 09_45_25-ABAP - Eclipse SDK.png

 

On the same Laptop i have a second installation which is running without any problems.

 

Any ideas whats the reason?

 

Regards,

Christian


Abap in Eclipse Logon to system fail

$
0
0

Hello,


i am new user of abap in eclipse.

i already installed abap in eclipse plugin.

When i want to create a new project , i have an error


Logon to system XXX failed (Connection to system "XXX" is currently not available)


so i dont know exactly why this error occurs , the user specified is already existing .


so if there is someone who can help me ,i will be thankfull.


thanks for help

WSAEACCES: permission denied error while creating Gui session in Eclipse

$
0
0

Dear ADT users,

 

When i try to run a transaction that creates a Gui session i get the error: 127.0.0.1:3200 not reached (WSAEACCES: permission denied). At the same time i can view and edit my classes without a problem. Can someone out there help me figure this out?

 

Thanks a lot and best regards,

 

George

 

Untitled.png

Error creating ABAP Project

$
0
0

Hi,

 

when i'm creating an abap project with the new "ABAP Project" Wizzard i'm getting an NullPointerException:

 

java.lang.NullPointerException

          at com.sap.adt.destinations.model.internal.config.SAPJavaGuiLogonConfigReader.parseConnectionsFile(SAPJavaGuiLogonConfigReader.java:162)

          at com.sap.adt.destinations.model.internal.config.SAPJavaGuiLogonConfigReader.getSystemConfigurations(SAPJavaGuiLogonConfigReader.java:120)

          at com.sap.adt.destinations.model.config.SystemConfigurationService.getSystemConfigurations(SystemConfigurationService.java:83)

          at com.sap.adt.tools.core.ui.internal.project.wizard.NewAbapProjectWizard.init(NewAbapProjectWizard.java:51)

          at org.eclipse.ui.internal.dialogs.WorkbenchWizardNode.getWizard(WorkbenchWizardNode.java:185)

          at org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:104)

          at org.eclipse.ui.internal.dialogs.WorkbenchWizardSelectionPage.getNextPage(WorkbenchWizardSelectionPage.java:100)

          at org.eclipse.ui.internal.dialogs.NewWizardSelectionPage.advanceToNextPageOrFinish(NewWizardSelectionPage.java:71)

          at org.eclipse.ui.internal.dialogs.NewWizardNewPage$2.doubleClick(NewWizardNewPage.java:368)

          at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:845)

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

          at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)

          at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)

          at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:843)

          at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1477)

          at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1246)

          at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:249)

          at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:246)

          at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:307)

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

          at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)

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

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

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

          at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)

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

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

          at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

          at org.eclipse.jface.window.Window.open(Window.java:801)

          at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:259)

          at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)

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

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

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

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

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

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

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

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

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

          at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:515)

          at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)

          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)

          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)

          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)

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

          at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)

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

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

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

          at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)

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

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

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

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

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

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

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

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

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

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

          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:353)

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

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

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

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

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

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

 

My Environment:

Mac OSX 10.8.2

Eclipse JUNO 4.2.2 (64bit and 32bit)

Java 1.6

ADT 2.0

SAP GUI Java 7.30 rev1

 

 

Do you have any suggestions?

 

 

Thx & Regards Sebastian

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.

How to declare a local exception class-it doesnt work

$
0
0

Hello guys:)

 

I have been working in Eclipse and trying to create a class with a local exception object.

 

But the code doesnt see the local exception object and gives an error

 

Here it is

 

 

Define the class in Local Types section:

 

class lcx_operation_not_allowed DEFINITION

INHERITING FROM cx_static_check.

 

 

ENDCLASS.

 

And the Main class as below

 

CLASS ZCL_SERIALIZER DEFINITION

  PUBLIC

  FINAL

  CREATE PRIVATE .

  PUBLIC SECTION.

    CLASS-METHODS: GET_INSTANCE RETURNING VALUE(RO_SERIALIZER) TYPE REF TO ZCL_SERIALIZER.

    CLASS-METHODS: CLASS_CONSTRUCTOR.

    METHODS: CONSTRUCTOR RAISING lcx_operation_not_allowed.

  PROTECTED SECTION.

  PRIVATE SECTION.

    CLASS-DATA: LO_SELF TYPE REF TO ZCL_SERIALIZER.

ENDCLASS.

 

    

CLASS ZCL_SERIALIZER IMPLEMENTATION.

 

  METHOD CLASS_CONSTRUCTOR.

     CREATE OBJECT LO_SELF.

   ENDMETHOD.

 

 

  METHOD CONSTRUCTOR.

      RAISE EXCEPTION TYPE lcx_operation_not_allowed.

  ENDMETHOD.

 

 

  METHOD GET_INSTANCE.

     RO_SERIALIZER = LO_SELF.

  ENDMETHOD.

 

 

ENDCLASS.

 

Error I am getting is lcx_operation_not_allowed is unknown type.

ADT and SAP Gui for Java

$
0
0

Let me start by saying that the setup process for ADT should be easier, SAP is trying to push this to developers but if it is hard to setup....forget it.

I'm trying to use ADT in a Mac with SAP Gui for Java, and when I try to create a new project (in Eclipse) I get the following error:

 

"Configuration not found in settings file '/Users/XXX/Library/Preferences/SAP/settings', with include 'null', and message server 'null'"

 

I'm a consultant so I don't have files for configuration setup by a system administrator (I work for multiple organizations), I just add servers directy in SAP Logon using expert mode and connection string. How can I get ADT to work?

 

Thank you

Configuration SAPGUI/Java for Eclipse

$
0
0

Hi,

 

Mac OS X (Lion), Java GUI 7.30, Eclipse Kepler with ADT. I do have a properly working entry in SAPGUI / Java for my HANA Trial but when I want to connect with Eclipse I have to choose one of the entries in my Java GUI and Eclipse does complain that there is no message server. But for HANA trial I don't need a message server (and - for good reasons - I don't have one ).

 

Why does that work in JAVAGUI and not in Eclipse?

 

connections file:

 

############################################################

#

# file    : /Users/$HOME/Library/Preferences/SAP/connections

# created : 27.09.2013 14:23:56 MESZ

# encoding: UTF-8

#

############################################################

A4H:conn=/H/xxx.xxx.xxx.xxx/S/3200&clnt=001&user=DEVELOPER&lang=DE&expert=true

NPL:conn=/H/yyy.yyy.yyy.yyy/S/3200&clnt=001&user=DEVELOPER&lang=DE&expert=true

 

settings file:

 

############################################################

#

# file    : /Users/$HOME/Library/Preferences/SAP/settings

# created : 06.11.2013 15:37:01 MEZ

# encoding: UTF-8

#

############################################################

@GLF_showDetailCol = "1"

@GLF_ColumnState = "0 / 75"

@logonFrame_2_X = "894"

@frameWidth = "632"

@frameHeight = "617"

@INCLUDE = "/Users/$HOME/Library/Preferences/SAP/connections"


Problem when connecting to a system (logon to system failed)

$
0
0

Hi all,

 

I'm having no problems while connecting with several of our customers. However, there is one customer for which the connection doesn't work.

The message is " Logon to system xxx failed (Connection to system "xxx" is currently not available) "

As far as I know, the system meets all the technical requirements

  • WAS731 / 0004
  • The SICF services are correct
  • My SAP user has profile SAP_ALL and SAP_NEW
  • I don't use SNC.
  • Is it perhaps an issue of the port 3310? Because if that is the case, I can try to ask our customer to open this port.
  • (note: I don't know if it has anything to do with this problem, but the graphical screen painter also doesn't work. Maybe also because a specific port that is closed on the filewall?)

 

The Eclipse Log contains the following errors (I have changed the IP addresses here to protect the innocent )

 

Caused by: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=adt.tmp_1395321753698 ASHOST=nn.nnn.nn.nn SYSNR=10 PCS=1

 

 

LOCATION    CPIC (TCP/IP) on local host with Unicode

ERROR       partner 'nn.nnn.nn.nn:3310' not reached

TIME        Thu Mar 20 14:24:21 2014

RELEASE     721

COMPONENT   NI (network interface)

VERSION     40

RC          -10

MODULE      nixxi.cpp

LINE        3286

DETAIL      NiPConnect2: nn.nnn.nn.nn:3310

SYSTEM CALL connect

ERRNO       10060

ERRNO TEXT  WSAETIMEDOUT: Connection timed out

COUNTER     2

 

Caused by: RfcException: [null]

    message: Connect to SAP gateway failed

Connection parameters: TYPE=A DEST=adt.tmp_1395321753698 ASHOST=nn.nnn.nn.nn SYSNR=10 PCS=1

 

 

LOCATION    CPIC (TCP/IP) on local host with Unicode

ERROR       partner 'nn.nnn.nn.nn:3310' not reached

TIME        Thu Mar 20 14:24:21 2014

RELEASE     721

COMPONENT   NI (network interface)

VERSION     40

RC          -10

MODULE      nixxi.cpp

LINE        3286

DETAIL      NiPConnect2: nn.nnn.nn.nn:3310

SYSTEM CALL connect

ERRNO       10060

ERRNO TEXT  WSAETIMEDOUT: Connection timed out

COUNTER     2

 

 

    Return code: RFC_FAILURE(1)

    error group: 102

    key: RFC_ERROR_COMMUNICATION

ABAP in Eclipse Installation Error

$
0
0

I am trying to install ABAP in Eclipse  and getting below error.

does any one any idea how to resolve it.

 

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

  Software being installed: ABAP Development Tools - Core 1.0.2 (com.sap.adt.tools.feature.group 1.0.2)

  Missing requirement: ABAP Development Tools Communication Framework 1.0.2 (com.sap.adt.fwk.ci.feature.group 1.0.2) requires 'org.eclipse.mylyn.commons.feature.group [3.4.3,4.0.0)' but it could not be found

  Cannot satisfy dependency:

    From: ABAP Development Tools - Core 1.0.2 (com.sap.adt.tools.feature.group 1.0.2)

    To: com.sap.adt.fwk.ci.feature.group [1.0.0,2.0.0)

Connecting to UI5 Team Repository in Eclipse on Mac

$
0
0

Hi All,

 

Has anyone successfully checked out a ui5 application from an application server to their eclipse environment on a Mac using Eclipse and SAP Java Client.

 

I have gotten to a point where I can successfully connect to the target Application Servers using the SAP Java Client. The problem is that when I try to import the connection profile settings into Eclipse, not all the field are pulling through to the connection wizard..

 

Here is a screenshot of the working SAP Java connection setting

Screen Shot 2014-02-11 at 4.40.40 PM.png

 

Here is a screenshot of the corresponding Eclipse screen when trying to access an ABAP team repository

As you can see, fields like Server, SAProuter, and instance number are not pulling through..

 

Screen Shot 2014-02-11 at 4.37.25 PM.png

.m developing mobile app: problem in displaying tiles in the tile container

$
0
0

i am building an mobile application using eclipse. i have created a menuView for displaying the menu. the menu is in form of tiles. for this i have add the tile container and inside that i have added 4 tiles. on running the html file on the browser its not displaying the tiles.

 

i am using chrome browser.

 

i have attached the jpg file of my code.

ABAP Resource URL documentation

$
0
0

Hi,

 

we are using a tool for static code analysis which displays the remarks in an HTML dashboard.

To access the ABAP resources directly out of the dashboard we wanna integrate links with ABAP Resource URLs into it.

 

My question is if there exists a documentation how the resource URLs for the different objects must look like. Of course I can create an URL for each object manually, but maybe there exists a documentation which we can use.

 

Thx & regards, Florian

Where to find download "ABAP eclipse files"

SAP GUI Easy Access Menu

$
0
0

When I use the 'Open SAP GUI' button, the SAP GUI opens, but without the SAP menu as it does in "old" SAP when I open a new session.  How can I get the SAP Easy Access menu to come up?  Sometimes, I can recall what the transaction is I want, so not having the menu is a pain.

 

Thanks.


Error: System does not support Eclipse based ABAP Development Tools

$
0
0

When attempting to create a new ABAP Project in ADT, I get an error at the credentials screen.

 

"Logon to system ERD failed (System "ERD" does not support Eclipse based ABAP Development Tools)"

 

ADTFailure.PNG

 

Perhaps someone can help shed some light on this.  Is there some additional configuration that must be done either on the client or backend?

 

Thanks

Luke

Code in SQ02 to generate custom serial no

$
0
0

Dear Experts,

 

I am developing a Infoset query using SQ02, where i would like to write a small piece of ABAP code to generate a serial number as described below.

 

AssignmentSerial No to be generated
4200004748000401
4200004748000402
4200004326000201
4800069548000101
4800069548000102
4800069548000103

 

First column data is coming in my output as a result of my query, but i would to see/generate the serial number as same as second column.


Ex: For the first time if the ASSIGNMENT number is coming it should starts with 1 and if the same ASSIGNMENT number (first column value) is repeating in a new row, then the custom serial number to be increased by 1,

 

Please note that Assignment field's field name is ZUONR and Serial No field's field name is ZZEKKN.

 

Regards,

Srinu

ABAP in Eclipse Installation Error

$
0
0

I am trying to install ABAP in Eclipse  and getting below error.

does any one any idea how to resolve it.

 

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

  Software being installed: ABAP Development Tools - Core 1.0.2 (com.sap.adt.tools.feature.group 1.0.2)

  Missing requirement: ABAP Development Tools Communication Framework 1.0.2 (com.sap.adt.fwk.ci.feature.group 1.0.2) requires 'org.eclipse.mylyn.commons.feature.group [3.4.3,4.0.0)' but it could not be found

  Cannot satisfy dependency:

    From: ABAP Development Tools - Core 1.0.2 (com.sap.adt.tools.feature.group 1.0.2)

    To: com.sap.adt.fwk.ci.feature.group [1.0.0,2.0.0)

Bug: Unable to use AiE if windows username has umlauts

$
0
0

Good evening,

 

my name is spelled with an umlaut ( Schmöcker ).  This is the standard working user I have on my windows installation. 

There is no problem with this user when connecting to a SAP system via old-fashioned SAPGUI.  But when I try to use AiE to create a new ABAP project I get to the point where I can choose one of the connections that are present in the SAPGUI. 

This fails for this user.  Reason is the umlaut in the windows-username that is not read out correctly by AiE. 

Windows Path.png

AIE Problem Umlaut.png

I crosschecked this by creating another user with no umlauts and there everything workes fine.

What are valid reasons not to use eclipse for ABAP development?

$
0
0

I understand there are always two significant reasons for not changing aspects development methodology within a company;

     1: From a company perspective; change has an up front cost in time and complexity

     2: From an employee perspective; some people like to stick with what they know and are comfortable/productive with.

Conversely there are the two often touted reasons for adopting change:

     1: It will save time (money) in the future.

     2: Some people always want the latest thing/want to make everyone use the thing they had at their last place because they are productive/comfortable with it.

 

Disregarding those reasons for the purpose of this discussion, I'd like to get a balanced view on where eclipse is worth adopting and where it (currently) brings no benefit. As well as whether it can be used in parallel, e.g. can different members of a development team chose to work predominantly in Eclipse and others stick solely to the workbench.

 

Just to give you my initial position on this subject; I am brand new to SAP/ABAP (2 months in) and come from a Java background. Understandably I start as an 'I want to stick to what I know because I'm very productive/comfortable with it' proponent. Having broached this topic with the Lead Dev, I'm not satisfied with the reasons given for not allowing me to trial Eclipse - not that I don't believe them, just my lack of familiarity with ABAP and SAP means I don't understand them fully.

 

For example, one of the reasons I'm being dissuaded from Eclipse is "it's actually going to cause other issues, like the way SAP handles their lock objects." At the moment this all Greek to me, but I'd expect this either to be a known issue with well understood workarounds/good practices to mitigate it or that this is a fundamental issue dissuading all but the most bleeding edge technologists from adopting Eclipse.

 

Secondly I've been told that the Eclipse for ABAP platform was developed primarily for SAP Business One development, not ERP development - again this is a point that I can't argue with due to lack of domain knowledge, but the foolishly optimistic side of me wants it to be not true; surely ABAP is ABAP whatever you are developing with it.

 

So, first off, if these questions have already been answered simply point me to the right place, otherwise can you guys give me some food for thought if not a definitive answer?

 

Thank you.

Viewing all 1215 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>