Application in CAF

Hi Experts,
         I am new to this CAF. I have a requirement of using CAF in my project. What  is the CAF how we can use.
In my project i have a requirement that to split the form in to diffrent parts. How i can do it and how the data should be maintained.Plz guide me regarding this.We are using Webdynpro's.
Thanks,

Hi Vijay,
For clarity you can design the form to be divided into different sections like personal details, educational qualifications, etc. Now whether you'll physically separate the data in the form at the approval levels depends on whether the same person(approver) should check all the details or need to see all the details. If all the approvers need to see all the details the student fill up in form then keep it as a single form data at the approval steps as well. Otherwise uing parameter mapping you can separate the data into multiple forms and then assign those to different actions(approval steps). If you know the number of approvers at design time and if the approval steps are fixed then you can use sequential blocks and under that assign the approval actions. Otherwise if the number of approval steps are not fixed or you don't know it at design time then you can use per-conditional loop block/post-conditional loop block (if the approval steps are sequential) or parallel block/parallel dynamic block if the approval steps are simultaneous.
You can get lots of documentation and tutorials on each one of these in the CAF Tutorial Center @ SDN.
Thanks,
Dipankar

Similar Messages

  • How to create the composite application in CAF

    Hi all,
    I am novice to the CAF. Till now i didn't implement a single application.
    any one can give me steps for how to create the composite application in CAF not in NWDS by using Netweaver 2004s.
    I opened CAF default page it showing admin tools ,test tools etc which i need to use.
    Best Regards
    Srikanth

    Hi Srikanth,
    Check out the tutorials for composite application framework here:
    SAP Composite Application Framework - CAF Tutorial Center [original link is broken]
    Johan

  • Problem while deploying an application in CAF

    Hi,
    When iam trying to deploy a CAF application iam getting following error.
    Description of the error.
    May 16, 2008 6:34:27 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [013]Deployment aborted
    Settings
    SDM host : os2gvzg
    SDM port : 50018
    URL to deploy : file:/D:/DOCUME1/jz3134/LOCALS1/Temp/temp49583sap.comskmsampwebdynpro.ear
    Result
    => deployment aborted : file:/D:/DOCUME1/jz3134/LOCALS1/Temp/temp49583sap.comskmsampwebdynpro.ear
    Aborted: development component 'skmsamp/webdynpro'/'sap.com'/'local'/'20080516183028'/'0':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment exception : The deployment of at least one item aborted
    Can any one help me regarding this.

    Hi,
    This is credentials problem. You will need a user with Admin access to deploy these files on the server.
    Ashutosh

  • Error in application services, CAF

    Hello all,
    When testear my application services gives the following error me:
    <i>"ERROR. The following exception occured while processing your request: com.sap.caf.rt.exception.CAFFindException.:"</i>
    To what it can be due?
    Best Regards,
    Luis Galey.

    Luis,
    Check the server log for any exceptions. Make sure your project is built and deployed correctly. Could you post your findBy method and what are the parameters your are passing?
    Thanx,
    Mahesh

  • Error in RFC Destination when CAF Application call RFC

    I developed a CAF application, where I imported a RFC in "External
    Services", like BAPI_FLIGHT_GETLIST, and I mapped it as "Application
    Service".
    Then for execute this CAF application, I created a RFC Destination in
    CE 7.11 SP4 ("http://server:port/nwa/destinations") to configure my ECC
    6.0 EHP4 backend.
    When I execute the CAF application, in CAF project in NWDS, right click
    in Application Service, "Test Service", occurs the follow erros:
    com.sap.conn.jco.JCoException: (103) RFC_ERROR_LOGON_FAILURE: This
    system rejects all logons using SSO tickets on tecs071 sysnr 00
    at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException
    (MiddlewareJavaRfc.java:612)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect
    (MiddlewareJavaRfc.java:1279)
    at com.sap.conn.jco.rt.ClientConnection.connect
    (ClientConnection.java:661)
    at com.sap.mw.jco.jra.JRA$ManagedConnectionImpl.<init>(JRA.java:3332)
    at
    com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.createManagedConnection(JRA.java:2623)
    at com.sap.engine.services.connector.jca.ConnectionHashSet.match
    (ConnectionHashSet.java:371)
    at
    com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:330)
    at
    com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)
    at com.sap.mw.jco.jra.JRA$ConnectionFactoryImpl.getConnection
    (JRA.java:4637)
    at com.sap.mw.jco.jra.JRA$ConnectionFactoryImpl.getConnection
    (JRA.java:4654)
    at
    com.sap.caf.demo_sap_com.teste_caf_rfc.external.tecs071.bapi_flight_getlist.BAPI_FLIGHT_GETLISTBean.bapiFLIGHTGETLIST
    (BAPI_FLIGHT_GETLISTBean.java:54)
    Regards,
    Fabiano Rosa
    Edited by: Fabiano Rosa on Apr 5, 2010 7:21 PM

    Before checking the jco/sso ensure to maintain same destination name in both 'nwa/destinations' and in ide nwds while importing rfc.This also causes error while testing the service.
    Thanks,
    Murthy.

  • Implementation Business Objects in CAF and developing WDJ application

    Hi Experts,
    I've read some articles about SAP CE CAF from SDN and I'm making some exercises according those guidence. Right now I have a problem and want to get suggestion from you. 
    As you know, from CE 7.1.1, the CAF support importing the Business Object through EJB model. So when develop a WDJ application using caf, we can using these procedures:
    (Implementing business objects in CAF and developing WebDynpro application)
    1) Create business objects or application service.
    2) Generate EJB Implementation class for business objects or app service.
    3) Create a WebDynpro application
    4) Importing the EJB model using the template.
    5) Create the UI for the app.
    My problem is: In the business object or application serivice, if the operation parameter type is integer, after we generate the EJB class, the type will changed to String. After the WDJ UI is created, the application test failed. The integer field could not passed to the BO successfully.
    If all the parameters type are string in the operation, there's no problem.  But when I use Integer or Date, the EJB class will change the type and the WDJ app will failed.
    I've also test the scenario in CE enviroment including 7.3 also failed. So I'm a little confused which step was wrong. I don't know whether you've seen such problem before, if you could give any suggestion, it'll be very appreciated!

    Hi, Winters.
       I got the same program, try to parse into the type which you want in AS operation.
    BR.
    Louis Huang.

  • CAF-Core application development in CE 7.1

    Hi Experts,
    I am new to CAF. I need to help how to created CAF-Core Applications.
    1. How Link RFC's to external services.
    2. How to created BO.
    3. How to expose BO to Web services.
    4. How to return more than one table values to external service.
    5. How to created WebDynpro  application from CAF Services.
    Please guide me how to learn CAF- Core application developement.
    Regards,
    Satya.

    Hi Satya,
    Following are some pointers for you to start:
    CAF in CE:
    http://help.sap.com/saphelp_nwce10/helpdata/en/43/0034e14db01a85e10000000a422035/frameset.htm
    Link RFC's to External Services:
    http://help.sap.com/saphelp_nwce10/helpdata/en/af/7ad9beab5e824cb2403f6821cde7dd/frameset.htm
    BO to Web Service:
    http://help.sap.com/saphelp_nwce10/helpdata/en/44/24128b347c1c9fe10000000a11466f/frameset.htm
    Regards,
    Alka.

  • How to import data to a CAF core application

    Hello,
      I've made an application in CAF (Using CAF Core). After that, I need to create manually all the data of the business objects. In /caf UI I can create new elements but one on one. There is a way for doing a mass import of data to a CAF Business Object?
    Thanks &  Regards
    SU

    Not Answered.

  • Getting APPSRV_JNDI_LOOKUP_ERROR while calling CAF Ext Serv from WebDynpro

    Hi,
    Iam developing a Composite application using CAF External Service & Application Service with a Web Dynpro UI wherein all the business logic is developed and invoked as web services. I do not face any problem in generating project code, building, deploying and running the application in my machine. But when I deploy the relevant .ear files to some other machine, I get APPSRV_JNDI_LOOKUP_ERROR and Iam unable to perform any operation which invokes a web service.
    Iam only trying to deploy in some other machine the following .ear files available in my machine available at ...\LocalDevelopment\DCs\sap.com\project\... folder :-
    sap.com~project.ear
    sap.comprojectmetadata.ear
    sap.comprojectpermissions.ear
    sap.comprojectwebdynpro.ear
    The following is the exception trace that I get :-
    ===========================================================
    Message : APPSRV_JNDI_LOOKUP_ERROR
    [EXCEPTION]
    com.sap.caf.rt.exception.ServiceException: Object not found in lookup of ZWSD__MATERIAL__SAVEDATA.
         at com.sap.pxwebservice.utils.HomeFactory.getLocalHome(HomeFactory.java:60)
         at com.sap.pxwebservice.appsrv.materialsavedata.MaterialSaveDataBean.getZWSD__MATERIAL__SAVEDATA(MaterialSaveDataBean.java:341)
         at com.sap.pxwebservice.appsrv.materialsavedata.MaterialSaveDataBean.MaterialSaveData(MaterialSaveDataBean.java:315)
         at com.sap.pxwebservice.appsrv.materialsavedata.MaterialSaveDataLocalLocalObjectImpl0.MaterialSaveData(MaterialSaveDataLocalLocalObjectImpl0.java:103)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ===========================================================
    Please let me know :-
    1) I find that always one more file called .ear is created under ...\LocalDevelopment\DCs\sap.com\project\webdynpro\_comp
    But Iam unable to deploy this because it always throws invalid ear error. If I need to deploy this also, how do I do it ?
    2) Is my deployment approach correct ? Is there any other simpler approach ?
    3) If I need to deliver the project binaries to a third party how do I package them to ensure that it can be re-deployed at the other end ?
    Thanks in advance,
    Regards,
    Rajkumar

    Looks like a known issue with missing jar files.
    Please refer to Oracle support document - [ID 1332553.1]

  • How to send e-mails using CAF GP?

    Hi All,
    I have created a sample application which uses Process Control -> Visual Approval Callable Object for approving a vendor. I have also developed two mail templates for Approval and Rejection.
    The SMTP server is set to the mail server of the company.
    But the system is unable to send mails to the recipient. The following error message is displayed on clicking on "Approve":
    <i>Recipient data is missing.
    The system failed to send an e-mail notification to <Initiator>.</i>
    Can any of you suggest what the problem is and what is the possible workaround?
    Thanks in advance,
    Pavithra

    Hi Pavithra,
    Have u completed all the necessary configurations needed at the Visual Administrator level,
    You need to configure GP to be capable of picking the mails from your mail server at some regular intervals of time,
    You can refer to the document "Configuring GP for Interactive forms" at
    SAP Composite Application Framework - CAF Tutorial Center [original link is broken]
    Hope this will help,
    Rgds
    Deepak

  • Differences between CAF and NWDS

    Hi all,
    I'm reading about CAF and I don't understand the differences between CAF and NWDS. In NWDS you can composite an aplication with services offered by other systems, so I don't understand what CAF offers.
    Regards,

    Hi,
    CAF is a Frame work for developing Composite Applications.
    CAF consists of two parts: design time and run time.
    NWDS provides design time development support.Simply, NWDS is the IDE based on Eclipse.
    CAF Server that is Composite Environment Server provides the run time for composite applications.
    You can go through the help doc for [Composite Environment |http://help.sap.com/saphelp_nwce10/helpdata/en/45/ff9fc1d8986c06e10000000a1553f6/frameset.htm]so that you can understand easily.
    Sampath

  • Role of technical guy in ESA/CAF

    Hi all,
      I don’t know if this is a correct forum or not But I wanted to know firsthand from the ESA community.
       I worked as a J2EE consultant for 5 years. I moved to SAP integration, NetWeaver and EP about year and half back. I have had roles varying from pure coding to architecting applications. When I saw ESA, I got excited and started reading about it. As a J2EE consultant with pretty decent ABAP and R3 knowledge, I thought ESA/CAF should be a familiar and right turf for me.
    As I read more about ESA, I got confused as to the role of a technical guy in ESA.
    If my understanding is correct, SAP is on its way to publish most of its BAPI/RFM’s across its products as web services. What would be left now are “ESA enable” non SAP systems and writing composite applications using CAF and ESA.
    Given this background I want to ask the following questions
    1.     How many companies have adopted/looking at adopting ESA?
    2.     How many of those organizations are looking at  
            ESA enabling non SAP systems?
    3.     Will there be a role to any technical guy in  
            that enablement? (j2ee,netweaver java etc etc)
    4.     Can a technical only guy survive in ESA space
            without business knowledge?
    I may be entirely wrong in my assumptions. Your experiences and opinions would be greatly appreciated.
    Regards
    Pallayya Batchu

    I appreciate your quite response. You rightly pointed that one cannot servive without functional knowledge. But this question still nags my mind.
      Is ESA for only functional guys? (because all the webservices are written by SAP or its parters and implementing company is expected to use them by orchestrating.......?)
        Do you expect other companies to create web services? If so, from exising components or from scratch?Again if the answer is from scratch then the implementing company need functional as well as technical guys. It might be correct that the technical guy has to know business before effectively designing web services.
    Am I thinking correctly here?

  • Unwanted Database Lock when using CAF BO method 'update'

    Hi all
    We are using the Composite Application Framework (CAF), and Business Objects (BOs) to save data on the database. A service call is using a BO ‘Update’ method as follows:
    _location.debugT("Test debug line 4");
    getBOSalesDataService().update(salesData);
    _location.debugT("Test debug line 5");
    The same method is then called by another service, while the first service is still active. It does not error, but it waits until the first service has timed out. You can see this from the following screenshot:
    I think this is because the first service sets a lock on the SQL database. This is not an explicitly coded lock, but a database lock. I’ve tried using the following statement:
    getBOSalesDataService().unlock(salesData.getKey(), IBusinessObjectNodeServiceBase.MODE_WRITE);
    It doesn’t work. I think this because the lock was not created by a ‘lock’ statement. Are there any other statements I can use to commit
    all database updates? If it was ABAP, I would use a ‘COMMIT WORK’, is there a Java / CAF equivalent?
    I have spoken to our Basis consultants, they have shown me Solution Manager where we can actually see the locks happening. Session ID 53
    is the first update, 54 is the second.
    Thanks
    Iwan

    For updates you actually need a lock to avoid inconsistencies.
    the lock should automatically be released when the JTA transaction is completed - in the case of CMP EJBs when the first service is finished...

  • Logic in CAF

    Hi,
    When using (SAP) Enterprise Services, should you always place business logic in CAF?
    Thanks,
    Tamas

    Hi,
    It depends on the requirement you have.
    You can import an External Service(RFC or Web Service) and write busines logic in Application Service Layer.
    You can create an Entity Service and build an Application Service on it.
    You cant code your business logic in Entity service but you have option to generate user defined methods in Application Service Layer only.
    The following links may help you.
    SAP Composite Application Framework - CAF Tutorial Center
    https://www.sdn.sap.com/irj/sdn/elearn?rid=/webcontent/uuid/60770a28-2010-2a10-a9bb-d76217d3437b
    Reward if helpful.
    Reply for any further queries.
    Thanks,
    Chaitanya.

  • Develop CAF project in Netweaver 2004s

    Dear all,
    I am trying to create a project in CAS perspective in 2004s. Can anyone help me how to start? and where to find the sutable document to do step by step?
    with regards,
    balachander

    Hi,
    This is strange! I can open that page. Try this link :
    SAP Composite Application Framework - CAF Tutorial Center [original link is broken]
    Otherwise open the Composition Environment link from the left side navigation in SDN. In that page you can find a link at the right side : Composite Application Framework Tutorial Center. Click on that link
    Thanks,
    Dipankar

Maybe you are looking for

  • FBL1N not picking up customer itesm

    Hi Guru, could you please share your expeirence is such issue where we are running FBL1N, Vendor line item report with selection creterion for Customer Lines apart from Normal items. Normally system picks up Vendor line items and also customer line i

  • Is there a BAPI function module which reverses the sign of an integer

    Hi Friends,                  Could u plz tell me  a BAPI function module which can reverse the sign of an integer ? For example:        if i get the integer value in work area as <number> <sign> , i need to change it to <sign><number>.  i.e if i get

  • IDOC Error - Copy Sender from Payload: Sender Is Missing in Payload

    Hi, I have following scenario. SOAP adapter ---> PI   - > IDOC Receiver - > ECC THe IDOC has a required node that is disabled and IDOC revicer communication channel has checkd following options. Apply control record value from pay load Take Sender fr

  • Ram for my iMac 27"?

    I am looking to upgrade my late 2009 iMac 27", intel Core i5, 2.66 GHz with 8GB of Ram to 12 or 16GB of Ram and a  2TB HD. I am looking for only reliable upgrades.

  • Display item level Error in ME21N

    i want to display an Item level message in ME21N. Currently the messages are been displayed but all the messages are displayed at the header level. im using an exit for the custom validation which I am doing. how can we indicate the message for each