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.

Similar Messages

  • 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.

  • Planner group is not updated in service notification using BAPI

    Hi,
    Planner group is not updated in service notification using BAPI BAPI_ALM_ORDER_MAINTAIN.
    I have written the below code, but planner group is not updated in the service notification.
    Please advice which parameters do i need to pass to update planner group in the service notification.
              wa_methods-refnumber      = '000001'.
              wa_methods-objecttype     = 'PARTNER'.
              wa_methods-method         = 'CREATE'.
              wa_methods-objectkey      = wa_subscr1-aufnr.
              APPEND wa_methods TO i_methods.
              wa_methods-refnumber      = '000002'.
              wa_methods-objecttype     = 'HEADER'.
              wa_methods-method         = 'CREATE'.
              wa_methods-objectkey      = wa_subscr1-aufnr.
              APPEND wa_methods TO i_methods.
              wa_methods-refnumber      = '000000'.
              wa_methods-objecttype     = ' '.
              wa_methods-method         = 'SAVE'.
              APPEND wa_methods TO i_methods.
              REFRESH i_partner.
              CLEAR wa_partner.
              wa_partner-orderid        = wa_subscr1-aufnr.
              wa_partner-partn_role     = 'VW'.
              wa_partner-partn_role_old = ''.
              wa_partner-partner        = wa_subscr1-parnr.
              wa_partner-partner_old    = ''.
              APPEND wa_partner TO i_partner.
              REFRESH i_planrgrp.
              CLEAR wa_planrgrp.
              wa_planrgrp-orderid        = wa_subscr1-aufnr.
              wa_planrgrp-plangroup      = wa_subscr1-ingpr.
              APPEND wa_planrgrp TO i_planrgrp.
              REFRESH i_planrgrp_up.
              CLEAR wa_planrgrp_up.
              wa_planrgrp_up-orderid     = wa_subscr1-aufnr.
              wa_planrgrp_up-plangroup   = 'X'.
              APPEND wa_planrgrp_up TO i_planrgrp_up.
    *----Change order details with Technician name
              CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
                TABLES
                  it_methods   = i_methods
                  it_header    = i_planrgrp
                it_header_up = i_planrgrp_up
                  it_partner   = i_partner
                  return       = i_return.
    Thanks & regards,
    Krishna

    Try this way
    CALL FUNCTION 'BAPI_SERVNOT_CREATE'
    EXPORTING
    * EXTERNAL_NUMBER =
    notif_type = 'S3'
    notifheader = ls_notif_h
    * TASK_DETERMINATION = ' '
    * SENDER =
    * ORDERID =
    IMPORTING
    NOTIFHEADER_EXPORT = ls_notif_e
    TABLES
    * NOTITEM =
    * NOTIFCAUS =
    * NOTIFACTV =
    * NOTIFTASK =
    * NOTIFPARTNR =
    * LONGTEXTS =
    * KEY_RELATIONSHIPS =
    return = lt_return
    * IF lt_return IS INITIAL.                                               " <<< Comment this lie
    read table  lt_return into ls_return with key type = 'E'. " << Change
    if sy-subrc ne 0.                                                             " << Change
    COMMIT WORK AND WAIT.
    write: / ls_notif_e-NOTIF_NO.
    ELSE.
    LOOP AT lt_return INTO ls_return.
    WRITE:/ 'errors'.
    * ls_return.
    ENDLOOP.
    endif.

  • User Exit or BADI to update the service order  in R/3

    Hi,
    When creating a service order the following fields need to be populated automatically using an user exit or badi.
    1. Planner Group
    2. PMActType – Plant maintenance activity type
    3. Cost/Profit Centre
    4. WBS element
    5. Work center
    so my requirement is there any function module or Badi or user exit to update the service order details when service order is created / changed.
    Pls do the needful.
    Reg
    Ramana

    Hi Ramana,
    Go to SPRO Transaction and follow the below path
    Customer relationship management>Transactions>Settings for Service Processes>Business Add-Ins and you will find 8 BADI's.
    Check these BADI's useful for you.
    Regards,
    Lijo Joseph

  • Invoice not updated for Service and limit items

    Hi All,
    For service and limit we are not able to see the invoice document in the "Related Documents" tab in the Purchase order.
    For material I am able to find the entry in the tab but the invoice statistics data is not getting updated for service POu2019s and also for limit item POu2019s.
    Found a note for the same : 1462644 - Empty statistics in PO in case of Extended Classic Scenario but it works only for material line items only.
    Please let me know if any config change need to be made else if there is any SAP note that would resolve this issue.
    Thanks in advance.
    Regards,
    Catherine

    A knowledge based article note was applied to resolve the issue.
    Regards,
    Catherine

  • How to update web service proxy in JDeveloper 10.1.3.0

    hi all
    I want to ask how to update web service proxy in JDeveloper 10.1.3.0?

    What do you mean update?
    You can go into the source code and update whatever you want.
    If you mean that the WS spec has changed - then you can either change the proxy manually, or create another proxy.

  • Alternative option to updating the services file on the local computer

    Hi,
    Our project needs to add updates to the file C:\windows\system32\drivers\etc\services in order to allow excel reports to work from the SAP enterprise portal.
    The client will need to apply this change in the services file to all the desktop computers of the end-users. They are now asking whether there is an alternative solution to updating the services file on the local machine. Our team does not think that there is one but maybe one of you experts out there can provide some more insight.
    Any help would be greatly appreciated.
    Thanks.
    Best Regards,
    Giwan Persaud

    For our normal sapgui rollout we never change the services file.
    This is only possible if you change in saplogon.ini the MSSrvPort section, the names to numbers:
    instead of
    Item88=sapmsPS1
    you use
    Item88=3600
    Then you don't need the services file ( excepte the standard ones which you can rollout once )
    sapdp*
    sapgw*
    you to check if this works for Excel also!

  • 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

  • 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

  • User Exit or BADI  to update the  service order

    hi,
    When creating a service order the following fields need to be populated automatically using an user exit or badi.
    1.     Planner Group
    2.     PMActType – Plant maintenance activity type
    3.     Cost/Profit Centre
    4.     WBS element
    5.     Work center
    so my requirement is there any function module or  Badi or user exit to update the service order details when service order is created / changed.
    Pls do the needful.
    Reg
    Ram
    Message was edited by:
            RAMANA MYLAPALLI

    Best Possible way is.
    go to se24 -> type in CL_EXITHANDLER -> Go to get_instance method.
    Put a breakpoint on CALL METHOD cl_exithandler=>get_class_name_by_interface.
    Now run the transaction and check which all BADI and user exits are invoked when u call the transaction.
    Idenitfy the BADI which can be useful to you.
    Reward if u find it useful.
    Thanks
    Kartavya

  • 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.

  • After OSX 10.9.2 update Google services not working properly

    Hi all
    I update my 2011 iMac 27-inc for new OSX 10.9.2. But after update Google service (Safari based Google search, Docs and YouTube) not working properly. Some time work great but some times not working. Was anybody experiencing this problem ? Any fixing solution ?
    Soryy for bad English

    Yes login my Google accont.
    Could this be the source of the problem? (EtreCheck result.)
    " Configuration files:
              /etc/hosts - Count: 60 ""

  • Update Management Service fails to update dev workplace for CE 7.1 EHP1

    Hi All
    When I try to update my developer workplace server for SAP Netweaver CE 7.1 EHP1 with the update management service, it fails with this error:
    The check for updates has failed   Error message: The check for updates on SAP market place failed. Unable to compute the UpdateItems from the given components. com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Server Exception: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist; nested exception is: javax.xml.rpc.soap.SOAPFaultException: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist) com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Server Exception: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist; nested exception is: javax.xml.rpc.soap.SOAPFaultException: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist) java.rmi.ServerException: Server Exception: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist; nested exception is: javax.xml.rpc.soap.SOAPFaultException: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist javax.xml.rpc.soap.SOAPFaultException: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist Unable to compute the UpdateItems from the given components. com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Server Exception: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist; nested exception is: javax.xml.rpc.soap.SOAPFaultException: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist) com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Server Exception: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist; nested exception is: javax.xml.rpc.soap.SOAPFaultException: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist) java.rmi.ServerException: Server Exception: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist; nested exception is: javax.xml.rpc.soap.SOAPFaultException: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist javax.xml.rpc.soap.SOAPFaultException: BOSF_SWDC_SOLMAN_SYS_USER2URL:system_does_not_exist  SOLUTION: Check the file CheckForUpdates.log for more information on how to solve the problem.
    There is also no such log file: CheckForUpdates.log anywhere on the machine.
    Anybody know what's wrong?
    Regards
    Johan

    Hi Praveen,
    Not sure exactly which file is the starting instance log. Here is the output of the sapstartsrv.log file, which is the last one created
    before the error occurs.
    trc file: "sapstartsrv.log", trc level: 0, release: "711"
    pid        3344
    [Thr 3484] Tue May 17 08:13:19 2011
    SAP HA Trace: SAP Microsoft Cluster library '711, patch 20, changelist 1027625' initialized
    CCMS agent initialization: return code 0.
    Initializing SAPControl Webservice
    SapSSLInit failed => https support disabled
    Starting WebService Named Pipe thread
    Starting WebService thread
    Webservice named pipe thread started, listening on port
    .\pipe\sapcontrol_00
    Webservice thread started, listening on port 50013
    I have looked for the notes regarding memory and swap issues. But the strange thing is that I get Netweaver to work at first but get errors when upgrading.
    Br,
    Johan

