Column in inputfield

hi
this mycode :
im biding data but i don't see on this column
if ls_master_nd-state1 = '1'.
> im use for enable column
    lr_column = lr_config->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN(
    'G_ANZHL' ).
      CREATE OBJECT lr_inputfield
        EXPORTING
          value_fieldname = 'G_ANZHL' .
    lr_column->set_cell_editor( lr_inputfield ).
> im  use for unable column
    lr_column = lr_config->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN(
    'O_ANZHL').
    CREATE OBJECT LR_TEXTVIEW.
    lr_column->set_cell_editor( LR_TEXTVIEW ).
  ELSEIF ls_master_nd-state1 = '2'.
    lr_column = lr_config->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN(
    'O_ANZHL').
    CREATE OBJECT lr_inputfield
    EXPORTING
    value_fieldname = 'O_ANZHL'.
    lr_column->set_cell_editor( lr_inputfield ).
    lr_column = lr_config->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN(
    'G_ANZHL').
    CREATE OBJECT LR_TEXTVIEW.
    lr_column->set_cell_editor( LR_TEXTVIEW ).
  ENDIF.
how can i see data   unable mode on column ?

Hi Mesut,
According to my understanding u want the inputfield  column of the alv table to be set as non  editable field . If it is so then try to use this code below .
CALL METHOD lr_input->set_enabled
  EXPORTING
    value  = ABAP_TRUE  "here according to ur requirement u can change the boolean value.
  call method lr_column->set_cell_editor
    exporting
      value = lr_input.
lr_column type ref to cl_salv_wd_column.
lr_input type ref to cl_salv_wd_uie_input_field.
Here lr_column is the column reference and lr_input is the UI element reference
Try using this code hope it may giv u some solution.
Have a Nice Day.
Regards,
Sana.

