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

ADT SDK Extending Where-Used Results in SearchView

$
0
0

Hello,

 

I'm trying to extend the Result-List of the Where-used-List in the Search-View to allow editing (simple find/replace) the found occurrences.


I have created a Plug-In with dependencies on com.sap.adt.ris.whereused and com.sap.adt.ris.whereused.ui but now I'm a bit lost.

Can anyone give me some basic kickstart information on how the Where-Used Implementation is designed to work and where I could possibly hook-into/extend to gain basically the following:

- means to enter search-term and replacement-term

- means to select the occurrences to edit (checkbox?)

- means to trigger the refactoring process (menu-item?)
  is it a good idea to depend on com.sap.adt.refactoring as well?

- perhaps some basic preview functionality

- rest-service on abap side to transform the code and use a transport-request

 

or just: please make the where-used-list occurrences editable!

 

Thanks in advance!

Kai


Feature-Request: Extract/Refactoring Form-Routines

$
0
0

Hello,

 

could you please think about extending the extract-refactoring to form-routines?

We would like to extract code from a form-routine into a new static class-method to *begin* refactoring legacy code as described in "Working effectively with legacy code"...

 

Currently it's shock-and-awe:

awe: we can easily extract code and it's working great!

shock: we are limited to classes and cannot refactor the existing function-group codebase....

 

Great work so far!


Cheers,

Kai

Breakpoints deeper in HTTP Service handler don't get hit

$
0
0

Hi guys!

 

I habe very strange behaviour in our system, regarding breakpoints. When I run any ordinary report, with breakpoint set in Eclipse, breakpoint get's hit just normally, activating debugger.

Then there is a HTTP Service, cofigured in SICF to login with the same user I use for Eclipse. If I put breakpoint in the if_http_extension~handle_request method of the Service handler, than also other breakpoints in deeper coding (handler calls other functions and object methods) get hit. However, it there is no breakpoint in the if_http_extension~handle_request method, all other breakpoints are just ignored.

 

Anyone had problem like this? Are there any solutions?

 

Thanx for help and have a nice day!

O.

 

P.S.: Using ABAP in Eclipse 2.36, System is 7.31 with Patchlevel 8.

Lost all connections for ABAP Team Project Sharing

$
0
0

Dear experts,

 

I am doing development with Eclipse for SAPUI5 components, and Im facing a problem that I cant seem to solve.

Recently I downloaded the "ABAP Developer Tools for SAP NetWeaver" addon for Eclipse Luna.

Since that moment, all my connections when connecting to projects using the Team Provider are gone.

 

So when I try to Right click my project -> Team -> Submit on existing projects, it says the connection cannot be found.

SCN1.PNG

 

But when I go and check my SAP Logon Pad, I can see all connections.

SCN2.PNG

 

I already tried reinstalling Eclipse, and copying my saplogon.ini to all places (Eclipse folder, Java folder, C:/User/AppData/Roaming/SAP (And also the common folder))

 

Also, when I try to make a new project and try to Share the project, the list with connections is also empty.

SCN3.PNG

The thing im looking for to work can be found when right clicking a project:

SCN4.png

 

 

I tried googling this issue, but could not find any solutions.

The closest I got to finding someone with the same issue is this, which did not solve my problem.

 

I hope someone can help me with this.

 

Thank in advance.

Bad Performance "Open ABAP Development Object"

$
0
0

Hello,

 

after the upgrade of our development system from 7.31 to 7.40 SP7 i recognized bad performance opening ABAP development Objects. 

oado.png

In SE80 the search is much faster as in Eclipse.

 

Does anybody had a solution or OSS-Notes which can improve the performance search Abap dev. objects?

 

Regards,

 

Christian

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.

ABAP Development Tools for SAP NetWeaver License Questions

$
0
0

I know this question is odd, but I am a bit confused.  I am new to Eclipse and it’s ABAP features.

 

I was assuming that one could download Eclipse(Luna) for
example and if the you had a SID you could go to the SAP Market Place and
download “ABAP Development Tools for SAP NetWeaver”.  Once done you could open up Eclipse and point
to the download “zip” file and install the ABAP Development Tools.

 

Question 01) Is that correct and does simply using the url "https://tools.hana.ondemand.com/luna" do the same thing?

 