Maybe you are looking for

  • Add-KdsRootKey failing with "The process cannot access the file..."

    Hello community, Environment Mixed with one (1) domain controller running Windows Server 2008 and one (1) domain controller running Windows Server 2012. Steps to Produce the Problem These steps produce the problem both on the Windows Server 2012 doma

  • Can't add "Account" name in preferences and CS2 issues

    I am having problems with adding an account name (under Accounts in System Preferences). It was recommended that I do this to help troubleshoot a problem with Adobe CS2. I am running Tiger 10.4.6. My main problem is that I can't seem to get the entir

  • Viewers sdk setup help

    Hi guys, for a CRServer setup, I want to setup a jsp dev environment to query the enterprise bus for system objects and info objects, and view reports in html. What are the setup steps for my jsp servlet container to talk to my crystal reports server

  • Tab Set error - ORA-00928

    Hi, I have a strange error can anyone decipher this one - When I edit a page and change the "standard tab set" to a particular tab set I get the following error message when running the page. "Invalid exists/not exists condition: ORA-00928: missing S

  • How to change HU status in table LEIN field STATU

    I have few Handling Units with status as 4 - "Being created" which actually should be blank - "In Storage BIN". These HUs show up in their respective fixed bins while you do LS24 but cannot be picked for any movements. Showing an entry in table LEIN