Similar Messages

  • How create report with data from table and some columns results function ?

    Hi,
    How can i create on apex report region with some columns (of the report) as returned from a table and the other columns as results of plsql functions ?
    for example , I want to create a report like that:
    device last_date error_msg stop/start
    kodak1 06/04/08 null >>
    kodak2 08/03/08 good msg --^--
    kodak3 08/04/08 err msg >>
    3 rows returned
    where the 3 first columns are data returned from the table and the forth column is the result of plsql function (returned for example false) and on that i want to display a button of start ( >> in this example ) or stop ( --^-- in this example)

    Thomas,
    There is no problem here -- this is fully suported scenario.
    1. Bind Table dataSource to Customers node.
    2. Bind individual cell editors to any attribute of customer or any nested node like Address, say create column with InputField as editor, then for "value" property select Customer.Address.Street.
    Your nested nodes (like Address) must be non-singleton, set singleton=false on context designer tab.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Updation of internal table from tableview

    Hi,
    I am using a tableview in which coloumn-3(last_days) is editable.After editing it when user pressess on the button SAVE I should capture the changes and update it in database.
    But here I am facing a problem.Always the field last_days is being filled with '000' irrespective of the value entered.
    The below is the piece of code which I had written:
    DATA: tv TYPE REF TO CL_HTMLB_TABLEVIEW,
    wa like line of  R_GT_VIEW.
    tv ?= CL_HTMLB_MANAGER=>GET_DATA(
    request = runtime->server->request
    name = 'tableView'
    id = 'tvx' ).
    IF tv IS NOT INITIAL.
    DATA: tv_data TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
    tv_data = tv->data.
    loop at R_GT_VIEW into wa .
    wa-last_days =  tv_data->get_cell_value( row_index = sy-tabix
                                       column_index = '3' ).
    modify R_GT_VIEW from wa index sy-tabix.
    endloop.
    ENDIF.
    Helpful answers will be rewarded.
    Thanks

    Hi,
    Sorry....coz I replied in a haste...
    Just to let you know....The method get_cell_value will not work if you are rendering a column as InputField.
    Use the below mentioned code and this it should work....
    DATA: tv TYPE REF TO cl_htmlb_tableview.
              wa like line of R_GT_VIEW.
    tv ?= cl_htmlb_manager=>get_data(
                        request = runtime->server->request
                        name = 'tableView'
                        id = 'tvx' ).
    IF tv IS NOT INITIAL.
      DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
      tv_data = tv->data.
      LOOP AT itab INTO wa .
        data : if_value type ref to cl_htmlb_inputfield.
        data : p_cell_id type string,       
               row_ix type string.
        clear p_cell_id.
        clear row_ix.
        row_ix = sy-tabix.
        condense row_ix.
        concatenate p_cell_id 'TV_' row_ix '_3' into p_cell_id.    "generating cell ID...Make Sure to use ur TableView Id instead of TV
        if_value ?= cl_htmlb_manager=>get_data( request = request
                                                name    = 'inputField'
                                                id      = p_cell_id
           if if_value->value is not initial.
             wa-last_days  = if_value->value.
           endif.
        MODIFY itab FROM wa INDEX sy-tabix.
      ENDLOOP.
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • How to get the values from the input field of a table

    Hello Friends
    I am having table having one column as InputField and rest are the textview fields
    I input the data and click the button that will add them to a node.
    But what is happening is it is adding the current value to all the fields replacing other filelds.
    Like suppose I am having 3 rows
    In column I input 10
    In column 2 input 20
    In column 3 input 30
    Now it is setting the value 30 to all the 3 fields.
    Can any one tell me the code to set 10, 20 and 30 as different value in a node as entered by me.
    Thanks

    Hi
    i am your scernario as follows
    Context
    TN_node (value node of cardinality 0:N)
                 val1 (value attribute under value node)
                 val2 (value attribute under value node)          
    i have binded Tn_node to table and val1 is textview and val2 is inputfield
    public void wdDoInit()
        //@@begin wdDoInit()
        for(int i=0;i<5;i++)
        IPrivateTestView.ITN_nodeElement ele=wdContext.nodeTN_node().createTN_nodeElement();
        wdContext.nodeTN_node().addElement(ele);
        ele.setVa1("val"+i);
        //@@end
    i have a button go in which printing all the values
    public void onActionGo(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGo(ServerEvent)
        for(int j=0;j<wdContext.nodeTN_node().size();j++)
        //IPrivateTestView.ITN_nodeElement
        IPrivateTestView.ITN_nodeElement ele=wdContext.nodeTN_node().getTN_nodeElementAt(j);
    wdComponentAPI.getMessageManager().reportSuccess("-----"+ele.getVa1());
    wdComponentAPI.getMessageManager().reportSuccess("-----"+ele.getVa2());
    Hope this helps,
    If your problem is not solved please post your code like this
    Thanks and Regards,
    Arun

  • Tables - How to get cell value? How to get/set UI controls properties?

    Hi,
    I want to get a the cell's value of row x and col y.
    The table is not bounded so I cannot use:
    Table1.Items(key).DataSourceRow.DataItem("ColID")
    Another question:
    How to I set the properties of a table column which contains UI elemtents that I create dynamically?
    for exmpale:
    c1 is a TableBodyCell
    tr is a tableRow
    c1 = New TableBodyCell(Table1, tr, 0)
    c1.TableCellContent = New InputField
    tr.Cells.Add(c1)
    How do I set/get the properties of the InputField?
    Thanks,
    Omri

    Thanks Reshef,
    My Table's scheme:
    Column 0 - TextView
    Column 1 - InputField
    I was able to get a cell value of type TextView by using what you suggested:
    Write(CType(Table1.Items(0).Cells(0).TableCellContent,TextView).Text)
    However, when I tried to do the exact thing to InputField I didn't get any value (nor error)
    Write(CType(Table1.Items(0).Cells(1).TableCellContent, InputField).Value)
    I fill the Input Field and then push "Execute" button which supposed to write the value.
    About my second question:
    By using the cast (CType) I can access the properties I need (like Width) so it kind of solve my problem.
    for example:
    CType(Table1.Items(1).Cells(1).TableCellContent, InputField).Width = "15px"

  • Infotype record create, edit

    Hi All,
    Can anybody tell me the steps involved in creating, editing employee;'s own infotype records through WD ABAP view.
    I have infotype (IT0057) record which need to be displayed, create, edit. We are also supposed to attach a custom workflow template with this application so that whenever employee updates, creates his own record - a workflow item will be triggered and sent to concern person for approval.
    We have designed the customer workflow template for the same. Please tell me the steps to display, create, update infotype record through WD View.
    Regards,
    Anil Kumar

    Hi,
    If you want to perform some additional logic on these buttons then the standard buttons on the ALV cannot be used.
    You need to have your own buttons and provide coding or you can also use the Normal TABLE UI element.
    At first i'm explaining the process for TABLE UI element.
    First,
    Design the context node in the component controller for that table of contents with the apt columns.
    Map this node to the view1.
    Now, In the view1,
    Create the TABLE UI element and using CREATE BINDING option bind it to this node, while doing this
    select the apt type of UI element for each column( I mean if there are any columns for Inputfield/drodpdown etc).
    and also you can design the buttons ADD, EDIT,DELETE and implement the actions.
    After designing this, try to display the data by reading that infottype and fill the context node by using
    the BIND_TABLE of if_wd_context_node.
    By default for the table, one row is selected(lead selection). If you want mutltiple ones then use the option
    Leadselection(Multi).
    The BAPI you specified is for the save/update the infotype.
    Now you can start of with this information...Once this is done I can help you out..for further process.
    Regards,
    Lekha.

  • Problem with TableSingleMarkableCell

    Hi all,
    Can anybody tell me how to use TableSingleMarkableCell to get information about a single cell from a table.
    i have added a TableSingleMarkableCell cellvariant to a table column and inputfield as a cellEditor to the TableSingleMarkableCell.
    upon click on a perticular cell in table i am getting inputfield for entering the data, i have added a toolbarbutton to the table to display the information of the selected table cell by using the following code
    IWDAttributePointer attPointer =
                wdContext.currentContextElement().getAttributePointer();
           if (attPointer == null) {
                   wdComponentAPI.getMessageManager().reportException("no leadSelection set", false);
              } else {
                   wdComponentAPI.getMessageManager().reportSuccess(attPointer.getAttributeInfo().getName() );
    but attPointer is showing null hence it is showing no leadSelection set
    Please tell me how to solve this problem

    hi Stefanie,
    I am doing the application according to this sudoku game explained on this link
    Link: [https://www.sdn.sap.com/irj/sdn/nw-wdjava?rid=/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961]
    in this we enter numbers in a perticular cell and click on a button which checks that the last entered number in the cell is correct or not.
    the TableSingleMarkableCell's markedData property is binded to AttributePointer attribute from which we get which cell is selected currently.
    please see this link and reply me
    thanks,

  • F4 Event in table

    hi,
      I want to use the F4 Help in table, when select a value, i can fire a event to
    change the valoue of other attribute.
      Can you help me?
      Thank you very much!

    Hi,
    In the table column if we have table column as inputfield then on press event we could write logic to update other fields but other that we needto write code in WDDOMODIFYVIEW to check if the table column has certain value then change the context.
    Or we can use other UI elements like Dropdownbykey were we have onselect event. on select event we could write code to update other value of another attribute.
    Best regards,
    Suresh

  • PDK Rendering Error

    Hi ALL,
    I have a PDK developmnet that used to work in SP2, when I uploaded into SP13 I getting a rendering error.
    I'm really don't know what is the reason becuase I have other PDK developments working in SP13.
    This is the Jsp page
    <%--- claimsscreen.jsp --%>
    <%@ page import="BEestClTypRenderer"%>
    <%@ page import="com.sapportals.htmlb.enum.TableCellStyle"%>
    <%@ taglib uri= "tagLib" prefix="hbj" %>
    <%--- Get the Bean named myBeanName from the application context --%>
    <jsp:useBean id="BEestInputBean" scope="application" class="bean.BEestInputBean" />
    <hbj:content id="myContext" >
      <hbj:page title="Template for a portal component">
       <hbj:form id="myFormId">
              <hbj:tableView
                   id="myTableView"
                  model="BEestInputBean.Model"
                 design="<%=BEestInputBean.getDesign() %>"
                   headerVisible="<%=BEestInputBean.isHeaderVisible() %>"
                footerVisible="<%=BEestInputBean.isFooterVisible() %>"
                   fillUpEmptyRows="<%=BEestInputBean.isFillUpEmptyRows() %>"
                navigationMode="<%=BEestInputBean.getNavigationMode() %>"
                   selectionMode="<%=BEestInputBean.getSelectionMode() %>"
                   headerText="<%=BEestInputBean.getHeaderText() %>"
                   visibleFirstRow="<%=BEestInputBean.getVisibleFirstRow() %>"
                visibleRowCount="<%=BEestInputBean.getVisibleRowCount() %>"
                   rowCount="4"
                   width="<%=BEestInputBean.getTableWidth() %>"
                onNavigate="myOnNavigate">
    here is the problem ******
                           <% myTableView.setOnRowSelection("myOnRowSelection");
                                myTableView.setUserTypeCellRenderer(new BEestClTypRenderer());
                           %>
              </hbj:tableView>
       </hbj:form>
      </hbj:page>
    </hbj:content> 
    and this is the java program
    import com.sapportals.htmlb.DropdownListBox;
    import com.sapportals.htmlb.InputField;
    import com.sapportals.htmlb.enum.DataType;
    import com.sapportals.htmlb.enum.InputFieldDesign;
    import com.sapportals.htmlb.rendering.IPageContext;
    import com.sapportals.htmlb.table.ICellRenderer;
    import com.sapportals.htmlb.table.TableView;
    import com.sapportals.htmlb.Button;
    public class BEestClTypRenderer implements ICellRenderer {
         public void renderCell(int row, int column, TableView tableView, IPageContext rendererContext) {
              if (column == 1) {
                   DropdownListBox ddlb = new DropdownListBox("Type");
                   ddlb.addItem("CP", "CONTRIBUTORY PENSION");
                   ddlb.addItem("INV", "INVALIDITY BENEFIT"); 
                   ddlb.addItem("SUR", "SURVIVORS BENEFIT");                 
                   ddlb.addItem("DE", "E.I. DEATH BENEFIT");
                   ddlb.addItem("SI", "SICKNESS BENEFIT");                 
                   ddlb.addItem("UN", "UNEMPLOYMENT BENEFIT");
                   ddlb.addItem("MA", "MATERNITY BENEFIT");  
                   ddlb.addItem("MG", "MATERNITY GRANT"); 
                   ddlb.addItem("EI", "EMPLOYMENT INJURY");  
                   ddlb.addItem("NCP", "NON-CONTRIBUTORY"); 
                   ddlb.addItem("FG", "FUNERAL GRANT BENEF.");
                   ddlb.addItem("FGS", "F.G. SUGAR WORKER");  
                   ddlb.setSelection(tableView.getValueAt(row, column).toString());
                   ddlb.render(rendererContext); }           
              if (column == 2) {
                   InputField dateField = new InputField("Date");
                   dateField.setString(tableView.getValueAt(row, column).toString());
                   dateField.setShowHelp(true);
                   dateField.setRequired(true);
                   dateField.setType(DataType.DATE);
                   dateField.setDesign(InputFieldDesign.SMALL);
                   dateField.render(rendererContext); }
              if (column == 3) {
                   Button EstimateButton = new Button("EstimateButton");
                   EstimateButton.setOnClick("onEstimate");
                   EstimateButton.setText("ESTIMATE");
                   EstimateButton.render(rendererContext); }
    I'm getting this error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/NIB.BB.TRM.folder.phase_1/NIB-BB-TRM.folder.cservice/NIB-BB-TRM-role-cservice/NIB.BB.TRM.folder.benefits/NIB.BB.TRM.folder.benefits.estimator/NIB.BB.TRM.page.BE.estimator_001/NIB.BB.TRM.iView.BE.est
    Component Name : NIB.BB.TRM.iView.BE.est.default
    Error occurs during the rendering of jsp component.
    Exception id: 10:13_31/10/05_0004_4294150
    See the details for the exception ID in the log file
    I would like to know how can i solve this problem. Thanks in advance
    Alexis Ramirez

    This is part or the log file.
    #1.5#0003BA41156F006C0000001D00006A120004039402806514#1129834138850#com.sap.portal.prt.runtime.servlet_jsp#sap.com/irj#com.sap.portal.prt.runtime.servlet_jsp#ramirez_a#292####2ba73b80419a11daa8e60003ba41156f#Thread[PRT-Async 5,5,PRT-Async]##0#0#Error#1#/System/Server#Java###>>> JSPCompiler >>> ERROR in Compiling :JSPFileInfo :617932332
    JSP File : /usr/sap/DEP/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/nib.bb.trm.iview.bp.search/pagelet/beestin.jsp
    Class Name: sapportalsjspbeestin
    Java File : /usr/sap/DEP/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/nib.bb.trm.iview.bp.search/work/pagelet/_sapportalsjsp_beestin.java
    Package Name : pagelet
    Class File : /usr/sap/DEP/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/nib.bb.trm.iview.bp.search/work/pagelet/_sapportalsjsp_beestin.class
    Is out dated : false [email protected]36598
    [EXCEPTION]
    #1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:284)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:134)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.CachablePortalComponentResponse.include(CachablePortalComponentResponse.java:213)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:363)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
    at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error in java compiling
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2180)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:284)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:134)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.CachablePortalComponentResponse.include(CachablePortalComponentResponse.java:213)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:363)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
    at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: /usr/sap/DEP/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/nib.bb.trm.iview.bp.search/work/pagelet/_sapportalsjsp_beestin.java:17: '.' expected
    import BPSearchRenderer;
    ^
    1 error
    at com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.launchCompilerProcess(J2eeCompiler_6_30.java:564)
    at com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compileExternal(J2eeCompiler_6_30.java:371)
    at com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compile(J2eeCompiler_6_30.java:676)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2160)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:284)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:134)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.CachablePortalComponentResponse.include(CachablePortalComponentResponse.java:213)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:363)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
    at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
    at java.lang.Thread.run(Thread.java:534)
    #1.5#0003BA41156F006C0000001F00006A120004039402807F5B#1129834138858#com.sap.portal.prt.runtime.servlet_jsp#sap.com/irj#com.sap.portal.prt.runtime.servlet_jsp#ramirez_a#292####2ba73b80419a11daa8e60003ba41156f#Thread[PRT-Async 5,5,PRT-Async]##0#0#Error#1#/System/Server#Java###>>> JSPCompiler >>> error [email protected]36598
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:108)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:284)
    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:134)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.CachablePortalComponentResponse.include(CachablePortalComponentResponse.java:213)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.component.CachablePortalComponent.service(CachablePortalComponent.java:363)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
    at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
    Thanks
    Alexis

  • Addition of a inputfield as column to item level table in shopping cart

    Dear Experts
    i added a new inputfield to item level table as columen of Shopping cart and binded a variable from context. that column is displayed in the table but it is displayed in Disabled mode im not able to give input to the column(as it is a inputfield).
    I checked the table column property it is enabled and i aslo configure on the SPRO, nothing is woring for me.
    Please giude me to make the table column enabled so that i can give input..
    Regards
    Arun.K.P

    Hi  Arun ,
    you need to maintain the Meta data entries ,
    Navigate path
    spro->sap implementation guide->Supplier Relationship Management->SRM server->cross application basic settings-> extension and field control->create table extension and supply with data->control table extension and there field action-> configure control of fields of table extension .
    Thanks & Regards
    Pradeep Kumar Dondeti

  • Enable Inputfield in the table column even though the column is empty

    Dear Experts
    How to enable or disable a table column(it is an inputfield) dynamically.
    I done this and strugling to proceed from this point
    DATA lr_container TYPE REF TO cl_wd_uielement_container.
      DATA lr_table     TYPE REF TO cl_wd_table.
      DATA lr_view      TYPE REF TO if_wd_view.
      DATA lr_child     TYPE REF TO cl_wd_uielement.
      data : lr_col TYPE REF TO  CL_WD_TABLE_COLUMN.
      data : lr_inp TYPE REF TO cl_wd_input_field .
      lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
      lt_children = lr_container->get_children( ).
      CALL METHOD lr_container->get_child
        EXPORTING
          id        = 'ITEMS_TABLE'
          index     = 1
        RECEIVING
          the_child = lr_child.
      lr_table ?= lr_child.
    CALL METHOD lr_table->get_column
       EXPORTING
         id         = 'ZVPN_IT_INP'
         index      = '6'
       receiving
         the_column = lr_col.
    Upto this the code is working fine as per the requirement .Now the thing is in that in column we r having an input field which should be enabled dynamically
    Regards
    Arun

    Hi Arun.,
    For enabling and disabiling any field on the view, there is only procedure.
    1. Make an attribute of type 'ABAP_BOOL' in the context.
    2. Bind the enable property of the UI element to this attribute.
    3. Enable or Disable the UI element in the code.
    So for your question you can follow :
    1. Make an attribute 'ENABLE' in the context node bound to the table. Type ABAP BOOL.
    2. Bind 'ENABLE' property of the desired input field with this attribute.
    3. In WDDOMODIFYVIEW check your condition and based on the condition use set_attribute method of if_wd_context_node to change the value to 00 - None or 01 - Enabled.
    I hope your question is answered.

  • Labels and inputfields in equal columns

    Hi, I have a hard time making my application look good. I want Labels and Inputfields to be sorted one under another in equal columns. Mostly I have a MatrixFlow with two labels and inputfields in a row. F.e:
    Label1         Inputfield1            Label2         Inputfield2
    Label2.1      Inputfield2.1          Label2.1      Inputfield2.1
    and this is how I want it to be, now it looks more like that
    Label1                Inputfield1             Label2                     Inputfield2
        Label2.1      Inputfield2.1                    Label2.1      Inputfield2.1
    and so on. Im aware of Padding left/right but since every single label or IF has different lenght it is hard to mach them in columns. thinking about setting it by pixels makes me sick as well. Ive been looking on example projects and there was no such problem like not even column so there must be some tool sorting it out and Im not aware of its existance. Please help

    Thanks for response. Im using Grid layout in some Transparent Containers but it does not solve the problem, making whole app as Grid would take way to much space Manoj.
    I tried to put 1.1 and 2.1 labels in one Transparent and it worked well, made it stuck to the left side, problem began again with inputfields, seems they are dependand on label lenght that way. Funny thing is when you see at example from sap it all looks fine in simple MatrixFlow and that's it.
    Screenshot below so you can see how it looks atm and I warn you it can make your eyes bleed
    (sorry for blackened fields but Im not allowed to show it to people yet. Black field has same lengt as label)
    [url]http://img147.imageshack.us/my.php?image=notitlehz5.jpg
    Edited by: Wojtek G on Jan 28, 2008 9:37 AM
    Edited by: Wojtek G on Jan 28, 2008 9:37 AM
    Edited by: Wojtek G on Jan 28, 2008 9:39 AM

  • Table Column - Different UI elements in a column

    Hi,
    I have the following requirement. I need to create a table shown below.
                COLUMN1              COLUMN2
    ROW1      cell11                    cell21
    ROW2      cell12                    cell22
    I need cell11 and cell22 to be textviews and cell12 and cell21 to be inputfields. In other words, I need different cells in a table column to be of different types.
    How do I do this.
    Thank

    Hi,
    An easier way to switch between input field and text view  is to just bind the readOnly property. Why actually switch between InputField and TextView.
    Create an attribute 'EDITABLE' type Boolean in the node that is bound to the table.
    1.Create all the cell editors as input field.
    2.Bind the readOnly poperty with the attribuite 'EDITABLE'
    3.Now pass abap_true to make it a text view and abap_false to make in input enabled.
    However it is possible to switch between different UI elements using  Cell Variant .
    Check these links:
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/85/48a841c1dae034e10000000a1550b0/frameset.htm]
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/56/5e9041d3c72e7be10000000a1550b0/frameset.htm]
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0e7461d-5e6c-2b10-dda9-9e99df4d136d]
    Regards,
    Radhika.
    Edited by: Radhika Vadher on May 6, 2009 7:49 AM

  • How to disable selective cells in a column of a table?

    Hi
    I have a Table UI element having 5 columns. 4 of this are non-editable and only one is editable i.e. having input field . The data is picked from the backend. The 5th column also gets default data from the backend, which the user can later on change.
    But there is a condition, that only the input fields from that row onwards should remain enabled whose month field matches the current month. Rest all should become disabled or invisible.
    I worte the code in the wdModifyView() which picks the current date, and then in a loop it checks all the rows for the condition. If it matches the condition, it comes out of the loop, else it sets the enable property of input field to false.
    But when i run this application, all the cells become disabled, not selective cells.
    Is there a way in which I can sort this problem, any API using which i can access each cell by its row number and column number and then disable it.
    If anybody could please help, it is urgent.
    Thanks & regards,
    Anupreet

    Anupreet,
    Create a subnode with cardinality 1..1 and boolean attribute IsEnabled right under your data node. Write a supply function for this subnode, and set boolean attribute value depending on month in parentElement (parameter of supply function). Then bind InputField "enabled" property to this boolean attribute.
    VS

  • ALV: columns in read-only mode look like editable columns in edit mode

    Hi,
    My application contains an ALV table which should be toggled between display and edit mode like the rest of the fields.
    The evident solution was to use
    if_salv_wd_table_settings~set_read_only( abap_true or abap_false)
    However, unlike the rest of the fields, when the application changes into display mode and the fields get grey like in any SAP application, the columns in the table which were editable remain white, and those which were not editable and thus grey, get now white, too, instead of the other way round. So it will look to the normal user, as if now all columns would be editable!
    Of course, he would realize that they are not when he tries to edit them, but this is irritating.
    See following link with screenshots (only active for 3 weeks from now on):
    [Link to my webmail space/SDN: .|https://businesswebmail.telekom.at/filestorage/MzYxMTk1OTMx/]
    I have looked
    through my books ("Einstieg in Web Dynpro for ABAP", "Praxisbuch Webdynpro for ABAP", ...)
    through the wiki for Webdynpro for ABAP here in SDN as well as through this forum (by searching with "ALV edit")
    through the notes in BC-WD-CMP-ALV
    but could not find any solution. Most tables in those PDF articles found here in the WD4A wiki also show white cells although they are probabliy in read-only mode (e.g. the imitation of the SE16N browser article).
    The attributes to the LO_CELL_EDITOR for both Inputfields and textview columns contain exactly the same values when toggling between display and edit mode (read-only in table settings), so also no chance to change here anything.
    Also changing the cell design is not a solution as there is no design that looks like grey for not editable according to WDUI_TABLE_CELL_DESIGN  ([SAP Help - WDUI_TABLE_CELL_DESIGN|http://help.sap.com/saphelp_nw2004s/helpdata/en/56/5e9041d3c72e7be10000000a1550b0/frameset.htm].
    I do not know if I have made an error, as this is my 3rd Web Dynpro (after the first 2 of the introduction book), or SAP is really inconsistent in User interface between "normal" fields and ALV table fields.
    Can you please help me?
    Thanks in advance,
    Erlend

    Hi,
    In my application aslo, i have 30 columns out of which 10 are input fields. But, i'm showing the table as ABAP_TRUE incase of Non-editable otherwise to abap_false. Now i'm getting everything as in WHITE cells.
    Do you want to show it is Grey mode with Non-editable feature. Is that so.
    How many columns are there which has Input fields.
    Get the column references.
    Now, based on the mode of display create the object as Input or Textview field.
    For that column -
    If mode eq 'D'.
    Create an object for Textview(cl_salv_wd_uie_text_view)
    else.
    Create an Object for Inputfield(cl_salv_wd_uie_input_field)
    endif.
    The Append row is a standard button or custom one on ALV toolbar.
    Do you want to hide the toolbar or just disable these buttons.
    If you want to hide the toolbar then refer my wiki -
    http://wiki.sdn.sap.com/wiki/display/WDABAP/NullreferenceforUPDATETOOLBARerrorsofALVinthewebdynpro+ABAP
    Regards,
    Lekha.
    Edited by: Lekha on Sep 30, 2009 8:06 PM

Maybe you are looking for

  • How do I create a flag(stripe) font in ps6?

    How would something like this be created, as well as an action? T.I.A.

  • Serious bug in Weblogic when connecting to a remote website through a local proxy server (proxyHost, proxyPort)

    Hi there, It seems that there is a serious problem with any version of Weblogic when you have to pass through a local proxy server to connect a remote website. Whenever I am trying to run the jsp program below either with Weblogic 7.0 SP2 or even wit

  • X-Fi Elite Pro, can't hear PS2/X

    Hello. I tried to search the forums, but I either searched poorly or I couldn't find a similar issue. Here's the problem -- I can't hear either my PS2 or my Xbox using the Elite Pro on my PC. Hardware: [The good part] PC does not have on-board audio

  • CSS content configuration problem

    Hello, I've a strange problem with CSS configuration (written below). In 10% of times, content "ABCD80old2" doesn't work - clients trying to access "/AB*" resources, receive answers from Serv3 and Serv4 (not from Serv1 or Serv2, as they should). Upgr

  • Warming up the OLAP cache

    Hi, I would like to schedule execution of some queries in order to put the results in the OLAP cache for fast use. Each user run the query with very restricted selection: one period, one node in the CostCenter hierarchy and one currency type! All the