Question 02) If you don’t have a SID will the url still work?  Do you need a SID and be on some kind of SAP Support
Agreement to download the “ABAP Development Tools for SAP NetWeaver”.I am having trouble understanding the “SAP DEVELOPER LICENSE
AGREEMENT”.

 

Question 03) Why is there a Trial version, what would I be paying for.  Maybe you need to be on SAP Support and have a SID, thus the Trial, but I am not exactly sure.

 

Thanks so much

ABAP in Eclipse in HANA Studio

$
0
0

Hello,

I have seen several blogs about ABAP in Eclipse. The prerequisites always mention Eclipse release 3.6 or 3.7.

I have noticed that the HANA Studion is based on  Eclipse 3.8.

Can I install the ABAP for Eclipse Plugin in the HANA Studio or do I have to install a second IDE with the version 3.6 or 3.7?

 

Thanks,

Michael


Mac - SAP Java GUI Factory not found with 2.41

$
0
0

Hello,

 

Today I my AiE for Mac stopped working. Existing projects don't open, and when I press the new project button nothing happens either (I updated to 2.41 yesterday, maybe it's related).

 

Looking at the log, I get this error: SAP Java GUI Factory:

 

!ENTRY com.sap.adt.logging 4 0 2015-03-15 15:07:41.750

!MESSAGE The given path to the SAPGUI for Java is null.

 

!ENTRY com.sap.adt.logging 2 0 2015-03-15 15:07:41.752

!MESSAGE SAP Java GUI Factory not found

 

!ENTRY org.eclipse.ui 4 0 2015-03-15 15:07:41.758

!MESSAGE Unhandled event loop exception

!STACK 0

java.lang.ArrayIndexOutOfBoundsException: -1

 

This last OutOfBounds exception appeared once in a popup while trying to create a new project. I didn't touch Java GUI, and it was working yesterday before the update.

 

What is the "given path" for Java Gui? I didn't "give" any path.

 

Thanks

ABAP Development Tools for SAP NetWeaver License Questions

$
0
0

I know this question is odd, but I am a bit confused.  I am new to Eclipse and it’s ABAP features.

 

I was assuming that one could download Eclipse(Luna) for
example and if the you had a SID you could go to the SAP Market Place and
download “ABAP Development Tools for SAP NetWeaver”.  Once done you could open up Eclipse and point
to the download “zip” file and install the ABAP Development Tools.

 

Question 01) Is that correct and does simply using the url "https://tools.hana.ondemand.com/luna" do the same thing?

 

Question 02) If you don’t have a SID will the url still work?  Do you need a SID and be on some kind of SAP Support
Agreement to download the “ABAP Development Tools for SAP NetWeaver”.I am having trouble understanding the “SAP DEVELOPER LICENSE
AGREEMENT”.

 

Question 03) Why is there a Trial version, what would I be paying for.  Maybe you need to be on SAP Support and have a SID, thus the Trial, but I am not exactly sure.

 

Thanks so much

Prevent Creation of CDS Views and AMDP Methods

$
0
0

Hi,

 

At my company we are currently implementing SAP HANA as a backend database for our ECC system. We are not sure when we will go live.  At the same time we want to roll out the ADT to all of our ABAP developers.  However, there is a concern that people will create CDS views and AMDP methods using sqlscript for projects that will go live before we migrate to SAP HANA DB as our backend database.  That would mean that projects would either have to rework or push.  We'd like to prevent this from happening by preventing someone from creating a CDS view or AMDP based method.  Does anyone know of a way to do this?

 

I did check the authorization list, but I did not see anything.

 

Thanks!. 

ABAP Project does not open

$
0
0

Hello.

 

i have Eclipse Luna (64bit) installed and using JRE 1.8. ADT were installed successfully.

I'm using Win7/64bit and SAPGUI 7.40 PL1 Hotfix 1.

 

I can open the ABAP perspective in Eclipse.

 

But when i try to create a new ABAP Project nothing happens.

 

But on a computer of colleguage a window opens asking for SAP application server.

 

Is there any way to analyze whats going wrong ?

 

11-02-2015 19-02-05.jpg

 

Thanks for your support and help.

Sebastian

No test methods found on ABAP Unit Runner

$
0
0

I have the following test program that I'm trying to run with ABAP Unit Test Runner from Eclipse ADT.

It does work when executed from SAPGui SE38, but on Eclipse it does not show any test method (see atached image).

 

