How to Transper data Model Node to Vallue Node

Hi Friends
I am getting problem in Create the Check box in Table
I am getting model node from ECC System(Zmmoa_Pending_Getlist_Input)
This is path for attributes avaliable
Zmmoa_Pending_Getlist_Input-Output-outtab 
Under outtab  all attributes available
My Requrement is display Check box. So I am doing like this I will care one more Vallue Node (OutTab_1) under this Vallue Node I put I have node attributes.here I careate one Check boxdatatype --Boolean(i.e Under outtab attributes)
Now I will get data from ModelNode and send that data to Vallue Node(by this node that data display in table formate.Eache Row Having Check box)
So I have to this Code But Data is Not getting in Vallunode table
in FirstView
in Submit Button
public void onActionGetData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionGetData(ServerEvent)
    //$$begin ActionButton(1164287125)
    //wdThis.wdGetExamp2CompController().checkSRA();
     wdThis.wdGetExamp2CompController().checkBox();
    wdThis.wdFirePlugToSV();
    //$$end
    //@@end
This is code writen in CC
public void checkBox( )
    //@@begin checkBox()
    //Date today = new Date(System.currentTimeMillis());
    IWDMessageManager mes = wdComponentAPI.getMessageManager();
    try
         Zmmoa_Pending_Getlist_Input input1 = new Zmmoa_Pending_Getlist_Input();
         wdContext.nodeZmmoa_Pending_Getlist_Input().bind(input1);        
          wdContext.currentZmmoa_Pending_Getlist_InputElement().modelObject().execute();
          wdContext.nodeOuttab().invalidate();
//          IPrivateExamp2Comp.IOutTab_1Element elem = wdContext.nodeOutTab_1().getOutTab_1ElementAt(i);         
         //mes.reportSuccess("Input:" +wdContext.nodeOuttab().size());
                  for (int i =0; i < wdContext.nodeOuttab().size(); i++)
               //mes.reportSuccess("Input Of I:" +wdContext.nodeOutput().size());
               //mes.reportSuccess("Input:" );
               IPrivateExamp2Comp.IOuttabElement  elem = wdContext.nodeOuttab().getOuttabElementAt(i);
               //wdComponentAPI.getMessageManager().reportSuccess("elem::  "+elem);
               IPrivateExamp2Comp.IOutTab_1Element result = wdContext.nodeOutTab_1().createOutTab_1Element();
         //Zbapiresult result = new Zbapiresult();
         result.setCheckBox(false);
         result.setConf_Shp_Date(elem.getConf_Shp_Date());        
          wdComponentAPI.getMessageManager().reportSuccess("Conf_Shp_Date::  "+elem.getConf_Shp_Date());
         result.setExpt_Shp_Date(elem.getExpt_Shp_Date());
         result.setMaterial(elem.getMaterial());
         result.setMatl_Desc(elem.getMatl_Desc());
         result.setOa_Quantity(elem.getOa_Quantity());
         result.setOpn_Quantity(elem.getOpn_Quantity());
         result.setPo_Item(elem.getPo_Item());
         result.setPo_Number(elem.getPo_Number());
         result.setPo_Status(elem.getPo_Status());
         result.setPur_Group(elem.getPur_Group());
         result.setStat_Date(elem.getStat_Date());
         result.setQuantity(elem.getQuantity());
         wdContext.nodeOutTab_1().addElement(result);
     catch(Exception e)
               mes.reportException(e.getMessage(), false);
    //@@end
can u help me
how to Transper data Model Node to Vallue Node. By using vallue node that data will display in table format with Check box.
I need data display in table format with Check box
Regards
Vijay Kalluri

Hi Vijay,
TO copy values from Model Node to Value Node use the copyElements() method of the WDCopyService API. To acheive this, the name and type of the attibutes in the Value Node should be same as Model node attributes.
Example: -
Model Node <----
> Value node
---Name-String                                       ---Name - String
---Number-Integer                                  ---Number -  Integer.
then use the following statement:
WDCopyService.copyElements(wdContext.node<ModelNode>(),wdContext.node<ValueNode>());
This will copy all the values.
Regards,
Poojith MV

