Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

can't create ABAP program in ABAB Development Tools (ADT)

vladimir_ezopov
Explorer
2,587

Hello

I can't create any ABAP program in created package in ABAB Development Tools (ADT) on eclipse.

In the toolbar I choose File -> New -> ... and there are no 'ABAP Program', only ABAP Class, ABAP Interface, ABAP Package

If I use 'Click to perform' in eclipse tutorials, I got an error 'No authorization to create objects of this object type in the selected project.'

Please help me to create ABAP program

P.S.: I do step 1 at https://developers.sap.com/tutorials/abap-create-basic-app.html

9 REPLIES 9

Sandra_Rossi
Active Contributor
0 Kudos
1,335

Toolbar or context menu of created package?

don't you have the menu item "other abap repository object"?

Sathya_Gunasekaran
Active Participant
0 Kudos
1,335

Choose Other Repository Object and type 'Program' in the filter

1,335

I had try to use Other Repository Object but there no object Program too 😞

developerone
Contributor
0 Kudos
1,335

Which eclipse & development version or you using ? I see it in my menu. Since, you say you see the ABAP interface and package I'm sure you are in the ABAP perspective.

developerone
Contributor
1,335

You are on the steampunk environment. There are no programs here. No SAP GUI either. The code is written in classes.

The class should implement interface if_oo_adt_classrun.

Here is a sample 'Hello World' program for reference.

CLASS zcl_code_challenge_01 DEFINITION
  PUBLIC
  FINAL
  CREATE PUBLIC .
  PUBLIC SECTION.
    INTERFACES if_oo_adt_classrun.
  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.

CLASS zcl_code_challenge_01 IMPLEMENTATION.
  METHOD if_oo_adt_classrun~main.
    out->write('Hello World').
  ENDMETHOD.
ENDCLASS.

To run press F9.

0 Kudos
1,335

Hi Sai,

Do you have any idea how can we create Program Report or use SAP GUI in ADT when used on Trial system (id: TRL client : 800).

Thanks

Ishita

0 Kudos
1,335

Hi vladimir.ezopov,

When ADT is connected to trial account using system TRL_EN, there is no SAP GUI or creating programs provision in ADT.How did you go ahead with this then? Please help as i too am stuck up here, following the same tutorial you mentioned.

Thanks

Ishita

0 Kudos
1,335

Hi,

vladimir

click on sap gui as shown in below image and you can create abap program in eclipse (using tcode se38)

0 Kudos
1,335

This is not supported in the trial account system TRL