Skip to Content
author's profile photo Former Member
Former Member

using PDK classes in a WebDynpro DC

I want to access some PDK classes from a Web Dynpro DC. It seems that the only way to access them is through Used DC. Anyone knows where the PDK DC is and the steps to do this?

I have SP9 and I would like to access the following portal packages:

com.sap.portal.pcm.system

com.sap.portal.directory

com.sap.portal.pcm.admin

com.sapportals.portal.prt.jndisupport

Thanks!

Helen

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 04, 2005 at 06:34 PM

    Hi

    You will have to create a DC. Add the required Jar files to your DC and expose it as a public part.

    Then use this DC in your WebDynpro DC as a used DC.

    That should help you.

    regards

    ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2005 at 06:54 PM

    Hi Xianggun

    1. In Eclipse create a variable as follows

    Preferences-->Java -->classpath variables

    Choose New on right hand side and create a variable.

    Give the path of the one of the jars in your list

    2. In the DC where you want to use these jars, right

    click on the DC, choose properties/java build

    path/libraries tab.

    Click on Add Variable and click on the variable you have

    created in step1 and extended the same to other PDK jars.

    Let me know if you require furthur help.

    Kishore

    Add a comment
    10|10000 characters needed characters exceeded

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.