Similar Messages

  • How to print Data Model in Report??

    Do anyone know how to print Data Model??
    Thanks your help.
    - Frank

    Hi Venkat,
    Thanks alot.... i am checking the appendix k.
    I want to know that if i want to customize the report as per the client requirement,
    can you please let me know which template i will use if i required remittence advice as well as check print data on the layout.
    The following is the list of field i required:
    Vendor ID
    Check Date
    Check number
    invoice date
    invoice/ CR memo number
    invoice description
    invoice gross amount
    invoice discount amount
    invoice net amount
    total gross amount
    total discount amount
    total net amount
    logo
    company name and info
    bank name and info
    check number
    check amount spelled out
    check date
    check amount numeric
    payee name
    CEO signature
    MICR check number
    MICR routing number
    MICR bank account number
    mailing return address
    mailing address
    Venkat it would be great help if you please let me know the exact process to be follow for check printing report.
    I worked on bi publisher report in 11i, but in 12i the process is bit different.
    also if you have any template ready can you please send me on my mail id ... i forwarded you the test mail from my official id or on [email protected]
    Looking forward to your kind response.
    Regards
    Ratnesh

  • How to save data model design in pdf or any format..?

    how to save data model design in pdf or any format..?
    i ve created design but not able to save it any mage or pdf format

    File -> Print Diagram -> To PDF File

  • How to see data modeller reports in sql developer?

    How to see data modeller reports in sql developer?

    1) export your design to existing schema in Oracle database
    2) define connection to that schema in SQL Developer
    3) find "Data Modeler Reports" in reports window of SQL Developer - probably "design rules" are more interesting here
    Philip

  • How to access data from node of other view into node of diff view?

    Hi all,
                  My requirement is that I have account defined in 'CLEAR_HEAD' component , view is 'CLEAR_HEAD/ClearAccountsEF'
    context node is 'TARGETVALUE' and attribute is 'ACCOUNT1'. I need to access this account information in the same component but in another view 'CLEAR_HEAD/ClearAddressEL' and the context node is 'DEPLIST' and attribute is 'RADIO1'. I have one custom controller 'CLEAR_HEAD/CuCoHead'  already defined in this component. I checked the above 'TARGETVALUE' node but it is not bind to any Custom controller. And I also checked the above pre-defined custom controller  'CLEAR_HEAD/CuCoHead'  and the context node in this Custom controller is different from those of the above context nodes and the only one context node defined in this custom controller  'CLEAR_HEAD/CuCoHead' is 'LISTNODE'.
    My quesitons are
    1. How to bind the above context node(TARGETVALUE) to the custom controller. Can I bind it to the above existing custom controller  'CLEAR_HEAD/CuCoHead'  , if so then how can I do since the above custom controller doesn't contain this context node(TARGETVALUE) and it contains only  the context node 'LISTNODE'. If I can use the above existing Custom Controller then can I directly do binding by right clicking the context node(TARGETVALUE) -> Create binding. Then what should be the value in Target Contex Node?
    2. Do I need to create another custom controller If so then can I directly follow the steps defined in this link '/people/vikash.krishna/blog/2009/12/28/crm-70-how-to--5d-custom-controller-and-binding-of-context-nodes' ? If so then what should be the Model node and Bol Entity name?
    I appreciate your help..
    Thanks,
    Chinnu.

    HI Chinnu, <br />
    <br />
    Approach 1: <br />
    Bind the context node view1  TARGETVALUE with Component controller.<br />
    and in View2 <br />
    data lr_comp_controller type ref to X----component controller<br />
    lr_entity TYPE REF TO cl_crm_bol_entity.<br />
    lr_comp_controller ?= me-&gt;comp_controller.<br />
    <br />
    lr_entity ?= lr_comp_controller-&gt;typed_context-&gt;Y-&gt;collection_wrapper-&gt;get_current( ). Y---CONTExt node in view1.<br />
    <br />
    Approach 2: <br />
    Declare a static attribute in the View controller of first view.<br />
    Read the attribute D1 value from DO_PREPARE_OUTPUT of first View and pass it to the Static sttribute.<br />
    In your 2nd view u can read this Static Atribute and use it.<br />
    Static Attribute u need to call as follows . Z********IMPL(Implemantation Class)=&gt;ATTR1<br />
    <br />
    Approach 3: <br />
    Creae a custom controller with the same context node used in view 1. <br />
    Bound the custom controller context node to view 1 context node.<br />
    <br />
    Now in view 2, get the custome controller and read data from it.<br />
    <p />
    <br />
    View1 context node: BTADMINH<br />
    <p />
    Custom controller: BT115QH_SLSQ/AdminH   context node: BTADMINH_CUCO<br />
    <p />
    In view 1 context class (CTXT class), go to CREATE_BTADMINH method and append the below code to bind both the context nodes,<br />
    <pre class="jive-pre"><code class="jive-code jive-java">* bind to custom controller
       owner-&gt;do_context_node_binding(
                iv_controller_type = CL_BSP_WD_CONTROLLER=&gt;CO_TYPE_CUSTOM
                iv_name =
                <font color="navy">'BT115QH_SLSQ/AdminH'</font>                         <font color="red">&quot;#EC NOTEXT</font>
                iv_target_node_name = <font color="navy">'BTADMINH_CUCO'</font>
                iv_node_2_bind = BTADMINH ).
    Now in view 2 get the custom controller using the below code,
    Data: lr_cuco type ref to &lt;custom controller class&gt;.
    lr_cuco   ?= me-&gt;get_custom_controller( controller_id = <font color="navy">'BT115QH_SLSQ/AdminH'</font> ).
    lr_entity     = lr_cuco-&gt;typed_context-&gt;BTADMINHCUCO-&gt;collection_wrapper-&gt;get_current( ).
    </code></pre> <br />
    <p />
    If you are just reading a attribute value  from view1, then approach 2 shud b easy one. <br />
    Approach 1 & 3, more or less the same, except we are using component controller vs custom controller. These approaches holds good when the data required to be accessed/updated from either views. <br />
    <br />
    Coming to your specific scenario, I think there is already a context node available in the compoenent controller TARGETBP, which can have the required data for you. Please look into that. <br />
    <br />
    Cheers, Satish<br />
    Edited by: Satish Reddy Palyam on Aug 13, 2011 12:50 PM

  • How to get data model to recognize structure change

    I have an extremely complex report that was built almost entirely manually -- except for using the Data Wizard to create the Data Model (multiple queries with multiple groups). The source view that the query Q-1 is based on has changed. It is a change in the precision of the column. How do I get the data model to notice that change? The Width in the Property Palette is still showing 8 when it should now be 16. This is causing the display on the report to be truncated to 8 characters.
    I don't want to have to rebuild the data model. It took me 3 days to get it so that it works!
    Thanks

    PLS OPEN THE QUERY AND THEN CONNECT USING YOUR USER. I THINK WHEN YOU REFRESH THE QUERY AND CONNECT THEN WIDTH IS CHANGE AS THE COLUMN IN THE DATABASE.(i.e. 16)
    THANKS,
    FAROOQ Thanks for the suggestion. Unfortunately, the same thing happens when I do this as happens if I modify the query with a space (as before); the rows are removed from their groups, and I lose the Source of my calculated fields.
    If anyone is interested, I finally found a way to do this:
    1. Convert the report into a text file (File>Administration>Convert);
    2. open the text file in a text editor;
    change the offensive WIDTH settings (make sure to look for all of them);
    3. save the text file;
    4. then convert it back to a RDF file using the converter.
    A round-about way to perform what should be an automatic operation -- but there it is.
    --V                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to consume data model adf library in view project?

    Hello,
    I am using Jdev 11.1.1.6.
    I have a Jdev workspace containing business component (entity objects, view objects and application module exposing the VOs). This workspace is deployed to an ADF Library. This library is packaged with DB connection details.
    I have another Jdev workspace that needs to consume this Data Model ADF Library. This workspace is basically just the view layer (no business components at all).
    I have added the Data Model ADF Library to it's view project and it is showing application module and VOs under Data Controls.
    My question is : How is this view project going to connect to DB at runtime?
    Can it use the connection from packaged Data Model ADF Libabry? If yes, how?
    or Do I need to create a business project under this view workspace, just for connection purpose? if yes then what is the use of including connections during ADF Library creation?
    Thanks,
    Jai

    Hi,
    it will use the connection in the ADF library. I recommend though that you not save database connect information in the ADF library. Instead:
    - define the ADF BC model to use JDBC data sources
    - In the ADF library, configure it to only contain the data source name
    - In the view project (the workspace) configure the database connection exposed by the library
    When the library is imported, check Application Resources --> Connections and right click on the imported connection name to configure it
    Frank

  • How to Import data models into BPA

    How can data models be imported into BPA? We understand that models can be imported from other
    BPA repositories. We need to import from something that does not start out as a BPA model. We know how to import the data objects using the Process Generator. But do not understand how to efficiently import Cluster or entity objects (representing tables) connected to ERM Attrribute objects (representing fields). Currently only an EPC model can be imported using the process generator. We've tried importing structures using UML import of class models, but the resulting model is not usable in standard data models.
    Any ideas?

    Have a look on this thread:
    Issues Importing BW Model in HANA Studio
    Regards,
    Krishna Tangudu

  • How to generate data model summary report

    Hi,sir,
    How can I generate a summary report when I create a server data model in designer 9i as some software did.
    I know CA Erwin or Sybase powerdesigner have a good report builder.
    It is easy to use. How about designer 9i?
    Any tutorial?

    Hi,
    It's look like you are assuming that an organizational model can be created from external data input via a report. If so, then your assumption is wrong. There is no standard way to create a org. model from external input.
    As a standard practice SAP provided a report as mentioned in the previous reply. Using this report you can download ECC/R3 org. model into SAP CRM. This is the easy and best proven way of generating org. model in SAP CRM.
    Please let me know, if you need any further clarification
    Do not forget to reward if it helps
    Regards,
    Paul Kondaveeti

  • 3.0 beta - How to start Data Modeler?

    Probably a dumb question but Tools > Data Modeler > gives the list of options but none are to open a Data Modeler window.
    File > Data Modeler prompts to open an existing design but not to create a new one.
    What am I missing?

    It seems you are asking about Data Modeler as extension in SQL Developer 3.0 - no need to start it - it's already started and you have available empty design to work with.
    You need to make Data Modeler browser visible - "View>Data Modeler>Browser". You can use it to show/hide models or create new designs.
    Philip

  • How to build data model in Endeca Server?

    After completed the Quick Start Guide, I'm still confused about Endeca components. From the view of BI, there should be a data model built in Endeca Server, and a tool to develop and administrate the data model. Which component acts as this role, CloverETL or something else?

    We've created a "Getting Started with Endeca Information Discovery" screencast series that should provide you answers to these questions.
    You can find the full outline on our OTN page: http://www.oracle.com/technetwork/middleware/endeca/learnmore/index.html
    And, the screencasts are on our YouTube channel: https://www.youtube.com/user/OracleEID
    Thanks,
    Carrie

  • How to install Data Modeler

    Hi,
    I downloaded Sqldeveloper data Modeler for Windows 32 bit including JRE. The data modeler has to run on windows 7 64 Bit as well as the sql developer runs
    After unzipping this file I tried to start the datamodeler. When I starter the 32 Bit version I got the error:
    Cannot be startet becaus MSVCR71.dll is not on the computer.
    When I tried to start the 64 Bit version I got the error
    Unable to launch the Java Virtual Machine located at path ..\..\jdk\jre\bin\client\jvm.dll
    What must I do to install the datamodeler?
    Please help me.
    Regards
    Siegwin

    Hi Siegwin,
    The download including JRE only includes a 32 bit JRE.
    This jre includes a copy of file msvcr71.dll (in folder datamodeler\jdk\jre\bin). However it seems that in some circumstances the system does not find this file.
    There have been several message threads about this, both for SQL Developer and for Data Modeler.
    For example, from https://forums.oracle.com/forums/thread.jspa?messageID=10624958 it appears that copying msvcr71.dll to the Windows\System32 folder may solve the problem,
    or starting Data Modeler using the datamodeler.exe file in folder datamodeler/datamodeler/bin may help. (This brings up an additional command prompt window.)
    Message Re: Oracle Data Modeler Installation guide may also be relevant.
    To run Data Modeler in 64 bit mode, you will need to provide your own 64 bit JRE.
    If you edit the file datamodeler64.conf (in folder datamodeler\datamodeler\bin) and remove the line starting with "Set JavaHome", next time you attempt to start 64-bit Data Modeler it should ask you for the location of the java.exe file in your 64 bit JRE.
    There is now a forum specifically for Data Modeler issues: SQL Developer Data Modeler
    David

  • How to upgrade Data Modeler design to new version when using subversion?

    Hi,
    I just installed Data Modeler 3.1 product version and I'm using subversion. When I open a design which I have modified with earlier 3.1EA3 version, I get the message " This design is in old format You should use "Save as... from file menu ...
    Is there other more smart way to upgrade to new version than "save as" ? I remember having problems in earlier versions with this also. Am I supposed to save the design with different name or...? Or what is the best way?

    Hi ,
    I have updated the model to 3.1 version with subversion and I have to say that is quite hard for me,
    I have "save as" with other name in other folder and after I have dropped from SVN my current folder and copy the new files to new folder in SVN and add the files to SVN,
    I hope that I should not do this workaround too many times in future,
    maybe if we save the model below a folder with the version number of the tool will help us but I don't like this option,
    I guess someone could help us with a simpler solution than mine,
    Regards

  • How to Create Data Model

    I have a database of 1000 tables. How can I create ER-Model for that database. I mean figure showing fields and relationships. I am looking for a smart way.
    Regards,
    Amer

    You could try using Oracle Designer to create your diagrams. Also, it may make sense if you group the tables by functional areas
    The Techical Reference Manual for the Oracle 11i HRMS application is good example of this, since the table relationships are shown by functional area (i.e. Person data, Job data, etc.).

  • How to connect data modeler to oracle cloud database DAAS

    using  Version 4.1.0.873
    i believe i read long ago that this was possible
    thanks for your help

    finally found it
    http://www.thatjeffsmith.com/archive/2015/01/uploading-data-to-oracle-schema-as-a-service-using-oracle-sql-developer/
    cheers

