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

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


Weird indentation behaviour for TYPES: (with colon) in Editor

$
0
0

Hello,

 

in the protected section of a class, there is a weird behaviour for indentation when pressing ENTER.

 

Here is the source code before pressing ENTER:

 

Pre-ENTER.jpg

 

The cursor is in line 22, column 5 before the "TYPES:". Now, when I press ENTER, it looks like this:

 

Post-ENTER.jpg

 

The "TYPES:" is indeted, the new column position is 14.

 

I would have expected no indentation at all. This does not happen, if I have a TYPES notation without the colon (:).

 

Any idea, why this behaviour occurs?

 

I think, I have the latest ADT version. Here is the version details:

 

Versions.jpg

 

Thanks for any help in advance!

 

Best regards,

Philipp Hinnah

Best package for ABAP/BW/HANA development

$
0
0

Hi,

 

Which package/flavour of Eclipse (Luna or Mars) is best installed for ABAP/BW/HANA development (and nothing else)?

I only see that one needs to install Eclipse and it's not clear which package is best suitable.

 

Cheers

 

Eddy

Error connecting via SAP Router

$
0
0

Hi gurus!

I download and installed Eclipse Luna 4.4 and then installed via plugin the tool to connect to ABAP.

My SAP system is 7.31 SP 6 so if i remember well and i read well the doc, i can easily connect to it.

 

I create a new project and choose from the SAPGui my Development connection (that has SAPROUTER String) press next, put my logon data and...

I got the error below! 

 

