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

Accessing ADT service for Web Dynpro

$
0
0

Hi all,

 

I have been looking into downloading the source code for Web Dynpro components via the ADT services. I want to pull code into a tool to compare the code between systems and versions.

 

To download the code for a Web Dynpro component controller I do a GET to this URL:

 

http://sap-server.net/sap/bc/adt/wdy/componentcontrollers/my_wda_comp/componentcontroller/source

 

That's the URL that Eclipse uses according to ABAP Communication Log, and for Eclipse this works just fine. However, when I try a GET to same URL via browser or a tool such as Postman, I always get a 404 and "No suitable resource found". From debugging, it seems that the ADS services register themselves without the "wdy" in the URL, so if I remove this in debugging it actually works. However, if I simply GET the URL without "wdy" from Postman, the ADT BADI won't resolve and it does not work.

 

So the question is, why does this apparantly work from Eclipse and not when I do it from Postman?

(BTW, other ADT services work just fine, for instance for reports and classes. )

 

Hope this made some sense and that you can help out, thanks!

 

Best regards.

Frank


The Bex query not appearing in Unassigned node when you use @Analytics.query:True

$
0
0

Hello,

 

I recently updated ABAP in Eclipse plugin. After i did the update, the Bex query that gets generated by using annotation @Analytics.query:True in ABAP CDS view is not appearing in unassigned nodes. Please help.

 

Thanks and Best Regards,

Govind

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

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

eclipse stop when I try to create new abap project

$
0
0

Hi, everyone.

 

When I try to create new ABAP project in Eclipse, Eclipse totally stop with no error message.

And I have waited quite long time, it doesn't work at all. (Memory is enough to run program.)

So that I inevitably have to force-quit Eclipse, and can not create ABAP project.

 

I re-installed all the Eclipse and ABAP tools extension, it was same.

Anyone who have had same problem before?

 

 

below is my development environment

---------------------------------------------------

Mac: OSX Yosemite 10.10.5, 1.7 GHz, 8 GB

SAP GUI: 7.40 rev2

Eclipse: Luna 4.4.2

java: 1.8

ABAP tools and HANA tools are from https://tools.hana.ondemand.com/luna

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

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)

Source Format Issue

$
0
0


Good morning.

 

I started encountering odd behavior from the source formatting feature in Eclipse.  It is my habit to use Shift + F1 to format my ABAP code and it has been working flawlessly.

 

However, just yesterday, I began getting some odd results.  Not every row, but on selected rows, the pattern of which I cannot determine, the formatter forces the code to lose its indentation, when it shoudl be indented.  Again, this does not happen for every row, just a few.  When I manually indent the row and use the formatter, it forces the same row back to the far left margin.  Repeating the formatting does not correct the issue.

 

format_issue.gif

 

I've searched and cannot find where anyone else has encountered the same behavior, nor have I downloaded any updates to Eclipse or anything else in weeks.

 

Has anyone else seen this or know how to correct it?

 

Thank you,

Justin


Use BOPF with ABAP in Eclipse?

$
0
0

Hi,

 

I want to investigate the great possibilities of BOPF in ADT.

After trying to create a new BOPF Business Object I received the error "Development object type is not supported....".

 

1.png

 

We currently running 7.40 SP12 on EHP7.

SAP_BASIS         740 SP0012

SAP_ABA            740 SP0012

SAP_BS_FND      747 SP0010

 

Does this version not match the minimum requirements to develop BOPF - Objects in ADT?

 

Regards,

Christian

Define function as remote enabled module

$
0
0

Hello

 

I have not found a way to define a function as 'remote-Enabled Module' in Eclipse.

Is this possible, or do I have to use R3 to accomplish this ?

 

Thank you

Koen

Unable to connect SAP systems from Eclipse

$
0
0

I am just trying to move from SE80 to Eclipse for ABAP developments.

 

I installed Eclipse followed by installtion of ABAP development tools using https://tools.hana.ondemand.com/juno as source of software tools.

 

I am unable to connect SAP

 

systems which are already available in SAP logon pad. I can see systems while creating new project but when I am trying to login into system using correct credentials eclipse is throwing error.

 

I am putting all details below.

 

Please help me in getting a solution of this problem.

 

Thanks.

 

Error which is occuring -

scn2.JPG

 

Eclipse Version - 4.2 Juno

 

System Details:  Please note there is some warining regarding SNC but I am not sure that is this creating some problem.

scn1.png

 

Network connection preferences in Eclipse

scn3.JPG

 

Below is Trace of Eclipse -

 

**** Error file opened at 20131220 090633 India Standard Time Rel 3.1.0
Embedded (2013-01-25) [721.44]

Error:  >Fri Dec 20 09:06:33,457<   
RfcException: [null]
   
message: Connect from SAP gateway to RFC server failed

Connection parameters:
TYPE=A DEST=ED1_110_rbagaria_en
ASHOST=170.167.250.16
YSNR=00
PCS=1
LOCATION    SAP-Gateway on host sap-ed1ci.np.XXXXX.com / sapgw00

ERROR       timeout during allocate

TIME        Fri Dec 20 03:37:27 2013

RELEASE     721

COMPONENT   SAP-Gateway

VERSION     2
RC          242

MODULE      gwr3cpic.c

LINE        2164

DETAIL      no connect of TP sapdp00 from host 170.167.250.16 after 20 sec

COUNTER     3

   
Return code: RFC_FAILURE(1)
   
error group: 102
   
key: RFC_ERROR_COMMUNICATION

 

 

Below entries are in host file

sapmsED1 3600/tcp

sapmsES1 3602/tcp

 

Message was edited by: Florian Henninger Question was marked as assumed answered. Please close the solved questions to help yourself and everybody other.

