External Service as Callable Object

Hii Frens,
              I have created an external service as a callable object.It executes a BAPI but when i test the service it doesnt give the output. A username is the input for the BAPI and output is a structure.But am not getting the output in the structure.I want to use this service in prefilling a Callable Object in Guided Procedure.Please tell me where am i goin wrong.
Regards
Ishita

Hii
        I forgot to mention that if the RFC has a structure as output parameter it doesnt get displayed but if the parameter in RFC is string value it works fine.Please Help Urgently
Regards
Ishita

Similar Messages

  • Exception in executing External Service type Callable Object

    Hi
    I was trying to test a callable object of type external service. I have used the bapi BAPI_FLIGHT_GETDETAIL. But while executing I was getting exception like
    java.lang.IndexOutOfBoundsException: Index: 5, Size: 3
    at java.util.ArrayList.add(ArrayList.java:371)at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.addElementSilently(Node.java:1991)at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.addElement(Node.java:2003)at com.sap.tc.webdynpro.progmodel.context.Node.doAddElement(Node.java:676)at com.sap.tc.webdynpro.progmodel.context.Node.addElement(Node.java:644)
    Anybody knows the reason?
    Cheers
    Sudip

    Hii
            I forgot to mention that if the RFC has a structure as output parameter it doesnt get displayed but if the parameter in RFC is string value it works fine.Please Help Urgently
    Regards
    Ishita

  • Exposing Web Services as Callable Objects

    Hello!
    I have SAP NetWeaver 04s SP7. How can I expose Web Services as Callable Objects?
    According to "Exposing Web Services as Callable Objects" (http://help.sap.com/saphelp_nw2004s/helpdata/en/44/4758351fcb1193e10000000a155369/frameset.htm), I should start with choosing type of CO "Service -> Web Service".
    Actually, I haven't this entry in CO type list!
    According to integrate Web Services with GP, this type appeared in SP8. What are the alternatives in SP7?
    "Background execution" and "External service" seem to be the best candidates...
    What is the best solution?
    Thanx in advance!

    Hello, Jan!
    I have SAP NWDS 7.0.07, and I cannot find there an option to create a CAF project. I can create Web service, EJB, Web DynPro, and something else - but not a CAF project. In documentation I did not find the connection points between NWDS and External Services, except some plug-ins.
    Maybe I've misunderstood you, sorry - I'm a newbie in SAP
    Actually, I've made a simple EJB, created a Web service from it, and deployed the WS to portal. Maybe, EJB instead of Web service can be somehow used in CAF?
    I've tried to create a CO of type Composite Application Service, but there was necessary to configure endpoint aliases. I've read the manual "Configuring Endpoint Aliases", but didn't succeed to make one for EJB remote call... I've defined the name, URL (http://<host_of_portal>:<portal_port>), user and pwd - but I've got an exception when tried to use the created alias:
    com.sap.caf.core.gp.servicelocator.exception.MetaModelBrowserException: Exception while trying to get InitialContext. at com.sap.caf.core.gp.servicelocator.CAFMetaModelBrowser.getAllApplications(CAFMetaModelBrowser.java:77) at com.sap.caf.core.gp.ui.backgroundco.admin.VSelect.browseCAFCore(VSelect.java:305) at com.sap.caf.core.gp.ui.backgroundco.admin.VSelect.onActionSelectEptAlias(VSelect.java:750) at com.sap.caf.core.gp.ui.backgroundco.admin.wdp.InternalVSelect.wdInvokeEventHandler(InternalVSelect.java:287) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at
    Maybe, the easiest way is to upgrade the versions of SAP and NWDS?
    Are there some manuals that could provide me some help about:
    1) creating CAS from the deployed Web service (from its creation in NWDS till its use in CAF, step-by-step)
    2) binding Web Dynpro apps and Web services, using CAF and GP.
    Or maybe I should attend SAP courses?
    I have SAP NetWeaver 04s SP7 and NWDS ver. 7.0.07.
    Sorry for the messy post, I did my best
    Message was edited by:
            Kirill Shepitko

  • Canu0092t use web service as Callable Object

    Hi,
    I’ve tried to use a web service as an callable object. After I provided the WSDL URL I’ve got the following error message : “Interface is empty; select Web service interface“. Can anybody tell me what that could be?
    Thanks in advance
    Robert Herbert

    Hi David,
    Thank you very much, you solved my problem.
    Curious usability issue!!
    Best regards,
    Robert

  • Linking of Service to Callable object for execution

    Hi,
    I've created a process and an action . In action I've inserted few fields which are  mapped to an Interactive adobe form.
    Once the user submits the Adobe interactive form I have to process the values and update the R/3 database with a service.
    Where can I find the list of available services and how & where should I map the input field to that of an existing service?
    Regards
    Ravikumar

    Hi,
    I've created a process and an action . In action I've inserted few fields which are  mapped to an Interactive adobe form.
    Once the user submits the Adobe interactive form I have to process the values and update the R/3 database with a service.
    Where can I find the list of available services and how & where should I map the input field to that of an existing service?
    Regards
    Ravikumar

  • 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

  • Business Objects, external services and application services in CAs

    Hi All,
    right now we are developing our first eSOA Composite Application with CE and I have some questions regarding Business Objects, the import of external services and the development of application services.
    As I understood there are two ways to provide business functionality for composite applications:
    a. Import backend functionality as an external service (e.g. BAPI, RFC) at the CAF, build the application service which can be used as a callable object for UIs or the GPs
    b. Develop a local Business Object (in CAF) providing the business logic, create the application service which again can be used as a callable object. Furthermore the application service can be exposed as a Web Service (external service).
    My questions:
    1. When is it appropriate to to import external services in stead of developing local BOs?
    2. Under what conditions is it advisable to (solely) develop local BOs?
    3. What are the advantages / disadvantages regarding the reusability of the services (in option a and b)?
    Note: We are developing on NetWeaver 2004s.
    Please let me know, if you need more information to answer the questions!
    Thanks for your advice in advance,
    Regards,
    Ivonne

    Hi Ivonne,
    first of all, the CAF Business Objects (BOs) itself don't contain any business logic, they're basically just local database tables (with some CRUD services on top).
    Business logic is implemented in Application Services (AS).
    Now, regarding local BO's vs. external services, it depends on your use case. If the data is already available somewhere in your backend system it makes sense to use external services. For instance you wouldn't want to store business partners all over different composites. For data that is specific to your composite (in particular configuration, customizing etc.) and not likely to be reused by other applications you should use local BOs.
    Accessing local BO's is also much faster than calling external services.
    You can do reuse in both scenarios, since the CAF services can be exposed as web services.
    Regards,
    Christian
    Edited by: Christian Loos  on Apr 8, 2008 6:11 PM

  • Callable Object - Web Service: Initialization failure in GenericServiceFact

    Hello,
    I am just trying to do the NetWeaver 7.0 exercise
    "Callable Objects: Web Service –
    ...In this exercise you will create a callable object as an external web service. A prerequisite to the exercise is that ... the web services container settings in the J2EE Visual Administrator must be set to allow access to the internet.
    Author: Composite Application Framework Product Management "
    However, when setting up the Callable Object, after entering the WSDL-URL given in the pdf I get the error "<b>Initialization failure in GenericServiceFactory when trying to load  http://www.webservicex.net/WeatherForecast.asmx?WSDL</b> ".
    Is it the missing activation of internet-access in the J2EE Web container? I can't find any such parameter in the J2EE-config tool (and where has the Visual Admin gone?).
    Regards,
    Jens

    .

  • Callable object with external backend

    Hi everyone!
    Is it possible to create a form (the callable object) in Guided Procedures which takes its data from an external database? For example, say I want to create a callable object in Guided Procedures which picks up user information from an MS Access database? If its possible, could anyone provide a hint as to what kind of callable object I need to declare and how I connect to the external database?
    Any links to documents explaining such a scenario would also be of course welcome..
    Thanks in advance,
    Sameer

    Sameer,
    Its possible to fetch data from an external database.For instance, you could utilize a 'Webdynpro Callable Object' for the same.
    You can very well establish a connection to the database using the regular JDBC connection APIs.
    Once the connection is established you can read/write data from/to the database.
    A simple example would be to write the connection code in the execute() method of your Callable Object.
    Once you get the connection object, you can query the DB as you want.
    For instance , you can have an Employee database with employee number as the primary key.
    Now you can have this employee number as the 'input parameter' for the Webdynpro Callable object and rest of the details
    like name, age , location you can have them as 'output parameters' for the CO.
    Now when you execute this CO , it'll expect a 'valid' employee number as input,it'll go to the execute() method of the CO ,
    make a DB connection,execute your 'select' query and give you the resultset.
    You can loop thru the resultset to set your Output parameters.
    A simple JDBC connection code for SQL Server DB looks like this:
    public String makeDBConnection()
              try
                   String strUserName = "db_user_name";
                   String strPassword = "db_user_pwd";
                   String strDB_IP = "db_ip";
                   String strDB_Port = "db_port";
                   String strDB_Inst= "db_instance";
                   String strQuery="/your select query/";
                   ResultSet resultSet = null;     
                   DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
                   con = DriverManager.getConnection("jdbc:microsoft:sqlserver://" + strDB_IP + ":" + strDB_Port + ";DatabaseName="+strDB_Inst,strUserName,strPassword);
                   stmtQuery = con.createStatement();
                   resultSet = stmtQuery.executeQuery(strQuery);
              catch(SQLException e)
                   e.printStackTrace();
    Hope this helps.
    Pls reward if helpful.
    Thanks,
    Karambir Singh

  • Callable Objects (GP) with Enterprise Service.

    Hi,
    I have a question.
    Is it possible, with a callable Object (GP), to obtain information on any budget, from ECC6, through a Web Service or Enterprise Service, provided by ECC6?
    Is it possible, to modify and save the budget without using any bapi, but directly through an enterprise service, from ecc6?
    Thanks
    Regards
    David.

    Hi David,
    If Enterprise Services for the underlying Business Objects ("Budgets" in ur case) already exists and you have the required enhancement pack, then definitely you can go ahead and use enterprise Services.
    Otherwise, you can use the existing BAPIs and RFCs to modify the same business object (RFC, BAPI can be consumed from CAF).
    And if you want your application to be SOA compliant. Then you can create new functions and expose them as web services, which can then be used from any other application to modify the business object.
    Hope this helps,
    Ashutosh

  • Problem in creating a callable object of type Business Logic

    Hi SDN,
    I am trying to create a callable object of type Business Logic in CE.
    When I give all information and click Next, I get this error message.
    Error while loading configuration dialog: Failed to create delegate for component com.sap.caf.eu.gp.ui.co.CExpConfig. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    Can anybody help me out with this problem.
    Regards,
    Sumangala

    Hi.
    I'm having the same problem as Senthil in NW2004s SP15 with my application service and methods not showing up in the Callable Object wizard for Composite Application Services after I choose the Endpoint.  The only application name that shows up in the wizard is caf.tc, and the only service names that show up for it are LDDataAccessor, Metadata, and PropPermissionService.
    My IDE is on one machine and the application server I deploy to is located on a different machine.  My endpoint to the remote application server looks to be correctly configured.  The Composite Application Service seems to be deployed properly as I'm able to see it and test that it works in the Web Services Navigator <http://remotehost:50000/wsnavigator/>
    My deployed application service is a remote enabled service and is also web services enabled as well.
    I'm not sure if this is relevant, but I noticed that the generated Java code does not create any remote EJB interfaces (only home and local interfaces were generated).
    Something else I noticed is that when I proceed to the External Service Configuration -> Business Entities screen <http://remotehost:50000/webdynpro/dispatcher/sap.com/cafUIconfiguration>, I only see three business entities displayed, and the following error message is displayed: "Corrupt metadata has been detected. This may prevent some objects from being displayed. Check the server log for more details."  I was unable to find anything in the instance log files.  Is the error message indicative of the problem?
    I am developing locally without a NetWeaver Development Infrastructure (NWDI) in place.
    I'm wondering if the credentials specified in the endpoint require any special roles or privileges.
    Senthil, do any of these additional descriptions apply to you as well?
    Edited by: Ric Leeds on Jun 20, 2008 4:37 PM

  • WebDynpro Application as callable object in GP?

    Hello,
      I have created a WebDynpro application in NetWeaver Studio.I have to create a callable object of this application in GP.
      This application is available in GP.I create a callable object of it, with an action, block process for this single object.(Since i cant test this callable object).
      Once i generate url and acess it, it generates an error in browser saying:
    "The page builder required to display this application UI inside the portal environment is not available".
    Kindly help me solve this issue.
    Thanks,
    Sharath

    Andre,
    Thanks a lot for your how to guide.. it's really good!.. I've followed all your steps and I've created my WD DC. Everything works fine, the build is correctly made, but when I deploy the application the following error is getting throw:
    Deployment aborted
    URL to deploy : file:/C:/DOCUME1/MARIAM1/LOCALS1/Temp/temp62306bcp.compa001de.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/MARIAM1/LOCALS1/Temp/temp62306bcp.compa001de.ear
    Aborted: development component 'pa001de'/'bcp.com'/'local'/'20070606173629'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application bcp.com/pa001de.. Reason: Clusterwide exception: Failed to deploy application bcp.com/pa001de. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application bcp.com/pa001de. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine? (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    I think that the referenced components are not at the J2EE, but how can I check this or what do you think can be happening??
    Regards and thanks a lot to all!
    María Margarita Monteverde

  • ABAP Table Type in RFC Callable Object in GP

    Hi Experts,
    I have created a RFC in ABAP that has as one of its export parameters a table type. I am trying to call this RFC in my GP process. So I created the external service callable object as required. However, when I look at the output parameters for the callable object, the table type is not shown as a list (the is list column is not checked for this parameter).
    Do you know if ABAP table types is supported/recognized by GP as a list? or is this a limitation?
    Any help is welcomed!
    Thanks in advance.
    Robert

    Hi Aneel,
    You can try the following:
    e.g.
    for j = 1 to ActiveCell.SpecialCells(11).Column
      oParam4.Rows.Add
      if j=1 then oParam4.Value(j, "NAME") = ActiveSheet.Cells(1,j).Value
      if j=2 then oParam4.Value(j, "TYPE")  = ActiveSheet.Cells(1,j).Value
      if j=3 then oParam4.Value(j, "NUMB") = ActiveSheet.Cells(1,j).Value
    next j
    Regards,
    ScriptMan

  • Callable objects using ABAP API

    hi,
    Is it possible to develop Callable objects for MDM using ABAP APIs?
    Regards
    Nisha

    Hi Nisha,
    As far as I know, itu2019s not possible. You can use just RFC/BAPI as external services CO or ABAP Web Dynpro (this CO is limited regarding output parameters).
    MDM offers two APIS for Java development:
    1) MDM4J API, which is an old API and will be discontinued from MDM 7.1
    2) MDM Java API that is recommended
    With this API you can create Java Libraries or/and Web Services to re use into your CO.
    Best Regards,
    Pedro Nunes

  • GP getting from external service

    Hi All,
    Need some advice here. I have a Adobe interactive form (this is the first step of the process) and i need to prefill it's content from an external service. I have created an external service Callable Object which calls my backend RFC. This is working OK when i test the CO. Next step was to create a interactive form CO and assign the external service CO in the prefill function. I did the mapping accordingly. However, when i test the CO, it did not return any output parameters.
    Once completed, after instiating the process, it did not work. The process fell under category "erreneous processes".
    Any idea? it should be working fine as it's almost similar to the tutorial. Thanks

    Its ok. Solved it

