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

Re: WebdynPro Callable object implementation

Hi Gurus,

I am new to CAF GPs. While doing an application regarding

"Implementing WebdynPro Callable objects in GP".....in the Design Time for creating technical description i am using this piece of code..........

IGPTechnicalDescription technicalDescription = TechnicalDescriptionFactory.newTechnicalDescription("CO_NAME","CO_DESCRIPTION",resourceAccessor,locale);

My problem is its showing error like "TechnicalDescriptionFactory cannot be resolved."

For your reference i am including the link for my application's document

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bf45657a-0601-0010-0ca9-98d6ac940e7f

The below information i found in help.sap.com

Create technical description.

The technical description is created through the TechnicalDescriptionFactory.newTechnicalDescription() method. It requires resource accessor and original locale, as well as resource keys for the localizable name and description of the callable object.

I have reference for GPWebDynproResourceAccessor but i didnt understand what the others are.

Please solve my issue...i am desperately in need of it.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 06:27 AM

    Hi,

    Refer this link

    http://help.sap.com/saphelp_nwce10/helpdata/en/de/8976417f2d5558e10000000a1550b0/content.htm

    Make sure the below dependencies are added

    Local Development ® GP-CORE ® caf/eu/gp/api/wd (public part GPWebDynproCO)

    Local Development ® GP-CORE ® caf/eu/gp/api (public part external)

    Local Development ® ENGFACADE ® tc/je/usermanagement/api (public part api)

    For TechnicalDescription import

    import com.sap.caf.eu.gp.co.api.IGPTechnicalDescription;

    Then

    IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();

    GPWebDynproResourceAccessor resourceAccessor =

    new GPWebDynproResourceAccessor(textAccessor);

    IGPTechnicalDescription technicalDescription = GPCallableObjectFactory

    .createTechnicalDescription("CO_NAME", "CO_DESCRIPTION",

    resourceAccessor, locale)

    where textAccessor is your component textAccessor so that you can give your callable object name in the Message Pool and access it using

    textAccessor.getText("CO_NAME");

    Edited by: Sudhir Gorantla on Jun 18, 2008 8:28 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 10:57 AM

    Hi Uday,

    Please go through my article, it might solve your problem:

    [How to Integrate Two Web Dynpro Applications Using CAF GP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/e0957cb6-5103-2a10-6d9d-a0a4d68c8bf1]

    Bye

    Ankur

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:06 AM

    Hi Sudhir,

    Thankz for your reply..........its very useful and moreover the best and exact solution...

    Once again thank you for your support.

    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.