"Unable to generate initialization code within Repeater, due to id or data binding on a component that is not a visual child. "

Error:
"Unable to generate initialization code within Repeater, due to id or data binding on a component that is not a visual child. "
Code snippet:
<mx:Repeater  
width="100%" height="100%" id="rpp" dataProvider="{loginDataseriesData.series}" >
<mx:Panel width="100%" title="{rpp.currentItem.@name}">   
<mx:DataGrid width="100%" dataProvider="{rpp.currentItem.data}" id="loginDataDG" itemClick="loginDataDGClickevent)" sortableColumns="false" draggableColumns="false">   
<mx:columns>
<mx:DataGridColumn headerText="Age Group" dataField="@periodValue"/>   
<mx:DataGridColumn headerText="Year" dataField="@timePeriod"/>   
<mx:DataGridColumn headerText="Value" dataField="@dataValue"/>   
<mx:DataGridColumn headerText="User Name" dataField="@userName" editable="false"/>   
<mx:DataGridColumn headerText="Notes" dataField="@notes"/> 
</mx:columns>
</mx:DataGrid>
Thanks

<mx:DataGrid
width="100%" dataProvider="{rpp.currentItem.data}"
DataGrid indeed not a visual child of your Repeater, since it's visual child is Panel not a Grid

Similar Messages

  • Unable to generate initialization code within Repeater...

    Hello,
    I use a template component with inner mx-components within a
    repeater. The following error appears:
    "Unable to generate initialization code within Repeater, due
    to id or data binding on a component that is not a visual child. "
    If I use this component outside the repeater, everything
    works fine.
    Here is the code:
    <mx:Repeater ..>
    <komp:InnerPanel....>
    <komp:topContent>
    <mx:ComboBox dataProvider="{getUtils().monthNames}"/>
    <--- ERROR
    </komp:topContent>
    </komp:InnerPanel>
    </mx:Repeater>
    topContent is a UIComponent variable which is added to "this"
    of my template component.
    Can someone please explain to me, how to prevent this error?
    Edit: The innerPanel-template-component looks like this:
    <mx:Canvas creationComplete="initApp()" xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.core.UIComponent;
    public var topContent:UIComponent;
    public function initApp() : void {
    if (topContent != null) {
    innerPanel.addChild(topContent);
    ]]>
    </mx:Script>
    <mx:Panel id="innerPanel" />
    </mx:Canvas>

    Did you find an answer to your question? I am having the same
    problem....
    Thanks....
    Brad

  • ERROR: The program is unable to generate the add-on queue due to missing add-ons or Support Packages.

    Hi,
    Can anyone advice on below issue?
    ERROR: The program is unable to generate the add-on queue due to missing add-ons or Support Packages.    
    Add the missing Support Packages or repeat the current step and change the add-on selection.
    Missing Support Package(s):
    Correction
    Component
    IW_FNDGC
    I have manually download these components which is SAPK-10001INIWFNDGC and SAPK-10002INIWFNDGC and put it in the download directory and repeat the phase.
    Besides, I also checked that these 2 components were inside EPS/in folder CSN0120061532 0083837 PAT and CSN0120061532 0079648 PAT
    Thanks and regards,
    Shu Jie

    Hi Shu Jie,
    you can't delete already installed add-ons. Please refer to note #1569624:
    It is not possible to uninstall GATEWAY 2.0
    Before you install the GATEWAY 2.0, keep in mind that you cannot uninstall ABAP add-ons.
    The add-on GW CORE will be merged in IW_FNDGC. This information can also be found in above note:
    Please
    note:
    GW_CORE 200 is not released for SAP_BASIS 740.
    The successor is IW_FNDGC 100.
    There are two possible reason for your error:
    The stackfile is not well configured.
    Your SUM is not the very latest one. SUM SP10 contained a bug in its first patch levels which shows retrofitted components in IS_SELECT.
    Cheers,
    Andreas

  • Unable to generate IDOCs in BD30 for BOMs because of Validity Date

    Hello everyone,
       I am having a unique issue with our Bills of Materials. After they are created and set to active, they have validity dates that go from 2001 to 9999. When I go to BD30 to distribute the BOM to the external systems I am getting the following error message:
    No bill of material exists on 08/25/2009 for 2557B27H02/FBLR/1/01
    Message no. BOM014
    Diagnosis
    You want to distribute BOM 2557B27H02/FBLR/1/01 via ALE. However, the BOM is invalid on 08/25/2009.
    System Response
    The system does not distribute the BOM.
    Procedure
    Check the BOM's validity.
    If you want to distribute all BOMs with the change status for another key date, enter another valid-from date on the initial screen.
    If you only want to distribute a certain BOM with the change status for another key date, enter another valid-from date or a change number on the selection screen.
    We get this for any BOM in this system.
    This is our QA environment and do not have this problem in our Development system. BD30 finds the BOM we specified but claims it is invalid on that date.
    We are trying to figure out if there is another status or approval step that I am missing here.
    SAP v4.7 level 19
    Thanks and points awarded for helpful answers!
    John

    Hi
    Enter a lower validity date like 8/25 2004 and try. If not check if there is any change management activated. Also check the ignore distribution lock. Please revert for further discussion
    Krishna

  • Component ID error in Repeater

    I am trying to create a simple form in a Repeater, but I'm
    getting the following compiler error on a RadioButtonGroup that
    exists in the form:
    Unable to generate initialization code within Repeater, due
    to id or data binding on a component that is not a visual child.
    Here is the code that generated this:
    <mx:FormItem label="Select the user's role:">
    <mx:RadioButtonGroup id="roleType" />
    <mx:RadioButton groupName="roleType" id="roleTypeAdmin"
    value="ADMIN" label="ADMIN" />
    <mx:RadioButton groupName="roleType" id="roleTypeUser"
    value="USER" label="USER" selected="true" />
    </mx:FormItem>
    Does anyone have any insight as to why this might be
    happening?
    Thanks.

    I am trying to create a simple form in a Repeater, but I'm
    getting the following compiler error on a RadioButtonGroup that
    exists in the form:
    Unable to generate initialization code within Repeater, due
    to id or data binding on a component that is not a visual child.
    Here is the code that generated this:
    <mx:FormItem label="Select the user's role:">
    <mx:RadioButtonGroup id="roleType" />
    <mx:RadioButton groupName="roleType" id="roleTypeAdmin"
    value="ADMIN" label="ADMIN" />
    <mx:RadioButton groupName="roleType" id="roleTypeUser"
    value="USER" label="USER" selected="true" />
    </mx:FormItem>
    Does anyone have any insight as to why this might be
    happening?
    Thanks.

  • Unexpected (Bug?) Compile error when DataGridColumn has 'id' in Repeater

    When I attempt to create a small number of DataGrid controls
    with a Repeater, I get the following compile error message:
    Unable to generate initialization code within Repeater, due to
    id or data binding on a component that is not a visual child.
    Here is the minimal amount of MXML that generates the compile
    error:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:ArrayCollection id="myAC"/>
    <mx:ArrayCollection id="headersAC"
    source="{headers.header}"/>
    <mx:Model id="headers">
    <headers>
    <header>Header 1</header>
    <header>Header 2</header>
    <header>Header 3</header>
    <header>Header 4</header>
    </headers>
    </mx:Model>
    <mx:VBox>
    <mx:HBox>
    <mx:Repeater id="repeater1"
    dataProvider="{headersAC}">
    <mx:DataGrid id="datagrid1" width="125" height="210"
    dataProvider="{myAC}">
    <mx:columns>
    <mx:DataGridColumn
    id="anything"
    headerText="{repeater1.currentItem.header}"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Repeater>
    </mx:HBox>
    </mx:VBox>
    </mx:Application>
    <mx:DataGridColumn/> compiles correctly.
    <mx:DataGridColumn
    id="anything"/> receives the compile error message above.
    <mx:DataGridColumn
    headerText="{repeater1.currentItem.header}"/> receives
    the compile error message above.
    I'd like to be able to address the repeating DataGridColumns
    via their id array. I'd also like to be able to assign the
    headerText to each of the DataGridColumns at initialization.
    There is a claim of a workaround at Nischal's blog:
    Referencing components inside
    the mx:Repeater, but there is no source code to show how to do
    this.
    He says:
    quote:
    Recently when I was working on Flex application and found
    that there is an issue with the columns of DataGrid, which is
    defined inside the repeater. Flex throws following error when you
    try to assign id or data binding values to DataGridColumn
    “Unable to generate initialization code within
    Repeater, due to id or data binding on a component that is not a
    visual child.”
    Which means if you want to assign dynamic value to say
    HeaderText of the column then you cannot use dynamically or id to
    assign value. Work around to this issue is to use columns array of
    datagrid to define the value. Click
    here
    to see the example and source code to use the column of the
    DataGrid.
    I'm not sure what "...use columns array of datagrid to define
    the value..." means.
    Any ideas on the workaround for this problem?

    Peter:
    You can see the example on
    Refrencing
    Datagrid and right click to view source.
    Regards,
    Nischal Pathania
    blog.nischal.com

  • How to generate html-code using csv input with JSP or JAVA???

    Hello,
    I want to read out a .csv-file and generate html-code dynmically with JSP in an EP6 Application. The problem is, that the csv-file can’t be located or openend.
    BTW if every knows a good tutorial or weblog for this, please post the link.
    It’s located in a par-archive under:
    />dist>files
    I tried various methods, in the doContent mehtod or with JSP. Everytime same result.
    Here part of the code I tried in the doContent():
    public class CSV extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
            String strWRoot = request.getWebResourcePath();
            String contentCSV="", line="";
            String linesep = System.getProperty("line.separator");
            File fileLoadCSV = new File(strWRoot+"/files/ma_infosysteme.csv");
            boolean exCSV = fileLoadCSV.exists();
            boolean reCSV = fileLoadCSV.canRead();
            int a=0;
            if(exCSV&&reCSV){
                response.write("ok");
                try {
                  BufferedReader inputCSV = new BufferedReader(new FileReader(fileLoadCSV));
                  while((line=inputCSV.readLine())!=null){
                    contentCSV=contentCSVlinelinesep;
                    a++;
                  inputCSV.close(); 
                catch(IOException ioex){
                    System.out.println("Fehler");  
            else {
                response.write("not ok");
            response.write("<br>Wroot: "+strWRoot);
            response.write("<br>File: "+fileLoadCSV);
            response.write("<br>exists: "+exCSV);
            response.write("<br>read: "+reCSV);
            response.write("<br>Input: "+contentCSV);
    The Output is:
    not ok
    Wroot: /irj/portalapps/DHTML
    File: \irj\portalapps\DHTML\files\ma_infosysteme.csv
    exists: false
    read: false
    Input:
    So thanks to everyone who can give me a good hint.
    Bye.

    Without really looking too much into this it looks like the problem is with the way in which you are trying to open the file. I believe that when creating a File object you need to use a physical path. By using the getWebResourcePath() method you are retrieving the URL to this file and not the physical path name. There is another method (can't remember the exact name) called getPublicResourcePath() (or something similar) which will return the physical path to this file, i.e. c:\usr\sap\.....etc. If you try it this way it may well work
    I hope this helps
    D

  • How generate QR codes in data merge?

    which format i need to use in a .csv or .txt files to generate the "Business Card" QR codes (using data merge) ??
    i haven't found it in the help!!
    Enhanced Datamerge
    You can integrate a QR code in the merged document. Following are the different types of QR code fields that can be added via Data Merge workflow:
    Plain Text
    Web Hyperlink
    Text Message
    Email
    Business Card
    To generate the QR codes the data entries in the .txt or .csv files, which are used as Data Source, are in the following format:
    Plain Text: In the QR code Column enter the text as it is.
    Web Hyperlink: URL:<url> (For example “URL:http://www.google.com”)
    Text Message: SMSTO:<Phone number>:<Message> (For example: “SMSTO:9818143551:Hi”)
    Email: MATMSG:\nTo:<email address> (example: “MATMSG:\nTO:[email protected]\nSUB:Hi;\nBODY:;;”)
    Though the data entries can be a mix of email, sms, hyperlink, or plain text type. Enter them in the .csv and txt field in the above mentioned format with a # sign on their column name. To generate QR codes, follow these instructions:
    Select Windows > Utilities > Data Merge.
    From the flyout menu, select Select Data Source.
    Select the data file with the QR field information. Click Open.
    Select the placeholder in the document.
    Click Create Merged Document icon to create a merged document.

    thank you very much Steve!
    I've try to use the sample of the best answer and doesen't work fine
    but in other answers i've found some links to VCard definition and this helped me to find the couple of errors in Monica's code (it's 3 little mispelled words or spaces-but this make the QR unreadable)
    VCARDBEGIN:VCARD\nVERSION:2.1\nN:Smith;John\nFN:John Smith\nORG:Adobe Systems\nTITLE:Engineer\nTEL;CELL:+919876543210\nTEL;WORK;VOICE:123456789\nADR;WORK:;;Str eet ABC;Seattle;Washington;98101;US\nEMAIL;WORK;INTERNET:[email protected]\nURL:www.adobe.com\nEND:VCARD
    corrected and tested by me:
    BEGIN:VCARD\nVERSION:2.1\nN:Smith;John\nFN:John Smith\nORG:Adobe Systems\nTITLE:Engineer\nTEL;CELL:+919876543210\nTEL;WORK;VOICE:123456789\nADR;WORK:Stree t ABC;Seattle;Washington;98101;US\nEMAIL;WORK;INTERNET:[email protected]\nURL:www.adobe.com\nEND:VCARD

  • Unable to Run T-CODE UCMON after Upgrade

    Hi Gurus,
      We have upgraded our BW 3.5 and SEM-BW component to BI7 with EPH1,this has ugrade the SEM-BW component from 4 to 6.After the upgrade we are unable to run T-code UCMON and it gives a short dump. We also found that this T-code is missing  UGMD_SY_MD. Please suggest.
    your valuable inputs are appreciated.
    Many thanks,
    Balaji

    Snote 644610,Note 568784
    Sorry for not replyin sooner was on my vacation, when we did our upgrade our BCS component was missing, so my hosting team told me that their FIN-BASIS update was thru these notes

  • Printing all To Do's, even those that have not been completed but past due.

    I wish to print my To Do's list so that it includes ALL of my uncompleted To Do items, including those that are past due. How do I do this? Is it possible? My efforts so far have only yielded those items that are either due on the day I am printing for or that do not have dates assigned.

    Do you have the iPod Options set to not transfer unchecked songs?

  • The BEx Analyzer cannot generate VBA code due to the security settings

    Hello experts,
    when I try to open a query in BEx Analyser I get this error message for each Item of the Query:
    Diagnosis
    The BEx Analyzer cannot generate VBA code due to the security settings.
    System Response
    VBA code is not generated.
    Procedure
    Choose Tools -> Macro -> Security.
    On the Trusted Publishers tab page, select Trust access to Visual Basic project.
    Choose OK.
    Close the BEx Analyzer and continue working as before.
    Access to Visual Basic project is only needed when generating VBA code.
    This only takes place in design mode or when 3.x workbooks are upgraded.
    Of course I did exactly what was recommanded in the "procedure-section" of this error message. But BEx ist still not working!
    I use SAP NetWeaver 7.0 together with MS Excel 2007
    Thanks
    Axel

    Hello experts,
    I am an additional person interested in the way this issue was solved.
    I confirm that the issue is coming from the SP2 of Microsoft Office (I have another environnement without the SP2 and everything works well), and I am in a situation where I can't remove the update.
    Regards
    Guillaume P.
    EDIT :
    Solution found : I applied the bi710sp10p_1001-10004472.exe patch
    (downloaded via the download maanger : Support Packages and Patches - Entry by Application Group" SAP Frontend Components" BI ADDON FOR SAP GUI" BI 7.0 ADDON FOR SAP GUI 7.10)
    Edited by: GUILLAUME PETIAUX on Apr 13, 2010 10:29 AM

  • Use of Java Code within the generated XML Forms Stylesheets

    Hello,
    is the use of Java-Code possible with the XSL-Files generated by XML-Forms, as possible in standard XSLs? I know that this would mean a modification.
    kind regards,
    Marco

    Hi Marco,
    I "executed" some java code within XSLs file. I have quoted the word executed because I didn't really run java code, but I used a simply trick that I describe you below.
    Into your XSLs put an iframe which is hided (it has an height of 0 pixel). As src of the iframe put the address of a portal component which execute your code (in my case calculate some PCD URL of some pages into a defined role). As result of component execution, I use the response.write method in order to execute some jscript code, which is able to interact with the HTML generated by XSLs files, for example in my case response.write put the PCD URL into a drop down list placed into the "edit" form.
    This works fine. I don't know if is suitable also for your case, anyway could be a hint, but pay attention to Roland's recommendations.
    Ciao
    Roberto

  • Unable to generate spool in certain t codes

    Dear All,
    I am unable to generate spool for cetain t codes like mctg. I am able to see the report complete in sm37, however unable to see the result in sp02, plz help?

    Hi,
    please have look at these Links:
    No Spool Request Generated: Analyzing a Spool Dump (SAP Library - SAP Printing Guide (BC-CCM-PRN))
    Spool is not generating.

  • Unable to create a subtask within a task for cProjects

    Hi All,
    I am unable to create a subtask within a task using BAPI_BUS2175_CREATE. When I pass the GUID of the project definition and fill the corresponding task structures to the BAPI, a task gets created at the phase level. But when I pass the GUID of the task along with the task
    information, subtask does not get created. The BAPI returns the following error message:
    DPR_SHARED 051: You cannot create Task for (Task Name).
    Steps for recreating the error message are:
    1. GUID is found out using function module CONVERSION_EXIT_DPRCE_INPUT.
    2. GUID and task information is passed to BAPI_BUS2175_CREATE.
    3. Task is created if project definition GUID is passed, but if task GUID is passed, there is no subtask created. An error message is displayed:
    DPR_SHARED 051: You cannot create Task for (Task Name).
    Any help would be appreciated.
    Thanks,
    Tom

    Hi all,
    I have used the same and it works absolutely fine.
    here is a code sample
    CONSTANTS:
       lc_rfc_none        TYPE string VALUE 'NONE'.       " RFC on same server
    DATA:
      lv_header_task_guid TYPE bapi_ts_guid-parent_guid, " Header Task GUID
      ls_sub_task TYPE bapi_ts_task,
      ls_sub_task_upd TYPE bapi_ts_task_upd,
      lt_crtask_return TYPE TABLE OF bapiret2,
      ls_extension_in TYPE bapiparex,
      ls_extension_out TYPE bapiparex,
      lv_task_guid TYPE bapi_ts_guid-parent_guid. " Task GUID
    * Assign sub-task name. (Task Number is internally generated)
    ls_sub_task-task_name = 'ST 1.1'.
    ls_sub_task_upd-task_name = 'X'.
    * Assign Sort Number
    ls_sub_task-sort_number = '00010'.
    ls_sub_task_upd-sort_number = 'X'.
    * Assign Duration
    ls_sub_task-duration = 30.
    ls_sub_task_upd-duration = 'X'.
    * Assign Work.
    ls_sub_task-planned_work = 240.
    CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
      EXPORTING
        input          = 'H'
      IMPORTING
        output         = ls_sub_task-planned_work_unit
      EXCEPTIONS
        unit_not_found = 1
        OTHERS         = 2.
    IF sy-subrc <> 0.
    ENDIF.
    ls_sub_task_upd-planned_work = 'X'.
    ls_sub_task_upd-planned_work_unit = 'X'.
    CALL FUNCTION 'BAPI_BUS2175_CREATE'
         DESTINATION lc_rfc_none
         EXPORTING
             iv_parent_guid   = lv_header_task_guid
             is_task          = ls_sub_task
             is_task_upd      = ls_sub_task_upd
             is_extension_in  = ls_extension_in
          IMPORTING
             es_extension_out = ls_extension_out
         TABLES
             return           = lt_crtask_return.
    * If task is successfully created,
    READ TABLE lt_crtask_return WITH KEY type = lc_success number = '114'.
    IF sy-subrc = 0.
    * Get task GUID
    lv_task_guid = lt_crtask_return-message_v1.
    CALL FUNCTION 'BAPI_CPROJECTS_COMMIT_WORK'
      DESTINATION
        lc_rfc_none
      TABLES
        return = lt_bapiret2.
    endif.
    In order to find the GUID of the header task use function module:
    DPR_GET_GUID_BY_ID_FROM_DB
    with IV_Number  = task number for the header task and IV_OBJECT_TYPE = TTO
    Read the documentation for 'BAPI_BUS2175_CREATE' before using it.
    make sure you have maintained IS_TASK_UPDATE structure as well.
    Regards,
    Reema.

  • Create Acctg Error: Intercompany balancing was unable to generate the inter

    hi,
    12.0.4
    Issue:
    There is an error in Create Acctg. of Cost management due to intercompany balancing was unable to generate the intercompany account. Please check the intercompany balancing rules setup.
    Ledger Star Appliance Center, Inc.
    Application Accounting Definition Cost Management
    Error Message
    Intercompany balancing was unable to generate the intercompany account. Please check the intercompany balancing rules setup.
    Ct uses Oracle AAD and are valid.
    Ct had the same offset account processed in other transactions and posted to GL, but some others have not been processed.
    The period close subledger exception report show that 17 events are unprocessed with error 0:
    0 Intercompany balancing was unable to generate the intercompany account. Please check the intercompany balancing rules setup.
    Offset 037.0249.1350.6005500.0000.8888.000000.000000
    Please advise how ct can process these 17 events in error.
    https://support.us.oracle.com/oip/faces/filedownloadservlet?ObjectType=SR&ObjectNo=3-5288562551&FileName=Create_Acctg_Output_Jan28_with_error.doc
    Thanks
    Jayashree
    Edited by: user763208 on 22/02/2012 19:36

    Unable to access the file, which is uploaded to SR.
    Please provide some of the error in Create Accounting file along with journal entry.
    Check whether the code comabination of intercompany journal line, which create accounting is trying to create to balance the balancing segment is valid or not.
    By
    Vamsi

Maybe you are looking for

  • Blue Screen Error on Windows 7 - Event ID 41

    Hi, I have encountered a recurring problem with my Windows 7 for the last 2 weeks. The blue screen error keeps popping up every other day or so. The problem seems to come from Kernel-Power, which is according to the report. Here are my laptop specs a

  • Update column with subquery returning more than one row

    Hi Everybody, Please let me know how to handle this. I am writing update statement in procedure with subquery and it is returning multiple rows. Please help me, how i can handle this : UPDATE TABLEA A SET A.ERROR_MESSAGE = (Select B.XERROR_MESSAGE fr

  • Transformation program (Conversion)

    Hi Friends,     Could you suggest me how to develop a program to transform the data from Mainsaver(old system) to ECC6.0 and finally it will uploaded to ECC6.0 using LSMW . Example: Mapping of data for Material group for service item Mainsaver       

  • UI Designer, DataModel-View, Element-Search-Filter should ignore case

    Hi, I'm currently working within UI Designer and want to bind elements to my OWL. After selecting a name space and a BO afterwards, I want to search within the loaded BO meta data. Doing so, I figured out that the search is case sensitive. In other w

  • Nopcommerce on SQL with integration to OnPremise ERP

    Hi, I would like to properly configure a Nopcommerce website/store on a SQL backend integrated with onpremise ERP.  Can you advise which Azure services I should be looking at for : - a development environment - a production environment Thanks Gunther