2010 May 11 9:53 AM
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
2010 May 11 10:04 AM
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
2010 May 11 10:04 AM
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
2010 May 11 10:32 AM
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
2010 May 11 10:36 AM
Sorry, i don't use them, i just give a look at FM in sap repository.
2010 May 11 11:00 AM
> 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
2010 May 11 11:03 AM
I go to SE37 write * EDITOR * (without spaces) and pressed F4 and then i give a look at the FM seems more interesting
2010 May 11 11:09 AM
>
> 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?
2010 May 11 11:11 AM
2010 May 11 11:14 AM
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
2010 May 11 11:23 AM
> 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