Web Dynpro Callable Object : use of RFCs

Hi All,
I've to create a callable object using Web dynpro.
In this web dynpro to display a table data populated by calling RFC and we need to select one row of the table and sent it as output parameter.
My question is how we gonna set the getDescription Method in this case for creating the Callable Object?
How we define the execute Method in the Interface Controller.
Where I should bind the Model to Controller (Component Controller / Interface Controller)
Can someone explain how we gonna use RFC in Web dynpro while calling it as Callable Object.
Thanks
Srikant

Hi,
You need to have the SCs for local development of Web Dynpro callable object.
Refer the following documents for more details:
<a href="/people/andre.truong/blog/2006/06/26/working-with-the-apis-of-caf-guided-procedures-nwdi-or-local-development with the APIs of CAF Guided Procedures: NWDI or Local Development?</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f7be53bb-0b01-0010-1c96-be3cb6799c1b">How to Get NW04s SP7 Guided Procedure APIs for Local Development</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814">Implementing a Web Dynpro Callable Object</a>
Let me know if this solves your issue.
Thanks,
Dipankar

Similar Messages

  • Error testing Web Dynpro Callable Object (GP Interface)

    With reference to thread:
    Interactive form as  Callable object error on testing the object.
    FYI, I'm running NW04s, EP 7.0 SPS 13, JDK 1.4.2_14, Unix OS
    Hi All,
    I have created a Web Dynpro App with a Adobe Form as the frontend. I have included the caf/eu/gp/api as a DC and implemented the IGPWebDynproCO interface. Next I created a Web Dynpro Callable object in GP and ran a test and received the following error:
    Result: Technical Exception
    Details: Could not create web dynpro callable object component
    Output Parameters
    Callable object implementation did not return  output parameters
    Can anyone help me resolve this? Do I have to make a manual entry in the HOST file? If so, what is that entry? Are there alternatives?
    Thanks
    Kunal.

    Hi,
    For creating WD callable object you need to add following three DC in your WD DC project.
    In the Web Dynpro Explorer of the Web Dynpro Perspective, expand the node DC MetaData -> DC Definition, and select Used DCs.
    a.      To create a DC dependency, open the context menu and choose Add Used DC.
      b.      Select Local Development  -> SAP-EU  -> caf/eu/gp/api/wd  -> DC MetaData  -> Public Parts  -> GPWebDynproCO. For Dependency Type, select Build Time, Design Time, and Run Time. Choose weak from the dropdown list.
      c.      Repeat the previous step to define a dependency to DCs SAP-EU-> caf/eu/gp/api (public part external) and SAP-JEE -> com.sap.security.api.sda (public part default).
    You need to do one more thing like bellow.
    Select your Web Dynpro project and open its context menu. Choose Properties.
    1. Choose Web Dynpro References -> Library References.
    2.  Add a reference for library caf/eu/gp/api.
    I think this will help you.
    Thanks
    Chandan

  • Life cycle of a web dynpro callable object

    What is the life cycle of a web dynpro callable object.
    Means when that Web dynpro callble object is used in a GP process which method of that component called first and what is the sequence of the method execution in that.
    Can anyone please explain me.

    Sorry ritu there was one mistake in the above two replies.
    The actual execution of the methods when a callable objects is get executed is as following
    1.component controller's  init() method
    2. interface's  init() method
    3.view's  init() method.
    4.interface's execute() method
    5.view's wDoModifyView() method.
    If you want to change anything on your view according to the change in the interfac's execute method.
    Then you have to do that coding in view's wDoModifyView() method.
    with regards
    shanto aloor.

  • Date type attribute in web dynpro callable object

    Hi all,
    I am creating a callable object with date type attribute as input parameter in a web dynpro callable object.
    date type I have used is java.sql.date.
    But when I am exposing that callable object in GP its giving an error:
    Technical Exception:
    Web dynpro Component cannot be created.
    And when i am changing date type as java.util.date then I am not able to asssign that date attribute in my view layout.
    Can anyone plese help me.

    Hi Ritu ,
               u have to convert the util date to sql date in the execute method .
    do it as showm below in Execute method in the component Controller :
    let the Attribute be planEndDate in the Context:
    public void execute( com.sap.caf.eu.gp.co.api.IGPExecutionContext executionContext )  {
    java.util.Date planEndDate = null;
    planEndDate = (java.util.Date) inputStructure.getAttributeAsDate(IContextElement.PLAN_ENDDATE);
    java.sql.Date sqlDate = new java.sql.Date(planEndDate.getTime());
                        wdContext.currentContextElement().setPlanEnddate(sqlDate);
    Thanks and Regards

  • Reusing the same web dynpro callable object

    I have created a web dynpro callable object and I want to reuse the same callable object in all the actions of that process.
    I am getting the current action ID in execute() method of interface controller in WDP callable object.Now I want to generate screens for different actions based on that actionID.
    for Ex if(actionID ="1")
    fireplug to second scrren.
    else
    to next screen
    But  I am not getting where to write this If eles condition to get different  scrrens at runtime according to the actionID.
    Can anyone please help me.

    hi ritu,
    to get the input and output parameter of the callable object in your view you do the following things.
    1.you create the context elements in interface controller.
    and assign the values of input parameters of the callable object, to the interface controllers context attribute value. using the following code.
    IGPStructure input = executionContext.getInputStructure();
    wdcontext.currentContextElement().set..urattribute name=input.getAttributeas..type of the attribut("specify your input parameter");
    2.then map the context elements of interface controller to component controller,and then component controller context to view context.
    Then we will get the input parameters of the callable object in view.
    If you want any further clarification on this please explain your scenario detailly.
    with regards
    shanto aloor

  • Web Dynpro callable object without NWDI

    Hello Forum,
    does anybody know if it is possible to create a web dynpro dc as a callable object without using nwdi? I have written a webdynpro app know I want to use it in a guided procedure where I can provide an input field for the dc and also get an output field from the dc.
    Does somebody have a step by step solution?
    Regards
    Michael

    Hi,
    You need to have the SCs for local development of Web Dynpro callable object.
    Refer the following documents for more details:
    <a href="/people/andre.truong/blog/2006/06/26/working-with-the-apis-of-caf-guided-procedures-nwdi-or-local-development with the APIs of CAF Guided Procedures: NWDI or Local Development?</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f7be53bb-0b01-0010-1c96-be3cb6799c1b">How to Get NW04s SP7 Guided Procedure APIs for Local Development</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814">Implementing a Web Dynpro Callable Object</a>
    Let me know if this solves your issue.
    Thanks,
    Dipankar

  • MessageArea UI element usage in a Web Dynpro Callable Object

    Hi,
    I have to use a MessageArea UI element in a view of a web Dynpro callable object,
    but when the callable object is showed, this message Area is always empty.
    what is the problem?
    Can anyone help me?
    Regards
    Luca

    Your callable object do have a webdynpro view with a message area as well?
    From my understanding when there is 2 view display at once, only 1 message area is required, if both view are having message area, the message will not display.
    I found this senario when integrate my webdynpro component with the FPM framework. When my view is having message area, the message derive from message manager will not show at all. However once I remove the messae area the message shows in the FPM application area (example employee search)
    What I did is to remove the message area UI element in my view when it hits certain condition.
    IWDTransparentContainer rootContainer= (IWDTransparentContainer)view.getElement("RootUIElementContainer");
              if(your condition)
                   rootContainer.removeChild("MessageArea");
    Edited by: V. Kong on Nov 7, 2008 1:43 PM

  • "Unable to create web dynpro callable object implementation" - GP error

    Good day.
    I've created a GP process and transported it to the test system. But when I try to start the process I get an error on the screen: Error while processing the item; it cannot be displayed. When I look to the logs I can see the following exception:
    Unable to create web dynpro callable object implementation.
    java.lang.Exception
    at com.sap.caf.eu.gp.ui.co.exec.wd.COExecWD.execute(COExecWD.java:294)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWD.execute(InternalCOExecWD.java:171)
    at com.sap.caf.eu.gp.ui.co.exec.wd.COExecWDInterface.execute(COExecWDInterface.java:122)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWDInterface.execute(InternalCOExecWDInterface.java:134)
    at com.sap.caf.eu.gp.ui.co.exec.wd.wdp.InternalCOExecWDInterface$External.execute(InternalCOExecWDInterface.java:249)
    at com.sap.caf.eu.gp.ui.act.container.VContainer.onPlugFromDispatcher(VContainer.java:391)
    at com.sap.caf.eu.gp.ui.act.container.wdp.InternalVContainer.wdInvokeEventHandler(InternalVContainer.java:167)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1289)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoApplicationStateChange(PageBuilder.java:303)
    at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoApplicationStateChange(InternalPageBuilder.java:197)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doApplicationStateChange(DelegatingComponent.java:139)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doApplicationStateChange(ClientComponent.java:667)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doApplicationStateChange(ClientApplication.java:537)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:120)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    It doesn't make any sense to me... I would appreciate for any help.

    Hello
    We are facing exact similar issue when we checked the logs.
    Could you help us as we are new to GP.
    What steps you followed to resolve this error.
    Regards
    aparna

  • Web Dynpro Callable Object :"Cannot read callable object description "

    Hi All,
    I'm getting the following error:
    "Cannot read callable object description from component"
    and also "Cannot read callable object description from component" in two different Web Dynpros.
    The code in the Web Dynpros is similar:
    try
             IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
             WebDynproResourceAccessor resourceAccessor = new WebDynproResourceAccessor(textAccessor);
             //ITechnicalDescription techDesc = TechnicalDescriptionFactory.newTechnicalDescription("FRESH_PARAMS","Fresh_Parameters To Be Called",resourceAccessor,locale);
              ITechnicalDescription techDesc = TechnicalDescriptionFactory.newTechnicalDescription("FRESH_PARAMS","Fresh",resourceAccessor,locale);
             //Pre-Existing Structure for Input
             IStructureInfo input = techDesc.getInputStructureInfo();
             IAttributeInfo firstName = input.addAttribute("firstName",IAttributeInfo.BASE_STRING);
              IAttributeInfo lastName = input.addAttribute("lastName",IAttributeInfo.BASE_STRING);
              IAttributeInfo phoneNum = input.addAttribute("phoneNum",IAttributeInfo.BASE_STRING);
              IAttributeInfo Place = input.addAttribute("Place",IAttributeInfo.BASE_STRING);
              IAttributeInfo Email = input.addAttribute("Email",IAttributeInfo.BASE_STRING);
              IAttributeInfo Company = input.addAttribute("Company",IAttributeInfo.BASE_STRING);
              //Setting multiplicity
              firstName.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              lastName.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              phoneNum.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              Place.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              Email.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              Company.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              //Pre-Existing Structure for Output
              IStructureInfo output = techDesc.getOutputStructureInfo();
              IStructureInfo userStruct1 = output.addStructure("userStruct1");
              userStruct1.addAttribute("firstName",IAttributeInfo.BASE_STRING);
              userStruct1.addAttribute("lastName",IAttributeInfo.BASE_STRING);
              IStructureInfo userStruct2 = output.addStructure("userStruct2");
              userStruct2.addAttribute("phoneNum",IAttributeInfo.BASE_STRING);
              userStruct2.addAttribute("Place",IAttributeInfo.BASE_STRING);
              userStruct2.addAttribute("Email",IAttributeInfo.BASE_STRING);
              userStruct2.addAttribute("Company",IAttributeInfo.BASE_STRING);
              return techDesc;
        catch (InvocationException ex)
             ex.printStackTrace();
             return null;
    Can someone tell me where I'm going wrong.
    Thanks
    Srikant

    Hi Zornista Yankulova
    I'm getting  this error:
    " Cannot read callable object description from component: Failed to create delegate for custom controller com.infosys.creator.wdpco.COGetDocTypeInterface. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)"
    Where the places i can go wrong??
    Please let me know.
    My code is like this?
    public com.sap.caf.eu.gp.co.api.ITechnicalDescription getDescription( java.util.Locale locale )
        //@@begin getDescription()
        try
             IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
             WebDynproResourceAccessor resourceAccessor = new WebDynproResourceAccessor(textAccessor);
             //ITechnicalDescription techDesc = TechnicalDescriptionFactory.newTechnicalDescription("FRESH_PARAMS","Fresh_Parameters To Be Called",resourceAccessor,locale);
              ITechnicalDescription techDesc = TechnicalDescriptionFactory.newTechnicalDescription("FRESH_PARAMS","Fresh",resourceAccessor,locale);
             //Pre-Existing Structure for Input
             IStructureInfo input = techDesc.getInputStructureInfo();
             IAttributeInfo firstName = input.addAttribute("firstName",IAttributeInfo.BASE_STRING);
              IAttributeInfo lastName = input.addAttribute("lastName",IAttributeInfo.BASE_STRING);
              IAttributeInfo phoneNum = input.addAttribute("phoneNum",IAttributeInfo.BASE_STRING);
              IAttributeInfo Place = input.addAttribute("Place",IAttributeInfo.BASE_STRING);
              IAttributeInfo Email = input.addAttribute("Email",IAttributeInfo.BASE_STRING);
              IAttributeInfo Company = input.addAttribute("Company",IAttributeInfo.BASE_STRING);
              //Setting multiplicity
              firstName.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              lastName.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              phoneNum.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              Place.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              Email.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              Company.setMultiplicity(IAttributeInfo.MULITIPLICITY_1_1);
              //Pre-Existing Structure for Output
              IStructureInfo output = techDesc.getOutputStructureInfo();
              IStructureInfo userStruct1 = output.addStructure("userStruct1");
              userStruct1.addAttribute("firstName",IAttributeInfo.BASE_STRING);
              userStruct1.addAttribute("lastName",IAttributeInfo.BASE_STRING);
              IStructureInfo userStruct2 = output.addStructure("userStruct2");
              userStruct2.addAttribute("phoneNum",IAttributeInfo.BASE_STRING);
              userStruct2.addAttribute("Place",IAttributeInfo.BASE_STRING);
              userStruct2.addAttribute("Email",IAttributeInfo.BASE_STRING);
              userStruct2.addAttribute("Company",IAttributeInfo.BASE_STRING);
              return techDesc;
        catch (InvocationException ex)
             ex.printStackTrace();
             return null;
        //@@end
      //@@begin javadoc:execute()
      /** Declared method. */
      //@@end
      public void execute( com.sap.caf.eu.gp.co.api.IExecutionContext executionContext )
        //@@begin execute()
        try
              IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
              WebDynproResourceAccessor resourceAccessor = new WebDynproResourceAccessor(textAccessor);
              this.executionContext = executionContext;
              //Input
              IStructure input = executionContext.getInputStructure();
              String firstName = (String)input.getAttribute("firstName");
              String lastName = (String)input.getAttribute("lastName");
              String phoneNum = (String)input.getAttribute("phoneNum");
              String Email= (String)input.getAttribute("Email");
              String Place = (String)input.getAttribute("Place");
              String Company = (String)input.getAttribute("Company");
              wdContext.nodeInput().currentInputElement().setFirstName(firstName);
              wdContext.nodeInput().currentInputElement().setLastName(lastName);
              wdContext.nodeInput().currentInputElement().setPhoneNum(phoneNum);
              wdContext.nodeInput().currentInputElement().setEmail(Email);
              wdContext.nodeInput().currentInputElement().setPlace(Place);
              wdContext.nodeInput().currentInputElement().setCompany(Company);
              //Output
              IStructure output = executionContext.getOutputStructure();
              String f = wdContext.nodeInput().currentInputElement().getFirstName();
              String l = wdContext.nodeInput().currentInputElement().getLastName();
              String pn = wdContext.nodeInput().currentInputElement().getPhoneNum();
              String e = wdContext.nodeInput().currentInputElement().getEmail();
              String p = wdContext.nodeInput().currentInputElement().getPlace();
              String c = wdContext.nodeInput().currentInputElement().getCompany();
              output.setAttributeValue("firstName",f);
              output.setAttributeValue("lastName",l);
              output.setAttributeValue("phoneNum",pn);
              output.setAttributeValue("Email",e);
              output.setAttributeValue("Place",p);
              output.setAttributeValue("Company",c);
        catch(Exception ex)
             ex.printStackTrace();
        //@@end
      //@@begin javadoc:complete()
      /** Declared method. */
      //@@end
      public void complete( )
        //@@begin complete()
        try
              IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
                        WebDynproResourceAccessor resourceAccessor = new WebDynproResourceAccessor(textAccessor);
              IStructure output = executionContext.getOutputStructure();
              IStructure user1 = output.addStructure("userStruct1");
              IStructure user2 = output.addStructure("userStruct2");
              String f = wdContext.nodeInput().currentInputElement().getFirstName();
                        String l = wdContext.nodeInput().currentInputElement().getLastName();
                        String pn = wdContext.nodeInput().currentInputElement().getPhoneNum();
                        String e = wdContext.nodeInput().currentInputElement().getEmail();
                        String p = wdContext.nodeInput().currentInputElement().getPlace();
                        String c = wdContext.nodeInput().currentInputElement().getCompany();
              user1.setAttributeValue("firstName",f);
              user1.setAttributeValue("lastName",l);
              user2.setAttributeValue("phoneNum",pn);
              user2.setAttributeValue("Email",e);
              user2.setAttributeValue("Place",p);
              user2.setAttributeValue("Company",c);
              executionContext.addResultState("Success");
              executionContext.processingComplete();
        catch(InvocationException e)
             e.printStackTrace();
        catch(EngineException ex)
             ex.printStackTrace();
        //@@end
       * The following code section can be used for any Java code that is
       * not to be visible to other controllers/views or that contains constructs
       * currently not supported directly by Web Dynpro (such as inner classes or
       * member variables etc.). </p>
       * Note: The content of this section is in no way managed/controlled
       * by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      private IExecutionContext executionContext;
      //@@end
    Thanks
    Srikant

  • Reusability of web dynpro callable object

    Hi,
    I want to use same webdynpro callable object inside another callable object including some extra input and output parameter.
    So that I dont have to write the same code again in another callable object.
    is it possible?

    Hi Ritu ,
               Yes ofcourse we can use the same Callable object in another CO.
    I dont think below mentioned is the better way to do .
    while setting the input parameters and output parameters in the description method and execute method use if condition based on the status.
    follow the same procedure in the description and execute method.
    if (Status =="some value"){
    set the Extra input parameters.
    //below dont use else
    normal input  parameters for the callable object.
    in the same way do it for the output parameters.
    Note :here status can be anything.
    for eg :
    an employee open a leave form , here the status will be new.
    when the employee submits the form to the higher authority, the status is "Submitted to higher Authority".
    so the above scenario both the higher Authority can use same callable object. the difference is the higher authority CO have some additional fields such as "Remarks".
    here based on the status we can use the same callable object.

  • How web dynpro abap is used for snc

    Hi folks,
               I am new to web dynpro abap.Some one told we can upgrade snc from lower version to higher version but i dont have any knowledge on snc.For upgrading snc what we must have 2 know. How web dynpro abap is used for upgrading snc.Pls provide any links related to web dynpro abap with snc.
    Thanks in advance

    Hello Ravidanda,
    I have found a link that provides some information on how Web Dynpro ABAP is used in SAP SNC in the SAP Help. Here you go:
    http://help.sap.com/saphelp_snc70/helpdata/EN/46/7256ce7fde01dde10000000a1553f7/frameset.htm
    I hope this will help you.

  • Is it possible to cal web dynpro java application using portal application?

    Hi,
    is it possible to cal web dynpro java application using j2ee portal application?
    If possible, how can it be done the parameter mapping over context area?
    Regards.

    you can just append parameter to the url as usual.
    you will write some code in the controller to get the parameters and set them to the context.

  • Problem Web Dynpro Java applications using JasperReports

    Hello all,
    We have followed the footsteps of these blogs but we can not make it work.
    Part I --> Part-I: Print Web Dynpro Java applications using JasperReports
    Part II --> Part-II: Print Web Dynpro Java applications using JasperReports
    Part III --> Part-III: Print Web Dynpro Java applications using JasperReports
    Details system: 7.02 SP3
    We believe that the problem is in the library, because it finds them.
    1) We created project as a DC external library with *.jars
    2) Public part DC external library.
    3) Add public part of DC Library into new project DC WebDynpro Java.
    4) Development Component -> Build is OK
    5) Development Component -> Deploy is OK
    6) Test app ERROR.
    When we run the application shows the error:
    The initial exception that caused the request to fail, was:
       java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at com.unisys.tmb.View01.onActiongenerarPDF(View01.java:161)
        at com.unisys.tmb.wdp.InternalView01.wdInvokeEventHandler(InternalView01.java:140)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
        ... 28 more
    See full exception chain for details.
    Regards,
    Luis.

    Hello John,
    Thanks for the link. We have performed the steps in this blog:
    1) Create DC Project "External Library" with name js/jars:
    - Add *.jars in folder Libraries.[Screenshot Libraries|http://img846.imageshack.us/img846/8395/jsjars.jpg]
    - Add archives (*.jar) to public part with name ExternalLib. Which option to choose?
    a- Provides an API for developing/compiling other DCs (Option chosen)
    b- Can be packaged into other build results (eg SDAs)
    - Development Component -&gt; Build
    Step 1 is OK.
    2) Create "J2EE Server Component / Library" DC with name js/lib:
    - Add Used DC -> public part project ExternalLibrary -> "ExternalLib"
    - Specify both build time and run-time dependency here and strong.
    - Generated SDA file in <var>gen/default/deploy</var> How do we check that it contains <var>js.jar</var>?
    - folder gen/default/plublic/defLib/lib/java then you meet *.jars files again. is OK.
    - Development Component -> Deploy.
    - Go to Visual Administrator. We found the library js/lib, but has no associated *. jar. It is the problem.[Screenshot Visual Administrator|http://img542.imageshack.us/img542/5537/visualadminlib.jpg]
    3) Create "WebDynpro" DC with name pdf_jasper
    - Add used DC (defLib) to WebDynpro DC with option "Build time".
    - WebDynpro References -> Library references --> add <var>jslib
    - Deploy
    - Run error: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
    Regards,
    Luis.

  • Guide procedures (callable objects ) using ABAP API.

    Hi,
    Is it possible to develop callable objects using ABAP APIs?
    IF yes how ?
    Regards
    Nisha

    hello Nisha,
    Plz see the basic information link on GP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92811997-0d01-0010-9584-f7d535177831

  • Can't able to create callable object using UI pattern in CAF

    Hello
    I made one interface using object Selection UI pattern for one of my entity services. Now i am trying to make a callable object using this and i also have been successfully created it. But when I test this callable object, I got these error messages.
    1. Could not load execution container: Cannot access object class loader for deployable object sap.com/cafcoregpuivisibleco~container.
    2. Could not load execution container: ComponentUsage(container): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?
    Please tell me the problem

    Hi Saurabh,
    It seems you found a bug. The problem is that runtime library reference to sap.com/cafruntimeuicouplingapilib library from sap.com/cafcoregpuivisibleco~container dc is misspelled.
    So, I don't know whether or not according CSN is already created but I can propose you a solution.
    1. Unpack the cafcoregpuivisibleco~container archive from CAFKM0X_0.sca sca.
    2. Unpack sap.comcafcoregpuivisiblecocontainer.wda archive.
    3. Open the PORTAL-INF\portalapp.xml file and change the following entry of library reference:
    <property name="LibrariesReference" value="sap.com/cafruntimeuicopulingapilib" />
    to
    <property name="LibrariesReference"    value="sap.com/cafruntimeuicouplingapilib"/>And pack
    it pack it again in correct order(for ex.:
    jar.exe -Mcvf sap.comcafcoregpuivisiblecocontainer.wda .
    jar.exe -Mcvf sap.comcafcoregpuivisiblecocontainer.sda .
    And finally deploy it to your server instance and enjoy.
    Best regards,
    Aliaksei

Maybe you are looking for

  • Can Someone PLEASE Tell Me Why My Muse Site Will Not Work Upon HTML Export?

    Sorry for the long title! I've had a few threads going regarding troubles with my Muse site. These issues have been on-going, and once I was no longer able to upload to Fetch—and had to export to html via FileZilla—it just seems the problems continue

  • Urgent:Difference amount in customer a/c statement and customer ledger bal

    Currently I am facing a problem whererby the same customer  having the same variable - cutoff giviing  me 2 different sets of figure. 1)Using the statement of account  - cutoff as at 31 Oct 07, gives me ending figure of  -$658,526.98 (Attached file f

  • Issue while generating MD5 if there are any special characters in the CLOB

    Hi Guys, I need your help... We are using dbms_crypto.hash to generate the MD5 hash value for a CLOB that will be sent to other feeder systems. The feeder systems validate the file by generating the MD5 hash value on their end and compare with the MD

  • AR Cube Activation from BC

    Hello BW Experts, 1_I am in the process of activating the AR cube 0FIAR_C03. Could you please let me know the steps in involved in activation of this cube from the business content. Cube, Update rules, Underlying ODS, Infosources, Infobjects need to

  • Question about DEMO_ABAP_OBJECTS_EVENTS

    Hello , Im a beginner for abap OO. I try to read DEMO_ABAP_OBJECTS_EVENTS , but there is something Im not clear: if you execute this program , you will see a status bar, i think this is from class STATUS method CLASS_CONSTRUCTOR CLASS status IMPLEMEN