How to load model from one DC to other ?

Hi ALL,
I have created a WebDynpro DC (say A) , and created a EJB Model (in this case , but can be any Model) and exposed the same as public part.
How do i use this from some other WebDynPro DC (say B)?
I need to load that model created in A from the B and use it for creating the model nodes at runtime and using it for getting the data (All through Dynamic programming )?
Regards,
Madhusudhan

Hi madhusudhan,
                           Hope this will help
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cef4f43e-0d01-0010-db84-ede25c874115</a>
<a href="/people/sap.user72/blog/2006/07/27/arfc-without-model-nodes-you-must-be-joking-right:///people/sap.user72/blog/2006/07/27/arfc-without-model-nodes-you-must-be-joking-right
regards
Sumit

Similar Messages

  • How to move table from one tablespace to other tablespace?

    how to move table from one tablespace to other tablespace?

    887274 wrote:
    how to move table from one tablespace to other tablespace?
    alter table <table_name> move  tablespace <new_tablespace_name>;
    Rebuild the indexes; alter index <index_name> rebuild <new_tablespace_name> online;Example;:
    SQL> create table ttt( ID NUMBER PRimary key);
    Table created.
    SQL> insert into ttt values (1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL> alter table ttt move tablespace users;
    Table altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 UNUSABLE
    SQL> alter index SYS_C0010863 rebuild tablespace users online;
    Index altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL>

  • How to  move items from one JList to other

    Can u pls help me out to implement this(I m using Netbeans 5.5):
    I want to move items from one JList to other thru a ADD button placed between JLists, I am able to add element on Right side JList but as soon as compiler encounter removeElementAt() it throws Array Index Out of Bound Exception
    and if I use
    removeElement() it removes all items from left side JList and returns value false.
    Pls have a look at this code:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
    Object selItem = jList1.getSelectedValue();
    int selIndex = jList1.getSelectedIndex();
    DefaultListModel model = new DefaultListModel();
    jList2.setModel(model);
    model.addElement(selItem);
    DefaultListModel modelr = new DefaultListModel();
    jList1.setModel(modelr);
    flag = modelr.removeElement(selItem);
    //modelr.removeElementAt(selIndex);
    System.out.println(flag);
    }

    hi Rodney_McKay,
    Thanks for valuable time but my problem is as it is, pls have a look what I have done and what more can b done in this direction.
    Here is the code:
    import javax.swing.DefaultListModel;
    import javax.swing.JList;
    public class twoList extends javax.swing.JFrame {
    /** Creates new form twoList */
    public twoList() {
    initComponents();
    //The code shown below is automatically generated and we can�t edit this code
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">
    private void initComponents() {
    jScrollPane1 = new javax.swing.JScrollPane();
    jList1 = new javax.swing.JList();
    jButton1 = new javax.swing.JButton();
    jScrollPane2 = new javax.swing.JScrollPane();
    jList2 = new javax.swing.JList();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jList1.setModel(new javax.swing.AbstractListModel() {
    String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
    public int getSize() { return strings.length; }
    public Object getElementAt(int i) { return strings[i]; }
    jList1.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
    public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
    jList1ValueChanged(evt);
    jScrollPane1.setViewportView(jList1);
    jButton1.setText("ADD>>");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1ActionPerformed(evt);
    jScrollPane2.setViewportView(jList2);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(31, 31, 31)
    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jButton1)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(78, Short.MAX_VALUE))
    layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(layout.createSequentialGroup()
    .addGap(62, 62, 62)
    .addComponent(jButton1))
    .addGroup(layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
    .addContainerGap(159, Short.MAX_VALUE))
    layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jScrollPane1, jScrollPane2});
    pack();
    }// </editor-fold>
    //automatic code ends here
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
            jList1 = new JList(new DefaultListModel());
            jList2 = new JList(new DefaultListModel());
             Object selItem = jList1.getSelectedValue();
             System.out.println(selItem);
            ((DefaultListModel) jList1.getModel()).removeElement(selItem);
            ((DefaultListModel) jList2.getModel()).addElement(selItem);
    //Now trying with this code it is neither adding or removing and the value �null� is coming in �selItem� .It may be bcoz JList and Jlist are already instantiated in automatic code. So, I tried this:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
             Object selItem = jList1.getSelectedValue();
             System.out.println(selItem);
            ((DefaultListModel) jList1.getModel()).removeElement(selItem);
            ((DefaultListModel) jList2.getModel()).addElement(selItem);
    //Now with this as soon as I click on �jButton1�, it is throwing this error:
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: twoList$1 cannot be cast to javax.swing.DefaultListModel
            at twoList.jButton1ActionPerformed(twoList.java:105)
            at twoList.access$100(twoList.java:13)
            at twoList$3.actionPerformed(twoList.java:50)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
            at java.awt.Component.processMouseEvent(Component.java:6038)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
            at java.awt.Component.processEvent(Component.java:5803)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4410)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2429)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

  • How to copy data from one column to other column

    hi,
    can any one tell me how to copy data of  one column to other column for some specific data
    example
    productno  ocalyear        actualsales  prevplansales   currentplansales
    p001       2007                  100              120                   
    p002       2007                   90               100
    p003       2007                  120              130
    p004       2007                  140              120
    p005       2007                  150              150
    i want to copy data of p001 and p002 from prevplansales to current plansales
    productno  ocalyear        actualsales  prevplansales   currentplansales
    p001       2007                  100              120              120     
    p002       2007                   90               100              100
    p003       2007                  120              130
    p004       2007                  140              120
    p005       2007                  150              150
    is it possible to do?
    please suggest me.
    i will assign points

    Hi,
    I think the needed techniques are already described in the documentation, e.g. in
    http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
    or
    http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
    The main techiques used in the above example to bind the filter of the planning function to selected (marked) objects in the analysis item or to drop down boxes (or both). These techniques are used in the above examples.
    Regards,
    Gregor

  • How to pass control from one component to other component

    Hi,
    I have a requirement to pass control from one component to other component.
    Here is my requirement.. l have two portal components, one is search component and other is result component. I have this search component as quick navigation iView where we can enter a value and results will display in results iView, it's a main iView.
    When search view gets the results, I will display the count in search view and result in results view. .i.e.. both the iviews are viewed at any time.
    Can any one advise me how to acheive this.
    Thanks,
    Chinna.

    Hi Sandeep,
    Thanks for the reply. I have gone through the EPCF API, and tried with doNavigate('iViewName').
    when I click on the button in search view (quikc navigation frame), instead of page getting refreshed in result iView, whole page is replaced by results iview. I want only search view and results view gets refreshed.
    can you please tell me which even should I use for this scenario...
    Thanks,
    Chinna

  • How to move items from one list to other

    hi all,
    in jsp page i have twolist boxes. i want to move item from one list to other list on click of add or move button. can u plz suggest me an answer for the above. thank u
    Regards sangeet

    This link should help. Remove from one list and add to the other using Javascript.
    http://www.mredkj.com/tutorials/tutorial006.html

  • How to do forward from one XML to other?

    Hello!
    I would to do forward from one XML to other like in HTML use tag <meta>:
    <meta http-equiv="REFRESH" content="0;url=http://...">
    Could XML to control HTTP query?

    I apologize, but your scenario still does not make sense to me.
    The user requests a URL, an XML page is returned to their browser, then immediately another XML page is returned to their browser?
    Maybe try to explain in functional terms what you're trying to achieve rather than assuming that "forwarding" or refreshing is the solution. Stated this way, I still don't have an idea of what kind of application you're trying to build.

  • How to load data from one Infocube to another request by request using DTP

    Hi All,
    I have a scenario where we are maintaining backup Infocube B for Infocube A.  User loads data from a flat file many times a day in different requests.  We need to maintain backup of the Infocube A on weekly basis.  i.e data to be refreshed with delta update from cube A to cube B.  There are some situations where user deletes some of the requests in Infocube A randomly after use.  Will this change effect in back up cube B when performed data refresh from cube A to cube B.  i.e. this functionality is similar to reconstruct in BW 3.5.  Now we are running on BI 7.0 SP 9.
    Can anyone answer this ASAP.
    Many Thanks,
    Ravi

    You cannot load request by request, " Get Data By Request " DTP loads request by request on " First In First Out " basis. You can run some Pseudo/Fake DTP's if you dont want to load data from a particular request.
    If the user deletes a request from Cube A, it wont be loaded to Cube B but if it is already loaded in Cube B and later the user deletes the request from Cube A you have to delete the request frm Cube B. Inorder to monitor request by request run DTP with   " Get Data By Request set.

  • How to load data from one Infobject into another in the same system??

    Hello All,
       i need to load hierarchy data (already existing in 1 Infobject) into another newly created Infobject in the same BW system.Is there a way to do it without involving flat files??
    Thanks soo much in advance
    Regards,
    Priya

    hi
    say there are two infoobjects X  and Y.
    X is existing infoobject and Y in new one.
    go to infosurce-search for X-create export datasource - map the rules and load the data.
    This is one way.
    Other way is u can use X as a reference object of Y so that both of them have same structure and both objects will share common database tables in BW which are exsting for X.
    Hope this helps.
    Kindly assign the points if it helps.

  • How to move OU from one suffix to other suffix and waht kind of precautions we need to take?

    Hi All
    Hope all are doing well.I love to read this blog regularly and i also posted couple questions here and i got very brilliant answers and hoping same now.
    Question is: We are planning to change our DIT structure like moving OU (contains 80k entries including static groups and managed roles,filtered assigned to users) from one sub-suffix to root  suffix as below.
    Currently we have ou=ldap,ou=directory,dc=example,dc=com
    Where ou=ldap has 80k entries and it included managed roles,filtered roles and static groups assigned.
    Planning to change DIT as below.
    ou=ldap,dc=example,dc=com
    1> How to implement this please give some technical knowledge of doing this
    2>What precualtions we need to take?
    3> Do we have any outage
    We have 12 servers installed ldap instance all MMR and its ODSEE 11.1.1.7.0
    Let me know if you need more information

    Hello,
    At first glance, the easiest way would be to use LDAP mod dn operation. However, I would encourage you to review potential issues first:
    Before performing a modify DN operation, ensure that the operation would not break client authentication: how do you application depend on the user DNs ? Do they directly bind as <uid=some user>, ou=ldap,ou=directory, dc=example,dc=com or do they discover the actual user dn by doing a lookup/search first as many portal apps do ? Moving entries may require changes to the client application side. Is it something acceptable for you or should that move be transparent for the client apps ?
    Similarly, If you move an entry that refers to a SSL client certificate, client authentication will break after moving an entry. Are you using client certificates ?
    Before performing a modify DN operation, ensure that the operation would not break your application. The rename or move of an entry can change the following characteristics of the entry: The scope of a filtered role of an entry, The nested role of an entry, where the nested role contains a filtered role, The dynamic group membership of an entry. Furthermore, the entryid attribute of an entry can change when an entry is moved so this may impact your applications if they use the entryid operational attribute.
    Static groups that contain reference to the old user dn may be updated automatically if you Enable and configure the referential integrity plug-in on all master replicas in the topology. This action ensures that the server maintains referential integrity for groups and roles.
    LDAP mod dn and associated constraints are described at Directory Server Entries - 11g Release 1 (11.1.1.7.0)
    -Sylvain
    When closing a thread as answered remember to mark the correct and helpful posts to make it easier for others to find them

  • How to Migrate WSDLs from one environment to other

    Hi All,
    can somebody please tell me how can WSDLs from one environment be migrated to other environments.
    I could not see any option in CMU.
    Do i need to create them Manually in every environment.
    many thanks,
    sapan

    As I recall, you can manually move the file data/soap/custom/wsdl_custom.hda from the instance folder on one system to the other. Then, manually choose the option to publish the WSDLs from the WSDL generator tool in admin interface. Not automatic in any way (well, the publishing is kind of automatic) but certainly better than manually re-entering the WSDL definition.
    Note that this will not do if you need to merge WSDLs from the first system to the second system. By moving the HDA file you will be replacing all custom WSDL definitions on the second system with those from the first.
    Jon-Eric Eliker, Vision Marshal
    Frontline Logic, Inc.
    http://www.frontlinelogic.com

  • How to move infoobject from one infoarea to other

    Hi All,
    I need to move a particular infoobject from one infoobject catalog  to other.
    1. I went to change mode of infoobject catalog and tried to drag and drop the particular infoobject, but its not possible.
    2. Also let me know whether CMOD code is client dependent or independent.
    Kindly throw some pointers on this.
    Thanks,
    Sri Arun Prian

    Hi,
    Go to change mode of infoobject for which you want to change Infoarea.
    In the Master Data /Text tab you have option of selecting InfoArea Using F4 help,
    you can select the new Infoarea then save and activate infoobject.
    After that refresh the screen you can infoobject in right Infoarea.
    Vikas

  • How to upgrade transports from one sp to other

    Hi,
      I have transports which are created in support pack 11 for example. My whole system is the upgraded to support pack 12. I have large number of transports which are not moved to quality. Is there any program or any step where I can regenerate these transports from one support pack to other. I know I can make any small  change in the program and save them which will create a new transports but I have huge list. Please advise.
    Regards,

    You need to create the transports again, You can move the existing transports simply into Quality system.
    Well as per SAP theory during transports both the system should be equal in the Application level, but really it is not possible every time, becasue there are lots of update are coming regularly and you cannot create so many environement to test it first, so usually we are doing the same. we import the request between two support release,
    Regards
    Subhash

  • How to copy data from one cube to other?

    Hi experts
    I have 2 system defined cubes..
    Now in 1st cube there is data till 2007  which is coming from 2LIS_04_P_MATNR.
    I want to copy this data in 2nd cube..
    Please suggest me.. how can I do it?
    Regards
    Swati

    swathi..
    create a export datasource option for exisintg the cube...
    Then replicate the same exported datasource which you craetd.
    Then do the trasnformation one to one from the exisitng cube(i mean which the datamart crated by u)
    Now load the infopackage from the old cube to new cube...
    we implemented the same in many of our data targets in the current project

  • How to pass data from one component to other component.

    Hi,
      I have created a table view in Item Details Page Under Price Agreement Assignment Block. Price Agreement Assignment Block has one table as standard. I have created one more view Under the Assignment block of Price agreement(CRMCMP_CND). In that view I have an option to enter data when the user click on edit. In that custom view, If user cnages to edit mode and enter data. it has to save when user click's on save button in Quotation page(BT116QH_SRVQ). From Quotation page user clicks on item to get the Item details. In the Item details there is an Price Agreement Assignment Block. In that Custom view was created and assigned to it. Data entred in that view needs to be stored when user clciks on Save button on Quotation page when he comes back. How to get the custom view data from CRMCMP_CND to BT116QH_SRVQ). Please advice. Thanks In Advance.

    Hi Satish,
    Global custom controllers are not available everywhere. So before using them please make sure that they are available for your case.
    http://sapdiary.com/index.php?option=com_content&view=article&id=2402:sap-network-blog-interaction-center-global-custom-controllers&catid=81:data-services&Itemid=81
    if you find problems in navigating data using component controllers then you can also navigate it through navigation links.
    If you see your outbound plug method op_xxxxx, then there is a method call to navigate method. This method has an option to pass your data collection. Pass your data collection and also inbound plug so that in target component you can read and temporarily store data as soon as you hit target component.
    Hope that helps,
    BJ

Maybe you are looking for

  • Internally required memory is not available in SMQ2

    Hi All, In our XI Production server one message in SMQ2 (Inbound) has been stucked. Error details "Internally required memory is not available ". This IDOC is having a size of 552 MB, when I checked the sap fourms I found that there is one instance p

  • Standby database creation with the Grid Control Wizard.

    Has anyone had issues with this tool ? I keep getting 'Failed' with the following error on the step 'Restore One Datafile' and step 'Restore Current Logs' . SQL> Connected to an idle instance. ORA-01034: ORACLE not available All the other steps 'Succ

  • Po change after release and printout

    Dear Experts, My client require if we change the PO in any field ( expect qty and amount ) our po should be go in the po release again we using release indicator 4 and 6 but we want release should be go if we change any field like date tax code text

  • Customize look of javascript disabled page items

    I'm using javascript to enable and disable text field items on a page based on the user's access level and role. I chose to use a script for this because every item on the page is affected, and it seemed easier to maintain and debug by collecting all

  • Reg:Email id of the PERNR ABAP-HR

    Hi Team, I have a requirement here that needs to send a mail to the Email address of the PERNR. So here the question is How can i get the email id of the PERNR?? email address are stored in USR21 table i only have PERNR ?? So how can i relate it? in