Number of entries in variable

Hi experts,
is there a limit in the number of entries of a variable in the selectionscreen of a query?
Or in other words: Is it possible to insert more than 15.000 values in a variable in the selectionscreen without getting an error when starting the query?
Thanks in advance

Hi Dennis,
As per my knowledge, i don't think there is any limitation as such. but inserting these many records again would become a tedious task. In some cases, copy pasting doesn't work while inserting the values. But yes, u can import values from an external file.
hope this helps.
regards.
Sree.

Similar Messages

  • Max number of entries in the variable input list (F4) of Bex Analyzer Query

    Dear BW experts,
    When I run the Bex Analyzer query, it pops up the variable input screen.
    If I don't know the specific value of the variable, then I can click on the input help (F4) to get a list of available values.  There is a max number of entries coming back to the list.  For my BW system, it is currently returning 500 values.  For other people and SAP Help document, it could be 1000.
    My question is: Do you know where we can configure/set this max value? Is it a global setting?
    Thanks in advance for your help in this matter.
    Kevin-

    Murali & Pra,
    Thanks for both of your answers.  I think the answers that you provided are for BW 7.X version.
    It is flexible and exactly the way it should be for each user to customize a specific variable.
    I am running BW 3.5 query, and don't see the "Settings" option/button after I got the list of single values back.
    Is there a way to set this up for BW 3.5 query Analyzer?  My max value is always 500 for all variables.  Is there a place for setting this value and save for the next time.
    Any help from any BW experts is appreciated.

  • Give me a way to count the number of entries in a  Database Table

    Hello All,
    I am writing a code to determine the number of  entries in a SAP/Custom table.
    Can you please suggest a proper approach and a good query.
    Thanks in advance.

    Hi,
    If you want to do it in a more generic way you can do the following:
    DATA: tblname(50),
          tp_rows TYPE i.
    tblname = 'MARA'.
    SELECT COUNT(*)
    FROM (tblname)
    INTO tp_rows.
    IF sy-subrc <> 0.
      CLEAR tp_rows.
    ENDIF.
    At runtime the table is being determined and in this case it's set to MARA. The value of the number of rows is in the variable tp_rows.
    Best regards,
    Guido Koopmann

  • Display number of entries per sort order

    G'day all.
    Does anybody know how I can display number of entries per sort order in
    ALV grid.
    i.e. ABC 2000
    2000
    2000
    3 (entries) 6000
    DEF 1000
    HIJ 2000
    2 (Entries) 3000
    5 (Total Entries) 9000

    Hi,
    The way I did it I used "AT END OF " statement and added my amount to a
    variable and then move my variable in work area and then modified your
    internal table from work area transporting that field or depending on
    your requirement that you need to add a separate line for totals append
    the internal table which you are going to use it for first display. Then
    after the set_table_for_first_display I added the alv_build_sort
    criteria. And call method alv_list->set_sort_criteria exporting the
    internal table i_sort.
    Cheers,
    Chaitanya

  • Page number instead of number of entries

    Hello
    I have a requirement for changing the number of entries in KM to page numbers.
    So I need to change:
    1-10 11-20 21-24
    to
    1 2 3
    I found a thread on sdn about this requirement, but there wasn't much information. It just said to write your own Collection Renderer.
    I was able to add something between the breadcrumb (showing the map you are on the moment) and page numbers. So I still don't know where the 'page numbers' are added?
    Is there anyone with experience? Or ideas?
    Thanks!
    Christof
    The decompiled Collection Renderer:
    package be.kindengezin.wcm.rendering.collection.cm;
    // FrontEnd Plus GUI for JAD
    // DeCompiled : CollectionListRenderer.class
    import com.sap.tc.logging.Location;
    import com.sap.tc.logging.LogController;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.CellHAlign;
    import com.sapportals.htmlb.enum.CellVAlign;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.rendering.IPageContext;
    import com.sapportals.wcm.WcmException;
    import com.sapportals.wcm.control.util.EmptyComponent;
    import com.sapportals.wcm.control.util.FolderSettings;
    import com.sapportals.wcm.control.util.property.*;
    import com.sapportals.wcm.rendering.base.*;
    import com.sapportals.wcm.rendering.collection.LightCollectionRenderer;
    //import com.sapportals.wcm.rendering.collection.cm.PropertyColumnRenderer;
    //import com.sapportals.wcm.rendering.collection.cm.PropertyHeaderRenderer;
    import com.sapportals.wcm.rendering.readymades.EmptyCollectionInfo;
    import com.sapportals.wcm.rendering.resource.IResourceRenderer;
    import com.sapportals.wcm.rendering.util.HtmlRendererUtil;
    import com.sapportals.wcm.repository.*;
    import com.sapportals.wcm.repository.service.IRepositoryServiceFactory;
    import com.sapportals.wcm.repository.service.layout.IDebugContainer;
    import com.sapportals.wcm.repository.service.layout.customizing.*;
    import com.sapportals.wcm.service.propertyconfig.*;
    import com.sapportals.wcm.util.logging.LoggingFormatter;
    import com.sapportals.wcm.util.profiler.IProfiler;
    import com.sapportals.wcm.util.profiler.Profiler;
    import com.sapportals.wdf.WdfException;
    import java.util.*;
    import to.work.PropertyColumnRenderer;
    import to.work.PropertyHeaderRenderer;
    // Referenced classes of package com.sapportals.wcm.rendering.collection.cm:
    //                 PropertyHeaderRenderer, PropertyColumnRenderer
    public class CollectionListRenderer extends LightCollectionRenderer
         protected class HeaderItem
              private int rowSpan;
              private int colSpan;
              private IMetaName labelMetaName;
              private IPropertyColumn column;
              private boolean processed;
              public void setRowSpan(int row)
                   rowSpan = row;
              public int getRowSpan()
                   return rowSpan;
              public void setColSpan(int col)
                   colSpan = col;
              public int getColSpan()
                   return colSpan;
              public void setLabelMetaName(IMetaName column)
                   labelMetaName = column;
              public IMetaName getLabelMetaName()
                   return labelMetaName;
              public void setPropertyColumn(IPropertyColumn column)
                   this.column = column;
              public IPropertyColumn getPropertyColumn()
                   return column;
              public String toString()
                   return "Item:  RowSpan=" + rowSpan + "; ColSpan=" + colSpan + "; PropertyColumn=" + getLabelMetaName();
              public HeaderItem()
                   rowSpan = 0;
                   colSpan = 0;
                   labelMetaName = null;
                   column = null;
                   processed = false;
              public HeaderItem(int rowSpan, int colSpan, IMetaName metaName, IPropertyColumn column)
                   this.rowSpan = 0;
                   this.colSpan = 0;
                   labelMetaName = null;
                   this.column = null;
                   processed = false;
                   this.rowSpan = rowSpan;
                   this.colSpan = colSpan;
                   labelMetaName = metaName;
                   this.column = column;
         private static final String PROFILER_PATH_UI_RENDER = "/KM/FLEXUI/RENDER/UI";
         private static final String PROFILER_PATH_UI_RENDER_ROW = "/KM/FLEXUI/RENDER/UI/ROW ";
         private static final String PROFILER_PATH_UI_RENDER_GETPROPS = "/KM/FLEXUI/RENDER/UI/GETPROPS";
         private static IProfiler s_profiler = Profiler.getInstance();
         private static Location log;
         private static int PAGER_LINKS_DEFAULT = 5;
         private static final CellVAlign VERTICAL_ALIGN;
         private int MaxNumberOfRows;
         private int noOfColumns;
         private static IPropertyName DEFAULT_PROP_NAMES[];
         private IPropertyPosition propertiesPositions[];
         private static final String NEXT_LINE_START_COLUMN = "col";
         private static final String NEXT_LINE_METANAME = "metaName";
         private static final String NEXT_LINE_METANAME_MODIFIERS = "metaNameModifiers";
         private boolean debug;
         private boolean isManualOrdered;
         public CollectionListRenderer()
              MaxNumberOfRows = 10;
              noOfColumns = 0;
              debug = false;
              isManualOrdered = false;
              initParameterSettings();
              set508enabled(true);
         private void initParameterSettings()
              IParameterName supportedParameters[] = {
                   ICollectionRendererParameterNameConst.BREADCRUMBSTYLE, ICollectionRendererParameterNameConst.BREADCRUMBVISIBILITYSTYLE, ICollectionRendererParameterNameConst.SHOWFOLDERTITLE, ICollectionRendererParameterNameConst.SHOWFILESSTYLE, ICollectionRendererParameterNameConst.SORT_ENABLED, ICollectionRendererParameterNameConst.LINKSSTYLE, ICollectionRendererParameterNameConst.SHOWFOLDERSSTYLE, ICollectionRendererParameterNameConst.SHOW_HIDDEN, ICollectionRendererParameterNameConst.COLUMNS, IResourceRendererParameterNameConst.ICONSTYLE,
                   ICollectionRendererParameterNameConst.ROWS, ICollectionRendererParameterNameConst.ROWSPACING, ICollectionRendererParameterNameConst.COLUMNSPACING, ICollectionRendererParameterNameConst.MASSACTIONSTYLE, ICollectionRendererParameterNameConst.UI_GROUP_MASS, IResourceRendererParameterNameConst.ITEMACTIONSTYLE, ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, ICollectionRendererParameterNameConst.ROWBACKGROUNDSTYLE, ICollectionRendererParameterNameConst.PROPERTYCOLUMNS, ICollectionRendererParameterNameConst.BACKGROUNDIMAGEPATH,
                   ICollectionRendererParameterNameConst.BACKGROUNDIMAGESTYLE, ICollectionRendererParameterNameConst.SORT_PROPERTY, ICollectionRendererParameterNameConst.COMPONENTS, ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, ICollectionRendererParameterNameConst.SORT_ORDER, ICollectionRendererParameterNameConst.COLLECTION_ACTIONSTYLE, ICollectionRendererParameterNameConst.UI_GROUP_COLLECTION, ICollectionRendererParameterNameConst.RESOURCE_LIST_FILTER, ICollectionRendererParameterNameConst.RESIZEHEIGHTSTYLE, ICollectionRendererParameterNameConst.RESIZEWIDHTSTYLE,
                   ICollectionRendererParameterNameConst.FILTEREXTENSION, ICollectionRendererParameterNameConst.FILTERMIMETYPE, ICollectionRendererParameterNameConst.FILTERRESOURCETYPE, IResourceRendererParameterNameConst.UI_GROUP_RESOURCE, ICollectionRendererParameterNameConst.PAGER_LINK_COUNT, ICollectionRendererParameterNameConst.EMPTY_COLLECTION_FILE, ICollectionRendererParameterNameConst.EMPTY_COLLECTION_KEY, ICollectionRendererParameterNameConst.EMPTY_COLLECTION_STYLE
              setSupportedParameters(supportedParameters);
              IParameters parameters = getParameters();
              parameters.setParameter(ICollectionRendererParameterNameConst.BREADCRUMBSTYLE, "horizontal");
              parameters.setParameter(ICollectionRendererParameterNameConst.BREADCRUMBVISIBILITYSTYLE, "standard");
              parameters.setParameter(ICollectionRendererParameterNameConst.SHOWFILESSTYLE, "all");
              parameters.setParameter(ICollectionRendererParameterNameConst.LINKSSTYLE, "all");
              parameters.setParameter(ICollectionRendererParameterNameConst.SHOWFOLDERSSTYLE, "all");
              parameters.setParameter(ICollectionRendererParameterNameConst.MASSACTIONSTYLE, "off");
              parameters.setParameter(IResourceRendererParameterNameConst.ITEMACTIONSTYLE, "hover");
              parameters.setParameter(ICollectionRendererParameterNameConst.SHOWFOLDERTITLE, false);
              parameters.setParameter(ICollectionRendererParameterNameConst.GRIDORDERSTYLE, "columnmajor");
              parameters.setParameter(ICollectionRendererParameterNameConst.ROWS, MaxNumberOfRows);
              parameters.setParameter(ICollectionRendererParameterNameConst.ROWSPACING, 0);
              parameters.setParameter(ICollectionRendererParameterNameConst.SORT_ENABLED, true);
              parameters.setParameter(ICollectionRendererParameterNameConst.COLUMNSPACING, 0);
              parameters.setParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "off");
              parameters.setParameter(ICollectionRendererParameterNameConst.ROWBACKGROUNDSTYLE, "TRANSPARENT");
              parameters.setParameter(ICollectionRendererParameterNameConst.COLLECTION_ACTIONSTYLE, "hover");
              parameters.setParameter(ICollectionRendererParameterNameConst.PROPERTYCOLUMNS, "rnd:icon(noTitle/noColumnSpacing),rnd:displayname(contentLink)");
              parameters.setParameter(ICollectionRendererParameterNameConst.RESOURCE_LIST_FILTER, "default");
              parameters.setParameter(ICollectionRendererParameterNameConst.SHOW_HIDDEN, false);
              parameters.setParameter(ICollectionRendererParameterNameConst.RESIZEHEIGHTSTYLE, "compact");
              parameters.setParameter(ICollectionRendererParameterNameConst.RESIZEWIDHTSTYLE, "compact");
              parameters.setParameter(ICollectionRendererParameterNameConst.PAGER_LINK_COUNT, PAGER_LINKS_DEFAULT);
              parameters.setParameter(ICollectionRendererParameterNameConst.EMPTY_COLLECTION_STYLE, "off");
         public int renderListHeader(FormLayout grid, int row)
              throws WcmException
              if(isExactlyValue(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "off"))
                   return row;
              IPropertyPosition position = null;
              IPropertyColumn iterColumns[] = getColumnsList();
              boolean existsResource = getResourceList().size() != 0;
              String propertyHeaderColumnStyle = getParameters().getParameter(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "Table Title Color");
              String headerClassStyle = HtmlRendererUtil.getHeaderClassStyle(propertyHeaderColumnStyle);
              if(headerClassStyle == null)
                   headerClassStyle = "";
              FormLayoutCell cell = null;
              if(existsResource)
                   cell = grid.addComponent(row, 1, new HTMLFragment(""));
                   cell.setStyle(headerClassStyle);
              int rowSpan = 0;
              int columnSpan = 0;
              int line = 1;
              int lineNew = 0;
              int column = 1;
              if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
                   column++;
              int startRow = row;
              boolean rowHasTitle = false;
              propertiesPositions = new IPropertyPosition[iterColumns.length];
              PropertyHeaderRenderer sortHeader = new PropertyHeaderRenderer(getProxy(), this, getBundleHandler(), getChildCountMetaName(getParentCollection()), isManualOrdered, getIRS().getSortDefintion(), getResourceContext().getLocale());
              IMetaName metaName = null;
              for(int i = 0; i < iterColumns.length && existsResource; i++)
                   if(iterColumns<i> != null)
                        rowSpan = 0;
                        columnSpan = 0;
                        position = PropertyColumnFactory.getInstance().getPosition(iterColumns<i>);
                        if(position != null)
                             lineNew = position.getRow();
                             if(line != lineNew)
                                  column = position.getColumn();
                                  if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
                                       column++;
                                  line = lineNew;
                                  if(rowHasTitle)
                                       row++;
                                       rowHasTitle = false;
                             rowSpan = position.getSpanRow();
                             columnSpan = position.getSpanColumn();
                        propertiesPositions<i> = PropertyColumnFactory.getInstance().getPropertyPosition(row, rowSpan, column, columnSpan);
                        boolean is508Required = false;
                        try
                             is508Required = getProxy().getDynamicPage().getPageContext().requiresSection508Rendering();
                        catch(Exception ex)
                             log.errorT("Could not retrieve 508 mode for proxy <" + getProxy() + ">: " + LoggingFormatter.extractCallstack(ex));
                        metaName = PropertyHeaderRenderer.getMetaNameForTitle(iterColumns<i>, is508Required);
                        if(metaName != null)
                             rowHasTitle = true;
                        if(!getParameters().getParameter(ICollectionRendererParameterNameConst.SORT_ENABLED, true))
                             sortHeader.setSortEnabledParameter(false);
                        if(metaName != null)
                             if(columnSpan != 0)
                                  cell = grid.addComponent(row, 1, sortHeader.createSortLink(metaName));
                                  cell.setColspan(columnSpan);
                             } else
                                  cell = grid.addComponent(row, column, sortHeader.createSortLink(metaName));
                             String padding[] = HtmlRendererUtil.getPropertyPaddingValues(iterColumns<i>, metaName);
                             cell.setHorizontalAlignment(PropertyColumnFactory.getInstance().getHAlign(iterColumns<i>));
                             cell.setVerticalAlignment(PropertyColumnFactory.getInstance().getVAlign(iterColumns<i>));
                             if(padding != null)
                                  cell.setPaddingTop(padding[0]);
                                  cell.setPaddingRight(padding[1]);
                                  cell.setPaddingBottom(padding[2]);
                                  cell.setPaddingLeft(padding[3]);
                        column++;
                        if(columnSpan != 0)
                             column += columnSpan;
                        if(!iterColumns<i>.contains("noColumnSpacing") && column < noOfColumns)
                             cell = grid.addComponent(row, column, EmptyComponent.render());
                             if(!"0".equals(getColumnSpacing()))
                                  cell.setWidth(getColumnSpacing());
                             cell.setVerticalAlignment(VERTICAL_ALIGN);
                             column++;
              if(!rowHasTitle)
                   row--;
              setClassStyleForm(headerClassStyle, grid, startRow, row, noOfColumns);
              return ++row;
         public int renderListFooter(FormLayout grid, int row)
              throws WcmException
              boolean existsResource = getResourceList().size() != 0;
              if(!isExactlyValue(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "off"))
                   String propertyHeaderColumnStyle = getParameters().getParameter(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "Table Title Color");
                   String headerClassStyle = HtmlRendererUtil.getHeaderClassStyle(propertyHeaderColumnStyle);
                   if(headerClassStyle == null)
                        headerClassStyle = "";
                   FormLayoutCell cell = null;
              return row;
         public ILayoutObject getNewInstance()
              return initNewInstance(new CollectionListRenderer());
         private String getChildCountMetaName(IResource res)
              throws WcmException
              if(res == null)
                   return null;
              IResourceRenderer resourceRenderer = getRenderer(res);
              String par = resourceRenderer.getParameters().getParameter(IResourceRendererParameterNameConst.SHOWCHILDCOUNTSTYLE);
              if(par == null)
                   return null;
              String resultMetaNameID = null;
              if(par.equals("folders/files"))
                   resultMetaNameID = "rnd:childcount_both";
              else
              if(par.equals("sum"))
                   resultMetaNameID = "rnd:childcount_sum";
              else
              if(par.equals("only files"))
                   resultMetaNameID = "rnd:childcount_files";
              else
              if(par.equals("only folders"))
                   resultMetaNameID = "rnd:childcount_folders";
              if(resultMetaNameID != null)
                   IMetaName metaName = getPropertyConfigurationService().getMetaModel().searchById(resultMetaNameID);
                   if(metaName != null)
                        return getEncodedSortProperty(metaName);
              return null;
         private String getEncodedSortProperty(IMetaName metaName)
              if(metaName.getComposedOfMetaNames() != null)
                   IMetaNameList metaList = metaName.getComposedOfMetaNames();
                   if(metaList.contains(metaName))
                        return metaName.getId();
                   if(metaList.size() == 1)
                        IMetaName composedMetaName = metaList.get(0);
                        return composedMetaName.getId();
                   } else
                        return metaName.getId();
              } else
                   return metaName.getId();
         public static Vector getIMetaNameTypeText(IPropertyColumn propertyColumn, int col)
              Hashtable metaNameHash = null;
              Vector metaNameVector = null;
              IMetaName currentMetaName = null;
              IPropertyWithModifiersList propertyWithModifiers = propertyColumn.getPropertyWithModifier();
              for(int i = 0; i < propertyWithModifiers.size(); i++)
                   currentMetaName = propertyWithModifiers.get(i).getMetaName();
                   if(currentMetaName != null && "Text".equals(currentMetaName.getType()) && propertyWithModifiers.size() != 1)
                        metaNameHash = new Hashtable();
                        metaNameHash.put("metaName", currentMetaName);
                        metaNameHash.put("col", Integer.toString(col));
                        if(propertyWithModifiers.get(i).getConfigModifierList() != null)
                             metaNameHash.put("metaNameModifiers", propertyWithModifiers.get(i));
                        if(metaNameVector == null)
                             metaNameVector = new Vector();
                        metaNameVector.add(metaNameHash);
              return metaNameVector;
         private static boolean[] isNextLineColumnNeeded(IPropertyColumn propertyColumns[])
              boolean result[] = new boolean[propertyColumns.length];
              IMetaName currentMetaName = null;
              for(int j = 0; j < propertyColumns.length; j++)
                   IPropertyColumn propertyColumn = propertyColumns[j];
                   result[j] = false;
                   IPropertyWithModifiersList propertyWithModifiers = propertyColumn.getPropertyWithModifier();
                   for(int i = 0; i < propertyWithModifiers.size(); i++)
                        currentMetaName = propertyWithModifiers.get(i).getMetaName();
                        if(currentMetaName != null && "Text".equals(currentMetaName.getType()) && propertyWithModifiers.size() != 1)
                             if(log.beDebug())
                                  log.debugT("Found meta name <" + currentMetaName + "> in property column <" + propertyColumn + "> that defines we need a new line column");
                             result[j] = true;
              return result;
         private IPropertyConfigurationService getPropertyConfigurationService()
              throws WcmException
              return (IPropertyConfigurationService)ResourceFactory.getInstance().getServiceFactory().getService("PropertyConfigurationService");
         public final void setColumnsList(IPropertyColumn list[])
              throws WcmException
              getIRS().setPropertyColumns(list);
         public IPropertyColumn[] getColumnsList()
              throws WcmException
              return getIRS().getPropertyColumns();
         private IPropertyColumn[] createCollectionColumns()
              String columnsString = getParameters().getParameter(ICollectionRendererParameterNameConst.PROPERTYCOLUMNS, "rnd:icon(noTitle/noColumnSpacing),rnd:displayname(contentLink)");
              return PropertyColumnFactory.getInstance().parseProperty(columnsString);
         public Component renderUI()
              throws WcmException
              s_profiler.start("/KM/FLEXUI/RENDER/UI", com.sapportals.wcm.util.profiler.IProfiler.Level.MEDIUM);
              try
                   if(getProxy().isDebugEnabled())
                        writeDebugInformation();
                   setColumnsList(createCollectionColumns());
                   FormLayout grid = new FormLayout();
                   grid.setMargin("0", "0", "0", "0");
                   grid.setWidth("");               
                   FormLayoutCell cell = null;
                   grid.setDebugMode(debug);
                   int row = 1;
                   grid.addComponent(++row, 1, new TextView("CH-BOVENALL"));
                   if(!isVisible())
                        FormLayout formlayout = grid;
                        return formlayout;
                   if(getParameter(ICollectionRendererParameterNameConst.SHOWFOLDERTITLE, false))
                        cell = grid.addComponent(row, 1, renderFolderTitle());
                        cell.setColspan(10);
                        cell.setPaddingTop("2");
                        cell.setPaddingBottom("3");
                        row++;
                   IResourceList resourcelist = getResourceList();
                   if(!getParameters().isExactlyValue(ICollectionRendererParameterNameConst.EMPTY_COLLECTION_STYLE, "off") && resourcelist != null && resourcelist.size() == 0)
                        cell = grid.addComponent(row, 1, new EmptyCollectionInfo(getProxy(), getParameters()));
                        cell.setColspan(10);
                        cell.setHorizontalAlignment(CellHAlign.LEFT);
                        row++;
                   noOfColumns = PropertyColumnFactory.getNoOfColumn(getColumnsList(), MaxNumberOfRows);
                   int column = 1;
                   if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
                        column++;
                        noOfColumns++;
                   if(getParentCollection() != null)
                        FolderSettings currFolderSettings = new FolderSettings(getParentCollection());
                        isManualOrdered = currFolderSettings.getOrderedFlag();
                   row = renderListHeader(grid, row);
                   boolean widthStrech = getParameters().getParameter(ICollectionRendererParameterNameConst.RESIZEWIDHTSTYLE, "compact").equals("stretch");
                   boolean heightStrech = getParameters().getParameter(ICollectionRendererParameterNameConst.RESIZEHEIGHTSTYLE, "compact").equals("stretch");
                   int maxnumberOfElements = getStartRow() + getParameters().getParameter(ICollectionRendererParameterNameConst.ROWS, MaxNumberOfRows);
                   if(maxnumberOfElements > resourcelist.size())
                        maxnumberOfElements = resourcelist.size();
                   int rowHeightPercent = 0;
                   if(heightStrech && maxnumberOfElements != 0)
                        rowHeightPercent = 100 / maxnumberOfElements;
                   IResourceList renderlist = resourcelist.subList(getStartRow(), maxnumberOfElements);
                   IResourceListIterator iter = renderlist.listIterator();
                   IResource res = null;
                   boolean lightStyleClass = true;
                   String classStyle = "";
                   boolean alternatingMode = isExactlyValue(ICollectionRendererParameterNameConst.ROWBACKGROUNDSTYLE, "ALTERNATING");
                   boolean lineSeparatedMode = isExactlyValue(ICollectionRendererParameterNameConst.ROWBACKGROUNDSTYLE, "LINE_SEPARATED");
                   if(alternatingMode || lineSeparatedMode)
                        grid.addComponent(row, 1, HtmlRendererUtil.importStyles());
                        row++;
                   if(getColumnsList() != null)
                        IPropertyNameList propertynamelist = PropertyColumnFactory.getInstance().getPropertyNameList(getColumnsList());
                        for(int i = 0; i < DEFAULT_PROP_NAMES.length; i++)
                             if(DEFAULT_PROP_NAMES<i> != null)
                                  propertynamelist.add(DEFAULT_PROP_NAMES<i>);
                        s_profiler.start("/KM/FLEXUI/RENDER/UI/GETPROPS", com.sapportals.wcm.util.profiler.IProfiler.Level.MEDIUM);
                        try
                             getProxy().getAmalgamation().readProperties(renderlist, propertynamelist);
                        finally
                             s_profiler.stop("/KM/FLEXUI/RENDER/UI/GETPROPS");
                        IPropertyPosition positions[] = getPositionArray(getColumnsList());
                        boolean nextColumns[] = isNextLineColumnNeeded(getColumnsList());
                        boolean selectionActive = !getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off");
                        List paddings = getPaddingList(getColumnsList(), selectionActive);
                        while(iter.hasNext())
                             res = iter.next();
                             if(alternatingMode)
                                  classStyle = "urCellBgPlain";
                                  if(!lightStyleClass)
                                       classStyle = "urSTbvCellAlt";
                             row = renderFormRow(grid, row, 1, res, classStyle, rowHeightPercent, propertynamelist, positions, nextColumns, paddings);
                             if(lineSeparatedMode && iter.hasNext())
                                  cell = grid.addComponent(row, 1, HtmlRendererUtil.renderLineSeparator("urCellBgPlain", 1));
                                  cell.setColspan(noOfColumns);
                                  row++;
                             lightStyleClass = !lightStyleClass;
                   row = renderListFooter(grid, row);
                   if(widthStrech)
                        grid.setWidth("100%");
                   FormLayout formlayout1 = grid;
                   IParameters parameters = getParameters();
                   formlayout1.addComponent(++row, 1, new TextView("CH-BOVEN "+parameters.getParameter(IParameterName.PAGER_LINK_COUNT).toString()));
                   return formlayout1;
              catch(Exception ex)
                   throw new WcmException(ex);
              finally
                   s_profiler.stop("/KM/FLEXUI/RENDER/UI");
         private static List getPaddingList(IPropertyColumn columnsList[], boolean selectionActive)
              List result = new ArrayList();
              for(int i = 0; i < columnsList.length; i++)
                   String padding[] = null;
                   try
                        padding = PropertyColumnRenderer.getPropertyColumnArrayPadding(columnsList<i>, selectionActive);
                   catch(WdfException e)
                        log.errorT("Could not parse padding for column <" + columnsList<i> + "> " + LoggingFormatter.beautify(e));
                        padding = (new String[] {
                             "0", "0", "0", "0"
                   result.add(padding);
              return result;
         private static IPropertyPosition[] getPositionArray(IPropertyColumn columns[])
              IPropertyPosition result[] = new IPropertyPosition[columns.length];
              for(int i = 0; i < columns.length; i++)
                   result<i> = PropertyColumnFactory.getInstance().getPosition(columns<i>);
              if(log.beDebug())
                   log.debugT("Calculated property position array <" + result + "> for property column array <" + columns + ">");
              return result;
         private int renderFormRow(FormLayout grid, int row, int column, IResource res, String classStyle, int rowHeightPercent, IPropertyNameList propertynamelist,
                   IPropertyPosition positions[], boolean nextColumns[], List paddings)
              throws WcmException
              s_profiler.start("/KM/FLEXUI/RENDER/UI/ROW ", com.sapportals.wcm.util.profiler.IProfiler.Level.MEDIUM);
              try
                   boolean emptyRow = true;
                   try
                        Vector nextLine = new Vector();
                        Vector nextLineColumn = new Vector();
                        Hashtable nextLineElement = new Hashtable();
                        FormLayoutCell cell = null;
                        int nextLineCol = 0;
                        int line = 1;
                        int startRow = row;
                        boolean selectionActive = false;
                        IPropertyPosition position = null;
                        IResourceRenderer renderer = getRenderer(res);
                        renderer.setPropertyNameList(propertynamelist);
                        String padding[] = null;
                        Component comp = new HTMLFragment(" ");
                        if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
                             comp = renderItemSelectionMode(res);
                             cell = grid.addComponent(row, column, comp);
                             cell.setVerticalAlignment(VERTICAL_ALIGN);
                             cell.setPaddingRight("2");
                             cell.setPaddingLeft("3");
                             selectionActive = true;
                             column++;
                        int columnSpan = 0;
                        int rowSpan = 0;
                        IMetaName metaName = null;
                        for(int i = 0; i < getColumnsList().length; i++)
                             try
                                  columnSpan = 0;
                                  position = positions<i>;
                                  if(position != null)
                                       int lineNew = position.getRow();
                                       if(line != lineNew)
                                            column = position.getColumn();
                                            if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
                                                 column++;
                                            line = lineNew;
                                            if(!emptyRow)
                                                 row++;
                                            emptyRow = true;
                                       columnSpan = position.getSpanColumn();
                                       rowSpan = position.getSpanRow();
                                  comp = PropertyColumnRenderer.renderPropertyColumn(renderer, res, getColumnsList()<i>, false, getProxy());
                                  emptyRow = emptyRow && (comp == null || (comp instanceof EmptyComponent));
                                  if(comp != null)
                                       if(columnSpan != 0)
                                            cell = grid.addComponent(row, column, comp);
                                            cell.setColspan(columnSpan);
                                       } else
                                            cell = grid.addComponent(row, column, comp);
                                       if(rowSpan != 0)
                                            cell.setRowspan(rowSpan);
                                       cell.setVerticalAlignment(PropertyColumnFactory.getInstance().getVAlign(getColumnsList()<i>));
                                       cell.setHorizontalAlignment(PropertyColumnFactory.getInstance().getHAlign(getColumnsList()<i>));
                                       padding = (String[])paddings.get(i);
                                       if(padding != null)
                                            cell.setPaddingTop(padding[0]);
                                            cell.setPaddingRight(padding[1]);
                                            cell.setPaddingBottom(padding[2]);
                                            cell.setPaddingLeft(padding[3]);
                                       selectionActive = false;
                                  if(nextColumns<i>)
                                       nextLineColumn = getIMetaNameTypeText(getColumnsList()<i>, column);
                                       nextLine.addAll(nextLineColumn);
                                  column++;
                             catch(WcmException wcmEx)
                                  log.debugT("Could not rendere row for resource <" + res + "> & columns <" + getColumnsList()<i> + ">" + LoggingFormatter.extractCallstack(wcmEx));
                                  if(columnSpan != 0)
                                       cell = grid.addComponent(row, column, EmptyComponent.render());
                                       cell.setColspan(columnSpan);
                                  } else
                                       cell = grid.addComponent(row, column, EmptyComponent.render());
                                  column++;
                             if(columnSpan != 0)
                                  column += columnSpan;
                             if(!getColumnsList()<i>.contains("noColumnSpacing") && column < noOfColumns)
                                  cell = grid.addComponent(row, column, EmptyComponent.render());
                                  if(!"0".equals(getColumnSpacing()))
                                       cell.setWidth(getColumnSpacing());
                                  column++;
                        boolean emptyComponent = true;
                        for(int k = 0; k < nextLine.size(); k++)
                             nextLineElement = (Hashtable)nextLine.elementAt(k);
                             if(nextLineElement != null)
                                  IPropertyWithModifiers currProp = (IPropertyWithModifiers)nextLineElement.get("metaNameModifiers");
                                  nextLineCol = Integer.parseInt((String)nextLineElement.get("col"));
                                  metaName = (IMetaName)nextLineElement.get("metaName");
                                  renderer.getParameters().setParameter(IResourceRendererParameterNameConst.PROPERTY_MODIFIERS, PropertyColumnFactory.getInstance().getModifierString(currProp.getModifierList()));
                                  comp = PropertyColumnRenderer.renderMetaProperty(renderer, metaName, false, true);
                                  emptyComponent = false;
                                  if(comp != null && (comp instanceof EmptyComponent))
                                       emptyComponent = true;
                                  if(!emptyComponent)
                                       if(!emptyRow)
                                            row++;
                                       cell = grid.addComponent(row, nextLineCol, comp);
                                       cell.setColspan(column);
                                       emptyRow = false;
                        int rowSpace = 0;
                        try
                             rowSpace = Integer.parseInt(getRowSpacing());
                        catch(NumberFormatException nfEx)
                             log.debugT("Could not get an Integer from <" + getRowSpacing() + ">; " + LoggingFormatter.extractCallstack(nfEx));
                             rowSpace = 0;
                        int endRow = row;
                        if(emptyRow)
                             endRow = row - 1;
                        if(rowSpace != 0)
                             String paddingStyle = String.valueOf(rowSpace);
                             if(startRow != endRow)
                                  setHeightPercentageForm(rowHeightPercent, paddingStyle, 1, grid, startRow, noOfColumns);
                                  setHeightPercentageForm(rowHeightPercent, paddingStyle, 1, grid, endRow, noOfColumns);
                             } else
                                  setHeightPercentageForm(rowHeightPercent, paddingStyle, 0, grid, endRow, noOfColumns);
                        if(!"".equals(classStyle))
                             setClassStyleForm(classStyle, grid, startRow, row, noOfColumns);
                   catch(Exception e)
                        throw new WcmException(e);
                   if(!emptyRow)
                        row++;
              finally
                   s_profiler.stop("/KM/FLEXUI/RENDER/UI/ROW ");
              return row;
         private void setHeightPercentageForm(int rowHeightPercent, String padding, int paddingStyle, FormLayout grid, int row, int col)
              FormLayoutCell cell = null;
              FormLayoutRow rows = grid.getRow(row);
              for(int j = 1; j <= col; j++)
                   cell = rows.getCell(j);
                   if(cell != null)
                        if(rowHeightPercent != 0)
                             cell.setWidth(""";height="" + String.valueOf(rowHeightPercent) + "%"");
                        if(paddingStyle == 1)
                             cell.setPaddingTop(padding);
                        else
                        if(paddingStyle == -1)
                             cell.setPaddingBottom(padding);
                        } else
                             cell.setPaddingTop(padding);
                             cell.setPaddingBottom(padding);
         private void setClassStyleForm(String classStyle, FormLayout grid, int startRow, int endRow, int col)
              FormLayoutCell cell = null;
              FormLayoutRow currentRow = null;
              int rowSpan = 0;
              int noCol = col;
              boolean hasRowSpan = false;
              for(int i = startRow; i <= endRow; i++)
                   currentRow = grid.getRow(i);
                   if(currentRow != null)
                        if(hasRowSpan)
                             noCol = col - 1;
                             hasRowSpan = --rowSpan > 0;
                        } else
                             noCol = col;
                        for(int j = 1; j <= noCol; j++)
                             cell = currentRow.getCell(j);
                             if(cell != null && cell.getRowspan() > 1)
                                  hasRowSpan = true;
                                  rowSpan = cell.getRowspan() - 1;
                             if(cell != null)
                                  cell.setStyle(classStyle);
                             } else
                                  cell = grid.addComponent(i, j, EmptyComponent.render());
                                  cell.setStyle(classStyle);
         public HeaderItem[][] genetateMatrixHeader()
              throws WcmException
              if(isExactlyValue(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "off"))
                   return null;
              IPropertyPosition position = null;
              IPropertyColumn iterColumns[] = getColumnsList();
              boolean existsResource = getResourceList().size() != 0;
              if(!existsResource)
                   return null;
              HeaderItem headerMatrix[][] = new HeaderItem[10][20];
              int currentRow = 0;
              int currentColumn = 0;
              int currentRowSpan = 0;
              int currentColumnSpan = 0;
              int nextCol = 0;
              int maxRow = 0;
              int maxCol = 0;
              boolean is508Required = false;
              try
                   is508Required = getProxy().getDynamicPage().getPageContext().requiresSection508Rendering();
              catch(Exception ex)
                   log.errorT("Could not retrieve 508 mode for proxy <" + getProxy() + ">: " + LoggingFormatter.extractCallstack(ex));
              IMetaName metaName = null;
              for(int i = 0; i < iterColumns.length && existsResource; i++)
                   if(iterColumns<i> != null)
                        position = PropertyColumnFactory.getInstance().getPosition(iterColumns<i>);
                        if(position != null)
                             if(currentRow != position.getRow() - 1)
                                  nextCol = 0;
                             currentRow = position.getRow() - 1;
                             currentColumn = (position.getColumn() - 1) + nextCol;
                             currentRowSpan = position.getSpanRow();
                             currentColumnSpan = position.getSpanColumn();
                        } else
                             currentRowSpan = 0;
                             currentColumnSpan = 0;
                   metaName = PropertyHeaderRenderer.getMetaNameForTitle(iterColumns<i>, is508Required);
                   if(metaName != null)
                        headerMatrix[currentRow][currentColumn] = new HeaderItem(currentRowSpan, currentColumnSpan, metaName, iterColumns<i>);
                        nextCol = 1;
                        maxRow = maxRow <= currentRow ? currentRow : maxRow;
                        maxCol = maxCol <= currentColumn ? currentColumn : maxCol;
                   currentColumn++;
                   if(currentColumnSpan != 0)
                        currentColumn += currentColumnSpan;
                   if(!iterColumns<i>.contains("noColumnSpacing"))
                        currentColumn++;
              maxRow++;
              maxCol++;
              if(maxRow > 0 || maxCol > 0)
                   HeaderItem resultMatrix[][] = new HeaderItem[maxRow][maxCol];
                   for(int i = 0; i < maxRow; i++)
                        for(int k = 0; k < maxCol; k++)
                             resultMatrix<i>[k] = headerMatrix<i>[k];
                   return resultMatrix;
              } else
                   return null;
         public int renderListHeader1(FormLayout grid, int row)
              throws WcmException
              if(isExactlyValue(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "off"))
                   return row;
              HeaderItem header[][] = genetateMatrixHeader();
              if(header == null)
                   return row;
              String propertyHeaderColumnStyle = getParameters().getParameter(ICollectionRendererParameterNameConst.PROPERTY_COLUMN_HEADER_STYLE, "Table Title Color");
              String headerClassStyle = HtmlRendererUtil.getHeaderClassStyle(propertyHeaderColumnStyle);
              if(headerClassStyle == null)
                   headerClassStyle = "";
              FormLayoutCell cell = null;
              int columnSpan = 0;
              int column = 1;
              if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
                   column++;
              int startRow = row;
              HeaderItem headerItem = null;
              PropertyHeaderRenderer sortHeader = new PropertyHeaderRenderer(getProxy(), this, getBundleHandler(), getChildCountMetaName(getParentCollection()), isManualOrdered, getIRS().getSortDefintion(), getResourceContext().getLocale());
              IMetaName metaName = null;
              int colHeader = 0;
              for(int i = 0; i < header.length; i++)
                   row += i;
                   if(!getParameters().getParameter(ICollectionRendererParameterNameConst.ITEMSELECTIONMODE, "multiple").equals("off"))
                        colHeader = 1;
                   else
                        colHeader = 0;
                   for(int k = 0; k < header[0].length; k++)
                        headerItem = header<i>[k];
                        if(headerItem != null)
                             boolean is508Required = false;
                             try
                                  is508Required = getProxy().getDynamicPage().getPageContext().requiresSection508Rendering();
                             catch(Exception ex)
                                  log.errorT("Could not retrieve 508 mode for proxy <" + getProxy() + ">: " + LoggingFormatter.extractCallstack(ex));
                             metaName = headerItem.getLabelMetaName();
                             if(headerItem.getColSpan() != 0)
                                  cell = grid.addComponent(row, k + colHeader + 1, sortHeader.createSortLink(metaName));
                                  cell.setColspan(headerItem.getColSpan());
                             } else
                                  cell = grid.addComponent(row, k + colHeader + 1, sortHeader.createSortLink(metaName));
                             String padding[] = HtmlRendererUtil.getPropertyPaddingValues(headerItem.getPropertyColumn(), metaName);
                             cell.setHorizontalAlignment(PropertyColumnFacto

    Hello
    My problem is the following on the moment:
    In debug, I get the message the pager can't be created.
    Could not create command with alias KenGPager and classname be.kindengezin.wcm.rendering.component.cm.Pager:java.lang.ClassNotFoundException: be.kindengezin.wcm.rendering.component.cm.Pager
         at com.sapportals.wcm.crt.CrtClassLoaderRegistry.findClass(CrtClassLoaderRegistry.java:176)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at com.sapportals.wcm.rendering.collection.ComponentFactory.createComponent(ComponentFactory.java:447)
         at com.sapportals.wcm.rendering.collection.ComponentFactory.initialize(ComponentFactory.java:489)
         at com.sapportals.wcm.rendering.collection.ComponentFactory.configEvent(ComponentFactory.java:553)
         at com.sapportals.config.event.ConfigEventService.dispatchEvent(ConfigEventService.java:227)
         at com.sapportals.config.event.ConfigEventService.configEvent(ConfigEventService.java:112)
         at com.sapportals.config.event.ConfigEventDispatcher.callConfigListeners(ConfigEventDispatcher.java:308)
         at com.sapportals.config.event.ConfigEventDispatcher.flushEvents(ConfigEventDispatcher.java:251)
         at com.sapportals.config.event.ConfigEventDispatcher.run(ConfigEventDispatcher.java:110)
    My java files start as following:
    package be.kindengezin.wcm.rendering.component.cm;
    import com.sap.tc.logging.Location;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.TextViewDesign;
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.wcm.WcmException;
    import com.sapportals.wcm.control.util.PropertyRendererString;
    import com.sapportals.wcm.rendering.base.*;
    import com.sapportals.wcm.rendering.collection.*;
    import com.sapportals.wcm.rendering.util.EmptyHtmlFragment;
    import com.sapportals.wcm.rendering.util.PagerData;
    import com.sapportals.wcm.repository.*;
    import com.sapportals.wcm.repository.service.IRepositoryServiceFactory;
    import com.sapportals.wcm.repository.service.layout.customizing.IParameterName;
    import com.sapportals.wcm.service.propertyconfig.*;
    import com.sapportals.wcm.util.logging.LoggingFormatter;
    import com.sapportals.wcm.util.name.IName;
    import com.sapportals.wcm.util.resource.ResourceBundles;
    import com.sapportals.wcm.util.uri.RID;
    import java.util.*;
    // Referenced classes of package com.sapportals.wcm.rendering.component.cm:
    //                 LightComponent, PagerComponent, PagerInterval
    public class Pager extends LightComponent
    Edited by: Christof Houben on Oct 6, 2008 3:44 PM

  • How to find out Number of entries in a Huge Table?

    Hi,
    I would like to know Number of entries in table DFKKOP. when i try to get it through se16, it takes more than 10 minutes in dialogue process so a time out occurs. is there any way to find out number of entries in the table Apart from creating a program for that?
    Please guide me to the solution.
    Thanks,
    Lijo Joseph
    Message was edited by: Lijo Joseph Vazhappilly

    REPORT  YCHATEST                                .
    Data : begin of itab occurs 0.
            include structure tab512.
    data:end of itab.
    data : v_count like sy-index,
           tabname like X030L-TABNAME value 'DFKKOP'.
    CALL FUNCTION 'RFC_GET_TABLE_ENTRIES'
      EXPORTING
        table_name              = tabname
    IMPORTING
       NUMBER_OF_ENTRIES       = v_count
    tables
       entries                 = itab.
    write : v_count.
    Message was edited by: Sekhar

  • Large number of entries in Queue BW0010EC_PCA_1

    Dear BW experts,
    Our BW system 2004s is extracting data from R3 700. I am a Basis guy and observing large number of entries in SMQ1 in R3 system under Queue BW0010EC_PCA_1. I observe in RSA7 similar number of entries for 0EC_PCA_1.
    The number of entries for this queue in SMQ1 everyday are 50000+. The extraction job in BW is running everyday 5:00AM morning in BW but this only clears data which is lying before 2 days (Example on 10.09.2010, it will extract data of 08.09.2010)
    My questions
    1. Is it ok that such large number of entries lying in queue in SMQ1 and they are extracted once a day by a batch job.Then there is no mean of schedular pushing this entries.
    2. Any idea why extraction job only fetches data of 2 days before.any setting somewhere missing.
    Many thanks in advance for your valuable comments

    Hi,
    The entries lying in RSA7 and SMQ1 are one and the same. In SMQ1, BW0010EC_PCA_1 entry means that this data is lying to be sent across to you BW001 client system. Whereas in RSA7, same data is displayed as 0EC_PCA_1.
    1. Is it ok that such large number of entries lying in queue in SMQ1 and they are extracted once a day by a batch job.Then there is no mean of schedular pushing this entries.
    As I can understand from the data thats lying in your R/3 system in SMQ1, this datasource has delta mode as Direct Delta. SAP recommends that if the number of postings for a particular application is greater than 100000 per day, you should have delta mode as Queued Delta. Since in your system it is in some thousands, therefore BI guys would have kept it as direct delta. So, these entries lying in SMQ1 are not problem at all. As for scheduler from BI, it will pick up these entries every morning to clear the queue for the previous data.
    2. Any idea why extraction job only fetches data of 2 days before.any setting somewhere missing.
    I dont think that it is only fetching the data for 2 days before. The delta concept works in such a manner that once you have pulled the delta load from RSA7, this data would still be lying there under Repeat delta section until the next delta load has finished successfully.
    Since in your system, data is pulled only once a day, therefore even though your today's dataload has pulled yesterday's data, it would still be lying in the system till tomorrow's delta load from RSA7 is successful.
    Hope this was helpful.

  • Number of entries in each table

    Hi,
    I have a requirement to find the number of entries in each table in the system, how do I find this? If I have to goto each table & find out it is a tedious job. Do we have any standard report kind of thing to find out the number of entries in all the tables at a time....
    Thanks,
    Chandra

    I do not think that there is a Std. SAP report for this. If you check there is a FM CATT_GET_TABLE_ENTRIES that actually gets the table entries. But this is called dynamically.
    Hope this helps.
    Regards,
    Mani

  • Number of Entries in Dimension Tables and Fact Tables

    Hi all,
    is there an easy way to check
    - the number of entries in the dimension tables
    - the number of entries in the fact table?
    Thanks  a lot
    Alex

    Hi Alex,
    If u want to see the content of Dimension table and Fact table for a infocube then just right click on a particular info cube then select manage . Select coneten tab there , form there u can either select Fact table to see the fact table conten or Infocube content to see the Dimensiontable content.
    Regards..

  • Problem in iterating through huge number of entries ... memory issue

    I am having large number of entries in lacs.
    I need to check each entry with previous ones , so I need to iterate through the each and every entry previous to current entry.
    Here I have put all the entries in arraylist and I am iterating though this arraylist and validating current entry.
    As I am using the arraylist for storing all the entries , the system is taking lot of memory because I am putting all in the memory.
    Is there anyway to resolve this memory issue?

    If you have a hundred thousand entries, to verify all the entries you would need to compare the later entries with the earlier ones such that:
    Entry 1 = 100,000 accesses
    Entry 2 = 99,999 accesses
    Entry 5 = 99,995 accesses
    Entry 10 = 99,990 accesses
    Entry 99,990 = 10 accesses
    Entry 99,995 = 5 accesses
    Entry 99,999 = 1 access (only to be compared with the 100,000th entry)
    It would then make sense to keep a certain (fixed) amount of entries in memory, those which get accessed the most, then write to file those which get accessed the least frequently. Have a method that can decide, based on the index of the entry, whether to get it from the ArrayList or to read it from the file. That will give you good performance.
    BufferedReader would be a good candidate to read the file, because it can skip more bytes at once should you need a line very late in the file. Also consider using RandomAccessFile and seek(entryNumber * ENTRY_SIZE) if your data can be represented with a fixed size in bytes.
    s
    Edited by Looce at 2009-03-25 20:33:11 GMT [Added BufferedReader advice]

  • Number of entries in Adapter

    Hi XI!
    Can anyone tell me how to see the number of entries in a specific Adapter? The problem is that we fired a huge amount of message in an EOIO process into a file adapter. If I select the specific sender, receiver and interface in the RWB and try to show all messages, the system does not come back. I just want to have something like "number of entries" in SE16.
    Thanks and regards Oliver

    Hi Oliver,
    did you try SXMB_MONI?
    If yes, maybe you can try this way:
    Look at the table SXMSPFRAWH. The table entries include the GUID of the sender and receiver. Using the table SXMSPFADDRESS, it is possible to map these GUIDs to the respective interfaces. Aggregated data can be collected from the table SXMSPFAGG, once SAP note 820622 is applied.
    Kind regards,
    Dennis

  • Table to check number of entries in an Infocube for a particular selection

    Hi All,
    Is there a table in BW system which would give a the number of entries in an infocube for a particular selection just like the flatR/3 table which has the button on top for checking the number of records?
    Any close work around to check the number of entries in an Infocube would be appreciated.I have tried to find out the number of entries from F & E table but in vain.

    Hello,
    You can try the following:
    1) Right click on cube display data, select all attributes and nav attributes yo are interested in
    2) Go to field selection for output, here select only the nav attribute you want the no of records against (dont select any KF) , hit execute
    3) In selection screen provide the selection you want to give
    4) Scroll down, uncheck do no use nay conversion and use mat aggregates, keep Max no of hits blank
    5) Check use DB aggregation and output no of hits
    This will give you the number of records for the nav attribute value u have selected.
    You can use sum function in the ALV GRID if you want to sum up multiple values.
    Regards,
    Shashank

  • Number of Entries icon should come on report selection screen

    Hi,
    In my requirement, I want Number of Entries icon on my report selection screen.
    Means when i insert the required selection parameter's, then i want to see the total number of entries, which is come after the execution of my report.
    Please let me know that how can i do it...
    Regards..

    HI.
    Check the link display number of line items in my report at the title bar
    I have extract the part from the above link.
    if u want to display the no of line items, as shown in SE16, u create a SET STATUS with a push button with name No of Entries on the report screen.For that status, u write the code as to display no of lines in ur table by using either
    DESCRIBE TABLE itab LINES lin.
    lin gives the no of line items.
    or
    select count(*) from vbap.
    write sy-dbcnt.
    U got require output, when ur pressing No of entries button, then this will display on the output screen.
    Thanks and Regards
    Sachin Sharma

  • IWeb Blog Theme, how increase number of entries shown

    iWeb , Blog Theme, number of entries is 5 only, the rest spill over into archive. How do I change this?

    Click on Inspector (bottom left in iWeb). In Inspector, click on RSS (fourth from left on top). Click on "Blog." Under "Blog Main Page," you'll see "Number of excerpts to show." Adjust the number and Voila!!
    Good luck and Happy New Year.

  • Number of entries in Contacts

    Does anyone know how to determine the total number of entries in Contacts?
    Thanks.

    Never mind! I see that it's in the caption bar, next to the title of the application.

Maybe you are looking for

  • Wake/Sleep issue - Lid closed awake, lid open sleeping, wont wake

    MBP/Lion - I'm using my MBP in dual monitor mode with an external monitor and power supply connected. If I close the lid and then disconnect the monitor, my MBP won't wake after opening the lid. I know that with Lion a change was made and the power s

  • Anyone smart enough out there to answer this?

    Hey I can NEVER get through to the right dept in Apple to get an answer to my question, so hopefully someone can help, here goes. OK I have DSL at my house, I just have one modem at the house for my PC laptop, just standard, not wireless. The problem

  • Strange MIDI tracks

    I'm reading in a simple midi file I created (with software) but I get a bunch of note off messages (see track 1) before the my music data comes through, why does the note offs occur? (The good data begins on track 1, event 48) Output: Track 0 Track E

  • Manual Running Totals

    Below is the formula I've created but the total is 1 count higher than it should be.  The total should be 1346 and it is showing as 1347. whileprintingrecords; numbervar NotEstRt; NotEstRT:=NotEstRt+{@Not Established}; Thank you for any thoughts and

  • Azure SDK 2.5.1 install issues

    Using Visual Studio 2013 Professional, using the web platform installer I select Microsoft Azure SDK for .NET (VS 2013) - 2.5.1.   I add and click install. The next screen tells me what it's installing, showing 0MB in terms of size. The operation fin