Debugging RFC

$
0
0

Hello

 

In a web application I use an Odata service method, e.g. getPersons in a ZCL_MYAPP_DPC_EXT class. In this method I use a remote function call (RFC) do retrieve data in a database on another system.

I set a breakpoint in the getPersons method and in the function that is called by the RFC on the other system.

Eclipse does not stop at the breakpoint in this last function.  In R3, this works as it should.

 

Does anyone know if (and how) this can be done in eclipse ?

 

Thank you

 

Koen

Error in installation of ABAP Development tools for SAP Netweaver in Eclipse

$
0
0

I am trying to install ABAP Development tools for SAP Netweaver in Eclipse  and getting below error.

 

 

"Installing Software" has encountered a problem.

An error occurred while uninstalling

 

session context was:(profile=hdbstudio, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.sap.ide.support.feature_root.win32.win32.x86_64 1.13.3 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).

Backup of file C:\Program Files (x86)\SAP\hdbstudio\collectSupportInformation.bat failed.

File that was copied to backup could not be deleted: C:\Program Files (x86)\SAP\hdbstudio\collectSupportInformation.bat

 

https://tools.hana.ondemand.com/luna :- I am using this path in Install new software option of HANA Studio.

Also, tried the mars one as per the document SAP Development Tools for Eclipse.

 

But, same error occurs.

 

Kindly help in fixing this issue

Failed to create the part's controls

$
0
0

Hi folks,

 

I have SAP HANA Studio - Revision installed (Failed to create the part's controls), I have SAP GUI 7.30 patch 10 installed. Yet when I try to debug an ABAP program or open SAP GUI window from SAP HANA studio, I get 'Failed to create the part's controls' error in SAP HANA studio. I have repeatedly reinstalled SAP HANA studio, did not help.

 

Do you have any idea, what could be the reason and how to fix it?

Thank you.

Best Regards,

Jan

Revision comparison: method part only

$
0
0

Hi colleagues,

 

In SE80 you are able to compare the revision of each method in the class.

I think in AiE you can only compare the whole class. Can we compare a method section only?

 

Why?

Sometimes you are working in a specific method only and you want to know how the method was changed over the time.

Comparison the whole class will results too many revisions.

 

Thank you and best regards,

Steve


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)

SAPGUI Integration not functioning since upgrade to ADT 2.58

$
0
0

Hi,

 

I upgraded ADT in eclipse to version 2.58.0 yesterday. Since the upgrade, if I navigate to any object that requires SAP GUI integration to open or click the 'open SAP GUI' button or press ctrl-6, I'm taken to the SAP GUI logon screen with an error message 'Fill in all required entry fields'. All this worked prior to the upgrade and I've changed no settings. This happens for all projects and all systems.

 

Log in to the projects seems to be working otherwise as I can navigate around in the project explorer and open any objects that don't require the GUI integration.

 

Has something changed in the new version that may have stopped this from working? We use SNC on all our systems and, as I say, the connection settings have not been changed for any of the projects since the integration was working in the previous version I was using (2.54.8).

 

One observation I have made is that the language field doesn't appear to be copied over to the login correctly. The language is set to EN in the connection settings as in the following screenshot...

 

Logonsetting.PNG

but when the SAP GUI integration attempts to log you in, you are left at a failed log in screen and the language field only shows E. Maybe there's some some translation function at work here which kicks in and changes the value from EN to E, I'm not sure, but I wouldn't normally see this screen as the SNC would normally skip straight past it...

 

Error.PNG

 

Just for reference, the rest of the connection settings for this particular project are as follows...

NewProject.PNG

and I'll repeat again that these are the known good working settings that I was happily using in ADT 2.54.8 and prior versions. Nothing has changed here and I'm getting the same issue in all my other projects too which connect to numerous different systems and have also not changed since the upgrade. I'll also reiterate that the log on to all these projects seems otherwise to be working allowing me to browse and open development objects in the eclipse based editors.

 

It's also probably worth noting that my SNC logon to these different systems via the SAP GUI Logon pad (using the same configuration settings) is also working fine.

 

I hope someone can shed light on what is going on here!

 

Cheers,

Tom Buxton

Are debug scripts available in eclipse?

$
0
0

As the title says, I was wondering if debug scripting is available in the Eclipse debugger. If so, could anybody direct me on how to use it?

ADT 2.58: An internal error occurred during: "Loading transport requests...". Parameter "uri" must not be null

$
0
0

Hi,

 

After installing ADT 2.58 I got the following error when I click on transport request in the transport organizer tab:

ADT1.JPG

An internal error occurred during: "Loading transport requests...".

Parameter "uri" must not be null

 

There is no dump in the backend.

 

Version: Mars.2 Release (4.5.2)

Build id: 20160218-0600

 

ADT versions in detail:

ADT2.JPG

 

This SAP Note was also installed:

2185682Error regarding loading transport requests in Transport Orga

 

Current BASIS level in the backend:

SAP_BASIS7400007SAPKB74007SAP Basis Component

 

I don't think it's a backend issue, because it worked fine before installing 2.58.

 

Thanks,

Peter

Failed to create the part's controls

$
0
0

Hi folks,

 

I have SAP HANA Studio - Revision installed (Failed to create the part's controls), I have SAP GUI 7.30 patch 10 installed. Yet when I try to debug an ABAP program or open SAP GUI window from SAP HANA studio, I get 'Failed to create the part's controls' error in SAP HANA studio. I have repeatedly reinstalled SAP HANA studio, did not help.

 

Do you have any idea, what could be the reason and how to fix it?

Thank you.

Best Regards,

Jan

Viewing all 1215 articles
Browse latest View live


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