Regarding IAspect and CAF

Hi all,
I have some queries regarding the following:
1. What is the use of IAspect?
2. For what purpose IServiceModule is used?
3. Any documentation to learn more about IAspect, IServiceModule and CAF?
Regards
Bala

Balachandar,
1. IAspect is an observable "live" list (java.util.List) of business objects. Typically IAspect is returned from IQuery execution, but it may be composed directly via IServiceModule.createAspect(...). Observable means that list uses mechanism of events to notify interested parties (like WD conext nodes) about addition/changing/removal of elements. "Live" means that any such changes are propagated back to middle tier at time of commit (do not remember exactly, IServiceModule.commit() AFAIK). As a result, appending new records causes insertion of records into database, removal of records causes deletion of records from database, etc.
2. IServiceModule is an entry point to functionality exposed by business service. It provides factoy methods to create all necessary queries (IQuery) and object collections (IAspect) as well as functionality to manage transactions (rollback/commit).
3. Tutorials: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1eb928a1-0601-0010-f890-be9169f0d856">Creating Composite Applications</a>, <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/88bcb7c6-0701-0010-8fb7-a6964dd3ee00">Creating a WebDynpro UI for Composite Application</a>
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com

Similar Messages

  • Question regarding roaming and data usage

    I am currently out of my main country of service, and as such I have a question regarding roaming and data usage.
    I am told that the airplane mode is sufficient from keeping the phone off from roaming, but does this apply to any background data usage for applications and such?
    If the phone is in airplane mode, are all use of the phone including wifi and application use through the wifi outside of all extra charges from roaming?

    Ann154 wrote:
    If you are getting charged to use the wifi, then it is possible.  Otherwise no
    Just to elaborate here, Ann154 is referring to access charges for wifi, which is nothing to do with Verizon, so if you are using it in a plane, hotel, an internet cafe etc that charges for Wifi rather than being free .   Verizon does not charge you (or indeed know about!) wifi usage, or any other usage that is not on their cellular network (such as using a foreign SIM for example in global phones)  So these charges, if any, will not show up on the verizon bill app.  Having it in airplane mode prevents all cellular data traffic so you should be fine

  • JPA and CAF BO - are there any editors of the JPA data (like CAF)?

    Hello!
    As you know SAP invented some layer above JPA and called it CAF. There is a very convenient way to edit data in CAF.
    But now I have to create a complex database scheme, also with CAF doesn't allow us to work with objects. So we can't use someObject.getChildren().
    So my question is are there any editors of the JPA data (like it is done in CAF)?

    Hi Kirill,
    at the beginning of our project at the end of 2009, we did a deep analysis of CAF since our architect vehemently suggested to use this framework.
    First about the history and purpose of CAF: Initially, CAF was never meant to be a layer above CAF since CAF was invented in the time before EJB 3.0 and JPA standard where writing persistence with EJB 2.x CMP forced the developer to write pages of boiler plate code. This background was approved by SAP.
    With upcoming of JPA, CAF ist mostly useless (except for very simply structured data) and prevents you from writing good software.
    It is easy just to write @Entity, @Id and @OneToMany (for complex database schemes) and CAF forces you to use an ugly, imperformant database scheme (e.g. CAF uses mapping tables even for 1:n relationships, a clear antipattern!)
    The CRUD-services generated with CAF are a pain, too. Usage of pessimistic locking is not up to date for web applications.
    With your complex database schemes, you exceed the limit of CAF.
    (We decided not to use CAF and did never regret this.)
    Concerning your question: There is an "JPA Details" view in NWDS that might help you. It needs JPA Persistence facet on your project to work. Developed by SAP. For JPA beginners, it is a good cheat sheet for JPA annotations and their attributes.
    You do not need more since a JPA POJO is easy to code.
    Regards,
    Rolf

  • Web Dynpro and CAF (BOs, Application Services, returning Complex Types)

    Hi All,
    I am trying to develop an application using Web Dynpro and CAF for days now and did not get it running.. I need some help here.
    What I am trying to do / have done is the following:
    - Design a Business Object (BO) in CAF
    - Implement an Application Service that has a method called getAllBOs that calls the findAll method of the BO
    - call this method using AWS model or EJB model in Web Dnypro, show the result in a table.
    My getAllBOs returns a set of BOs (Data Type is the Complex Type of my BO in CAF). I was able to design the Application Service so that it returns a collection of BOs (using a Wrapper Comple Type), but I was never able to call the generated Web Service successfully in Web Dynpro. The WebService worked fine when testing it in wsnavigator...
    However, i never got it running.. is there anybody out there who is able to explain what to do to import a AWS model or an EJB model in Werb Dynpro and particularily how to implement the stuff so that it returns a set of BOs successfully...
    Thanks in advance.. Useful help is highly appreciated
    Please note: THIS IS ABOUT Netweaver CE 7.1 - do not post stuff about 7.0!

    Hi,
    You have to return a single object from caf layer to webdynpro layer.
    Since you are returning a list of BOs, create a wrapper in caf which contains the list of your BOs.
    Your application service should return this wrapper.
    Creating Wrapper:
    1. Create a complex data type.
    2. Include your BO as one of the properties in it. and set the cardinality to 0..n.
    In Application service invoke your findAll() of BO and use the returned list to populate the wrapper's BO list.
    Return this wrapper.
    Hope it helps.
    Regards,
    Fazal

  • The "always allow" button is grayed out in settings regarding cookies, and I can not find where to change the setting.  (Restrictions are not on.)

    The "always allow" button is grayed out in settings regarding cookies, and I can not find where to change the setting.  (Restrictions are not on.)  Do you know where I go to change the setting to allow me to "always allow" cookies?

    Hi lisaarnett111,
    If you are having issues turning on Always Allow for cookies in Safari on your iPad, you may want to check to make sure that you don't have Private Browsing enabled, as noted in the following article:
    Turn Private Browsing on or off on your iPhone, iPad, or iPod touch - Apple Support
    Regards,
    - Brenden

  • Question regarding selectOneMenu and PROCESS_VALIDATIONS(3) phase

    Hi im a bit lost regarding selectOneMenu and how validation phase all works together.
    The thing is that i have a simple selectOneMenu
    <h:form id="SearchForm">                                                  
         <h:panelGrid columns="3"  border="0">
              <h:outputLabel id="caseTypeText" value="#{msg.searchCaseCaseType}" for="caseType" />                         
              <h:selectOneMenu id="caseType" value="#{searchCaseBean.caseType}" style="width: 200px;" binding="#{searchCaseBean.caseTypeSelect}">     
                   <f:selectItem itemValue="" itemLabel="#{msg.CommonTextAll}" />                                             
                   <f:selectItems value="#{searchCaseBean.caseTypes}"  />                              
              </h:selectOneMenu>
              <h:message for="caseType" styleClass="errorMessage" />
              <h:panelGroup />
              <h:panelGroup />
              <h:commandButton action="#{searchCaseBean.actionSearch}" value="#{msg.buttonSearch}" />
         </h:panelGrid>
    </h:form>Now when i hit submit button i can see that the bean method searchCaseBean.caseTypes (used in the <f:selectItems> tag) is executed in the PROCESS_VALIDATIONS(3) phase. How come? I dont whant this method to be executed in phase 3, only in phase 6.
    If i add the this in the method if (FacesContext.getCurrentInstance().getRenderResponse())
    public List<SelectItem> getStepStatuses(){
         List<CaseStep> caseSteps = new ArrayList<CaseStep>();
         if (FacesContext.getCurrentInstance().getRenderResponse()) {
              caseSteps = getCaseService().getCaseStep(value);     
         List<SelectItem> selectItems = new ArrayList<SelectItem>(caseSteps.size());
         for(int i=0; i < caseSteps.size(); i++){
              CaseStep step = caseSteps.get(i);               
              String stepStatus = step.getStatus() + "_" + step.getSubStatus();           
              selectItems.add(new SelectItem(stepStatus, step.getShortName()));
         return selectItems;
    } Now i get a validation error (javax.faces.component.UISelectOne.INVALID) for the select field and only phase1, phase2, phase 3 and phase 6 is executed.
    Im lost?

    I see. Many thanxs BalusC. Im using your blog very often, and its very helpfull for me.
    I changed now to use the constructor load method instead. But know im getting problem of calling my service layer (Spring service bean). Its seems they havent been init when jsf bean is calling its constructor.
    Can i init the spring service bean from the faces-config file?
    JSF Bean
        public SearchCaseBean() {
              super();
                    //caseService need to be init
              if(getCaseService() == null){
                   setCaseService((CaseService)getWebApplicationContextBean("caseService"));
              fillCaseTypeSelectItems();
              fillCaseStatusSelectItems();
    .....faces-config
    <managed-bean>
              <managed-bean-name>searchCaseBean</managed-bean-name>
              <managed-bean-class>portal.web.SearchCaseBean</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>          
              <managed-property>
                   <property-name>caseService</property-name>
                   <value>#{caseService}</value>
              </managed-property>
         </managed-bean>

  • Question regarding MM and FI integration

    Hi Experts
    I have a question regarding MM and FI integration
    Is the transaction Key in OMJJ is same as OBYC transaction key?
    If yes, then why canu2019t I see transaction Key BSX in Movement type 101?
    Thanks

    No, they are not the same.  The movement type transaction (OMJJ) links the account key and account modifier to a specific movement types.  Transaction code (OBYC) contains the account assignments for all material document postings, whether they are movement type dependent or not.  Account key BSX is not movement type dependent.  Instead, BSX is dependent on the valuation class of the material, so it won't show in OMJJ.
    thanks,

  • **question regarding 3G and wif**.

    I have a question regarding 3G and wifi. I have #G activated as well as wifi, when I go to retrieve mail for example I get a pop up asking me if I want to connect to a wifi network…should I have wifi and 3G activated at the same time, and why am I getting the pop up…
    Thanks

    You can have them on at the same time, but they will not be used at the same time for data. The order of preference for data is WiFi > 3G > EDGE > GPRS. You're getting the pop up, most likely, because you have Settings > Wi-Fi > Ask to Join Networks set to ON. You can set that to OFF, and the iPhone will still join known (i.e. previously used) WiFi networks automatically.

  • Question regarding Dashboard and column prompt

    My question regarding Dashboard and column prompt:
    1) Dashboard prompt usually work with only for columns which are in subject area. In my report I've created some of the columns which are based on other columns. Like I've daysNumber column that is based on two other columns, as it calculates the difference of two dates. When I create dashboard prompt I can't find this column there. I need to make a prompt on this column.
    2)For one of the column I've only two values 1 and 0. When I create prompt for this column, is it possible that in drop down list It shows 'Yes' for 1 and 'No' for 0 and still filter the request??

    Hi Toony,...
    I think there was another way of doing this...
    In the dashboard prompt go to Show option > select SQL Results from dropdown.
    There you need to write your Logical SQL like...
    SELECT CASE WHEN 1=0 THEN PERIODS.YEAR ELSE difference of date functionality END FROM SubjectAreaName
    Here.. Periods.Year is the column which is already exists in repository's presentation layer..
    and difference of date functionality is the code or formula of column which you want to show in drop-down...
    Also write the CASE WHEN 1=0 THEN PERIODS.YEAR ELSE difference of date functionality END code in fx of that prompt.
    I think it helps you in doing this..
    Just check and inform me if it works...
    Thanks & Regards
    Kishore Guggilla
    Edited by: Kishore Guggilla on Oct 31, 2008 9:35 AM

  • Few questions regarding Training and event management

    Dear All,
    Can you please help me with the following queries regarding Training and Event Management:
    1. How to freeze a completed business event so that no changes to its record (like delete/update attendee details or event detail) is possible?
    2. How to get feedback from attendee/faculty with a predefined format with rating (1-4 scale)
    3. How to maintain department and category wise training man/hrs or training man/days?
    Any help will be appreciated.
    Regards,
    Toa

    Hi Toa,
    1. Run report RHHISTO0 via SA38. Once the business event is flagged as "historical" no further changes can be done.
    3. SM30 - T77S0 - Make the following swtiches active:
    SEMIN AINST
    SEMIN APART
    Then when events are followed up, these training data is recorded to employee 2002 infotype. You can report on it via PT90 (for department-based selection use "Further selections")
    Regards,
    Dilek

  • I am having a dought regarding import and export.

    I am having a dought regarding import and export.
    I am having one table called login_table where 40k rows are present and in production server. Now i want to take a export dump of login_table and want to import it into a table called table_login which has zero rows but having same table structure and it is present in another database. Please reply soon.

    Please reply soonWhy?
    This is a forum of volunteers, so no one is under any obligation to you. Please stop to be demanding and consequently insulting.
    Also what doubt do you have? It wouldn't work? This begs the question why you just didn't try? No one ever died from working.
    Sybrand Bakker
    Senior Oracle DBA

  • Web dynpro documents regarding dynpro and Portal

    Hi,
    I am new in web dynpro so i need some documents regarding dynpro and portal. So please provide it and if possible send it my personal mail [email protected]
    I am also looking for some examples applications .If any budy have links of it provide it.
    Regards,
    gurprit

    Hi Gurprit,
    I have sent Complete Webdynpro Examples to your mail.
    And also please check the following links for more clear understanding
    Programming UI and Navigation
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0
    Webdynpro for Java
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    Webdynpro Samples
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/web%20dynpro%20sample%20applications%20and%20tutorials.htm
    Web Dynpro User Interface
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/ce44a14c-0a01-0010-af89-d7dbd944f176 [original link is broken]
    PDf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaverdevelopersguide2004s/sap%20netweaver%20developer's%20Guide%202004s/UsingJava_00_PDFsList.ca
    SAP Netweaver Application Server eLearning Catalog
    https://www.sdn.sap.com/irj/sdn/elearn?rid=/webcontent/uuid/b1203f5e-0501-0010-bb88-915402c954f2 [original link is broken]
    give rewards if useful.
    regards
    Anil

  • MDM WF's Vs BPM and CAF GP

    Hi All,
    How are MDM WF's positioned against BPM and CAF GP in terms of performance, flexibility, capability? Which WF should be preferred over others?
    Thanks.
    AK

    Hi Abhishek,
    If we compare three of them then theBPM/GP would be more powerfull than MDM Workflow because we can design a very complex workflow in BPM/GP that spans accross Systems (Not Only MDM) and customisation can be achived easily in them. MDM workflow are best suited if you are having a simple workflow that spas MDM system only.
    BPM is the latest in the market and hve several unique features that are not available in other two. like Automatic Notifications, Dynamic Rules, Graphical Modeling based on BPMN standards.
    Hope this helps!!
    Cheers,
    Arafat

  • New TO GP And CAF?

    Hi,
    What is Guided procedures?
    What is CAF?
    Why We Can Use GP And CAF?
    We Have Webdynpro Why We Go For CAF?
    What is RelationShip Between GP AND CAF?
    Procedure For Calling BAPI From ECC To CAF In NWDS.
    What's use in Guided Procedures And CAF?
    THANKS
    SUBBARAO

    Guided Procedures (GP) is a framework for modeling and managing processes that involve access to multiple backend systems. GP enables runtime collaboration and execution of ad-hoc items. In addition, it allows the invocation of various types of applications and services within a process, such as Web Dynpro and BSP applications, RFCs, and so on. The framework implements differentiated role-based access to the available tools in accordance with the useru2019s functions in the enterprise.     
    GP offers the following features:     
    Design-time workset     
    The GP design time offers a set of functions that enables a business expert to create reusable components and model processes with them.     
    Callable objects are the most fine-grained elements created in the design time. They enable the execution of external applications and services into the GP framework.     
    Callable objects are attached to actions, which at runtime represent process steps. They are executed in blocks either sequentially, in parallel, or in a loop. Blocks are the main constructs of a process template. At runtime, they represent the process phases.     
    The GP design time supports data persistency and enables mapping between the parameters of the process building elements. In addition, process role consolidation is possible.     
    Runtime workset     
    In the GP runtime, business users can initiate a process from a process template, and follow its execution. Process contributors are guided through the process steps to complete the tasks assigned to them. This process is work item-driven u2013 that is, a contributor acts only when a work item appears in his or her worklist. In addition, a GP process is role-based, as it may involve multiple contributors that have different roles in the enterprise.     
    The GP runtime offers a set of views that show different aspects of a process.     
    Interactive forms     
    The integration of interactive forms into the GP framework enables the implementation of form-based processes. Both online and offline use of forms is supported.     
    Administration tools     
    At runtime system administrators can monitor and administer process instances and GP system data using the GP support tool in the SAP NetWeaver Administrator and the administration workset in the portal.     
    Translation and transport     
    GP content may be made available in multiple languages using the translation features that the framework provides.     
    In addition, the GP transport system enables the transfer of GP objects across SAP installations.     
    Check these..,          
    wiki          
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/dipankar%2bsaha          
    forums          
    /thread/40632 [original link is broken]          
    /thread/107379 [original link is broken]          
    help docs          
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/0034e14db01a85e10000000a422035/frameset.htm          
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/68231834cf4688e10000000a11466f/frameset.htm          
    http://help.sap.com/saphelp_nw2004s/helpdata/en/97/08ae42e5adcd6ae10000000a155106/frameset.htm          
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/3bfd6765524903e10000000a1553f7/frameset.htm          
    Composite Application Framework Weblog Series          
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/31389b90-0201-0010-3792-87d3d9421478
    Presentation CAF nd GP           
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/334de0f2-0c01-0010-6093-9bbacddc488f?prtmode=navigate          
    pdfs          
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/96ed6ea7-0301-0010-b6b2-90d3e54b037e          
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1eb928a1-0601-0010-f890-be9169f0d856          
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2ae6e722-0701-0010-bdb8-955c90caf32b          
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/31389b90-0201-0010-3792-87d3d9421478          
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20844e88-0d01-0010-de9a-eb2d302df7b7          
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e99cff7a-0601-0010-dea3-e8166c7a7f20          
    weblog          
    Additional CAF Training material online          
    Building ESA and delivering it through CAF          
    CAF II - Which Tools Does SAP Provide?

  • Need help Regarding Payroll and OM

    Hi All,
    Can any one of you provide me a configuration documents regarding Payroll and OM ..I need it very badly.Can any of you help me out in this.You can mail to my id
    [email protected].
    Thanks in advance,
    Sandeep

    hi friends
    can u anybody have Payroll(PCR) DOC , please help me andn  send to my mail ID. [email protected]
    Thanks in advance
    Regards,
    Ramesh.n

Maybe you are looking for

  • HTML Files in Flash

    I have created a document in HTML as I need my Flash Presentation to link to other sites with hyperlinks. I have never actually used HTML with Flash before so I am uncertain on what I should do, do I have to link the HTML document to my text field in

  • Out of iTunes Authorizations

    I am a long time user of iTunes. Over the years I have upgraded my computer, BIOS, hard drives, etc. Each time iTunes treats these updates as a "new computer." I have just used up my last computer authorization and no longer have access to the old on

  • I dont really think that the math header has syntax errors.

    Hi, This is a very serious accusation from make. Mini:Evaluator develop$ make bison -d grammar.y grammar.y: conflicts: 24 shift/reduce flex rules.l cc -0 -o Evaluator grammar.tab.c lex.yy.c -ly -ll -lm In file included from grammar.y:3: /usr/include/

  • Pop-ups on Safari - Macbook Pro

    I have a Macbook Pro and recently, there have been many pop-ups whenever I use Safari.  I have pop-ups turned off, but I still am getting a lot of pop-ups.  How do I fix this? Do I have a virus? Please help. Thanks!

  • Wifi drops every time

    Ever since upgrading to Yosemite on my MBA 2013, the connection drops, and don't reconnect automatic. I do a lot of downloads and is angering. I never had this problem in mavericks. My problem is that, and this fix don't fix. http://www.product-revie