ADF- managedbean creation error while making dynamic menus.

im a lil new here so plz excuse and help!
scenario:
to create dynamic menu for two tabs : general..
general has a subtabmenu in form of menubar wid items: country, city,...
i created dynamic menus for my application.wen i ran my page i got this error:
SEVERE: Managedbean menuItem_General could not be created Can't get value from value binding expression: '#{resources['erms.menu.gen']}'
(erms.menu.gen is an entry in UIResources.properties)
now, i followed the exact same process as mentioned in the SRDemo application, in adfdevguide!
also double checked that
i. resource adapter is configured in faces-config.
ii.menu model and menuTreeModel are configured with thier default adapaters in faces-config.
iii.resource bundle specified in jsp page.
can sum1 plz refer
1.wat is the reason of this error? wat are the things dat shud hold true in order to run these dynamic menu? which files shud b specified where?
2. in wat order are the managedbeans created ? is it in order they apprear in faces-config file or in order they are used in the jsp page?
3: is it possible that u click on a menuTab item and it displays its particular menubar's items while staying on the same page? or
u click on a menubar item and it displays its particular dropdowns while staying on the same page?
is it posible wid ADF or javascript shud b used?
best regards
Rabs

im a lil new here so plz excuse and help!
scenario:
to create dynamic menu for two tabs : general..
general has a subtabmenu in form of menubar wid items: country, city,...
i created dynamic menus for my application.wen i ran my page i got this error:
SEVERE: Managedbean menuItem_General could not be created Can't get value from value binding expression: '#{resources['erms.menu.gen']}'
(erms.menu.gen is an entry in UIResources.properties)
now, i followed the exact same process as mentioned in the SRDemo application, in adfdevguide!
also double checked that
i. resource adapter is configured in faces-config.
ii.menu model and menuTreeModel are configured with thier default adapaters in faces-config.
iii.resource bundle specified in jsp page.
can sum1 plz refer
1.wat is the reason of this error? wat are the things dat shud hold true in order to run these dynamic menu? which files shud b specified where?
2. in wat order are the managedbeans created ? is it in order they apprear in faces-config file or in order they are used in the jsp page?
3: is it possible that u click on a menuTab item and it displays its particular menubar's items while staying on the same page? or
u click on a menubar item and it displays its particular dropdowns while staying on the same page?
is it posible wid ADF or javascript shud b used?
best regards
Rabs