Maybe you are looking for

  • 1st Gen iMac G5 - no power warranty ?

    I have a first generation iMac G5, and my serial number falls into the ranges cover by the iMac G5 Repair Extension Program for Video and Power Issues. My issue is that I've already had my global logic board replaced under this warranty, and now my i

  • GB Payroll - Pension display in Payslip

    Hi every one at SDN family i have issue on pension contribution display in payslip - i have configure the pension type and  maintaied IT 0071 info type - but in payslip the contribution is not showing what might be the problem.. Please help me on thi

  • How to create a Filter based on 2 or more columns

    Hi Folks, We have a requirement to filter based on 1 column, 2 columns and 3 columns values to an analysis with measures. So my question is whether we can acheive this in OBIEE, If so then what would be the best way to implement it. Thanks, Vj

  • SQL Server Reporting Services SharePoint Integrated mode - Power View is not supported

    Hi there, My environment is the following: SharePoint Server 2013 SQL Server 2012 SP1 Enterprise edition I am getting the following message when trying to open BISM item with PowerView icon: "The feature: "Power View" is not supported in this edition

  • Is it possible to view a partially downloaded podcast? (or other file)

    I'm on satellite and have daily download limit, but wanted to watch the part of the podcast I was able to download. I have a 250MB mp4 file which opens in quicktime with an error message. Is there a workaround that will let me watch the downloaded po