CAF service...

Hi All,
How can I find the ABAP code (RFC)for the below scenerio ?
First, when I submit some details from NWDS view.....
It will store in a CAF service.....
When I want to view, all the data will be retireved from the CAF service.
Above is the basic data flow happening...
My question is how & where the data is stored in R/3 side (RFC), how can I trace that RFC, can I trace through the "service browser"  ???
Is that a CAF service itself acting as an RFC ???
Regards,
Suri

See here there two persistencies.Remote and local.In your case you are using RFC import so remote persistency.The data will store in back end.This can be check directly loging into abap rfc transaction.And also from service browser perspective we can view data/records stored, by using the operations under the service in CAF service browser.This will depends on using key or finder operations created at the time service mapping.
Thanks,
Murthy.

Similar Messages

  • CAF service Core migration

    Hallo Experts:
    I want to migrate my application Service, entity service (CAF service core) from 7.1 SP10 to 7.1 Enhancement.
    I copy the following folders
    myproj/dictionary
    myproj/ear
    myproj/ejbmodel
    myproj/metadata
    myproj/permissions
    into the new workspace and synchron the dc every project used.
    Afterwards I try to compile all the projects but I got the error as following:
    Problems with dependent DCs of myproj/meta[used component sap.com/tc/bi/bp/mmrbuild in compartment 'SAP_Build' is not synced used]
    Problems with dependent DCs of myprojmetadata [used component sap.com/tc/bi/bp/mmrbuild in compartment 'SAP_BUILDT' is not synced used.  (used by : ../myproj/metadata (MyComponents))]
    Cannot create local DCProxy for DC that is neither synched nor local-only :SAP_BUILDT:sap.com/tc/bi/bp/mmrbuild
    Any ideas to fix this problem?
    Are there any documents about migration CAF services (application Service, entity Service, bzw. external Services)?
    I do the migration because I have the problem with Web service call to external.  com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Empty node passed to deserializer [com.sap.engine.services.webservices.jaxrpc.encoding.primitive.DateTimeSD] which is not acceptable.
    This error occurs after our server is from 7.1 into 7.1 Enhancement upgraded. Thus I think I do the migration of CAF service up to the 7.1 Enhancement to resolve this problem.
    Thanks for any hints!
    Nice Regards!
    Ping

    mapping CAF entity attributes to External service attributes is limited. You cannot defiend nested structures on the CAF entity side. You cannot map collection structures between CAF entity and external service.
    The solution at least in nw04s is to create an application service on top of the entity and do the mapping via java coding.
    CAF is useful if you need local data persistency. If you just need a service layer abstraction (wrapper layer) to sub-systems, without additional data or logic, it can be a little cumbersome to add CAF between the UI or Process Layers and the Service Layer. But at the end it depends on your solution architecture. It'll make sense if your UI or Process Layer is very different (technologywise) from your Service Layer.

  • Common CAF Services?

    Hi as of CAF's nature, reusability must be an essential characteristic of CAF Service. Just imagine a business expert wants to find an action in GP to validate a product catalog sent in the format of an european standard, say BME, such task just involves a callable object which wraps a CAF service. For us developers, it will be cheerful to find out such service already exists, what we have to do is just wrapping it in a callable object and release an action which calls this callable object. The business expert from our customer will get the action delivered from SAP.
    So the question is: Is there such central place I can look for common CAF services? Like UDDI for WebServices?
    Thanks,
    Ge

    cheerful? well you're probably right. But i think at this point it's more like wishful thinking.
    The good part of the story is that the need for developer to write services (whether they're enterprise class services or utility or core or coumpound or wrapper) is more true than ever until SAP and any other business aplication vendors will provide their respective Service Repository fully garnished with substantial and comprenhensive list of services. In SAP case, it should come with the next version of Netweaver, the Business Process Platform with the Enterprise Service Repository

  • Update CAF Services

    Hi everybody,
    I have a question about updating CAF services (both external and application services)
    A java WebDynpro UI that connects through CAF to a CRM backend.
    There are 4 application services which use the external services. These external services connect to the backend and are based on RFC's from the backend.
    Now I need to add some import parameters to an RFC. This will resolve in the fact that the external service, application service, webservice, java WD model... will need to be modified.
    How do I start with this?
    I can't seem to find functionality to just "regenerate" all of these things.
    In my eyes the only option I have is to
    1: delete the external service
    2: re-import the deleted external service
    3: make modifications to the implementation of the application service
    I've already tried these steps. And when I do these steps, a lot of errors are generated in the ejb module of the caf project. (The virtual interfaces of the webservices all give errors)
    What am I doing wrong? And is there any way to regenerate the webservices without having to delete them and regenerate them?
    Thank you
    Kind regards

    No, In case u r making changes in the imported RFC's then that must be reimported into the Composite Application. Which needs to be redeployed with the exposed Application services. And then  u need to reimport these in the WebDynPro and deploy it again.
               These is no functionality to regenerate all these things at one go.
    Hope this makes the things clear.
                But most importantly dont forget to take the backup of the code before making any changes.

  • Calling CAF services in JSP

    Hi,
    We need to use CAF service as the business object in JSP application.
    Please let us know weather it is possible or not?. If it is possible could you please provide some information(Sample example) to achieve this?
    Thanks,

    Created a CAF service with name caf_sep and Separation is the entity service name.
    Deployed the CAF service.
    Add the resource reference of the above CAF service in web-j2ee-engine.xml for JNDI as follows
    <server-component-ref>
              <description>
              </description>
              <name>Separation</name>
              <type>interface</type>
              <jndi-name>sap.com/caf_sep/Separation</jndi-name>
         </server-component-ref>
    I tried to invoke a CAF Service(EJB bean) in JSP by looking in JNDI tree for the service. 
    The JNDI name that I used to access the service is java:comp/sap.com/caf_sep/Separation.
    The lookup is throwing "Object Not bound" error, with the above JNDI name.
    Can you please let me know how should I proceed further in accessing the CAF service in JSP.

  • CE 7.1 - How to call CAF services from Web Dynpro

    Hi,
    whats the suggested way to call caf services from web dynpro?
    Of course I can use the Web Service model. But can I call caf directly?
    I read something about caf web dynpro model, but I cannot find it in nwds 7.1. On some older tutorial it was in context menu of caf project, but it seems to be removed.
    best regards
    tom

    Hi ,
    The standard way is to use the web service model.
    You have to expose the the services as web service and then you can use the wsdl url in the Adaptive web service model option.
    The above option will be available when you click the Model in the webdynpro application and the click create new model.
    Hope it helps you.
    Regards,
    Srinivasan Subbiah

  • CAF Service modeling power limited?

    Hi, I tried to wrap a web service with a CAF service. All works fine except for the mapping between the model in CAF and the model from the web service: in web service you can have arbitrarily deep structure in your model, but it seems CAF modeling allows at most a depth of three: the root, under the root complex attributes are allowed, which can only contain simple attributes or reference to existing custom simple data types. so it looks like (at least to me) it's not possible to wrap a complex web service to a CAF service. Am I wrong? Is there any workaround for this?
    Best regards,
    Ge

    mapping CAF entity attributes to External service attributes is limited. You cannot defiend nested structures on the CAF entity side. You cannot map collection structures between CAF entity and external service.
    The solution at least in nw04s is to create an application service on top of the entity and do the mapping via java coding.
    CAF is useful if you need local data persistency. If you just need a service layer abstraction (wrapper layer) to sub-systems, without additional data or logic, it can be a little cumbersome to add CAF between the UI or Process Layers and the Service Layer. But at the end it depends on your solution architecture. It'll make sense if your UI or Process Layer is very different (technologywise) from your Service Layer.

  • How to reimport/refresh external CAF services?

    Hi Guys,
    I have imported a CAF service into my CAF via webservice. However, there is an issue here.
    Whenever there is an update of the external webservice, there isnt any refresh or reimport function that I can perform.
    Instead I have to remove all mappings, delete the external service and then import them again.
    This method is very tedious as I have to redo the mappings again.
    Is there is more elegant of doing external service refresh ?
    Thanks.

    After you delete the songs on the memory stick, you need to *empty the trash* to recover that space for reuse.

  • CAF Services Browser Access

    Hi Everyone,
    I am getting " Access Denied. Please login again " when accessing the Service Browser window of Testing Tool of CAF . I have given CAF Developer role to the user also and still getting the error. Kindly guide me to resolve the issue.
    Regards
    Diwakar Mahanthi

    Hi Diwakar
    I am also facing similar problem and not able to open CAF Service browser, but in my case I am not able to see CAF Developer role itself..
    did u manage to solve you problem, if yes then please let me know..?
    Thanks
    Asif

  • Consume a CAF Service from the Service Regestry

    Hello everybody,
    i'm quite new to the SAP World and need some help considering the following:
    Szenario: I want to build a simple caf Service deploy it in the Service Repository and consume it with a Web Dynpro Component. (CE 7.1)
    My Caf Service is already deployed and available in the Service Reg. I can also test it with the "Web Services Navigator" - it is working fine.
    Problem: I can not consume the service in my Web Dynpro nor with any other Web Service Client.
    I can remeber something that i have to define "Destinations". But i have no glue how to. Can anybody help me? Please with a detailed description for CE 7.1.
    Thx Tobias

    Hi Tobias,
    Refer to the below articles, it will help you for sure.
    1.     Exposing Business Objects as Web Service and Developing Web Dynpro Application 
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f5c9b6-881b-2c10-caab-ca4767e80bd3
    2.     Implementing Business Objects in CAF and developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401f65c2-8b1b-2c10-2ba8-ae55cc0ea99c
    3.     Exposing Remote Function Call (RFCs) as Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/505f40c5-761b-2c10-d58c-a837fe7f8f49
    4.     Exposing Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0e439ad-8d1b-2c10-d493-e32fe98e93bc
    5.     Importing Web Service in CAF and Developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90ce70bd-711b-2c10-af83-d6e84d10eb1b
    6.     Importing RFCs in CAF and developing Web Dynpro Application
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/508c7f89-5e1c-2c10-e4a3-e6ea9df58ccb
    Regards
    Sunil
    Edited by: Sunil Kumar SS on Jul 22, 2009 2:12 PM

  • Session overlapping in caf services

    Hi,
    I am using stateful session bean in caf application services to store user related data.
    And i am using this caf application service in web dynpro.
    But when i have tested from two different machines, data is overlapping.
    can any one tell me how to solve this problem and how stateful session bean works in this situation ?
    Thanks in advance.

    To my understanding the j2ee engine configured to ur NWDS should be the same as from where u r trying to run the "test service". So please do check that.
    As far as what error tells is that such a service is not deployed, it means that u should have deployed in a different server. Its just a check that i wnat u to make.
    Regards
    Ashok

  • How to Expose CAF services as web services?

    Hi friends,
    I want to expose my CAF entity services and application services as web services.
    Can I do that, if yes How?
    In NWDS While designing the application service I have found two options in the <b>General</b> tab:
    1) Remote Enabled Service    [I am able to select it]
    2) Web Service Enabled        [I am not able to select it]
    What is the significance of each
    Also I am able to check first option but second option is disabled in my NWDS,
    Can you guide me how can do that?
    Thanks in advance for your time,
    Deepak

    Hi Deepak,
    Please have a look at this tutorial written by Austin:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd
    in there is a kind of step by step solution how to enable your application service as web service.
    I am not sure if you can expose a entity service as a ws. The only way i know is mapping to an application service.
    I hope this helps..
    best regards,
    rene

  • CAF Services not deployed to J2EE engine

    HI @all,
    I desgined an application service in CAF and deployed it to my CE-systtem.
    Developer Studio doesn't display any errors.
    I'm using the user Administrator with the roles CAF_Admin and CAF_Developer
    But when I use the "test service" functionality I get the following message, when the testing windows in IE is loaded:
    German: "Service <<name>> nicht auf J2EE Engine bereitgestellt"
    So the service is not on the J2EE engine.
    Thus I can't map this service to a destination to use it in Visual Composer.
    What's wrong?
    Kiing regards and thanks in advice
    Manfred Pielmeier

    To my understanding the j2ee engine configured to ur NWDS should be the same as from where u r trying to run the "test service". So please do check that.
    As far as what error tells is that such a service is not deployed, it means that u should have deployed in a different server. Its just a check that i wnat u to make.
    Regards
    Ashok

  • CAF Service browser doesn't show any available services

    Hi All,
      I have developed a small application using CE 7.1 SP03.I want to test my Business Object services and application services using CAF ServiceBrowser. I have build and deployed the application and got a status that deployement had happend sucessfully. But the moment I start ServiceBrowser, I can see that Application Services list is empty. Could you please tell me why it is so?Am I missing any configuration or something like that?
    Regards,
    Prajesh

    Hi,
    Application service methodes can be devided in to two types:
    1) Methodes with return values.These will be shown in the available services part.
    2) Methodes without  return values.These will be shown in the Available actions for result service filed.
    If your method is not shown in these two areas, I think you have not generated and bulit your application properly.Once again generate, build and deploy it.
    Go through this help doc.Te[Testing services with Service Browser |http://help.sap.com/saphelp_nwce10/helpdata/en/4a/f707411c5ad349e10000000a1550b0/content.htm]
    Sampath

  • CAF service: import web services using Remote Location / File System

    Hallo Experts
    I use the NetWeaver DevStudio 7.1 SP5.
    I have a CAF project and in this project I want to import one WebService as external service. I have chosen the option "Remote location/ File System" in the import web service wizard, then I enter the URL in the following step. But at the end of wizard I got the error "WSDL could not be downloaded because Server returned HTTP response code 403 for URL". The web service I've deployed and tested on the server. It runs well. Any Hints?
    Thanks in advance
    Kind Regards
    Ping

    Hallo
    I found out: if I enter one URL "http://xxxx.xx.ch:51000/ExampleService/ExampleBean?wsdl&mode=ws_policy". Afterwards I got the error "http://xxxx.xx.ch:51000/ExampleService/ExampleBean?wsdlmode=ws_policy". & ist not correct displayed. Is this the problem that I got 403 Error... It is a bug in SP5
    Thanks if you can tell me some work-arround.
    Ping

Maybe you are looking for

  • External Hard Drive and Time Machine questions

    Hello, I am new here to the forums and I have looked all over for the answers to two questions that I have regarding external hard drives and the time machine feature. For some background, I recently had a scare (water spill but luckily I had a keybo

  • Bridge CC crashing iMac

    Hello, I'm having issues with a new setup.  I recently purchased a iMac Retina 27" -16Gigs Ram.  I'm running just the operating system (Yosemite -latest 10.10.2 Update) and software on it's internal SSD.  I have a rather large library of RAW, .psd an

  • How do I delete imessages in icloud

    how do I delete imessages in icloud

  • Script for Soft bounce

    Hi All We want any script to perform soft bounce that we can call through plsql code.These are the steps that we are following a)Go to Functional Administrator Responsibility b) Go to Core Services ==> Caching Framework c) Go to Global configuration

  • XMLType and remote sites

    hello, does someone has experience with xml queries and database links? In my experience the statement SELECT somefunction(xmltype_column) of table@remote_site; seems not to work in 9i2 because of CLOB restrictions! It seems that one has to work with