Model View

Would it be natural to have the Views in the Designer interface bind to variables and actions in a single location, so that all data, including available actions, data, instance variables, and P-list variables, etc are in one location and one Interface?
I just noticed how smooth development would be for me if, after setting out the CoreData Model, I could bind the view in the design Interface to the fields in the Core Data Model, and then pull the values in those field into and out of Classes. It would make the entire Cocoa schema more clear to my beginner's mind, especially if a Data Model design interface appeared to have several different sections for Core Data entities, available classes and methods, P-list variables, instance variables, etc. I'm even wondering if it's worth setting up some kind of unified data/variable interface before I go farther into developing?

While it may seem like my posts are not following any logical development, it is not so.
My previous posts have been learning about the systems for data output from the application.
This post is the contrary, or flip-side. Not how data is input into the application, but the possible systems for inputting data into the formulation of the application itself.
It looks like P-lists are a mini form of CoreData, and also protocols a means to create a central data location for declared properties. So there are three places in use through which data can be extracted and replaced by class instances.
What I'm saying is, if the the three locations were linked into one interface, and the view interface could link directly to the data at those locations, then the classes would simply pull, change and replace data as required by their code and all of Cocoa would be much easier to use and understand?

Similar Messages

  • Unable to Distribute Model View in BD64

    Hi Gurus,
    Model View - SR2CLNT251
    Receiver of Model View - EA1CLNT251
    i went to txcode bd64 > i clicked on model view SR2CLNT251 then went to edit > model view > distribute and clicking the logical system of EA1CLNT251. then error will be encountered.
    Model view SR2CLNT251 has not been updated
    Reason: No authorization to change model view SR2CLNT251
    .....authorization object B_ALE_MODL
    .....Parameter: activity 02, model view SR2CLNT251
    i already given correct authorization to my ID, but still the error persists.
    Please help. Thanks!
    Regards,
    Tony

    Hi Tony,
    You need  authorization for authorization object  'B_ALE_MODL'  in system I guess either in system SR2CLNT251  or in EA1CLNT251.
    Best Regards,
    Tushar

  • Mapping Variables(Object View) to Measures(Model View)

    Hi,
    In my AW, I have created a cube, And then I have created a new variable in the object view and populated it using load programs. Now. when I try to create a measure in the model view of the same cube based on this variable, I cannot see any option for assigning a variable to a measure. Can someone please help me out in doing this?
    I need the measure in the model view, because it looks like, when I create a relational view, only the measures that are defined in the model are added to the view and not the variables available in the object model.
    Thanks,
    Bharat

    Hi Bharat,
    The mapping editor is used to map a measure to a relational data source. Therefore, unless you convert your data source used by your DML program to a relational table/view (if it is a text file you can use an external table to present the data to AWM as a relational table, or if it is an Excel spreadsheet and your database is on Windows you can use the heterogenous gateway service to load directly from Excel by exposing the Excel worksheet as a relational table) you will not be able to use the mapping editor.
    To assign an OLAP variable to an measure within a cube you will need to create a custom calculated measure. This will allow you to create a measure that "maps" to your OLAP DML program. There is an Excel utility on the OLAP OTN home page that allows you to create custom calculated measures (at the moment this feature is not AWM10gR2 - but is available within AWM 11g). Click here for more information:
    http://download.oracle.com/otn/java/olap/SpreadsheetCalcs_10203.zip
    My advice would be to try and convert your data source to a relational table/view and using the mapping editor. This will allow you to benefit from the many new features within OLAP cube storage such as compressed composites, data compression, paralled processing, partitioning and aggregation maps. Of course you can code all this manually but it is much easier to let AWM do all this for you via a few mouse clicks. Please note - that everything you build outside of the AWM model view has to be managed (defined, updated, backed up etc) by you rather AWM. So while there are lots of advantages of using OLAP DML, I personally always try to load data into my OLAP cubes using AWM mappings and save OLAP DML for providing the advanced types of analysis that make OLAP such an excellent calculation engine.
    Hope this helps
    Keith Laker
    Oracle Data Warehouse Product Management
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Error in distribution of  model view

    I created a modelview for distribution of CLFMAS types IDOCS from DEV to PRD.
    Created ports,RFC destination etc.
    I was able to generate partner profile in the sending system.When I try to distribute the model view in BD64,
    I get this error . Initially, I thought it was because I did not have authorization for BD64 in PRD. Now that I have, I still get this error.. Any advice ?
    Distribution of model view CHARS2PRD                                                                               
    Target system PRD100                      Communication error occurred                                                                               
    Process request without transaction. TID is empty.

    I see the message did not post properly..THis is the message..
    Distribution of model view CHARS2PRD                                                                               
    Target system PRD100                      Communication error occurred                                                                               
    Process request without transaction. TID is empty.

  • Is model view(BD64) necessary for EDI

    is model view created using BD64 necessary for a EDI transactions? I have created a logical system, a RFC destination and a EDI File Port.
    After all this i am trying to push a material master data using BD10 to the file port. When i do that the system gives me a message saying that master idoc created but it does not create a communication idoc. Only if i have a Model view set up in BD64 it creates a communication idoc. So my question is do we need a model view for EDI configuration?
    ~Suresh

    Hi,
    BD64 is required for master data distribution..
    If you are having a interface that sends IDOCs to the customer or receive IDOCs from the vendor..You don't require BD64 setup..
    Thanks,
    Naren

  • Tcode  PFAL there is no model view for the distribution of HR Data.

    Hi friends ,
    i am facing new problem,i want to send iDOC to other system.
    previeous its working fine.
    but to day  when i open tcode PFAL.
    it give me Error:"There is no model view for the distribution of HR master data"
    what is the solution for that.
    i want to send HR Data.
    its urgent please give me any solution ithat will help me alot.
    thanks in advance

    There is already Distributed Model Created.
    can u give me annother tcode so i can  send Metarial data, by IDOC.
    please help me.
    Thanks

  • Reg. Model View BD64

    Hi,
    I have created a model view  and generated the partner profiles. when i am distibuting the model view, I am getting an error " Model View XXXX has not been updated"  "Reason: Maintenance systems for model view XXXX are not identical".
    could anybody tell me , how to resolve this issue.
    Thanks & Regards,

    Any luck with the resolution to this error?
    Thanks,
    John

  • Problem in Disrtibuting Model View

    Dear Geeks,
    I have a problem in distributing the model view.
    I have created a new Model view & added message type DESADV to it along with the SENDER & RECEIVER system.
    Sender System: ECC 6.0
    Receiver  System: PI 7.0
    Error Message:
    ModelView PI-TRAN has not been updated.
    Reason Distribution model is currently being processed.
    How to resolve it or what could be pssible cause?

    Hi Yogesh,
    Yes other systems are using the Sender logical
    system but not the Receiver logical system defined/used by me.
    Yes some other models are active with Sender
    logical system that i have used as their Receiver
    logical system but with some other Message types.
    Will the above settings conflict with that of my Distribution model?
    Thanks,
    Rajendra.

  • Problem with Model View

    hi friends,
    i am working with ALE to transfer data across two clients.
    i had created two logical system EDI900, EDI950 and model view MODEL_VIEW
    but when i am distribute this model view i am getting error as
    model view MODEL_VIEW has  not been updated
    reason:maintance system in sending system EDI900
                 maintance system in receiving system EDI950
    i had searched in SDN with this keyword i got lot of links but i can't find proper solution.
    so please give me the correct solution.
    thanks in advance.
    Regards,
    Karunakar

    hi jurgen,
    thanks for your reply.
    here i am distributing model view with message type.
    and i am transferring data across two clients in one SAP system.
    here i am ligin in target system and delete the model view which previouslly assigned.
    now i am distributed successfully.
    Regards,
    karunakar

  • IDOC Model View Generation Issue

    Hi all,
    I am working on IDOCS and I am facing the follwing error when I try to distribute the Model View in IDOC--
    "the following ALE connection already exists in model view HR_TO_PI"
    I had deleted the above "HR_TO_PI" model view and I created a new one with new name.
    But I still get the same message.
    I don't think this is an issue with configuration.
    I am assuming it's an issue with table entries. Does this-"HR_TO_PI" value get stored in any table in the back end ?
    Kindly help. I had a look at SDN and other places but they all ask to check for partner profiles and logical systems which I believe I have configured right.
    Warm regards,
    Hari Kiran
    Edited by: HARI KIRAN REDDY on Feb 23, 2012 11:24 AM

    Hi Sravan,
    I had a look at TBD00. It shows all my current distribution models but not the one mentioned in the error.
    I had a look at some other tables in the TBD series but of no help.
    I don't know in which table  that entry has ended up.
    It's frustrating.
    Thanks for the input once again.
    Warmr egards,
    Hari Kiran

  • IDoc to IDoc scenario: distribute the model view

    Hi!
    I try currently to  configure a IDoc to IDoc scenario for SAP ECC 6.0 system with following business 2 systems:
    ERP:100 (Sender)
    ERP:200 (Receiver)
    and XIB:100 (XI system)
    I successfuly created  a message type and generated the model view in tcode BD64.
    Question:
    When I try to distribute the model view which system should I choose?
    a) XI System or
    b) Receiver system ERP:200
    When  I choose the receiver system ERP:200 and get the following error
    Target system: ERP:200
    Model view ECCCLNT100 has not been updated
    Reason: Distribution model is currently being processed
    When I try to choose my XI system I get the following error:
    Target system: XIB:100
    RFC destination for synchronous communication (message type SYNCH)
    Partner profile LS PIBCLNT100 SYNCH does not exist
    Generate partner profile
    or specify outbound partner profiles for message type SYNCH
    Is that an error? If yes, how can I fix them?
    Thank you very much
    Thom

    Hi
    Look my reply on this thread regarding SYNC Message Type.
    Re: problem while distribute model view
    When I try to distribute the model view which system should I choose?
    a) XI System or
    b) Receiver system ERP:200
    You are sending IDoc to XI then R/3 so select XI system. because receiver of IDoc is XI then IDoc would be send from XI.

  • IDOC to IDCO scenario: Distribution of model view

    Hi!
    I try currently to configure a IDoc to IDoc scenario for SAP ECC 6.0 system with following business 2 systems:
    ERP:100 (Sender)
    ERP:200 (Receiver)
    and PIB:100 (XI system)
    I successfully created a message type u201CZCREMRu201D and generated the model view PIMODEL in tcode BD64.
    Sender: ERP:100
    Receiver: PIB:100
    I assigned 3 partner profiles ERPCLNT100, ERPCLNT200, PIBCLNT100 and assigned a message type SYNCH with IDOC type SYNCHRON as outbound parameter.
    Unfortunately when I try to distribute the model u201CZCREMRu201D and choose my XI system I get the following error:
    Distribution of model view PIMODEL
    Target system PIBCLNT100      
    Model view PIMODEL has not been updated
    Reason: Distribution model is currently being processed
    Question:
    Do I miss some other inbound and outbound parameters?
    IF yes, which and on which systems?
    Thank you very much!
    regards
    Thom

    Hi Rob
    Y're right i made mistake when i was creating in SRM RFC destination puting host name of SRM system  not ERP.
    Thanx
    Marcin

  • How to do outer join in data model view?

    Hi,
    I have 2 queries are needed to be joined in Oracle Report 6i Data Model View. What I want to do is below:
    where table1.receipt_no(+)=table2.receipt_no
    How do I use the 'Data Link' to do this in Data Model view?
    Thanks.
    Jun

    Hi
    You need to use data links. Refer data link section in BUilding Reports manual at http://otn.oracle.com/products/reports/htdocs/getstart/docs/B10310_01/orbr_concepts1.htm#1013156.
    Thanks
    Rohit

  • Oracle 11g R2 Model view DML formulae/programs

    Hi All,
    We are in the process of migrating our cubes from 10.2 to 11.2. We have lot of DML formulae and programs in object view in our current environment(10g). As 11g R2 does not support Object view we are trying to move all our formuale and programs to model view. We are looking for some guidance/suggestions on this topic.
    Our current problems are we have lot of formulae of different dimensionality in our object view for ex if we have 6 dim then we have DML formulae from different combinations of these 6 dimensions which is forcing us to create cubes(logical) of all these different dimension combinations.
    I saw somewhere online I can edit awm.properties file and still can use Object view in 11g also. I am not sure that is a best practice. Eventually object view completely gets locked from users in next releases?

    The object view is not supported in 11g. While it is true that you can enable it as Brijesh describes, it will not display 11g generated objects correctly. One technical issue is that the java code in the object view attempts to parse the object definition in the client. (e.g. DEFINE xyz VARIABLE INTEGER). It has not been updated with new 11g keywords (such as LOCKDFN), and frequently produces errors or (which is worse) misleading information. You could try OX if you can track down a copy.

  • SQL Developer Data Modeler Viewer - domain datatypes

    I'm using the SQL Developer Data Modeler Viewer (that comes free with SQL Developer) to view a model that was created in Oracle SQL Developer Data Modeler (the chargeable product). The colums have all been defined using domain datatypes. I have an XML file defining the domains but I cannot see where in the viewer you can import a domian file into or where in the model's directory structure the file can be placed to be read by the viewer. Without this the columns are all showing as datatype 'Unknown'.
    Any help much appreciated, thanks.

    two set of domains can be maintained in Data Modeler:
    - per installation - they are in file defaultdomains.xml in "datamodeler\domains" directory
    - per design - they are in "domains" directory under your design directory -
    "Per installation" domains are used in your case - "per design" domains are "attached" to design - when you send the design to someone else, they are in design structure.
    Your solution - to get defaultdomains.xml file from installation where design is created and to put it in your "datamodeler\domains" directory.
    Philip

  • Model-View-Presenter - help

    Hi,
    I recently read about Model-View-Presenter on Martin Fowler's website, and elsewhere. I think I understand the idea...
    The view just displays the GUI components..events fired from the View are delegated to a Presenter. The presenter then deals with the model and updates the View accordingly. Sound about right?
    Ok, so I learn best by example..and I haven't found any code samples yet, so I thought I'd give it a shot. Below is my code...
    Model
    * the model to be displayed in a View
    public class Album {
         private boolean isClassical;
         private String composer;
         public String getComposer() {
              return composer;
         public void setComposer(String composer) {
              this.composer = composer;
         public boolean isClassical() {
              return isClassical;
         public void setClassical(boolean isClassical) {
              this.isClassical = isClassical;
    View - interface
    import java.awt.event.ActionListener;
    * An interface which defines the methods needed by a presenter
    public interface View {
         public boolean isClassical();
         public void setClassical(boolean b);
         public boolean isComposerEnabled();
         public void setComposerEnabled(boolean b);
         public void addClassicalChangeListener(ActionListener al);
         public void showView();
    View - implementation
    import java.awt.Dimension;
    import java.awt.event.ActionListener;
    import javax.swing.JCheckBox;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    * A an implementation of the View interface.  It shows a checkbox
    * and a textfield.
    public class MyView extends JFrame implements View {
         private JCheckBox checkboxClassical;
         private JTextField textfieldComposer;
         private MyPresenter mp;
         public MyView() {
              checkboxClassical = new JCheckBox("Classical");
              textfieldComposer = new JTextField();
              textfieldComposer.setPreferredSize(new Dimension(100, 20));
              textfieldComposer.setEnabled(false);
              JPanel p = new JPanel();
              p.add(checkboxClassical);
              p.add(textfieldComposer);
              add(p);
              setSize(600, 400);
         public void addClassicalChangeListener(ActionListener al) {
              checkboxClassical.addActionListener(al);
         public void setPresenter(MyPresenter mp) {
              this.mp = mp;
         public void setClassical(boolean b) {
              checkboxClassical.setSelected(b);
         public boolean isClassical() {
              return checkboxClassical.isSelected();
         public void setComposerEnabled(boolean b) {
              textfieldComposer.setEnabled(b);
         public boolean isComposerEnabled() {
              return textfieldComposer.isEnabled();
         public void showView() {
              setVisible(true);
    Presenter
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    * A presenter for a View.  When the "classical" fires
    * an ActionEvent, the "composer" component is enabled or disabled.
    public class MyPresenter {
         private Album album;
         private View view;
         public MyPresenter(Album album, View viewVal) {
              this.album = album;
              this.view = viewVal;
              view.addClassicalChangeListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        view.setClassical(view.isClassical());
                        view.setComposerEnabled(view.isClassical());
              view.showView();
    }and here is a simple Main to tie it togehter.
    * Ties together the M-V-P
    public class Main {
         public static void main(String[] args) {
              Album al = new Album();
              al.setClassical(false);
              MyView myView = new MyView();
              MyPresenter mp = new MyPresenter(al, myView);
              myView.setPresenter(mp);
    }Ok, the idea is this. The GUI shows a checkbox and a textfield. basically, if the checkbox is selected the textfield is enabled and can be typed into. If the checkbox is not selected, the textfield is disabled. From the model point of view, if isClassical is false, then no composer can be defined.
    So, is my code following the pattern? Does anyone have any simple code to contribute as an example? For some reason is just seems weird to me that I would have an interface define a bunch of methods that the Presenter can call. And I have to create the Model and View which get passed to the presenter, and then I have to set the presenter on the view....it just seems weird to me.
    Any comments, suggestions, examples??
    Thanks for your time and contributions.

    The other information didnt answer my questions. The response was mixing the idea of MVC instead of MVP, and then the response discussed what they thought was wrong with MVP and why they use a different model. I am looking for help on understanding the pattern more, also for someoen (who knows about MVP) to look at my sample code and help me understand what I did right/wrong.
    Thanks.

Maybe you are looking for

  • Possible Motherboar​ds for C855

    Hello, I own a Toshiba Satellite C855-12K, I have owned it for about 3 years, but 2 weeks ago, I accidentally damaged the motherboard, while I was cleaning the computer, at first I thought it was the display or video card that has broken, because it

  • Problem Loading Word documents in BLOB columns

    Hi I tried loading the documents in the BLOB column, then indexing and then text serach, but the query does not work or guess that the document does not get loaded The table structure is table: Content feilds id number (10) pk author varchar2(30) doc

  • High availability for a website

    I have an entry on a DNS server for a domain "aa.bb.test.com" which points to 1.1.1.1 which is VIP address on the CSS at the primary site. i would like to add another css at another site as a backup. What exactly I have to do to configure the other c

  • Valuation method for Reasult Analysis

    Dear PS experts, Normally what is the valuation method we are using in india.  I assueme 03 is the correct valuation method for calculating wip in india.  Is there any other method can u explain. Regards

  • How to configure FTP Adapter in BPEL PM 10.1.2 Beta3?

    Greetings all! I am working on a legacy integration using BPEL PM. I need to use FTP adapter. There is little information in the Beta Documents on FTP Adapter. Can anyone point me to the right direction on how to configure the FTP Adapter, or where t