Logon to system <devsys> failed (saprouterdc: route permission denied (<ip address> to)

 

 

 

First thought I got: IT dep stops somehow the ports but then i could not access even via SAPGui, right?

Second thought: cry like a baby and ask for some help here on SCN.

 

Any hint?

 

TY

Error Installing "SAPUI5 ABAP Repository Team Provider"

$
0
0

I downloaded the ADT(ABAP Development Tools) , SAPUI5 tool kit & SAPUI5 ABAP Repository Team Provider plugins from smp. When I try to add these plugins to eclipse first two were success full (ADT, SAPUI5 tool kit). When I try to add this SAPUI5 ABAP Repository Team Provider its giving me below error.

 

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

  Software being installed: Language files for SAPUI5 ABAP Repository Team Provider 1.12.4 (com.sap.ide.ui5.team.feature.lang.feature.group 1.12.4)

  Missing requirement: SAPUI5 Repository Team Provider UI Plug-In 1.12.4 (com.sap.ide.ui5.team.ui 1.12.4) requires 'bundle com.sap.adt.communication [2.4.0,2.11.0)' but it could not be found

  Cannot satisfy dependency:

    From: Language files for SAPUI5 ABAP Repository Team Provider 1.12.4 (com.sap.ide.ui5.team.feature.lang.feature.group 1.12.4)

    To: com.sap.ide.ui5.team.ui.lang [1.12.4]

  Cannot satisfy dependency:

    From: Language files for com.sap.ide.ui5.team.ui 1.12.4 (com.sap.ide.ui5.team.ui.lang 1.12.4)

    To: bundle com.sap.ide.ui5.team.ui 0.0.0

 

I am not sure what I am missing. I need some experts help to fix this issue.

 

For Reference I am attaching my eclipse screen shot. I am getting this error with both Indigo-3.7 and Juno-4.2

 

Error.gif

 

Thanks,

Venu.

SSO with ABAP in Eclipse

$
0
0

To begin with, I'm quite new to SAP and have little to no knowledge in ABAP and the whole SAP environment. I must also say that, just from the looks, our SAP never made me want to look deeper into it - it just seems old and inconvenient. Nevertheless, I'm "testing" ABAP in Eclipse; so far I'm impressed. Compared to the rusty workbench, this finally seems like a modern IDE with many helpful features.

 

There is one thing that bugs me though: whenever a new SAP GUI instance is opened in Eclipse, I have to reenter username and password.

 

I've tried reading into possible solutions to this, but all I have found are descriptions of rather complex processes that require changes on the backend as well.

 

My question is actually simple: can I get around this without having to make changes to the backend?

 

We don't need a SSO solution for the standard SAP GUI Logon, just for ABAP in Eclipse.

 

Thank you for any hints, links or comments!

Receiving the problem report "This syntax cannot be used for an object name"

$
0
0

Hello dear ABAPers,

 

after falling in love with Eclipse and not using it for a while now, I receive the following problem report evey time I try to change a local class in my function pool:

 

Fehlermeldung Eclipse.png

since there are no details for this report and I can change all objects concerning my project except of the local classes defined in my function pool, I hope to find some help in the community.

 

best regards

 

Philipp

Error creating an ABAP project with ABAP Developer Tools 2.31.5 and SAPGUI 740

$
0
0

Context:

I have recently installed SAPGUI version 740 (7400.1.0.1093). Next to that I have installed Eclipse version Luna with the latest version of ABAP Developer Tools from

https://tools.hana.ondemand.com/luna(2.31.5).

 

Problem:

When trying to create a new ABAP project I get the following error:

Location 'C:\Users\xxx\AppData\Roaming\SAP\Common\saplogon.ini' does not point to a SAP GUI configuration file.

 

Question:

Since SAPGUI 740 a new type of configuration file is used: SAPUILandscape.xml

I have a local version of this file for own SAP Logon entries and a local server version for company SAP Logon entries.

How can I configure my ADT environment so it works together with SAPGUI 740?


when would SAP HANA Eclipse (ABAP) trial works on WINDOWS 10 !!!

$
0
0

When can it be possible to create ABAP Project on SAP HANA Trial Eclipse, to achieve a SAP BW 7.4 BO Design cloud installation on WINDOWS 10? Is there already some informations from SAP Team about it ? (Use Gui windows 7.20, minisap as 7.03 sp04 64 bit, Eclipse Luna 4.4)

 

Or is there actually a possibility to avoid the error (Microsoft DLLs VS2010, no sapco3 in java.library.path, no SAP directory in Eclipse preferences settings), which hinders the abap project creation, although hana studio works correctly.

 

Kind regards,

 

Bruno

Error after updating to AiE 2.28 - No login possible

$
0
0

Hello,

 

after updating my AiE Eclipse installation to 2.28 i can no longer login into our development systems.

 

An internal error occurred during: "Logging on to system .xxxxxx".

com/sap/mw/jco3/eclipse/Registry

 

error.png

Ideas to solve this issue?

 

Regards,

Christian

Can't run ADT on MacOSX

$
0
0

I've configure a VM with NW 7.40 for Eclipse.

 

Abap tools works fine, the problem is integration with SAPGUI for JAVA

 

--> Follow the error:

java.lang.NullPointerException

at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:234)

at: com.sap.platin.base.connection.GuiConnection$EmbeddedConnection.open(GuiConnection.java:1590)

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

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

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

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

at: com.sap.platin.embed.AbstractProxy.invoke(AbstractProxy.java:107)

at: com.sap.platin.embed.AbstractProxy.invoke(AbstractProxy.java:52)

at: com.sap.platin.embed.EmbeddedConnection$1.run(EmbeddedConnection.java:92)

at: java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)

at: java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)

at: java.awt.EventQueue.access$500(EventQueue.java:97)

at: java.awt.EventQueue$3.run(EventQueue.java:709)

at: java.awt.EventQueue$3.run(EventQueue.java:703)

at: java.security.AccessController.doPrivileged(Native Method)

at: java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)

at: java.awt.EventQueue.dispatchEvent(EventQueue.java:726)

at: com.sap.platin.micro.event.GuiEventQueue.dispatchEvent(GuiEventQueue.java:79)

at: java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)

at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at: java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at: java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

 

 

--> Program Versions:

MacOSX Version 10.11.3

Eclipse Version:

