TableView Error

I am trying to fill a TableVie with data and get the followin error:
<table border="0" cellspacing="5" cellpadding="0"><tr> <td class="ctrlMsgBarImgError"> </td><td class="ctrlTxtEmph"><SPAN CLASS="ctrlLblReq">Portal Runtime Error<br><br>An exception occurred while processing a request for :<br>iView : XMLAConnection.TestProject<br>Component Name : XMLAConnection.TestProject<br><br>The exception was logged. Inform your system administrator..<br>Exception id: 01:23_28/02/05_0121_6435050</SPAN></td></tr></table><pre style='display:none;'>java.lang.NullPointerException
     at com.sapportals.htmlb.table.DefaultTableViewModel.getValueAt(DefaultTableViewModel.java:187)
     at com.sapportals.htmlb.table.DefaultTableViewModel.getValueAt(DefaultTableViewModel.java:196)
     at com.sapportals.htmlb.table.TableColumn.getValueAt(TableColumn.java:478)
     at com.sapportals.htmlb.table.DefaultCellRenderer.renderCell(DefaultCellRenderer.java:275)
     at com.sapportals.htmlb.unifiedrendering.ie5.TableViewRenderer.renderTableViewCellFragment(TableViewRenderer.java:2448)
     at com.sapportals.htmlb.unifiedrendering.ie5.TableViewRenderer.renderTableViewRowFragment(TableViewRenderer.java:1761)
     at com.sapportals.htmlb.unifiedrendering.ie5.TableViewRenderer.renderTableViewFragment(TableViewRenderer.java:514)
     at com.sapportals.htmlb.unifiedrendering.ie5.TableViewRenderer.render(TableViewRenderer.java:103)
     at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:970)
     at com.sapportals.htmlb.taglib.TableViewTag.doEndTag(TableViewTag.java:139)
     at pagelet._sapportalsjsp_Output.doContent(_sapportalsjsp_Output.java:193)
     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.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
     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.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
     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.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
     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.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
     at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Can anyone tell me what this error means.

I think you have some null values in the Model you are using to load your tableview. 
Brian

