Application Development and Automation 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: 
Read only

Code information is not available ( for some classes)

Petr_Plenkov
Active Participant
0 Likes
1,465

Hi gurus,

Did anybody have the problem with ABAP element info view in Eclipse?

When I open it some classes show correct documentation, but in most cases I have message like: Code information is not available

This thing happened after ADT update so it's probably just a bug.

Importing ABAP doc from description doesn't help in this case. Documentation is not generated.

I also noticed It happens only in the case when i choose class decalration as source element.

Thanks!

1 ACCEPTED SOLUTION
Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Likes
1,354

Hi Petr,

currently the Elementinfo does not work on the definition part of a component, e.g. class declaration , method declaration. The element info is displayed only on usage level, e.g. CALL METHOD, CREATE OBJECT, CALL FUNCTION etc. But we are working on closing theis gap so that also on declaration the Elementinfo will be shown.

Does this help?

Regards,

Thomas.

9 REPLIES 9
Read only

Former Member
0 Likes
1,354

Hi Plenkov,

I also got this error when using the method RUN.

But the second time I clicked, the problem was not there.

I think it is only a bug; try running again and if it is still not working, raise an OSS.

Regards,

Ashvin

Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Likes
1,355

Hi Petr,

currently the Elementinfo does not work on the definition part of a component, e.g. class declaration , method declaration. The element info is displayed only on usage level, e.g. CALL METHOD, CREATE OBJECT, CALL FUNCTION etc. But we are working on closing theis gap so that also on declaration the Elementinfo will be shown.

Does this help?

Regards,

Thomas.

Read only

0 Likes
1,354

Thanks, Thomas!

Of course this helps. At least now I know the reason.

So there is no way to generate the documentation for the whole class excepted clicking method-by-method, isn't it?

Thanks.

Petr.

Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Likes
1,354

Hi Petr,

when you trigger the Elementinfo on the CLASS ... IMPLEMENTATION Statement you will see

the documentation of the whole class (restricted to public elements only):

Regards,

Thomas.

Read only

0 Likes
1,354

Great! That is exactly I was looking for!

That seems so obvious but I couln't get that myself even by using help.

Now I am satisfied 😃

Thanks!

Read only

0 Likes
1,354

Dear Thomas,

I appologize for worrying you again,

But could you advise how to generate the documentation for the ABAP class like in one click.

The point is: F2 popup for class implementation section doesn't contain parameter description.

What I would like to achieve is to have the full class generated documentation in one place with not just the components list but with the detailed explanation for every object like we have by clicking F2 on a certain element.

Thanks a lot!

P.S.: as I understand you're somehow connected with further ADT development. If you're do you have some backlog for suggesting new issues?

Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Likes
1,354

Hi Petr,

we are currently working exactly on that requirement that you can display the whole documentation of an ABAP class in one HTML page.

Do you know the new HTTP links for ABAP development objects:

http://scn.sap.com/community/abap/eclipse/blog/2014/09/25/improved-adt-links-or-how-to-display-your-... 

With these links you can visualize ABAP sourcecode in a web browser. We want to offer the same concept also for the ABAP Doc of the class.

Regards,

Thomas.

Read only

0 Likes
1,354

Hi Thomas,

Sorry for borrowing you again.

I really stucked with some stupid thing. I have generated ABAP doc but I can't copy-paste it directly to Microsoft Word.

I have copy option but it's copying just text without formatting.

Print option gives me opportunity to insert the image over PDF or Microsoft One note - but that's so inconvenient.

Could you suggest your best way how to do this the most easily.

Thanks a lot, master! 😃

Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Likes
1,354

Hi Petr,

I tried it on my own. I called the Elementinfo on a class via F2 and copied the content of the popup window in the clipboard. Then I pasted the content in a word document and it looked exactly like in the element info. Is that what you tried?

I used the latest AIE client against a 7.40 SP08 system.

Regards,

Thomas.