How to create an element in component controler

Hi Experts,
I need to validate the data of a model node in component controler and add those validated records in other value node.  For that I need to write a loop where in i can repeat the records for validation.
How can i create the element in the loop ?  I tried with below code as we do in View controler , but ! this is not allowing in compoent controler. Is there any way to do this ?
IPrivateFinalTRAView.IFirstOutputElement FFM = wdContext.createFirstOutputElement();
Regards,
Suresh

Hi,
i am trying to copy all the resords from a model node to the value node which is available in the component controller,.
after executing the model i am doing this copy operation, for the requirement i ahve converted some of the data into STRING type.
int SalHistSize = wdContext.nodePt_Salhistory().size();
// Populate Salary_History Table
ArrayList arlQuotaTable = new ArrayList();
// Creating the element for our Salary History Node
IPublicFcCompHistory.ISalary_HistoryElement objsalhistnode = null;
if(SalHistSize > 0){
for (int k=0;k<SalHistSize;k++) {
IWDNodeElement elementSalHist = wdContext.nodePt_Salhistory().getElementAt(k);
objsalhistnode = wdContext.createSalary_HistoryElement();
objsalhistnode.setAction_Date(elementSalHist.getAttributeValue("Action_Date").toString());
objsalhistnode.setAction_Reason(elementSalHist.getAttributeValue("Action_Reason").toString());
objsalhistnode.setAction_Type(elementSalHist.getAttributeValue("Action_Type").toString());
objsalhistnode.setAnnual_Salary(elementSalHist.getAttributeValue("Annual_Salary").toString()+"  (CAD)");
objsalhistnode.setCompensation_Sal(elementSalHist.getAttributeValue("Compensation_Sal").toString()+"  (CAD)");
objsalhistnode.setPay_Area(elementSalHist.getAttributeValue("Pay_Area").toString());
//          Adding the record to array List          
arlQuotaTable.add(objsalhistnode);
//          Bind the populated Array List to the View Table for Data population
wdContext.nodeSalary_History().bind(arlQuotaTable);
Try this dear,
Cheers,
APPARAO

Similar Messages

  • How to create cost element in controlling

    how to create cost element in controlling for Direct meterail.
    i have to create for each materail or on rm consumption is enough
    please give me replay
    thanks

    Hi Nagaraju,
    First you create the required account as cost element through FS00 and select your gl account and edit cost element and give 1 in cost element category.
    Afterwards in OKB9 You create the cost element whether it is required for Bus Area mandatory, profit centre mandatory and Valuation area is mandatory.  Based on your selection you have to assign 1, 2 or 3.  Ex. You have selected for consumption account profit centre is mandatory.  You give 3.  and you have to assign the cost centre against profit centre.  Then automatically your consumption will post to the cost centre.
    BSR

  • How to create vertical Scrollbar in table control?

    Dear All,
    How to create vertical scrollbar in table controll.?
    regards,
    Dharmesh

    Hi
    It should be created automatically, if you can't see it, try to set the field lines of table control
    PROCESS PBO
    MODULE SET_ATTR_TC.
    LOOP AT ITAB WITH .....
    ENDLOOP.
    MODULE SET_ATTR_TC.
    DESCRIBE TABLE ITAB LINES SY-TABIX.
    <TABLE CONTROL>-LINES = SY-TABIX.
    ENDMODULE.
    Max

  • Give step-by-step procedure how to create  jspdy page portal component  app

    Hi All,
    Give step-by-step procedure how to create  jspdy page portal component  application.

    Check these for the steps.
    Building a JSPDynPage:
    http://help.sap.com/saphelp_nw04/helpdata/en/95/cfa441cd47a209e10000000a155106/content.htm
    Tutorial III: Building a JSP DynPage:
    http://help.sap.com/saphelp_nw04/helpdata/en/44/471ce3617b14bce10000000a155369/content.htm
    Regards,
    Harini S

  • Flashbuilder 4 how to create custom folders in component explorer

    Hi, I was wondering if anyone knew how to create my own folder in the components explorer? I know that when I create a new component it gets added under "custom", but I want to create my own folder and insert an image next to the component. I've searched everywhere and cannot find a solution. Thanks in advance!

    I tried that and no go. This was the only tutorial I could find on the subject but it didn't work.
    http://groups.adobe.com/posts/aac1e13143

  • How to create UI element in VC

    Hi,
         I want to create UI element in VISUAL COMPOSER like text field, input field, button etc.How we can develop in VC iView?
    Thanks,
    Kundan

    Hi,
    Refer
    http://www.sdn.sap.com/irj/sdn/nw-vc;jsessionid=(J2EE3417200)ID1217882450DB11101197022981941087End?rid=/library/uuid/16244247-0a01-0010-3294-d81c21e7e86e
    Regards,
    Manivannan P

  • How to create dynamic elements in action of a view?

    hi all,
    I created 2 buttons dynamically in WdDoModifyView(). I created  action1, and parameter for that action i.e, id of type string.
    when i click on button1, some ui elements must be displayed.....
    can anyone tell me how to dynamically add UI elements in onAction() of view.....
    i wrote the following code to create & map dynamically in WdDoModifyView()........
    if(firstTime)
        IWDButton b1=(IWDButton)view.createElement(IWDButton.class,"button1");
        b1.setText("Button1");
        IWDButton b2=(IWDButton)view.createElement(IWDButton.class,"button2");
        b2.setText("Button2");
        IWDTransparentContainer tc=(IWDTransparentContainer)view.getElement("RootUIElementContainer");
        tc.addChild(b1);
        tc.addChild(b2);
         IWDButton butt1 = (IWDButton)view.getElement("button1");
         IWDParameterMapping pm1a = butt1.mappingOfOnAction();
         pm1a.addParameter("id1","link1a");
         IWDButton butt2 = (IWDButton)view.getElement("button2");
         IWDParameterMapping pm1b = butt2.mappingOfOnAction();
         pm1b.addParameter("id1","link1b");
    after writing this..... in onAction().........of view... i wrote like this...
    if (id1.equals("link1a"))
    else{
    in the if & else condition, i have to create UI elements dynamically.
    when i am trying to create Ui elements dynamically, but i am unable to create dynamically here.
    pls give me suggestion how to proceed this
    regards,
    vila

    Hi Vila,
    Are you trying to create UI elements dynamically in the action? If yes then you won't be able to do so because you can only create UI elements dynamically in WDDoModifyView().
    Always WDDoModifyView() would be called after your action. So, you can handle it as you want in your WDDoModifyView() itself.
    But if you want that those elements should be created everytime when you fire an event then don't write it within if(firstTime) clause as this would be true only when WDDoModifyView() is called for the first time when the page intially loads.
    Regards,
    Murtuza

  • How to create a ROI Descriptor using controls?

            Hi  All.
            Does anyone know how to create a ROI DESCRIPTOR.  Using numeric controls.  I have the controls LEFT TOP RIGHT BOTTOM and DEGREES,  how to put it in a ROI DESCRIPTOR.    I'm trying to overlay a ROI on and Image Window, The
    coordinates I want to show i have it in a .txt file can read if but how to put it in a ROI DESCRIPTOR.
             Thanks
             Reynaldo Lima V.
             Test Software Engineer.
    Ing. Reynaldo Lima Villarreal
    Ingenieria Electronica (I N G E L)
    Reynosa, Tamps. México
    Cel: +52 899 160-52-59
    Email: [email protected]

      Hi.  Michael...
     I have in mind to draw this VI,  I  have vision applications and i have to deal with the ROI,  the solution is to displace the ROI any way  then save the new settings, some times i would be easy to displace the ROI instead of making a new template.   I'm not sure is this is what are you talking about...
     Unfortunatly i have more proyects  to complete before this VI...
     Best Regards..
     Reynaldo Lima.
    Ing. Reynaldo Lima Villarreal
    Ingenieria Electronica (I N G E L)
    Reynosa, Tamps. México
    Cel: +52 899 160-52-59
    Email: [email protected]

  • How to create users in Fusion MiddleWare Control.

    Hi,
    Can someone guide me on how can we create readonly users for FMW control. I need to know this as the application support team would have to login to the console to check the status of the BPEL instances. This user should not have any access other than read.
    Thanks,

    Hi Baskar,
    Thanks for checking this thread.
    The reply that you've mentioned holds good for the Weblogic Server Administration Console and i have done that and it works fine.
    But what i need is, how to create a read-only user for the FusionMiddleWare Control. This would be required for the SOA application support team so that they can check the BPEL instances but not do any other administrative task or anyother. This was a missing facility in BPELConsole 10.1.3.3.1 and Oracle used to tell that this would be available in 11g, so wanted to check if anyone has explored this facility and if it is available or not.
    When i try using the new id that i create in the Weblogic Server Administration Console and associate to the App_Deployer group it does not allow me to login in the FMWControl, if i assiciate that id with the Adminsitrator group then im able to login to FMW control, but this user has all access :(.
    Thanks,

  • How to create Data Element TPLNR

    Hello
    I want to use TPLNR to create data element in Operating Concern but I am not able to because of length of TPLNR (30) in Operating Concern we can create data element only upto 18 char. If i want to create new data element YTPLNR.
    I did following steps
    1. SE11
    2. Data Element
    3. and settings of particular data element what ever is required.
    My question is how can I use YTPLNR as characteristic as same value of TPLNR. I want all data that is available in TPLNR. I am creating new element because of data length issue.
    Table: IFLOT has data element TPLNR. I want all information of TPLNR in YTPLNR how it is possible to use that info in that.
    I tried to create user defined characteristics for operating concern
    i want to use with reference to existing value option in user define
    How can I do that
    thank you

    Hi,
    just a small addition for the Binary Search: The table must be sorted by the field(s) you are looking for:
    Symbolic code:
    read table <itab> with key <field> = <value> binary search.
    will take a record in the middle of the internal table first. If <field> < <value> the next try will be in the middle of the first half and the same procedure is repeated until the searched record is found or not found.
    If the table is not sorted correctly, you will probably miss the matching records.
    The fastest way is to use HASHED tables with unique key. The binary search will take more time when the table grows; hashed table access is (nearly) stable.
    Regards,
    Clemens

  • How to Create a New Software Component

    Dear All,
    I am trying to prepare a list of steps to develop add-on products over SAP ECC 6.0.  I was just wondering how to create a Software component for my namespace development, which I would like to assign my development package to.
    Any ideas or guidance is highly appreciated.
    Regards
    VG

    Hi VG,
    I think I am just facing the same issue right now. Like you we do not want to do XI/PI development. We registered namespace and starting on developing a product based on ECC, which should be on a seperate namespace. We have read of AddOn Assembly Kit, but we don't have it for th emoment. We might have it at a later stage.
    Still we would like to create an own Product and SC for shipment purposes. We created Product and SC in SLD but we are not able to select it in the SE80 dialogues of creating development objects. We haven't found away or documentation on how to sychnronize the SCs from SLD to ABAP system.
    Is it possible to create SCs in the systme directly which will then show up for development objects?
    Is it mandatory to have the Assembly Kit? (costs good money)
    Is it possible to do all that in a later stage? (we saw it's possible to reassign SC for dev ojects)
    I know it's been quite some time, I would still highly appreciate a feedback as SAP docu is very limited.
    best,
    Stefan

  • How to create a strictly typed refnum control using LabVIEW scripting

    I wish to use LabVIEW scripting to create a strictly-typed refnum control that is bound to my custom control (a type-defined cluster), but I'm unfamiliar with scripting and can't see how to do it.
    If I create a New VI Object, using Control Refnum as the Style, how do I provide my custom control to the VI Object Class terminal? When I try using a reference to my custom control.ctl file (using Open VI reference) I get an error: "Error 1057 occurred... Type mismatch: Object cannot be cast to the specified type."
    Or, if I create a new Control Refnum as above, using a standard Cluster as the VI Object Class, how do I then convert this refnum control to a strictly typed refnum that is bound to my custom cluster control type?
    Thanks in advance for any advice,
    Thoric (CLA, CLED, CTD and LabVIEW Champion)
    Solved!
    Go to Solution.

    Here we go...
    You have to create a new Control VI and then specify the VI Type as Typedef.
    Regards,
    Da Helmut
    Attachments:
    example.vi ‏22 KB

  • How to use single element as both control as well as indicator in labview

    Hi All,
    I need to use single element for both control and as an indicator.
    I need not want to use its value property os shift register.

    Hi pmg,
                I think this thread will be helpful to you.
               http://forums.ni.com/t5/LabVIEW/Using-a-control-as-both-an-indicator-and-control/td-p/1113158 
    Thanks as kudos only

  • How to create cost element in mass

    Hi All
    I want to create cost element in mass. i created to new GLs . and now i want to create there cost elements in more than 60 company codes . is there any way to create it in mass . please suggest with t.code
    Thanks in Advance
    Nikhil

    Yes you can create cost elements in a batch session automatically.
    Please use tcode OKB2 for default settings. 
    Define batch input session - OKb3
    Execute batch session : SM35
    Regards

  • How to create a element that contain a element generated in another document

    Hi,anybody.
    I want to create a element that contained a element generated in another document.The following is my coding:
    doc1 = new XMLDocument();
    ele1 = (XMLElement)doc1.createElement("AAA");
    doc2 = new XMLDocument();
    ele2 = (XMLElement)doc2.createElement("BBB");
    ele2.appendChild(doc2.createTextNode("bbb"));
    XMLNode ele = (XMLNode)ele2.cloneNode(true);
    ele1.appendChild(ele);
    but there is a DOMException,Node doesn't belong to the current document.
    Thanks in advance.
    null

    Hi Marc,
    it is currently not possible to check for values in other tables within different repositories (main tables).
    If you want to check for values in flat lookup tables, use the "Fields" menu in the expression editor. You will get sth like this:
    IS_NULL(Category.Item)
    whereas "Category" could be a lookup table (flat, hierarchy, taxonomy) and "Item" a field in it.
    Checking across qualified lookup tables is only possible in a very restricted manner.
    Hope that helps.
    Christian

Maybe you are looking for

  • CTBW_META tcode in SAP BI 7.0 version

    I have about 1300 Characteristics for which I need to create three different for each class type (001, 200, 300) in ECC. Creating extractor in ECC with CTBW is working good. I have a question regarding creating 1300 Infoobjects in BI 7.0, whether CTB

  • Abt events

    flow of events in classic reports how?

  • Query Generation for no apparent reason??

    When looking at the statistics in 0TCT_C02, we have noted that our queries regenerate or optimize multiple times each day.  I have tested this with a single query and I was sure to go into RSRT and turn off the optimization option.  Exceedingly longs

  • Xmlbuddy (eclipse 3.1 mod)

    XML Buddy (www.xmlbuddy.com) is an Eclipse 3.1 mod. It provided a syntax driven editor for xml, pretty print, formatting, syntax coloring, etc. Would it seem to be safe to install this on Flex Builder 2? (obviously you can't guarantee that 3rd party

  • EM Console Service/Reference Property for Endpoint Ignored

    We are trying to use the BPEL Service\Reference Properties to set the Endpoint for one of our web services (and were under the impression that the reference properties can be modified at runtime in the EM Console). However, the default soap:address l