Maybe you are looking for

  • Cant add output to xml adapter source

    Hi we run 2012 std.  I have an xml adapter whose xsd looks similar to what is shown below.  I'm struggling with what the obstacle might be for adding an output that contains report-date and some-name (see 6th and 7th lines down).  All other outputs s

  • Restoring a Rman Tablespace backup to noarchilog mode database

    Hi All, Is it possible to take a backup of a tablespace through rman from archivelog mode database and restore the same to noarchivelog mode database through rman ? Please suggest if it is not possible why it is not possible. We have a testing databa

  • Download file via jsp

    dear all, to download a *.txt-file via jsp i use following code: java.io.File file = new java.io.File("C:\\FileName.txt"); response.setHeader("Content-Disposition", "attachment;filename=\""+file.getName()+"\";"); response.setContentType("APPLICATION/

  • How to use IMPEDANCE ANALYZER to measure input $ output impedance of BJT circuit

    Am currently doing experiments by using NI ELVIS IMPEDANCE ANALYZER but am now suffering a problem on how I can connect it so as to measure input and output impedance of a BJT circuit. My circuit is as shown in my attachment. Attachments: ni.docx ‏46

  • I can't see accounts in the account manager !

    Okay, I just got this really weird bug. I hope you can help me out with it ! Basically, I have right now three sessions on my iMac : one admin, and two standard (they don't have administration rights). I want to delete those last two. When I open the