Similar Messages

  • BSP Tableview error when trying to bind an itab within an itab

    Hello dear forum members,
    I got a requirement to dynamically generate tableviews and bind them to a model's attribute (an itab 'model->gt_prd_grps' which holds the actual internal table to display as tableview 'model->gt_prd_grps-prods_table' within it). Below code would give you a correct picture.
    BSP View code:
    LOOP AT model->gt_prd_grps INTO ls_prd_grps.
            lv_idx = sy-tabix.
            CONCATENATE 'ProductsList_' ls_prd_grps-prod_group INTO lv_tableid.
            CONCATENATE '//model/' 'gt_prd_grps[' lv_idx '].prods_table' INTO lv_bind_str.
            CREATE OBJECT lr_tableview.
            lr_tableview->id            = lv_tableid.
            lr_tableview->headertext    = ls_prd_grps-prod_grp_desc.
            lr_tableview->_table        = lv_bind_str.
            lr_tableview->headerVisible = 'true'.
            lr_tableview->footerVisible = 'true'.
            lr_tableview->filter        = 'SERVER'.
            lr_tableview->design        = 'alternating'.
            lr_tableview->sort            = 'SERVER'.
            lr_tableview->fillUpEmptyRows = 'false'.
            lr_tableview->selectionMode   = 'NONE'.
            lr_tableview->iterator        = lo_prdctschtb_iter.
            lr_tableview->emptyTableText  = 'No Products available.'.
            tableview_str = lr_tableview->if_bsp_bee~render_to_string( page_context ).   %>
      <%    lv_col_count_default = 1. lv_row_count_default = lv_row_count_default + 1.   %>
      <htmlb:gridLayoutCell columnIndex = "<%= lv_col_count_default %>"
                            rowIndex    = "<%= lv_row_count_default %>"
                            colSpan     = "3" >
                            <%= tableview_str %>
    </htmlb:gridLayoutCell>
    <% ENDLOOP. %>
    I am encountering dump while trying to run the above BSP view and the error says "BSP exception: No structure component with the name "PRODS_TABLE[1].PRODUCT_ID" exists"
    Actually the user would select from the tableview via a 'select' column which would be rendered as checkbox and the MVC binding would greatly reduce the effort of manually transferring the user selections to the respective model table(s).
    Please suggest if the above way is possible and if so how to overcome the exception i am facing OR do i have to manually capture the tableview selection via CL_HTMLB_MANAGER=>GET_DATA.
    Huge thanks in advance,
    Ram

    Hi Raja,
    I am getting the dump as soon as the view is called. The tableview to be displayed is indeed the nested table only and the user can select the records via the 'checkbok' column in the tableview.
    Also, when i debugged, the dump occurs exactly at the below point:
    tableview_str = lr_tableview->if_bsp_bee~render_to_string( page_context ).
    Regards,
    Ram
    Edited by: Ram Mohan Venkatraman on Mar 11, 2010 12:12 PM

  • SIGABRT error when choosing a row of a tableview

    Hello, I am creating an iPhone app and I keep getting a "SIGABRT" error. I have a tableview where I want a separate webpage pushed for each rows.
    Currently, what happens is that the table displays; however, when I pick a row it gives me a SIGABRT error. Please help.
    Here is my first view (table view) .h file:
    #import <UIKit/UIKit.h>
    @interface videoTableViewController : UITableViewController
        NSArray *videos;
    @property (strong, nonatomic) NSArray *videos;
    @end
    Here is my first view (table view) .m file:
    #import "videoTableViewController.h"
    #import "videoURLController.h"
    @interface videoTableViewController ()
    @end
    @implementation videoTableViewController
    @synthesize videos;
    - (id)initWithStyle:(UITableViewStyle)style
        self = [super initWithStyle:style];
        if (self) {
            // Custom initialization
        return self;
    - (void)viewDidLoad
        [super viewDidLoad];
        videos = [NSArray arrayWithObjects:@"Welcome", @"Hello", @"Goodbye", nil];
        // Uncomment the following line to preserve selection between presentations.
        // self.clearsSelectionOnViewWillAppear = NO;
        // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
        // self.navigationItem.rightBarButtonItem = self.editButtonItem;
    - (void)viewDidUnload
        [super viewDidUnload];
        // Release any retained subviews of the main view.
        // e.g. self.myOutlet = nil;
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
        return (interfaceOrientation == UIInterfaceOrientationPortrait);
    #pragma mark - Table view data source
    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
        // Return the number of sections.
        return 1;
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
        // Return the number of rows in the section.
        return [self.videos count];
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
        static NSString *CellIdentifier = @"videoCell";
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
        // Configure the cell...
        NSUInteger row = [indexPath row];
        cell.textLabel.text = [videos objectAtIndex:row];
        if (row == 0)
            cell.detailTextLabel.text = @"Welcome";
        if (row == 1)
            cell.detailTextLabel.text = @"What we value";
        if (row == 2)
            cell.detailTextLabel.text = @"What does Honor mean?";
        return cell;
    // Override to support conditional editing of the table view.
    - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
        // Return NO if you do not want the specified item to be editable.
        return YES;
    // Override to support editing the table view.
    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
        if (editingStyle == UITableViewCellEditingStyleDelete) {
            // Delete the row from the data source
            [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
        else if (editingStyle == UITableViewCellEditingStyleInsert) {
            // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
    // Override to support rearranging the table view.
    - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath
    // Override to support conditional rearranging of the table view.
    - (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
        // Return NO if you do not want the item to be re-orderable.
        return YES;
    #pragma mark - Table view delegate
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
         videoURLController *detailViewController = [[videoURLController alloc] initWithNibName:@"videoTableViewController" bundle:nil];
        UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
        if (indexPath.row == 0){
            [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
         // Pass the selected object to the new view controller.
         [self.navigationController pushViewController:detailViewController animated:YES];
    @end
    Here is my videoURLController (second view/web view) .h file?
    #import <UIKit/UIKit.h>
    @interface videoURLController : UIViewController
    @property (strong, nonatomic) IBOutlet UIWebView *webView;
    @end
    Here is my videoURLController (second view/web view) .m file?
    #import "videoURLController.h"
    @interface videoURLController ()
    @end
    @implementation videoURLController
    @synthesize webView;
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
        self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
        if (self) {
            // Custom initialization
        return self;
    - (void)viewDidLoad
        [super viewDidLoad];
      // Do any additional setup after loading the view.
    - (void)viewDidUnload
        [super viewDidUnload];
        // Release any retained subviews of the main view.
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
        return (interfaceOrientation == UIInterfaceOrientationPortrait);
    @end

    Hello, I am creating an iPhone app and I keep getting a "SIGABRT" error. I have a tableview where I want a separate webpage pushed for each rows.
    Currently, what happens is that the table displays; however, when I pick a row it gives me a SIGABRT error. Please help.
    Here is my first view (table view) .h file:
    #import <UIKit/UIKit.h>
    @interface videoTableViewController : UITableViewController
        NSArray *videos;
    @property (strong, nonatomic) NSArray *videos;
    @end
    Here is my first view (table view) .m file:
    #import "videoTableViewController.h"
    #import "videoURLController.h"
    @interface videoTableViewController ()
    @end
    @implementation videoTableViewController
    @synthesize videos;
    - (id)initWithStyle:(UITableViewStyle)style
        self = [super initWithStyle:style];
        if (self) {
            // Custom initialization
        return self;
    - (void)viewDidLoad
        [super viewDidLoad];
        videos = [NSArray arrayWithObjects:@"Welcome", @"Hello", @"Goodbye", nil];
        // Uncomment the following line to preserve selection between presentations.
        // self.clearsSelectionOnViewWillAppear = NO;
        // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
        // self.navigationItem.rightBarButtonItem = self.editButtonItem;
    - (void)viewDidUnload
        [super viewDidUnload];
        // Release any retained subviews of the main view.
        // e.g. self.myOutlet = nil;
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
        return (interfaceOrientation == UIInterfaceOrientationPortrait);
    #pragma mark - Table view data source
    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
        // Return the number of sections.
        return 1;
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
        // Return the number of rows in the section.
        return [self.videos count];
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
        static NSString *CellIdentifier = @"videoCell";
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
        // Configure the cell...
        NSUInteger row = [indexPath row];
        cell.textLabel.text = [videos objectAtIndex:row];
        if (row == 0)
            cell.detailTextLabel.text = @"Welcome";
        if (row == 1)
            cell.detailTextLabel.text = @"What we value";
        if (row == 2)
            cell.detailTextLabel.text = @"What does Honor mean?";
        return cell;
    // Override to support conditional editing of the table view.
    - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
        // Return NO if you do not want the specified item to be editable.
        return YES;
    // Override to support editing the table view.
    - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
        if (editingStyle == UITableViewCellEditingStyleDelete) {
            // Delete the row from the data source
            [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
        else if (editingStyle == UITableViewCellEditingStyleInsert) {
            // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
    // Override to support rearranging the table view.
    - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath
    // Override to support conditional rearranging of the table view.
    - (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath
        // Return NO if you do not want the item to be re-orderable.
        return YES;
    #pragma mark - Table view delegate
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
         videoURLController *detailViewController = [[videoURLController alloc] initWithNibName:@"videoTableViewController" bundle:nil];
        UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
        if (indexPath.row == 0){
            [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
         // Pass the selected object to the new view controller.
         [self.navigationController pushViewController:detailViewController animated:YES];
    @end
    Here is my videoURLController (second view/web view) .h file?
    #import <UIKit/UIKit.h>
    @interface videoURLController : UIViewController
    @property (strong, nonatomic) IBOutlet UIWebView *webView;
    @end
    Here is my videoURLController (second view/web view) .m file?
    #import "videoURLController.h"
    @interface videoURLController ()
    @end
    @implementation videoURLController
    @synthesize webView;
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
        self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
        if (self) {
            // Custom initialization
        return self;
    - (void)viewDidLoad
        [super viewDidLoad];
      // Do any additional setup after loading the view.
    - (void)viewDidUnload
        [super viewDidUnload];
        // Release any retained subviews of the main view.
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
        return (interfaceOrientation == UIInterfaceOrientationPortrait);
    @end

  • Java script error  when click on the  Tableview  in the BSp screen

    Hi All,
              I am getting a javascript error saying
    Line : 7770
    Char :5
    Error : 'rows' is null  or not an object
    Code : 0
    URL : http://saperpdev01............
    I checked the source code on the BSP displayed page. It don't has that line 7770 specified in the error.
    My Layout code is :
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "Open Work Screen with Pre Approval and Rejected Invoices ">
        <htmlb:form id = "openwork" method = "post" >
    <%
      data: l_num_msgs  type i,
      l_condition type string,
      l_message   type string,
      l_severity  type i.
    %>
        <img align="left" src="hl_invoicing.gif"/>
          <BR>
          <p align="left">      </p>
          <p align="left">      Complete the form below to create and submit a vehicle repair invoice to Schwans Home Service.</p>
          <p align="left">      See
          <htmlb:link id            = "paymenttermslink"
                      text          = "Payment Terms"
                      onClientClick = "return parent.EPCM.doNavigate ('ROLES://portal_content/com.schwans.tsfc.The_Schwans_Food_Company/HS/iView_folder/External_Content/KM_iViews/Fleet_Payment_Terms', 1);"
                           />
          for payment details.</p>
          <%
              l_num_msgs = page->messages->num_messages( ).
              do l_num_msgs times.
              clear : l_message, l_condition, l_severity.
              call method page->messages->Get_message
              exporting index     = sy-index
              importing condition = l_condition
              message   = l_message
              severity  = l_severity.
              if l_condition eq 'error'.
          %>
          <h3 align="left"> <font size=2 color="Red"><b>      <%= l_message %></b></font></h3>
          <%
              elseif l_condition eq 'warning'.
          %>
          <h3 align="left"> <font size=2 color="orange"><b>      <%= l_message %></b></font></h3>
          <%
              endif.
              enddo.
          %>
          <htmlb:group id     = "groupone"
                       design = "sapcolor" >
         <htmlb:groupHeader>
            <table width="100%" border="0" cellpadding="5" cellspacing="1" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv1"
                                      text    = "Select a  Work Order Number"
                                      design  = "HEADER1" / >
                    </td>
                </tr>
            </table>
        </htmlb:groupHeader>
        <htmlb:groupBody>
        <table width="100%" border="0" cellpadding="5" cellspacing="1" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv2"
                                      text    = "Pre-approved work"
                                      design  = "HEADER2" / >
                    </td>
                </tr>
            </table>
        <table width = "100%">
          <tr>
          <td>
          <htmlb:tableView id               = "openwork"
                           table            = "<%= INVOICE->AT_OPENWORK %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_OPENWORKSELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Open Work Exists"
                           keyColumn        = "OPENWORKNO"
                           onRowSelection   = "openworktable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName = "OPENWORKNO"
                                     title      = "Reference Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "DOC_TYPE_TEXT"
                                     title      = "Document Type"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Created On"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "VMRS_TEXT"
                                     title      = "VMRS Code"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
          </td>
          </tr>
          </table>
        </htmlb:groupBody>
        </htmlb:group>
        <htmlb:group id     = "grouptwo"
                       design = "sapcolor" >
         <htmlb:groupHeader>
         </htmlb:groupHeader>
        <htmlb:groupBody>
             <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                <tr>
                    <td align="left" width="100%">
                      <!--<b> Invoicing </b> -->
                      <htmlb:textView id      = "tv3"
                                      text    = "Rejected Invoices"
                                      design  = "HEADER2" / >
                    </td>
                </tr>
            </table>
          <table width = "100%">
          <tr>
          <td>
          <htmlb:tableView id               = "rejectedinvoice"
                           table            = "<%= INVOICE->AT_REJECTED_INVOICES %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_REJECTEDINVOICESELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Rejected invoices Exists"
                           keyColumn        = "INVOICENO"
                           onRowSelection   = "rejectedinvoicetable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName         = "VENDOR_INVOICE_NUMBER"
                                     title              = "Reference Number"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Invoice Date"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "REJECTION_REASON"
                                     title      = "Reason for Rejection"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
          </td>
          </tr>
          </table>
      </htmlb:groupBody>
    </htmlb:group>
    <htmlb:textView id     = "tv1"
                    text   = "Select a Reference Number from the table above and click the Select button - or - Click the Create New button to create a new invoice."
                    design = "LABEL" />
         <table width="100%" border="0" cellspacing="1"  align="center" >
           <tr>
           <td  align="center" nowrap="TRUE">          
             <htmlb:button    id            = "selectbtn"
                              text          = "SELECT"
                              onClick       = "btnselect" />
             <htmlb:button    id            = "createnewbtn"
                              text          = "Create New"
                              onClick       = "btncreatenew" />
             </td>
           </tr>
          </table>
        </htmlb:form>
        <%@include file="footer.htm" %>
      </htmlb:page>
    </htmlb:content>
    What may be wrong????
    If I click anywhere on the table view it's giving a javascript error. If I try to select a row from the table also it's giving error for one or two times and on the third time i am able to select the table content and can able to navigate to the next page.
    Thanks for your help in advance.
    Thanks,
    Greetson

    Hi Raja,
         please kindly recheck the code if mine i have two tables ..... one for heading and another one for Body.
    it looks correct to me.
    <table width = "100%">
    >     <tr>
    >     <td>
          <htmlb:tableView id               = "rejectedinvoice"
                           table            = "<%= INVOICE->AT_REJECTED_INVOICES %>"
                           design           = "STANDARD"
                           width            = "100%"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= INVOICE->A_REJECTEDINVOICESELECTION %>"
                           visibleRowCount  = "10"
                           footerVisible    = "TRUE"
                           emptyTableText   = "No Rejected invoices Exists"
                           keyColumn        = "INVOICENO"
                           onRowSelection   = "rejectedinvoicetable" >
            <htmlb:tableViewColumns>
              <table width = "100%">
              <tr>
              <td >
              <htmlb:tableViewColumn columnName         = "VENDOR_INVOICE_NUMBER"
                                     title              = "Reference Number"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "CREATEDDATE"
                                     title      = "Invoice Date"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "FLEETNO"
                                     title      = "Fleet Number"
                                     width      = "20%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              <td >
              <htmlb:tableViewColumn columnName = "REJECTION_REASON"
                                     title      = "Reason for Rejection"
                                     width      = "30%"
                                     horizontalAlignment = "LEFT" >
              </htmlb:tableViewColumn>
              </td>
              </tr>
              </table>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
    >     </td>
    >    </tr>
          </table>

  • Error when updating back to ODS using tableview iterator.

    I get this error when I try to execute my bsp page. The page collects a cell value that was edited on the previous page and updates it to the ods.
    The error is "Function not possible in a captured session"
    The termination type was: TH_RES_FREE
    When I debug, every thing looks fine. ITab3 returns values it's supposed to. So I am not sure what's causing it to fail. Any ideas? Thanks.
    Here is my code:
    CLASS cl_htmlb_manager DEFINITION LOAD.
    DATA: event TYPE REF TO cl_htmlb_event.
    event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
    if event->id = 'Update' and event->event_type = 'click'.
      DATA: tv TYPE REF TO cl_htmlb_tableview.
    FIELD-SYMBOLS <i> LIKE LINE OF selectedrowindextable.
    tv ?= cl_htmlb_manager=>get_data( request = runtime->server->request
                                     name = 'tableView'
                                     id = 'tv1' ).
    IF tv IS NOT INITIAL.
    DATA: tv_data TYPE REF TO cl_htmlb_event_tableview.
      tv_data = tv->data.
      refresh itab2.
      refresh itab3.
      call method tv_data->GET_ROWS_SELECTED
      receiving selected_rows = itab2.
      endif.
      data : ind type SELECTEDROW,
              row_s type row.
      if itab2 is not initial.
        data: rw LIKE LINE OF itab.
        loop at itab2 into ind.
        READ TABLE itab INDEX ind-index into
        rw.
        if rw is not initial.
        row_s = rw.
        append row_s to itab3.
        clear row_s.
        endif.
        endloop.
            MODIFY /bic/aNCN_O01300 FROM table itab3.
          ENDIF.
          endif.

    hi Uday,
    This is simple....
    Use the function module
    <b>1) For adding leading zero's or spaces...!</b>
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT   = lw_variable
    IMPORTING
       OUTPUT   = lw_variable.
    <b>2) and for removing leading zero's or spaces.....</b>
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
      EXPORTING
        INPUT   = lw_variable
    IMPORTING
       OUTPUT   = lw_variable.
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • Error when displaying amount field in HTMLB Tableview

    Hi all,
       I am displaying some 'X' table in HTMLB Tableview and it has one amount field.But reference(currency) field of that amount field is in other table . I know it gives the error.
    Please tell me there is any other way to resolve this problem with out adding reference(currency)field in the same table?
    Thanks and Regards ,
    Harikrishna .

    Hi Hari,
    But reference(currency) field of that amount field is in other table . I know it gives the error.
    It will not give any error , you can use the currency key field of other table or structure .
    Alternatively you can use  predifined type DEC instaed of CURR  .
    Regards,
    Anubhav

  • Error in displaying hierachry report with TableView and Tableiterator

    Hello,
    I tried to create a BSP as shown in this tutorial:
    /people/vijaybabu.dudla/blog/2008/08/04/display-hierarchy-report-in-bsp-using-tableview-and-tableview-iterator
    When starting the BSP I get an error that a field symbol is not assigned in the method get_column_name.
    When debugging the method get_column_name I can see that row_ref is initial. So the field symbols <row> and <col> are not assigned to any values, which causes the error some lines below.
    METHOD get_column_value .
    *-To get the Column values which is used in the Interator
      FIELD-SYMBOLS: <row> TYPE ANY, <col> TYPE ANY, <cur> TYPE ANY.
      ASSIGN row_ref->* TO <row>.
      ASSIGN COMPONENT column_name OF STRUCTURE <row> TO <col>.
      DATA tempchar(240) TYPE c.
      IF currency IS NOT INITIAL.
        ASSIGN COMPONENT currency OF STRUCTURE <row> TO <cur>.
        WRITE <col> CURRENCY <cur> TO tempchar.
        MOVE tempchar TO column_value.
        CONCATENATE column_value ` ` <cur> INTO column_value.
      ELSE.
        WRITE <col> TO tempchar.
        MOVE tempchar TO column_value.
      ENDIF.
      CONDENSE column_value.
    ENDMETHOD.
    Any help?
    Thank you

    Hi Patrick,
    Thank you for the answer.
    Unfortunately there is still the error with the unassigned field symbol after implementing the render_row_start method.
    Any help?
    Edit: It works now. There was an error with a wrong variable name (stupig mistake.)
    Thanks for the help!
    Edited by: Robert Karlovic on Mar 5, 2009 10:29 AM

  • Error when working with TableView using JCA

    Hi sdns,
    I am getting an iview rutnime error when working with Tableview using JCA. Here i am putting all my code, go thorugh it and tell me if any error is there.One more thing is Usermappping and all properties are set to system object.
    Now you can throught he code which is followed by error also.
    <u>Java file.</u>
    public class DisplayComponent extends PageProcessorComponent {
         public DynPage getPage() {
              return new DisplayComponentDynPage();
         public static class DisplayComponentDynPage extends JSPDynPage {
              private JCATviewBean bean;
              public void doInitialization() {
                   IPortalComponentProfile profile =
                        ((IPortalComponentRequest) getRequest())
                             .getComponentContext()
                             .getProfile();
                   Object o = profile.getValue("myBean");
                   if (o == null || !(o instanceof JCATviewBean)) {
                        bean = new JCATviewBean();
                        profile.putValue("myBean", bean);
                   } else {
                        bean = (JCATviewBean) o;
                   // fill your bean with data here...
                   IPortalComponentRequest request =
                        (IPortalComponentRequest) this.getRequest();
                   doJca(request);
              public void doProcessAfterInput() throws PageException {
              public void doProcessBeforeOutput() throws PageException {
                   this.setJspName("Report.jsp");
              private IConnection getConnection(
                   IPortalComponentRequest request,
                   String alias)
                   throws Exception {
                   IConnectorGatewayService cgService =
                        (IConnectorGatewayService) PortalRuntime
                             .getRuntimeResources()
                             .getService(
                             IConnectorService.KEY);
                   ConnectionProperties prop =
                        new ConnectionProperties(
                             request.getLocale(),
                             request.getUser());
                   return cgService.getConnection(alias, prop);
              public void doJca(IPortalComponentRequest request) {
                   IConnectionFactory connectionFactory = null;
                   IConnection client = null;
                   String rfm_name = "BAPI_COMPANYCODE_GETLIST";
                   try {
                        try {
                             //       pass the request & system alias
                             //       Change the alias to whatever the alias is for your R/3 system
                             client = getConnection(request, "MyIDES");
                        } catch (Exception e) {
                             System.out.println(
                                  "Couldn't establish a connection with a target system.");
                             return;
    Start Interaction
                        IInteraction interaction = client.createInteractionEx();
                        IInteractionSpec interactionSpec =
                             interaction.getInteractionSpec();
                        interactionSpec.setPropertyValue("Name", rfm_name);
    CCI api only has one datatype: Record
                        RecordFactory recordFactory = interaction.getRecordFactory();
                        MappedRecord importParams =
                             recordFactory.createMappedRecord(
                                  "CONTAINER_OF_IMPORT_PARAMS");
                        IFunctionsMetaData functionsMetaData =
                             client.getFunctionsMetaData();
                        IFunction function = functionsMetaData.getFunction(rfm_name);
                        if (function == null) {
                             System.out.println(
                                  "Couldn't find " + rfm_name + " in a target system.");
                             return;
    How to invoke Function modules
                        System.out.println("Invoking... " + function.getName());
                        MappedRecord exportParams =
                             (MappedRecord) interaction.execute(
                                  interactionSpec,
                                  importParams);
    How to get structure values
                        IRecord exportStructure = (IRecord) exportParams.get("RETURN");
                        String columnOne = exportStructure.getString("TYPE");
                        String columnTwo = exportStructure.getString("CODE");
                        String columnThree = exportStructure.getString("MESSAGE");
                        System.out.println("  RETURN-TYPE    = " + columnOne);
                        System.out.println("  RETURN-CODE    = " + columnTwo);
                        System.out.println("  RETURN-MESSAGE =" + columnThree);
    How to get table values
                        IRecordSet exportTable =
                             (IRecordSet) exportParams.get("COMPANYCODE_LIST");
                        exportTable.beforeFirst();
                        // Moves the cursor before the first row.
                        while (exportTable.next()) {
                             String column_1 = exportTable.getString("COMP_CODE");
                             String column_2 = exportTable.getString("COMP_NAME");
                             System.out.println(
                                  "  COMPANYCODE_LIST-COMP_CODE = " + column_1);
                             System.out.println(
                                  "  COMPANYCODE_LIST-COMP_NAME = " + column_2);
                        //       create the tableview mode in the bean
                        bean.createData(exportTable);
    Closing the connection
                        client.close();
                   } catch (ConnectorException e) {
                        //       app.putValue("error", e);
                        System.out.println("Caught an exception: \n" + e);
                   } catch (Exception e) {
                        System.out.println("Caught an exception: \n" + e);
    <u>Bena file</u>
    package com.sap.JCA.bean;
    import java.util.Vector;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableViewModel;
    public class JCATviewBean {
         public DefaultTableViewModel model;
         public TableViewModel getModel() {
         return this.model;
         public void setModel(DefaultTableViewModel model) {
         this.model = model;
         public void createData(IRecordSet table) {
    //       this is your column names
         Vector column = new Vector();
         column.addElement("Company Code");
         column.addElement("Company Name");
    //       all this logic is for the data part.
         Vector rVector = new Vector();
         try {
         table.beforeFirst();
         while (table.next()) {
         Vector data = new Vector();
         data.addElement(table.getString("COMP_CODE"));
         data.addElement(table.getString("COMP_NAME"));
         rVector.addElement(data);
         } catch (Exception e) {
         e.printStackTrace();
    //       this is where you create the model
         this.setModel(new DefaultTableViewModel(rVector, column));
    <b>JSP File:</b>
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.sap.JCA.bean.JCATviewBean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
       <br>
       <hbj:textView id = "tv1" text = "<b>TableView Example Using JCA</b> <br>"/>
    <hbj:tableView
        id="myTableView1"
        model="myBean.model"
        design="ALTERNATING"
        headerVisible="true"
        footerVisible="true"
        fillUpEmptyRows="true"
        navigationMode="BYLINE"
        selectionMode="MULTISELECT"
        headerText="TableView example1"
        visibleFirstRow="1"
        visibleRowCount="30"
        width="500 px"
        />
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <b>Error when Executing this component:</b><u></u>
      Portal Runtime Error
    <b>An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sapportals/portal/htmlb/page/PageProcessorComponent.
    Exception id: 12:21_28/10/05_0173_94105150
    See the details for the exception ID in the log file</b>  
    If anybody find the error please reply to this post.
    Regards,
    sireesha.

    Thanks for your response Martin,
    I have already seen the log file but im couldn't findout anything from that since it is so long here im putting some part of please see this.if u able to find it clarify me,
    <b>Here the log file:</b>
    1.5#001321FD6213005D0000907100001CB000040419258FBF4E#1130405957843#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907200001CB00004041925916735#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907300001CB0000404192591688D#1130405957953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD621300650000120E00001CB00004041925C953D7#1130405961625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
    #1.5#001321FD6213005D0000907400001CB000040419275B24FC#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907500001CB000040419275B25D9#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907600001CB000040419275B2E27#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907700001CB000040419275B2EFA#1130405987953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD6213005D0000907800001CB0000404192924ED59#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907900001CB0000404192924EE36#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907A00001CB0000404192924F652#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907B00001CB0000404192924F710#1130406017953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#
    #1.5#001321FD621300650000120F00001CB000040419295CCD8B#1130406021625#com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory##com.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run()######04d7f690469311da8d52001321fd6213#Thread[Thread-114,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Debug#1#/Applications/ExchangeInfrastructure/AdapterFramework/ThirdPartyRoot/comsap/Server/Adapter Framework#Java###MCF with GUID is running. (,)#3#964bfca0444711dabb51001321fd6213#com.sap.engine.services.deploy.server.ApplicationLoader@1586c77#964bfca0444711dabb51001321fd6213#
    #1.5#001321FD6213005D0000907C00001CB0000404192AEEB1E2#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###within the infinite of the Scheduler Thread#
    #1.5#001321FD6213005D0000907D00001CB0000404192AEEB2C0#1130406047953#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.persistence.jdo.DataBaseJobStore#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler/JobStore#Plain###With in the acquireLockForNextAvailableJob DataStore#
    #1.5#001321FD6213005D0000907E00001CB0000404192AEEBAD8#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Acquired the job null#
    #1.5#001321FD6213005D0000907F00001CB0000404192AEEBB9E#1130406047968#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#sap.com/crm.trexr3#trexr3.com.sapmarkets.isa.services.schedulerservice.SchedulerThread#J2EE_ADMIN#530##obtdev3_O09_94105150#Guest#8a2bbd20444711da932c001321fd6213#Thread[SchedulerThread,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Info#1#/System/Scheduler#Plain###Did not find any job.So, Waiting for sometime for the next job#

  • TableView; Navigation; Runtime Error

    Hi,
    I,m getting a 'Runtime Error; Error: Object doesn't support this property or method.' when I'm trying to navigate in a Tableview.
    If I choose to debug this (because I have Microsoft Script Debugger), I have an error on:
    function ur_table_getCellHeaders(s){ result = null....
    This function is inside '../sap/public/bc/ur/Design2002/js/sapUrMapi_ie6.js'.
    I'm currently with SP47, IE6.0.2800.1106 and using design2003.
    I'm not getting any error if I use design2002.
    My code is very simple:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="xhtmlb" prefix="xhtmlb" %>
    <%@extension name="phtmlb" prefix="phtmlb" %>
    <htmlb:content id     = "content"
                   design = "DESIGN2003"
                   controlRendering = "SAP">
    <htmlb:page>
    <htmlb:form id="formTable" >
            <htmlb:tableView id              = "result"
                             width           = "100%"
                             table           = "<%= t_data %>"
                             visibleRowCount = "8" >
    </htmlb:form>
    </htmlb:page>
    </htmlb:content>
    Any help should be great.
    JS

    result sounds like a very common name, likely this and similiar words are already used ...
    In general, it is a good ides to maybe prefix your IDs, this avoids problems with existing IDs or functions:
    For example, <b>tv_</b>result (tv for tableview).
    In our current application I have a 60kb+ javascript file, lots of functions and variables in there, all are prefixed the one way or another, didn't run into any duplicate-name problems yet.

  • Error in receiving tableview data for selected row

    Hi Collegues ,
    We plan to realize an application for the maintanance of  planning data . In the first step we created a value help page by using a tableview with iterator class ( 1 of the 3 methods of the Interface was filled with logic ) . We don't use any controller for that application  .
    A global internal table with the relevant help value data ( fgrvalues ) is used for the tableview and the call is :
    TYPE I .
    +CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    CLEAR ONCLICKEVENT.
    IF EVENT_ID = CL_HTMLB_MANAGER=>EVENT_ID.
        EVENT_DATA = CL_HTMLB_MANAGER=>GET_EVENT( REQUEST ).
        IF ( EVENT_DATA IS NOT INITIAL ) AND
                ( EVENT_DATA->EVENT_TYPE = 'click' ) .
                ONCLICKEVENT = EVENT_DATA->SERVER_EVENT .
        ENDIF.
    ENDIF.+
    CASE ONCLICKEVENT.
    WHEN 'take' .
       TABLE ?= CL_HTMLB_MANAGER=>GET_DATA( REQUEST = REQUEST
       NAME = 'tableView'
       ID = 'fgr1_vhelp' ) .
       TABLE_EVENT = TABLE->DATA.
       IF TABLE_EVENT->SELECTEDROWINDEX IS NOT INITIAL.
          ROWSELECTION = TABLE_EVENT->SELECTEDROWINDEX.  
    -> ROWSELECTION - Content is now the index of the selected tableview row
    We always get the selected row in TABLE_EVENT->SELECTEDROWINDEX and the table TABLE_EVENT->ALLCOLUMNNAMES filled ( column ZX_FGR1 is the 2nd column ) 
    but we never got the tableview data for that tableview row no matter what we tried . We tried it with a tableview-event fired on 'rowselection' by user line-selection . We have deactivated the iterator or changed the BPS design value . With the same result - nothing was given back .
    We found that the System-Call Return value of :
    +system-call ict
    did
    ihttp_scid_get_form_field
    parameters
    m_c_msg " > c handle
    name " > form field name                value " < form field value
                    m_last_error. " < return code+
    in the method IF_HTTP_ENTITY~GET_FORM_FIELD is empty .  M_LAST_ERROR occurs with value '20' .
      + ASSIGN ROWSELECTION TO .
    COLUMN_VALUE = TABLE_EVENT->GET_CELL_VALUE( ROW_INDEX =
    COLUMN_INDEX = '2' ). -> Column Value is empty !!+
       +CALL METHOD TABLE_EVENT->GET_CELL_VALUE
          EXPORTING
            ROW_INDEX = TABLE_EVENT->SELECTEDROWINDEX
            COLUMN_INDEX = '2'
          RECEIVING
            VALUE = COLUMN_VALUE -> Column Value is empty !!+
       +CALL METHOD TABLE_EVENT->GET_SIMPLE_DATA ....
             -> Column Value is empty !!+ *----
    What could be the reason for that problem ? In generally it must be possible somehow to read the tableview data for one or all rows of the mentioned tableview .
    We hope that someone can help and are very thankful for a hint or solution . If you need more details please let us know .
    Please Remark: It's no solution for us to read the data by using the created internal table fgrvalues and the selectedrowindex cause in a later step we plan to update an ODS table with the manual modified planning data of an editable tableview .
    Thanks a lot in advance
    Dirk Läufer

    Hi collegues ,
    It's done .
    After we've got a very helpful little hint from Brian :
    The <htmlb:tableView> renders a table to the browser. It does not keep a copy of the table. The browser will also never return the table. Never. What it can return are inputfields for each cell. But then only if each cell is custom rendered as an inputfield.
    we could certainly solve the problem .
    We set the field we want to get back from table view on not editable inputfield via the tableview-iterator method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START :
    DATA: LCL_TABLE       TYPE REF TO CL_BSP_BEE_TABLE   ,
          LCL_INPUTFIELD2 TYPE REF TO CL_HTMLB_INPUTFIELD .
    CASE P_COLUMN_KEY .
    WHEN 'ZX_FGR1'.
    *    Field Firm Group
         CREATE OBJECT LCL_INPUTFIELD2.
         LCL_INPUTFIELD2->ID        = P_CELL_ID.
         LCL_INPUTFIELD2->WIDTH     = '100%'.
         LCL_INPUTFIELD2->MAXLENGTH = 4.
         LCL_INPUTFIELD2->TYPE      = 'STRING'.
         LCL_INPUTFIELD2->DESIGN    = 'STANDARD'.
         LCL_INPUTFIELD2->DISABLED  = 'TRUE'.
         LCL_INPUTFIELD2->VALUE =
             GET_COLUMN_VALUE( COLUMN_NAME = 'ZX_FGR1').
         P_REPLACEMENT_BEE     = LCL_INPUTFIELD2 .
    Now the method in OnInputPorcessing:
    TRY.
          CALL METHOD CL_HTMLB_MANAGER=>GET_SIMPLE_DATA
              EXPORTING
                REQUEST       = RUNTIME->SERVER->REQUEST
                ID            = 'fgr1_vhelp'
                ROW_IDX       = TABLE_EVENT->SELECTEDROWINDEX
                COL_NAME      = 'ZX_FGR1'
              CHANGING
                DATA          = FGRVALUES_LINE-ZX_FGR1 .
             IF NOT FGRVALUES_LINE-ZX_FGR1  IS INITIAL.
    *                 selektierte Firmengruppe übernehmen
                      ZX_FGR1     = FGRVALUES_LINE-ZX_FGR1   .
                      CALL METHOD NAVIGATION->SET_PARAMETER
                            EXPORTING NAME  = 'ZX_FGR1'
                                      VALUE = ZX_FGR1.
             ENDIF.
          CATCH CX_SY_CONVERSION_ERROR .
       ENDTRY.
    works properly as it should be ...
    An enormous Thanksgiving to you , Brian !!!!

  • Error in displaying dynamic contents in tableview?

    Hi Experts,
                     I am developing a jspDynpage which displays dynamic contents in a tableview. ie, the contents are retrieved from LDAP  Active directory. But i am getting wrong number of results. For example,
    If i give last name as Name1,
    MAIL       COMPANY           NAME             PHONE
    UsrMail    Company1       Fnm,Name1        +1 23456 397                                                                               
    Line 1 / 1
    Displays the name one time.
    first name - name2
    MAIL       COMPANY           NAME             PHONE
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397
    UsrMail    Company2        Fnm,Name2       +1 789654 397                                                                               
    Line 1 / 4
    Repeating  the name 4 times.
    Lastname - name3
    MAIL          COMPANY           NAME             PHONE
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356
    UsrMail       Company1       Frstnm,Name3       +1 654321 356                                                                               
    Line 1 / 10
    Repeating  the name 10 times.
    But in Active directory the names are unique .Please Guide me.
    Thanks in advance.
    Regards,
    Krishnan

    Hi
        The problem is with Vector which i used to store the retirved information.
    After cleared that i got the proper result.
    I thought the problem is with tableview.But it is not.
    Note: To clear the vector i used Vec.clear() method. It doesn't work. So i created that vector newly inside the loop.
    Regards,
    Krishnan

  • Error in check_tableview_all_rows for a page with more than 1 tableview

    Hello Gurus,
    I have already seen few postings on the same issue but still couldnt find solution to my problem.
    I have a page with 3 tableviews. My requirement is to select entries across the 3 tables, change the values and then save all the entried selected across the 3 tableviews and then they should all be unselected again as soon as the save is done.
    I managed to do all but when I am using the method shown below in a loop^of that 3 tables or outside the loop onlmy the 3 rd table which is last field in the loop is getting unselected rest all still appears to be in selected state.
    cl_htmlb_manager=>check_tableview_all_rows(
    rowcount = wa_lines
    request = runtime->server->request
    id = 'table1'
    check = ' ' ).
    Could anyone of you help me on this or let me know if anyof you ever faced such issues.
    Thanks,
    Naveen.

    Hello Raja,
    Thanks for the reply. I am passing on the correct ID.
    Whats the problem am facing is I am using this statement in a loop and then I am passing the corresponding ID ...It works but I guess its kind of behaving like over writing the previous.
    I also tried using the same statement 3 times separately one after the other with each table id and still its happening the same with only the last table getting unselected and rest being the same as selected.
    Thanks for your reply on this as am facing a lot of problem due to this.
    Naveen.

  • Error while creating a hyperlink for a field in a table view

    Hi all,
    I have created a table view to display the lead information.Now i wanted to make the lead number to be made as a hyperlink.I have tried the delow code
    <htmlb:tableView id = "tvX"
    headerText = "Leads Details"
    headerVisible = "true"
    design = "alternating"
    visibleRowCount = "5"
    visibleFirstRow = "<%= firstvisiblerow %>"
    fillUpEmptyRows = "true"
    onHeaderClick = "MyEventHeaderClick"
    onRowSelection = "select"
    selectionMode = "singleselect"
    table = "<%= activities %>"
    iterator = "<%= z_it %>"
    sort = "SERVER" >
    <htmlb:tableViewColumns>
    <htmlb:tableViewColumn
    columnName = "object_id"
    type = "link" >
    </htmlb:tableViewColumn>
    </htmlb:tableViewColumns>
    </htmlb:tableView>
    But am getting the following error whlle am activating the code
    Internal error occured during runtime generation
    of Class CL_O2D59X6KFES8AMMPAFQ6AV1R3WF (Dump ID:
    DBIF_REPO_SQL_ERROR).
    When i remove the code for <htmlb:tableViewColumns> this error does not exist
    Can canyone help me in solving this?
    Thanks

    Hi,
    in iterator method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
    you need to call method  cl_hrrcf_iterator=>get_bee_link to define the link for a specific filed.
    for example check the below code.
    IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
      CASE p_column_key.
        WHEN 'PERNR'.
        CALL METHOD cl_hrrcf_iterator=>get_bee_link
            EXPORTING
              p_cell_id       = p_cell_id
              p_onclientclick =link_url
              p_column_key    = p_column_key
              p_row_data_ref  = p_row_data_ref
              p_tooltip_alias = l_alias
            IMPORTING
              po_bee          = p_replacement_bee.
        ENDCASE.
    endmethod.
    vijay

  • Unable to display data in a chart, got error: No connection could be made .

    Hi Expert,
    I am running sample SH in OracleBI Answer. The retrived data in a table is fine, but I can't dispaly a chart.
    Thanks
    Helen
    Here is the error message:
    Error Generating Chart
    An error occurred during execution of "connect". No connection could be made because the target machine actively refused it. [Socket:764]
    Error Details
    Error Codes: ETI2U8FA
    I am using oc4j
    Here is website:
    http://5y2xch1:9704/analytics/saw.dll?Answers&SubjectArea=SH
    Here is SQL
    SELECT Products."Prod Name" saw_0, Calendar."Calendar Month Desc" saw_1, Calendar."Calendar Month Name" saw_2, "Sales Facts"."Amount Sold" saw_3 FROM SH ORDER BY saw_0, saw_1, saw_2
    Here is xml in Advance
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1">
    <saw:criteria subjectArea="SH">
    <saw:columns>
    <saw:column formula="Products.&quot;Prod Name&quot;" columnID="c2"/>
    <saw:column formula="Calendar.&quot;Calendar Month Desc&quot;" columnID="c0"/>
    <saw:column formula="Calendar.&quot;Calendar Month Name&quot;" columnID="c1"/>
    <saw:column formula="&quot;Sales Facts&quot;.&quot;Amount Sold&quot;" columnID="c3"/></saw:columns></saw:criteria>
    <saw:views currentView="2">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="titleView!1">
    <saw:displayFormat/></saw:cvCell></saw:cvRow>
    <saw:cvRow>
    <saw:cvCell viewName="tableView!1">
    <saw:displayFormat/></saw:cvCell></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:titleView" name="titleView!1" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:tableView" name="tableView!1" rptViewVers="200510010" showHeading="false"/>
    <saw:view xsi:type="saw:staticchart" name="staticchart!1" rptViewVers="200510010">
    <saw:template tid="charts/column.cxml"/>
    <saw:selections>
    <saw:categories>
    <saw:category position="0">
    <saw:column columnID="c2"/></saw:category></saw:categories>
    <saw:measures>
    <saw:column columnID="c3" position="0"/></saw:measures>
    <saw:seriesGenerators>
    <saw:measureLabels/></saw:seriesGenerators></saw:selections>
    <saw:canvasFormat/></saw:view></saw:views></saw:report>
    Edited by: user914594 on Feb 4, 2011 8:22 AM

    Hi,
    Check weather Oracle BI Javahost server is on or not.On if server is down.
    Go to Start->Run->Services.msc
    Which version of OBIEE are you using?
    Regards,
    Srikanth

  • Getting filtered values from TableView

    Hi,
      We have a TableView whose columns can be sorted. Iwant to select a few rows and make the selected rows editable in another page.
      If it is a unsorted/unfiltered TableView, am able to do it as the ABAP Internal Table and the TableView are the same in terms of record index positions. But am facing problem after i sort/filter the TableView because now the index of the TableView are different from the index of the ABAP Internal Table present in server.
      Anybody who has dealt with this problem earlier and can guide us.
    Thanks,
    Chathia.

    Welcome to SDN.
    Search the forum before you post a question, generally in mose cases you would find a answer, if not you can post a new thread.
    here is a list of threads where your question was discussed. (as others mentioned its about using keyColumn attribute of htmlb:tableview)
    check out these threads, its got code samples as well.
    Re: HTMLB Tableview: questions..;
    Re: pic actual data from a table view
    Re: Error when using Filter and Sort together on a tableview
    Re: Change rendering of the title column...
    Have a great time in SDN.
    Regards
    Raja

Maybe you are looking for