ADT Verision:

SAPGUI for Java Version: SAP GUI for Java 7.40 rev 6

 

--> Same error for Linux OS (Ubuntu)

 

Thanks and Best Regards.

 

Antelio I. Abe

 

Message was edited by: Caroleigh Deneen to remove email address

Use Select Options for CDS views in ABAP (Open SQL)

$
0
0

Hello,

 

I am new to CDS views in ABAP Dictionary so not sure whether my question is basic or complicated.

 

 

I want to create a CDS view in ABAP by joining 5-6 tables based on certain conditions and then retrieve the information from this view in my Report by passing the Select Options defined in the Report selection screen.

 

My Queries

 

a. Is the CDS view similar to a Normal Database view ?

 

b. Can I use IN select-option in my Open SQL statement to fetch information from CDS view ... e.g

 

   SELECT f1 f2 f3 from CDS-View into Internal-Table where f1 in so_f1

 

c. Is it possible to have a CDS view and code it similar to Procedure in HANA where I can make join on 2 tables and get the results in a Temp table and then again join the Temp table and a third table and fetch the results in Temp2 table?

 

 

d. If point c. is not possible in CDS view then my question is How can I pass a Select option (multiple options) to a AMDP Procedure and use that in my query to fetch the information from database

 

 

 

Regards,

Abhishek

Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml

$
0
0

Hi, I am following this tutorial:

 

SAP HANA Cloud Platform

 

"Installing SAP Development Tools for Eclipse"

 

configured my proxy settings (I am sure the data is correct, ip, port, user, password).

 

and go to Help, Install Software and paste the url SAP HANA Cloud Platform

 

 

 

and get this error:

 

Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.

Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

 

Any advice how to fix this error?

 

Thanks.

Short text in ABAP Doc Comments

$
0
0

Hi Everybody,

 

Is there any change to create and change method parameter short texts from eclipse adt (7.4. SP8) or is that a feature we've to wait for?

 

Regards,

Franz

Object Description in Project Explorer

$
0
0

Hi community,

 

Is there a possibility to show the object description like SE80 in project explorer of Eclipse?

DescriptionEclipse.jpg

DescriptionSE80.jpg


I believe it would be very helpfull to implement this feature if there is no possibility today.


To show the description at other places would be helpfull, too.

other.jpg


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)

no authorization to access resource /sap/bc/adt/activation

$
0
0

Hi,

 

Our developer is facing an authorization while activation 'No authorization to access resource /sap/bc/adt/activation. I have assigned below 2 roles to the user.

 

SAP_BC_DWB_ABAPDEVELOPER

SAP_BC_DWB_WBDISPLAY

 

This has access to /sap/bc/adt/abapsource/* /sap/bc/adt/activation, /sap/bc/adt/activation/*. To debug further, I ran a trace and got 2 missing authorizations

 

URI       : /sap/bc/adt/abapsource/occurencemarkers

type      : RF

name      : SADT_REST_RFC_ENDPOINT

Authorization Obj.

Authorization Obj.          : S_ADT_RES

 

URI       : /sap/bc/adt/activation

type      : RF

name      : SADT_REST_RFC_ENDPOINT

Authorization Obj.

Authorization Obj.          : S_ADT_RES

 

I'm confused as I see these values in the roles assigned. Is there anything I'm missing ?

 

Any suggestion will be of great help.

 

Regards,

Anil

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

error when run the eclipse first time

$
0
0

show this message:

 

未正确配置 ABAP 通信层。 这可能是缺少 Microsoft Runtime DLLs VS2010 所造成的。 请查询安装指南或下载页面以了解有关如何安装此组件的更多详细信息。

Native library sapjco3 is too old. Found library C:\Windows\System32\sapjco3.dll has version "720.612", but required is at least version "721.215".

 

but, i can get the newest version of sapjco is "720.612", where is to find the version "721.215". sap not udpate?

Viewing all 1215 articles
Browse latest View live


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