Implementing and Exposing a Background Callable Object

Hi,
I am following tutorial "Implementing and Exposing a Background Callable Object" of NWDS 7.1. I created implemented Java Enterprise Application and deployed. When i try to create Callable object in GP i am getting error saying "Cannot find this class name". Any solution for this please?
Thanks,
Songa

Hi,
I Have same problem, can anyone help me ?
I tried the tutorial example for creating "Implementing and Exposing a Background Callable Object". In NW portal, i received message, "Cannot find this class name", when i try create callable objekt.
Thanks,
Nicholas

Similar Messages

  • Implementing and Exposing a Web Dynpro as a Callable Object

    Hi All,
    I am new to guided procedures.I am trying to implement and expose webdynpro as a callable object in CE7.1.In the library i found the following steps
    In the Component Properties view of the component, open the Dependencies tab page and add the following DCs:
    1)GP-CORE  ® caf/eu/gp/api/wd (public part GPWebDynproCO) 
    2)GP-CORE  ® caf/eu/gp/api (public part external)
    3)ENGFACADE  ® engine.security.facade (public part default)
    Choose Next and make sure that Design Time and Run Time are selected for each DC, and Build Time is selected for each of the public parts listed above.
    But i could not find ENGFACADE  ® engine.security.facade (public part default)
    Can anyone please help me.
    Regards,
    Sudhir

    Hi sudheer,
    For this we need NWDI otherwise  for NWDS sp7, we need to add caf/eu/gp/api files and toplevel dc's  externally.
    Have you added them or not .(First you try to bring those API files to your local development and then you need to add them to your DC).
    After that we need to select them for the development component >DC Meta data> used dc's .Here  select
    1)caf/eu/gp/api>Dc metadata>Public parts-->external
    and
    2)caf/eu/gp/api/wd
    3)From Local development>SAP_JEE>com.sap.security>api>sda
    Along with this you need to select the dependency type.
    Once you added API you'll be able to see those under used dc's and check their properties.There whatever dependency's you've selected , they  should be enabled  TRUE. Otherwise try to edit the used dc's by Right clicking on it and edit Used Dc's properties and make those dependency's like design time,build time and runtime as true.
    Make sure that you've added caf/eu/gp/api under library references.(DC properties>WebDynpro references>Library references-->add here and apply them.
    Please follow these steps and try to deploy your WD application.I hope you'll be able do it.
    Regards,
    Sitara

  • GP Background callable object. Error while making a Callable object

    Hi,
    I have implemented a Background callable object and deployed it to the server.
    When I try to make a Callable object of this from the Design Time tab in GP, i get the following error msg.
    *Class does not correctly implement the required interface*
    The detailed error msg is as follows
    Full Message Text
    Unable to load the required classes. Check all the references to other modules, especially the GP API
    com.sap.caf.eu.gp.base.exception.EngineException: Unable to load the required classes. Check all the references to other modules, especially the GP API
    at com.sap.caf.eu.gp.model.svc.impl.EngineClassloaderImpl.isClassAvailable(EngineClassloaderImpl.java:101)
    at com.sap.caf.eu.gp.ui.co.config.bkgd.COCfgSelect.OnCanLeaveScreen(COCfgSelect.java:293)
    Pls help.
    Tx in advance

    The problem was resolved after retrying many times. Code was checked again and redeployed. Server restarted as well. GP objects deleted and steps repeated. It worked in the end.

  • Background callable object :Error

    Hi,
    I created one background callable object in webdynpro,
    to be called from GP design time.
    I have done this using the tutorial :
    "Implementing Background callable object"
    Deployement finished successfully.
    But from GP design time, while creating callable object
    of type backround execution,  I selected,
    container type : library
    container : apibckg(deployed DC of type J2ee server
               library)
    implementation class name : the java class which implemented background callable object.
    But error in gp: is
    "Cannot find this class name"
    In webdynpro after building the project I got the warnings:
    Nov 3, 2006 11:57:13 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] WARNING: apibckg: built with warnings sap.com/apibckg(MyComponents) in variant "default" (1.406 sec)
    can any bdy help me
    thanks
    smitha

    Hi Smitha,
    You just need to repeat the steps described in the tutorial, i.e. define the references and create a class that implements the GP Background callable object interface.
    Don't forget to define the sub-type of the library in the .dcdef file.
         <component-type>
              <vendor>Your vendor</vendor>
              <type>Java</type>
              <sub-type>Library</sub-type>
         </component-type>
    Then add a new empty file named "build.vm" under the folder "cfg". Add the line "#BuildSecondaryLibrary()".
    Then build and deploy. It should be there.
    Regards,
    David

  • "cannot find this class" erro while creating Background Callable Object.

    Hi All,
    I am facing "cannot find this class" while creating Background Callable Object.
    I followed the following document for Creating Background Callable Object.
    [Creating Callable Objects for Background Execution|http://help.sap.com/saphelp_nwce10/helpdata/en/53/cde385301f4aa3b8e77a92cd46bff3/frameset.htm]
    After giving the fully qualified java class name in the Implementation Class Name when i press next i am getting the error.
    Please suggets me in solving this issue.
    Regards,
    S.V.Satish Kumar
    Edited by: Sathish Kumar SV on Apr 4, 2009 10:34 AM

    Hi, kavita.
    First, make sure you choosed the correct container when you created the background CO.
    Second, make sure your package name was "com.examples.bckgco" and class name was "UserDetailsCallableObject". The exception  which you got just means you entered incorrect name.
    It doesn`t relate to your program.
    Best Regards.
    Louis Huang.

  • GP / Background Callable Object / KM

    Hello,
    I have implemented a background callable object ("IGPBackgroundCallableObject"), which will be used by a GP.
    I need to create new resources in KM, but I don't know how.
    Hope anyone can give me some clues.
    Regards.
    Mathieu

    Hi,
    Thanks for answering.
    I have already done some dev with KM API (repository filters, km services, etc), but it's my first one with CAF.
    My problem is that I thought I could use "ResourceFactory", "Resource", etc, but I don't know how to import them in my project.
    For example, when I develop a KM service, I just add the jars I need to my "par" project, here I create a new "development component", and I tried to add some "Used DC" but I don't know which one I have to add...
    I hope it's clearer.
    Mat'

  • Background callable object :  can not find this class name

    Hi All ,
                  I am following this tutorial link for creating background callable object
    http://help.sap.com/saphelp_nwce10/helpdata/en/9a/e8934258a5ca6ae10000000a155106/frameset.htm
    I have created java and enterprise application DC and deployed successfully. But while creating CO in design time when i am selecting application and entering class as com.examples.bckgco.UserDetailsCallableObject  for Implementation Class Name , and on click next i m getting exception as  "can not find this class name".       package and class name are correct still getting this excetpion message. Plz help me to resolve this solution.
    Regards
    Kavita

    Hi, kavita.
    First, make sure you choosed the correct container when you created the background CO.
    Second, make sure your package name was "com.examples.bckgco" and class name was "UserDetailsCallableObject". The exception  which you got just means you entered incorrect name.
    It doesn`t relate to your program.
    Best Regards.
    Louis Huang.

  • Problem with Background Callable Object

    Hi All,
    I am trying to create a background callable object in GP. From my understanding and according to the help document here is what I did:
    - Generated a deployable proxy development component using the Top down approach.
    - Created a Java Development component which implements the interface IGPBackgroundCallableObject. This Development component has the proxy object generated in Step 1 in the Used DCs. Internally this class does a JNDI lookup to the deployed Webservice Client and executes the webservice. Then I add this class as a public part in the Development Component.
    - Create a J2EE Library that has the public part of the class generated in Step 2 as the Used DCs.
    - Deploy the Library and use that in the GP Design time to create the Callable object.
    Following are the problems that I am facing:
    - The Java class that consumes the deployable proxy does not seem to recognize the classes that are present in the proxy object. Even though there is a reference to it.
    - If we try to include the proxy project in the Java Build path of the class it simply removes the link at build time.
    - At one instance it somehow succeeded during the build phase and I deployed the library to the J2EE engine but while testing the callable project it came up with a NoClassDef exception. Basically it was unable to find the proxy object’s classes.
    I am not sure if I am doing anything wrong or the process that I am following is not right. I would appreciate if anyone could help me understand what the problem is and how do we go about achieving the above scenario.
    Best regards,
    Sudhi

    Hi Jorgen,
    This behavior is completely normal. It can seem awkward but what you described is somehow logical.
    Let's say you have three actions, the second one is the email notification. When completing the first action, the second action is triggered. As it is a background callable object, it is put into the queue and wait for processing. As the refresh of the screen is faster than the processing of the callable object, the next action (the third) is not yet active/ready to be processed.
    When the email is sent (i.e. the background callable object executed), a callback takes place and the next activity is triggered. Then, the 3 action is active and can be shown.
    Due to technical restriction of Web Dynpro, it is not possible to refresh the screen when the action is ready to be processed. The user has to refresh it explictly.
    With SP12, the processing of the queue has been improved and it's much more faster than before. The "problem" you noticed shouldn't be there anymore.
    Hope this helps.
    David

  • Model in Background callable object

    Hi Gurus,
    Currently we have an application where a Scheduled background callable object is used , that does some table updation to SAP R/3 backend. Now all the connection parameters are maintained in property files and JCO connection is created through java coding and with JCO API. Is there any possiblity to used Model in Background callable object so that , we could have used our common jco destionations and connections . Please suggest.
    Thanks in Advance.
    Tony Isaac.

    Couldn't find a solution, in this case a new solution was developed which then had nothing to do with the callable object.

  • Web Services as Background Callable Objects?

    Hi everybody,
    is it possible to use an Web Service as an Background Callable Object? And if it is possible, how can I do it?
    For your background: If the Web Service throws an Exception, I want to handle it. My goal: The next step after finalizing the exception handler action will be the
    action (WebService) that reported the exception. Or is there any other possibility? 
    Thanks,
    Stefan

    Hi Stefan,
    For repeating the WS Call after the exception handler, you can use the "repeat" strategy. When defining the exception handler, you can choose between "continue" and "repeat".
    Check this page : <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/10a066e3650d19e10000000a114a6b/frameset.htm">Exception Handling in GP</a>
    For using Web Service as Callable Object, check this out! <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/44/4758351fcb1193e10000000a155369/frameset.htm">WS in GP</a>
    When specifying repeat, the action will be started again. If continue, the next action will be processed.
    Hope this helps,
    Best regards,
    David

  • Implementing a Web Dynpro Java Callable Object in GP using a R/3 Model

    Hi to all,
    my scenario is that I have to Implement a WD Java Callable Object (as descripted in this example https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814) but I want to get datas from an R/3 system with a RFC Model.
    I tried but I have some problems how to use the model itself. Can someone help me, please?
    I'm using NWDS 7.0.
    Thank you very much,
    Antonio

    Hi Antonio,
    Go through this link https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=externalservicesusing+RFC&adv=false&sortby=cm_rnd_rankvalue  and find "Consuming RFC Function Module Using Guided Procedures" Application
    Thanks,
    Nataraju

  • Implementing a Web Dynpro Java Callable Object in GP using a Model

    Hi to all,
    my scenario is that I have to Implement a WD Java Callable Object (as descripted in this example https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814) but I want to get datas from an R/3 system with a RFC Model.
    I tried but I have some problems how to use the model itself. Can someone help me, please?
    Thank you very much,
    Antonio

    Hi,
        I thin k u have imported the RFC Model into the Workspace .
      Declare the usage of model in the component .
    then do model binding between the component controller and the Model Nodes.and finally the model binding with the component Controller and the View .
    in the Doinit method of the component Controller ,
    create the instance of the model and excecute the model.
    and finally invalidate the Response node of the Model.
    For further pleasde verify the link.
    [http://help.sap.com/saphelp_nw04/helpdata/en/d5/1558bfa6aa80499113983e738b1b21/frameset.htm]
    thanks and regards
    Fistae

  • Accessing httpSession in GP background callable object?

    Hello Everybody,
    I’d like to manipulate the httpSession Object in the Portal Session out of an GP BackgroundCallableObject. Can anybody give me an hint how to solve this problem?
    Thanks in advance
    Robert

    Hi Robert,
    maybe you should try to use the Callable object type "Portal iview or page" in the GP-Designtime and embed it into your GP-process.
    But you have to consider that there are some restriction with regards to the possibility defining input and output parameters depending on the iview type e.g. BI or SAP transaction iview:
    If you selected a BI or SAP Transaction iView as the portal-callable object, you cannot define input parameters. To define input parameters for BI Queries, BI Web Applications or SAP Transactions, use the BI or SAP Transaction callable object.
    If you selected an iView created with Visual Composer ,the input parameters are automatically rendered and displayed. You cannot define the parameters manually.
    Hope this will help to proceed successfully
    Regards
    Berndt

  • Background callable object for BAPI

    Hi Everyone,
    I have a requirement wherein a BAPI call should be an intermediate action in a GP process.
    I need to fill in some fields in an interactive form which is in the preceding action, the fields on being mapped to bapi input will be passed on to this bapi, after the bapi call a notification (third action) will be sent out to all process contributors . All these three actions are done by the same role. I am able to use BAPI external service CO successfully when its the beginner action in any process. But on being an intermediate action it doesnt execute. I am new to GP and I dont know of any alternative methods.
    Experts plz guide.
    Thanks,
    Lisha

    Hi Lisha,
    please refer to the following link:
    [Tasks|http://help.sap.com/saphelp_nwce10/helpdata/en/71/f0944279c0c66ae10000000a155106/content.htm]
    following the sublink:
    [Integrating offline and form based activities|http://help.sap.com/saphelp_nwce10/helpdata/en/44/d44bea51103ee1e10000000a114a6b/content.htm]
    You should focus on the topic "Creating and configuring forms" in special:
    "Building a Form Context"
    "Dynamic Forms".
    Please be aware that in NetWeaver 7.0 (2004s up to SP13) the CO Composite Form were called CO Interactive Form. But basically the functionality "Building a form Context" remained the same, although named a bit different.
    As I don't know which SPS you are working with and whether it is NetWeaver 7.0 or CE, please come back to me if you need further explanations.
    Hope this will help to proceed your work.
    Kind regards
    Berndt

  • NWDS setup for exposing web dynpro as callable object

    Hi
    I need help in understanding how to set-up my NWDS 7.0 environment, so as to implement and expose a web dynpro as callable object in Guided Procedure. I tried following some of the weblogs in the SDN but I get stuck at the step where depencencies to DC's caf/eu/gp/api/wd & caf/eu/gp/api etc. is to be done.
    It appears that NWDS 7.0 does not come with GP DC's.
    My NWDS version is 7.0.09 & in have NW 2004s.
    Thanks
    Vijendra

    Hi
    I need help in understanding how to set-up my NWDS 7.0 environment, so as to implement and expose a web dynpro as callable object in Guided Procedure. I tried following some of the weblogs in the SDN but I get stuck at the step where depencencies to DC's caf/eu/gp/api/wd & caf/eu/gp/api etc. is to be done.
    It appears that NWDS 7.0 does not come with GP DC's.
    My NWDS version is 7.0.09 & in have NW 2004s.
    Thanks
    Vijendra

Maybe you are looking for

  • Is there a way to force close

    Open View Sets are not closing when reports close. Is there a way to force close view sets without bouncing the BAM-Server? I running v11.1.1.3 on WLS 10.3

  • Hi I don't have a computer or a laptop to install the cd software into,for my Deskjet 2540

    I want to do this wirelessly,I had the printer connected to my iPad but now it's gone from the iPad,I don't know how to get it back on haven't even had a chance to use the printer,there has to be a way without useing a computer or laptop,please help

  • Touch up tool stops working

    Hello everyone. Strangest thing keeps happening to me. From time to time the touch up tool simply doesn't work on some photo's. If I try a different photo it is fine. Go back to the one it didn't work on, and it still doesn't work. But, if I clone th

  • No option for keyboard backlight or illumination

    no option for keyboard back light  in system preferences and my f5nf6 keys are not working either with a late 2011 macbook pro 13in with osx 10.8.5

  • [SOLVED]Yaourt aborting

    Hi everyone im back to arch linux again and i tried makepkg -s and this is what i got Code:[arch128@iSrosh128 yaourt]$ makepkg -s ==> Making package: yaourt 0.10.2-1 (Mon Dec 19 16:09:16 PST 2011) ==> Checking runtime dependencies... ==> Checking bui