Skip to Content

How to use SAP ECTR OSGi

Dear all,

I wanted to use the SAP ECTR OSGi for adding new tabs to the Object Browser but I'm not really sure how to do this. I checked the wiki

https://wiki.scn.sap.com/wiki/display/PLM/How+to+implement+a+custom+tab+in+the+Object+Browser

and also checked the plm-api-javadoc.zip under <InstallDIR>basis\toolkit but it is still unclear for me how exactly to implement OSGi.

Does anybody has experiences with SAP ECTR OSGi and can help out?

Thanks!

Regards
Atith

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 29, 2019 at 03:44 PM

    Hello Atith,

    there are lot of OSGi examples for ECTR on github:

    https://github.com/dogoodthings/

    for Object Browser tab please take a look at

    https://github.com/dogoodthings/OSGiExamples-OBTab-Part5

    With kind regards,

    Waldemar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 31, 2019 at 08:09 AM

    Hi Waldemar,

    thanks, that helped!

    One more question if it's ok for you…

    How to debug this maven OSGi application? I checked some Stack overflow postings, but didn't had success so far. Do you have experience with that?

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Atith,

      unfortunately, there is no simple answer because it depends on many things.

      Generally speaking, you have to run the whole ECTR application in a debug java session, using java remote debug capabilities. The setup is different in every java IDE so you will have to figure it out how to do it in your IDE.

      For me i decided to just use "excessive" logging using PlmLogger instead of debugging.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.