Similar Messages

  • Error while making joins between ODS in a Infoset

    I am getting these 2 errors while making a join between ODS In InfoSet
    1).Incomplete ON conditions in an outer join
    2).Invalid ON condition for left outer join (ZSDO015)
    Please help what to do?

    Hi,
    Check both ODS's are having a common Infoobjects are not i.e. same name and datatype and length.
    http://help.sap.com/saphelp_nw04/helpdata/en/44/b21f98be886a45a4bb7e123e86e4c2/frameset.htm
    Thanks
    Reddy

  • Error while making iview with visual composer

    I am trying to make an iview usign visual composer.
    In the document that i have for making the iview , it says that when you have the bapi list you need to drag and drop the bapi to the empty iview pane . When i do so it gives me the following error ...
    "Portal request failed
    (com/sap/mdi/ObjectFactory)"
    What do i do ?
    Would appreciate a prompt help!
    thanks again for making me move ahead
    I had a conversation with a parson on the forum named Venkat . I am posting the same for other people in the forum to understand what exactly is my problem and how much have we explored .
    Regards
    Deepak Singh
    Hi Venkat ,
    I tried to do so research on the problem and it is being talked about in a thread on the forum . They ask to refer to the sap note 765461 to resolve the mdi reference . In the note they ask you to refer the installation guide of the installed version of EP . I have EP 6.0 SP2 . The installation guide says the following ...
    7.1.2 Adding References
    To enable some of the features in the portal environment, add references to reference file.
    To add a reference:
    1. With a text editor, open the file:
    Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
    number>\cluster\state\services\file\work\managers\reference.txt
    Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
    cluster/state/services/file/work/managers/reference.txt
    2. Look for the line:
    reference service:eisconnector library:jco
    3. After the line mentioned in previous step, add the following in a new line:
    reference service:eisconnector library:com.sap.mdi
    4. Save your changes and close the file.
    5. Delete the file:
    Windows: <installation drive>:\usr\sap\<SAP J2EE instance name>\j2ee\<instance
    number>\cluster\state\services\file\work\managers.bin
    Unix: /usr/sap/<SAP J2EE instance name>/j2ee/j2ee_<instance number>/
    cluster/state/services/file/work/managers.bin
    6. Restart the SAP J2EE Engine. See Starting the SAP J2EE Engine [Page 60].
    7. Restart the SAP J2EE Engine again.
    I did the same ....but now my server is not starting . By chance i didn't keep a bakup of the file which they asked me to delete .
    Now what do i do ?
    I think i am stuck up badly here .
    EVERYBODY IN THE FORUM PLEASE HELP
    I am not sure how a thing that is mentioned in the installation guide cannot work !
    Regards
    Deepak Singh
    Deepak,
    It is not that bad. By deleting you are recreating that managers.bin file during startup based on the reference.txt and library.txt (recollecting from my memory). This could also happen if there is a typo or some special characters in the reference.txt
    I don't know what J2EE patch you are at, but after PL22 you can actually add the reference using the "add reference" command from the administrator console.
    could you please send the error you are getting? To revert back the simplest thing is removing the line you have added and restart.
    Hope this helps.
    -Venkat Malempati
    Note: Please reward points if your problem is solved or useful.
    Venkat ,
    I am using J2EE engine 6.20 SP2 .I tried to get the server started by the following two methods
    1) I removed my entry in the reference.txt file and then start the engine by running go.bat from the required path .
    2) I got the original file managers.bin which i deleted and then placed in the required path and restarted the server
    Both the options didn't work .
    I am not getting any error when i restart the server. When i run the batch file go.bat it starts the console and shows me the various managers loading . After it shows the Clustermanager loading , it stops and gets stuck .
    Not sure what should i do now .Is reinstallation the only solution ?
    Is there a solution from the administrator console ?
    Regards
    Deepak Singh
    Deepak,
    No you don't need to re-install. Try the following.
    1. First start the state controller by runing go.bat in the following directory.
    /usr/sap/xxx/j2ee/cluster/state/go.bat
    You get the message waiting for cluster manager.
    2. start the server in a different window
    /usr/sap/xxx/j2ee/cluster/server/go.bat
    You get the message waiting for cluster manager
    3. Start the dispatcher
    /usr/sap/xxx/j2ee/cluster/dispatcher/go.bat
    Please let me the know the error messages.
    You can chat with me between 10:00 - 11:00 PM US EST.
    Regards
    -Venkat Malempati

    People ,
       I tried to do what venkat suggested . Infact I had mailed him the snapshot of the screen when i start the state controller as he suggested . For other people in the forum this is what is happening . When i start the state controller it displays an error and then the window closes immediately . I have managed the screen shots somehow and in those i could find two messeges in the begining and the end which could be useful for debugging the problem ...they are
    1) [DBMS]: ID3004:DB file header do not match exception .
    com.inqmy.services.dbms.server.interfaces.DatabaseException: Error while opening database ...
    2) ID000544: Error statrting service dbms. DBMS service not started properly due to: Errro while opening database
    [Framework -> criticalShutdown] Service dbms startup error !
    After the state controller window closes i run the server in a different window and i get a message waiting for the cluster manager as suggested . Now i start the dispatcher and i get the same messege there as well ie waiting for the cluster manager .
    What is to be done now . Is this information sufficient to suggest me something ? Please let me know if you require any other information .
    Regards
    Deepak singh

  • Error while making connection with remote oracle database

    Dear,
    I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
    DriverManager.getConnection(
      "jdbc:oracle:thin:@erp:1521:ORCL", "apps",
      "apps");
    Pls any body have idea.
    Thanks.

    Thanks for support.
    Below is error which i am getting while making connection with remote database.
    C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
    -------- Oracle JDBC Connection Testing ------
    Where is your Oracle JDBC Driver?
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:186)
            at OracleJDBC.main(OracleJDBC.java:13)
    Advice.

  • Error while making GR

    Hi,
    while making GR against PCS No. (Tcode MIGO) we are geting an error message as "Purchase order has no items" but the PO is sufficient quantity as in ***. rec. qty.(Tcode me33L). do any one can help
    Sumantra

    Hi,
    Look at MMBE and see if GR blocked stock stock is 0 (NOT the column that is just "blocked stock"). If it is zero for this material / plant then something has gone wrong, the PO was eiother not posted with a 103 originally, or the stock has already been released with a 105.
    Have a look at MB51 for this material and check through the movements so far.
    Also have a look at ME2M with a selection parameter of WE104 or 105.
    Steve B

  • Runtime Error while using Dynamic Selection

    Hi,
      We are getting a runtime error while using a dynamic selection. One of the fields has got an apostrophe in the middle of the text and so the condition is returning an error SAPSQL_WHERE_PARANTHESES.
      Let's say the value in the field is SCV's. So the WHERETAB is filled as 'SCV's' or `SCV's`. An exception is caught in this case as there is no closing apostrophe.
    Let us know if anyone has come across a similar issue and any help is appreciated.
    Regards,
    Sarves

    Hi Sarves,
    as Rob said.
    check also the [ORACLE FAQS|http://www.orafaq.com/faq/how_does_one_escape_special_characters_when_writing_sql_queries] or [SQL SERVER u2013 How to Escape Single Quotes|http://blog.sqlauthority.com/2008/02/17/sql-server-how-to-escape-single-quotes-fix-error-105-unclosed-quotation-mark-after-the-character-string/]
    Honestly: Before posting here and getting a whole lot of more or less useless comments just use your favorite search engine.
    Regards,
    Clemens

  • Index Creation Error, while creating Information space

    Hi,
    I'm trying to create an Information Space in explorer based
    off of a Universe created on a Bex Query from SAP BW. 
    This
    Universe is created in Universe design tool based on BW 7.4,  gives below error, while creating report in  Web Intelligence based on Universe.
      Database error: Failed to execute MDX Query.
      Reason occured when starting the parser timeout during
    allocate/CPC-CALL.
    2) In Explorer everything seems to be working fine with the
    Information Space creation up until the point where I need to index it.  When I click 'Index' it takes about 5-10
    seconds and then fails with the following error
    Latest indexing failed
      Start Date: 2015/02/11 08:51
    End Date: 2015/02/11 08:53
    Server, BOHDSIA.ExplorerIndexingServer, generated the
    following messages:
      Index Creation Failed (
      The execution of the specified analysis query
    failed.-Database error: A database error has occured. (IES 10901)
      Database error: A database error has occured. (IES 10901))
      The Bex Query executes successfully in BEx Analyzer and webi
    report created with BEX as datasource

    Please see reply at:
    http://technet.oracle.com:89/ubb/Forum36/HTML/000661.html

  • Pricing error while making Credit Memo

    Dear Gurus,
    While making credit memo with reference to credit Memo request i am getting pricing error on the basic price.
    Please note i am getting this error only while making credit memo under this conditions
    1. while using Invoice as reference while making credit memo request and than making credit memo with reference to credit memo request.
    Please note i am not getting this error while the credit memo request is not refrenced to Invoice.
    I am using the same document types for both the scenarios. I have checked copy control and the Pricing type maintained is "D".
    Please let me know what could be the possible error.
    Thanks for your help in advance.
    Regards
    Shrads

    Hi,
       Please check your credit memo document type for document pricing procedure in VOV8.

  • Error While Making a Request Through API

    Hi everyone,
    I'm trying to submit a request through the API for the "Assign Roles" template, I used http://java.net/projects/openptk/sources/svn/content/branches/Oracle/OIM11g/examples/java/OIMClient/src/oim/client/request/RequestRoleCreate.java?rev=1489 as a basis for my code. Pretty much line for line.
    This is my code.
    public static RequestStatusSummary[] applicationAccessRequest(String email, String templateName, String roleName) {
    String userKey = getUserKey(email);
    Beneficiary beneficiary = null;
    RequestBeneficiaryEntity entity = null;
    List<RequestBeneficiaryEntity> entityList = null;
    List<RequestBeneficiaryEntity> entityAttrList = null;
    // add role requested
    entityList = new ArrayList<RequestBeneficiaryEntity>();
    entity = new RequestBeneficiaryEntity();
    entity.setEntityKey(getRoleKey(roleName));
    entity.setEntityType(RequestConstants.ROLE);
    entity.setEntitySubType(roleName);
    entityList.add(entity);
    // set beneficiary to user
    beneficiary = new Beneficiary();
    beneficiary.setBeneficiaryType("user");
    beneficiary.setBeneficiaryKey(userKey);
    beneficiary.setTargetEntities(entityList);
    // add benficiaries to the request data
    List<Beneficiary> beneficiaries = new ArrayList<Beneficiary>();
    beneficiaries.add(beneficiary);
    requestData.setBeneficiaries(beneficiaries);
    System.out.println(requestData);
    // submit request
    String reqId = requestSvc.submitRequest(requestData);
    RequestStatusSummary[] requestStatusSummary = requestSvc.getRequestStatusSummary(reqId);
    return requestStatusSummary;
    getRoleKey() and getUserKey obtain the correct values. Directly before calling this method I log in to OIM using OIMClient this works correctly as well. The issue is that submitRequest() throws this. Any suggestions would be greatly appreciated. Thank you for your time.
    javax.ejb.EJBException: ; nested exception is:
         java.io.EOFException; nested exception is: java.io.EOFException
         at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
         at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
         at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
         at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
         at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:888)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
         at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    javax.ejb.EJBException: ; nested exception is:
         java.io.EOFException; nested exception is: java.io.EOFException
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:121)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:96)
         at $Proxy6.submitRequestx(Unknown Source)
         at oracle.iam.request.api.RequestServiceDelegate.submitRequest(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy7.submitRequest(Unknown Source)
         at testoimlogin.TestOIMLogin.applicationAccessRequest(TestOIMLogin.java:350)
         at testoimlogin.TestOIMLogin.main(TestOIMLogin.java:537)
    Caused by: java.io.EOFException
         at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:345)
         at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:826)
         at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:760)
         at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:941)
         at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:888)
         at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:339)
         at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

    How are you creating OIMClient ?
    Make sure that you are using proper OIM URL: t3://ManagerServer:MANAGEDSERVERPORT
    getting error while calling RequestService interface

  • Getting an error while making an JV in FI - URGENT!

    Hi all,
    I get the below error when making a debit and creit to the GL or to the vendor account.
    "No fixed ledgers chosen with the specified selection"
    Please guide me on this to proceed further. Its very URGENT !
    Regards
    Karpagam

    Hi,
         I think you are using ECC6.00,whether you activated new G/L accounting then you have to define the leading ledger this option is supporting GAAP.
    Path is SPRO-Financial Accounting(New)-Financial Accounting Global Settings(NEW)-Ledgers--Ledger
    You will check the configuration activities.
    Regards,
    SAtya

  • BPM Process Creation Error While Viewing in BPM Workspaces

    Hi,
    I am working in creating workflows in BPM according the Organizational need. I just have started to do so. But, While i have create and deploy a simple Process in JDeveloper 11.1.1.6.0, the process is deployed successfully. When, I login into BPM/Workspaces User, Application which, i have developed earlier is shown there but when i open this application, there is nothing to display in Browser Only empty window is open. Can anybody provide useful suggestion to resolve this issue. I will waiting for your response. Thanks.

    See the last post in this thread (adding application URL to the composite)-
    Re: Binding ADF Components in Task Form
    Also as mentioned earlier check your logs if any other error is causing the blank page

  • Implicit coercion Error while Adding Dynamic Rows To Flex DataGrid

    Hi friends
    I   want to add interger for in next next rows while clicking tab   button,one i enter all the values in one row if i press tab means next   row will be editable.for making that i added the following code.i have   some error shows like this
        [Bindable]
                    private var tasks:ArrayCollection;
                    private static const ADD_TASK:int= "";
                    private function init():void
                        tasks = new ArrayCollection();
                        tasks.addItem(new Task(0.01,100000,0));
                        tasks.addItem({frmAmount:ADD_TASK});
                    private function checkEdit(e:DataGridEvent):void
                        // Do not allow editing of Add Task row except for
                        // "Click to Add" column
                        if(e.rowIndex == tasks.length - 1 && e.columnIndex != 0)
                            e.preventDefault();
            private function editEnd(e:DataGridEvent):void
                    // Adding a new task
                    if(e.rowIndex == tasks.length - 1)
                    var txtIn:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                    var dt:Object = e.itemRenderer.data;
                    // Add new task
                    if(parseInt(txtIn.text) != ADD_TASK)
                        tasks.addItemAt(new Task(parseInt(txtIn.text), 0, ""), e.rowIndex);----->Multiple markers at this line:
                                                                                                                               -1067: Implicit  coercion of a value of type String to an unrelated type int.
                                                                                                                                  -txtIn
                    // Destroy item editor
                    commPlanDetGrid.destroyItemEditor();
                        // Stop default behavior
                    e.preventDefault();
            ]]>
    Please help if any suggession
    Thanks in advance
    B.Venkatesan

    Venktesan,
    You are trying compare String and int..! which is not possible try to case the txtIn.text to int using parseInt(txtIn.text).
    ORIGINAL:
    if(txtIn.text != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(txtIn.text, 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
    EDITED:
    if(parseInt(txtIn.text) != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(parseInt(txtIn.text), 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
    Thanks
    Pradeep

  • Error while Adding Dynamic Rows To Flex DataGrid

    Hi friends
    I want to add interger for in next next rows while clicking tab button,one i enter all the values in one row if i press tab means next row will be editable.for making that i added the following code.i have some error shows like this
    [Bindable]
    private static const ADD_TASK:int = 0;
    private function editEnd(e:DataGridEvent):void
                    // Adding a new task
                    if(e.rowIndex == tasks.length - 1)
                    var txtIn:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                    var dt:Object = e.itemRenderer.data;
                    // Add new task
                    if(txtIn.text != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(txtIn.text, 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
                    // Destroy item editor
                    commPlanDetGrid.destroyItemEditor();
                        // Stop default behavior
                    e.preventDefault();
    Please if any suggession welcome.
    Thanks in advance.
    B.venktesan

    Venktesan,
    You are trying compare String and int..! which is not possible try to case the txtIn.text to int using parseInt(txtIn.text).
    ORIGINAL:
    if(txtIn.text != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(txtIn.text, 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
    EDITED:
    if(parseInt(txtIn.text) != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(parseInt(txtIn.text), 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
    Thanks
    Pradeep

  • Error while creating dynamic internal table.

    Hello Expert,
    While creating a dynamic internal table, it throw an run time error as :
    " LOAD PROGRAM NOT FOUND
      CX_SY_PROGRAM_NOT_FOUND"
    i tried to debug the program, it found this error comes while calling
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    please anyone help me out to resolve this problem.
    what could be the reason of error? and how to avoid it?
    <REMOVED BY MODERATOR>
    thanks in advance.
    ~ shweta.
    Edited by: Alvaro Tejada Galindo on Feb 28, 2008 2:41 PM

    Hi,
    Go through this program.
    Report z_dynamic.
    type-pools : abap.
    field-symbols: <dyn_table> type standard table,
    <dyn_wa>,
    <dyn_field>.
    data: dy_table type ref to data,
    dy_line type ref to data,
    xfc type lvc_s_fcat,
    ifc type lvc_t_fcat.
    selection-screen begin of block b1 with frame.
    parameters: p_table(30) type c default 'T001'.
    selection-screen end of block b1.
    start-of-selection.
    perform get_structure.
    perform create_dynamic_itab.
    perform get_data.
    perform write_out.
    form create_dynamic_itab.
    Create dynamic internal table and assign to FS
    call method cl_alv_table_create=>create_dynamic_table
    exporting
    it_fieldcatalog = ifc
    importing
    ep_table = dy_table.
    assign dy_table->* to <dyn_table>.
    Create dynamic work area and assign to FS
    create data dy_line like line of <dyn_table>.
    assign dy_line->* to <dyn_wa>.
    endform.
    Regards,

  • Error while saving dynamic row values of datagrid with record.

    hi friends,
    i am trying to add dynamic row in datagrid and save that value with record.i succeeded in first part while i am saving the record the error show like this.
    errro:Property fromAmount not found on com.ci.view.Task and there is no default value.
    how i resolve this error.
    any suggession welcom
    thanks in advance.
    B.venkatesan
    code:
    package:
    package com.ci.view
        [Bindable]
        public class Task
            public function Task(frmAmount:String,toAmount:String,commissionPercentage:String)
                this.frmAmount=frmAmount;
                this.toAmount=toAmount;
                this.commissionPercentage=commissionPercentage;
            public var frmAmount:String;
            public var toAmount:String;
            public var commissionPercentage:String;
    main mxml:
    [Bindable]
                private var tasks:ArrayCollection;
                private static const ADD_TASK:String= "";
                private function init():void
                    tasks = new ArrayCollection();
                    tasks.addItem(new Task("0","1000","0"));
                    tasks.addItem({frmAmount:ADD_TASK});
                private function checkEdit(e:DataGridEvent):void
                    // Do not allow editing of Add Task row except for
                    // "Click to Add" column
                    if(e.rowIndex == tasks.length - 1 && e.columnIndex != 0)
                        e.preventDefault();
                private function editEnd(e:DataGridEvent):void
                    // Adding a new task
                    if(e.rowIndex == tasks.length - 1)
                        var txtIn:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                        var txtIn1:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                        var txtIn2:TextInput =TextInput(e.currentTarget.itemEditorInstance);
                        var dt:Object = e.itemRenderer.data;
                        // Add new task
                        if((txtIn.text) != ADD_TASK)
                            var x:String=String(txtIn.text);
                            tasks.addItemAt(new Task("", "", ""), e.rowIndex);
                        // Destroy item editor
                        commPlanDetGrid.destroyItemEditor();
                        // Stop default behavior
                        e.preventDefault();

    Venktesan,
    You are trying compare String and int..! which is not possible try to case the txtIn.text to int using parseInt(txtIn.text).
    ORIGINAL:
    if(txtIn.text != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(txtIn.text, 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
    EDITED:
    if(parseInt(txtIn.text) != ADD_TASK).---->error : Comparison between a value with static type String and a possibly unrelated type int
                        tasks.addItemAt(new Task(parseInt(txtIn.text), 0, ""), e.rowIndex);----> error:Implicit coercion of a value of type String to an unrelated type int.
    Thanks
    Pradeep

Maybe you are looking for

  • How to determine the credit memo and invoice in table RBKP?

    Hi all, I want to specific the credit Memo and invoice in the table RBKP using MIRO. Does any body know that any field can be specific that ? Regards, Luke

  • Soap action: in Proxy to soap scenario

    Hi experts, I have a senario of Proxy to webservices. I have imported the wsdl file as external defination, and  have to use two message inside 1) to Insert 2) To Update. Now proxy will run twice a month with same data structure, I have to do insert

  • Stored procedure for exec. multiple insert queries

    Hello everybody, I am running on select banner from v$version; Output: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi I am a new to oracle and I need some help. I have to populate a table on monthly basis, for which I am required to

  • Connecting my iBook G4 to a Projector

    Hello. I have an iBook G4 (June 2005), and have never been able to successfully display on a projector (which is currently an Optoma MovieTime). The computer does list the projector when they're connected, but the projector doesn't recognize the comp

  • How AAE call the mapping program?

    Hi Experts, i almost have no experience on using AAE. after reading some documents i still have the below questions, 1. mapping program is happened in integration engine, while AAE is used for integrated scenarios without going into integration engin