ADT version 2.41.1

SAP NetWeaver AS ABAP 7.31 Trial

 

My test code is:

 

REPORT z_calc.

 

CLASS zut_calc DEFINITION FOR TESTING.

 

  PUBLIC SECTION.

    METHODS test_add FOR TESTING.

 

ENDCLASS.

 

CLASS zut_calc IMPLEMENTATION.

 

  METHOD test_add.

    DATA: lv_act TYPE i.

 

    lv_act = 1 + 3.

 

    cl_aunit_assert=>assert_equals( act = lv_act

                                    exp = 4 ).

 

  ENDMETHOD.

ENDCLASS.

 

Thanks.

Error in ADT

$
0
0

Hi,

i had installed the latest plug-in to eclipse d/w from hand.ondemand.kepler.

when I opened the eclipse am gettin error. Below is the snap shot.

then i installed the dlls file then also getting same error.

How to get rid of this error??

Capture.JPG

local eclipse / SAP Install / Update Site

$
0
0

Hello,


we need a local update site of the ABAP eclipse Tools.

 

we use the for the mirroring  org.eclipse.equinox.p2.artifact.repository.mirrorApplication (for artefacts) and   org.eclipse.equinox.p2.metadata.repository.mirrorApplication (for metadata).

 

Unfortunatelywehaveduring theinstallation of ABAP Toolsdependencyproblems.

 

Can someone tell mewhere I can findthe missingtools? (Repo URL´s)

 

 

 

 

 


DEL-Key not working

$
0
0

Hi,

 

there' s a strange behaviour regarding the "DEL"-key in Luna-Installation - it suddenly doesn' t work any more. Has anybody encountered this problem, too - and a solution?

 

Regards,

Thomas

ABAP in Eclipse with Virtual installation of SAP GUI

$
0
0

Hi,

 

Our organization provides SAP GUI SAP GUI 7.3 Patch 9 as a virtual installation on all machines. The GUI is virtually installed using Micrrosoft Virtualization Application client.

 

When I invoke SAP GUI from Eclipse Luna, I get an error "Failed to create the part's controls". When I further drill down, I find that it's looking for GUI installation at path " C:\Program Files (x86)\SAP\FrontEnd\sapgui\\SapGuiServer".

 

The issue has already been discussed at ABAP in eclipse GUI integration with Virtual install of GUI. However the solution provided (local installation of SAP GUI) is not feasible in our organization as the system administrators do not agree to a local installation. Also we do not have admin rights on the developer's machines to add Registry entries, etc.

 

I am sure that having Virtual SAP GUI is a practice in many organizations and lots of people are having the same issue.

 

Is there any way we can get Eclipse to work with Virtual SAP GUI?

Eclipse and authorisations

$
0
0

Hi,

we are doing some studies on our own applications, and trying to figure out whether our data is well protected.

In the GUI you have an "authorization group" in the Table Maintenance Dialog Generator. This allows you to limit access to data in SE16, SM30 with object S_TABU_DIS.

We are introducing Eclipse as development environment, and there we can apparently easily access tables that are protected with this "authorization group" e.g. in the "Data Preview" or using the "SQL console" (since SP8) . WE do not see any checks when executing an authorization trace with STAUTHTRACE.

Are we missing something in our set-up or is this concept not yet introduced in the ADT in Eclipse?

Thanks for helping.

Kris

Conditional watch point in Eclipse ABAP

$
0
0

I am new to SAP world. i am getting familiar to abap in eclipse.

Now when i set conditional watch point during debugging,my program is getting terminated. i don't why this is happening.

but when i use watch-point without condition is working fine.

 

Error Description.


Category                           Internal Kernel Error

Runtime Errors                  RUNT_ILLEGAL_SWITCH

Application Component    BC-ABA-LA

 

Error Message                   Internal error: Unexpected status in ABAP/4 runtime environment.

 

Can anyone provide me some help regrading this issue  ?

Thanks in advance.

Editing Enhancements in Eclipse

$
0
0

Hello Eclipse Team,

 

to increase the pressure a bit : are there any news regarding the possibility to edit ex- and implicit enhancements in Eclipse?

(Sorry, forgot to ask this question this Saturday)

 

Cheers

Uwe

Viewing all 1215 articles
Browse latest View live


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