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: 

APIs for SE80 / ABAP WORKBENCH

Former Member
0 Kudos
289

Hi,

I need to connect an external software to the ABAP Workbench (SE80). So, are there any APIs providing at least read-only access to the ABAP Workbench objects like packages, function groups, function modules...?

Many thanks,

Konrad

1 ACCEPTED SOLUTION

SimoneMilesi
Active Contributor
0 Kudos
144

Hi!

I found this FM (expecially EDITOR_CALL) but they aren't RFC so you need to create your Z FM as RFC and in your Z FM call the FM you need.

C160_EDITOR_CALL_FOR_REPORT

EDITOR_CALL

G_RW_PROGRAM_EDITOR

9 REPLIES 9

SimoneMilesi
Active Contributor
0 Kudos
145

Hi!

I found this FM (expecially EDITOR_CALL) but they aren't RFC so you need to create your Z FM as RFC and in your Z FM call the FM you need.

C160_EDITOR_CALL_FOR_REPORT

EDITOR_CALL

G_RW_PROGRAM_EDITOR

0 Kudos
144

Thanks

> C160_EDITOR_CALL_FOR_REPORT

ok...

> EDITOR_CALL

Do you know how to use it? I provided an existing FM as input parameter and the result was an empty line with line number 1 and I was not able to get back (I had to close the window).

> G_RW_PROGRAM_EDITOR

Not sure how to use it either. I_REPORT_GROUP is mandatory and I do not know what to enter here...

Anyway, I was more looking for a functionality without GUI to read all existing objects and pass them to the external software.

Thanks,

Konrad

0 Kudos
144

Sorry, i don't use them, i just give a look at FM in sap repository.

0 Kudos
144

> Sorry, i don't use them, i just give a look at FM in sap repository. 😞

No worries

Can you at least tell me how you find them?

Thanks,

Konrad

0 Kudos
144

I go to SE37 write * EDITOR * (without spaces) and pressed F4 and then i give a look at the FM seems more interesting

0 Kudos
144

>

> I go to SE37 write * EDITOR * (without spaces) and pressed F4 and then i give a look at the FM seems more interesting

Ho did you know to use the word EDITOR (with wildcards)? Just a guess?

0 Kudos
144

Because SE80 and SE38 are editors for sap reports

0 Kudos
144

Do you need an editor or a repository objects access?

If first then you can use class cl_gui_textedit . Refer to standard program DEMO_CUSTOM_CONTROL .

Anyhow I don't think you would be able to address any GUI components via RFC. This is a GUI control, so is controlled by SAP GUI and corresponding proxy object on presentation server. Externally (beyond SAP GUI) it won't be available I think.

If the second you can use fm RFC_READ_TABLE to extract info via RFC about specific repository object. You just query tables like TADIR, TRDIR, TFDIR etc.

Regards

Marcin

0 Kudos
144

> Do you need an editor or a repository objects access?

As far as I know (I need to clarify this with our customer), I need access to repository objects.

> If the second you can use fm RFC_READ_TABLE to extract info via RFC about specific repository object. You just query tables like TADIR, TRDIR, TFDIR etc.

Thanks a lot. That is a good start. For now, this question is answered. If I need more, I will post again!

Best,

Konrad