Rows to display in narrative

Hi ,
In narrative OBIEE, at the section : Rows to display .
We can inpurt number of row to display, but I want to display from 4th to 8th of rows :
Ex:
1      Robert Ter
2      NameTr
3      Iden Roo
4       Adam Lio
I want to display row 2nd to row 4th.
The result :
2      NameTr
3      Iden Roo
4 Adam Lio
Please suggests me how can I do that?
Regards,
David

On 2nd column sort it alphabetical order and use 'Rows to display' in Narrative view with value 3 (ie. N-1) .
That would avoid first row ie value Robert Ter
If helps mark
~ http://cool-bi.com
Message was edited by: SriniVEERAVALLI

Similar Messages

  • Display specific row to display multiple time in jsf table 11.1.1.2.0 with

    HI ALL,
    I'm using jdeveloper 11.1.1.2.0 with ADF 11g.
    I have to display the values in jsf frm table where i'm using DislayCertDetailVO . In dis VO i'm having a column no.of certificaties .taking dis column value when i navigate to other page jsf by selecting a specific row. here i have to display the selected row in multiple times based on the no.of.certificates column value.
    I want to display specific row to display multiple time to repeat same row in a table in jsf based on the value from bean or table in database.
    Edited by: user9010551 on Apr 28, 2010 6:14 AM
    Edited by: user9010551 on Apr 28, 2010 10:33 PM

    Hi, Trying it once more to give more clarity of my scenario.
    I have to navigate from 1 screen to the other by picking a given table record/row from the 1st screen. While displaying the record on the 2nd screen the catch is that, I have to display it as many times as the value in a cell of the selected record.
    eg.
    screen 1
    col1   col2     col3
    2 order1 item1
    [next]
    On clicking next it should look like
    screen2
    col1           col2            col3           col4
    order1 item1
    order1 item1
    where col3 and col4 will be editable by the user and col1 is the value depends how many times i have repeat the row/record
    Hope this give more clarity.

  • Empty report with pagination,  rows not displayed

    Dear HTML DB Team,
    We have in our reports the next error: An empty report with pagination appears , no rows not displayed
    The test case to reproduce the error:
    1. Create "SQL report" with next report attributes in "Layout and Pagination"
         a. Row ranges 1-15 16-30 in select list (with pagination)
    b. Number of Rows : 15
    c. Number of Rows (Item): empty
    d. Max Row Count: empty
    2. Fill the table on which the report is based with 17 rows
    3. Go to the 2nd page of the report , pagination rows 16-17 of 17
    4. Remove 2 rows from the table, refresh report
    5, The pagination shows now 1 - 15 of 15 rows
    - no rows displayed
    - no "previous button" ( only )
    - no way to get the rows displayed, except logging out and in again
    Any suggestions?
    Erik

    Hello,
    i encountered the same problem while developing in HTMLDB.
    In application builder, i select application Application 106, then click on items, then click next ( the application has 22 global items). Now i want to take a look at the global items in application 105 (there are only 5). In the menu i click Builder - Application 106, select application 105 from Available Applications, click Go and Items. It shows no rows, but says that is displaying rows 1-5, and offers a Next button. No way to see/modify the items unless make a new session or go back to Application 106, Click Previous to see the first page of global items and then again switch to Appication 105 or click to the next button and then manually set pg_min_row=1 in URL.
    One more question - is this forum the right place to report bug suspicions, or is there some other special place for that?
    Best regards,
    Andres

  • Max number of rows to display in a pivot table

    I have a pivot table with two row levels and I need to fix the max amount of rows to display at the second level to five. Can I do that on excel 2013?
    Example
    Row Levels
    Machine A
    Part 1 (to be displayed)
    Part 2 (to be displayed)
    Part 3 (to be displayed)
    Part 4 (to be displayed)
    Part 5 (to be displayed)
    Part 6 (not displayed)
    Machine B
    Part 1 (to be displayed)
    Part 2 (to be displayed)
    Part 3 (to be displayed)
    Part 4 (to be displayed)
    Part 5 (to be displayed)
    Part 6 (not displayed)
     and so go on. 

    Hello, 
    you can use a filter to display only the top 5 items of the second level, based on their value. To do that, right-click on a label in the second level, then select Filter > Top 10.  Change the 10 to a 5 in the next dialog.
    You can also create a label filter, but it only takes one filter condition.
    Another way is to select the rows you don't want to be shown, then use right-click > Filter > Hide Selected Items
    cheers, teylyn

  • I want to display the narrative view as All Choices

    Hi Experts,
    If ‘All choices’ option is selected, I want to display the narrative view as All Choices.
    How do I achieve it?
    Waiting for your reply....
    Regards,
    Sathyan

    Hi Sathyan,
    Set a presentation variable for that prompt.
    and in request, go to the column formula,
    CASE WHEN '@{pv_var}' IS NULL THEN 'ALL CHOICES' ELSE col_name END
    Regards,
    Raghu

  • Adding new rows after displaying subtotals in an ALV report by using OOABAP

    Dear All,
    I am creating an ALV report, displaying subtotals and total by using Classes. I have used classes CL_SALV_AGGREGATIONS (Method : add_aggregation) and CL_SALV_AGGREGATIONS (Method : add_sort) for sorting and doing subtotals.
    Output of my report as follows :- (I have used * for displaying spaces between fields)
    Materia*******Quantity**SerialNo*Equipment**Value***WBS Element
    ISM-DBSVR****1********12363****31872565***2165***Q-0040358945.001010
    ISM-DBSVR****1********12364****31872566***2165***Q-0040358945.001010
    **************************************Subtotal***********4330
    -> If the value of "Quantity" is greater than 1 then the value of subtotal for the field "Value" is to be divided by the Quantity for that line item and needs to be displayed Quantity, SerialNo, Value details information after subtotal .
    -> Basically I need to add few more rows for displaying above additional information in the ALV grid after displaying subtotal .
    Q: Do we have any methods for change the layout for the above requirement.
    I Appreciate your early response.
    Thank you.
    RajaSekhar.

    Hi,
    For such type of requirement you need to use ALV hierchical table.
    You can have your main table in master table.
    For quantity greater than 1 you need to move the data into a seperate internal table....this internal table will have material as the key between the main table and the second table.
    *... §2 create an ALV hierseq table
      try.
          cl_salv_hierseq_table=>factory(
            exporting
              t_binding_level1_level2 = lt_binding
            importing
              r_hierseq               = gr_hierseq
            changing
              t_table_level1           = gt_master
              t_table_level2           = gt_slave ).
        catch cx_salv_data_error cx_salv_not_found.
      endtry.
    you can display both the tables together with the subtotals also.
    please refer to program SALV_DEMO_HIERSEQ_SIMPLE to see how to display the hierarchical display.
    Plr reward points if found helpful.
    Regards,
    Mayank

  • Selecting first 15 rows and displaying next 15

    I wish to select the first 15 rows from my database and then have an option select a next page, whereby the next 15 rows are displayed. I'm not sure how to go about it, could someone enlighten me. For reference, it would be something like how the forums is done, whereby they display x amount of threads, and you would have to go to the next page.

    This can be done by retrieving the first 15 using something like rownum <= 15 in the where clause.
    Then, by remembering the ID of the last thread that was displayed you select threads id > lastID and rownum <= 15... that is the first 15 rows that match your query starting immediately after the last thread searched.
    It's not unusual to retrieve and store a list of the Thread IDs completely as this allows a more stable feedback at the expense of heavier session information being stored.
    Hope that helps
    Talden

  • LOV throws NullPointerException when there are no rows to display

    Hi,
    I have cascading LOVs in my application. I have 3 of them. I select values for the first 2 LOVs, and then I click on the 3rd LOV. The query for the third LOV returns no records from the database and so, a NullPointerException is thrown.
    When there are no rows to display in the LOV, I want the LOV to still pop up with a message saying "No rows to display".
    Is there a way I can achieve this functionality using the existing features?
    I am using JDev 11.1.1.3.0
    Thanks
    Srikanth Addanki

    <RegistrationConfigurator><handleError> Server Exception during PPR, #2
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.getSearchBinding(FacesCtrlLOVBinding.java:189)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ListOfValuesModelImpl.getSearchRegion(FacesCtrlLOVBinding.java:1536)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding$ListOfValuesModelImpl.getQueryModel(FacesCtrlLOVBinding.java:1163)
         at oracle.adfinternal.view.faces.renderkit.rich.SimpleInputListOfValuesRendererBase$InternalLaunchPopupListener.processLaunch(SimpleInputListOfValuesRendererBase.java:1371)
         at oracle.adf.view.rich.event.LaunchPopupEvent.processListener(LaunchPopupEvent.java:108)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:673)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:210)
         at oracle.adf.view.rich.component.UIXInputPopup.broadcast(UIXInputPopup.java:152)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please let me know if I can provide any other info that makes the issue analysis easy.
    Thanks for the quick reply.

  • Not all rows are displayed in OBIEE answers

    Hi,
    When I include a dimension column(PRODUCT) along with my fact column(SALES AMT), I am getting only one PRODUCT row displayed.
    If I select just the PRODUCT column without any FACT column, I am getting the list of all PRODUCT(25 rows).
    I used the query generated by OBIEE, and ran it in my database and I am getting all product listing and the sales amount. (25 rows).
    I am assuming my problem is in my RPD. But where in my RPD should I look to debug this issue?
    Thank you.
    Edited by: ssk1974 on Jan 11, 2011 1:09 PM

    This is probably correct behavior - you probably only have one product existing in your fact table? If you want to see all the lists of products along with $0 for the facts, you'd have to do an outer join between the dimension and the fact.
    Of course, if your fact table does have other products in, then there's some other problem - maybe dim joined to fact on wrong column name or something.
    Hope this helps,
    Scott

  • Making  selected rows to display mode in ALV  grid

    I Have program with ALV grid display, which has check box as the first field.
    The requirement is like.
    When i select some rows in the grid display with the check box and click on a button , then the selected
    rows shud change to display mode and others rows shud be in edit mode as before.
    *& Report  ZSRI_CHCKBOX_ITAB_UPDATE
    REPORT  ZSRI_CHCKBOX_ITAB_UPDATE.
    TYPE-POOLS: SLIS.
    DATA: BEGIN OF ITAB OCCURS 0,
            CHK    TYPE C,
            VBELN  TYPE VBAP-VBELN,
            POSNR  TYPE VBAP-POSNR,
            MATNR  TYPE VBAP-MATNR,
            MATWA  TYPE VBAP-MATWA,
            MATKL  TYPE VBAP-MATKL,
          END OF ITAB.
    DATA: T_FCAT TYPE SLIS_T_FIELDCAT_ALV,
          W_FCAT TYPE SLIS_FIELDCAT_ALV,
          RT TYPE SLIS_SELFIELD,
          W_LAYOUT TYPE SLIS_LAYOUT_ALV  .
    PARAMETERS: S_VBELN TYPE VBAK-VBELN.
    DATA: WA LIKE LINE OF ITAB.
    DATA: G_GRID_REFERENCE TYPE REF TO CL_GUI_ALV_GRID.
    DATA: BEGIN OF ITAB1 OCCURS 0,
            CHK    TYPE C,
            VBELN  TYPE VBAP-VBELN,
            POSNR  TYPE VBAP-POSNR,
            MATNR  TYPE VBAP-MATNR,
            MATWA  TYPE VBAP-MATWA,
            MATKL  TYPE VBAP-MATKL,
          END OF ITAB1.
    DATA: T_FCAT1 TYPE SLIS_T_FIELDCAT_ALV.
    DATA: W_FCAT1 TYPE SLIS_FIELDCAT_ALV.
    START-OF-SELECTION.
      SELECT VBELN POSNR MATNR MATWA MATKL FROM VBAP
        INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE   VBELN EQ S_VBELN.
      W_FCAT-COL_POS = 1.
      W_FCAT-FIELDNAME = 'CHK'.
      W_FCAT-TABNAME = 'ITAB'.
      W_FCAT-CHECKBOX = 'X'.
      W_FCAT-EDIT = 'X'.
      W_FCAT-SELTEXT_L  = 'CHECK'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS = 2.
      W_FCAT-FIELDNAME = 'VBELN'.
      W_FCAT-TABNAME = 'ITAB'.
      W_FCAT-SELTEXT_L  = 'SALES'.
      W_FCAT-EDIT = 'X'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS = 3.
      W_FCAT-FIELDNAME = 'POSNR'.
      W_FCAT-TABNAME = 'ITAB'.
      W_FCAT-SELTEXT_L  = 'ITEM'.
      W_FCAT-EDIT = 'X'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS = 4.
      W_FCAT-FIELDNAME = 'MATNR'.
      W_FCAT-TABNAME = 'ITAB'.
      W_FCAT-SELTEXT_L  = 'MATERIAL'.
      W_FCAT-EDIT = 'X'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS = 5.
      W_FCAT-FIELDNAME = 'MATWA'.
      W_FCAT-TABNAME = 'ITAB'.
      W_FCAT-SELTEXT_L  = 'MATERIAL QTY'.
      W_FCAT-OUTPUTLEN = 20.
      W_FCAT-EDIT = 'X'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS = 6.
      W_FCAT-FIELDNAME = 'MATKL'.
      W_FCAT-TABNAME = 'ITAB'.
      W_FCAT-SELTEXT_L  = 'MATERIAL GROUP'.
      W_FCAT-OUTPUTLEN = 20.
      W_FCAT-EDIT = 'X'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         I_CALLBACK_PROGRAM                = SY-REPID
         I_CALLBACK_PF_STATUS_SET          = 'STATUS1'
         I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
         IS_LAYOUT                         = W_LAYOUT
         IT_FIELDCAT                       = T_FCAT[]
        TABLES
          T_OUTTAB                          = ITAB[].
    *&      Form  STATUS1
    FORM STATUS1 USING P_EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'STATUS1' EXCLUDING P_EXTAB.
    ENDFORM.                    "PF_STATUS_SET
    *&      Form  USER_COMMAND
    FORM USER_COMMAND USING R_UCOMM TYPE SY-UCOMM
                            R_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'READ'.
    R_SELFIELD-REFRESH = 'X'.
          CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
            IMPORTING
              E_GRID = G_GRID_REFERENCE.
          CALL METHOD G_GRID_REFERENCE->CHECK_CHANGED_DATA.
          LOOP AT ITAB INTO WA WHERE CHK = 'X'.
            APPEND WA TO ITAB1.
          ENDLOOP.
          W_FCAT1-COL_POS = 1.
          W_FCAT1-FIELDNAME = 'CHK'.
          W_FCAT1-TABNAME = 'ITAB'.
          W_FCAT1-CHECKBOX = 'X'.
          W_FCAT1-SELTEXT_L  = 'CHECK'.
          APPEND W_FCAT1 TO T_FCAT1.
          CLEAR W_FCAT1.
          W_FCAT1-COL_POS = 2.
          W_FCAT1-FIELDNAME = 'VBELN'.
          W_FCAT1-TABNAME = 'ITAB'.
          W_FCAT1-SELTEXT_L  = 'SALES'.
          APPEND W_FCAT1 TO T_FCAT1.
          CLEAR W_FCAT1.
          W_FCAT1-COL_POS = 3.
          W_FCAT1-FIELDNAME = 'POSNR'.
          W_FCAT1-TABNAME = 'ITAB'.
          W_FCAT1-SELTEXT_L  = 'ITEM'.
          APPEND W_FCAT1 TO T_FCAT1.
          CLEAR W_FCAT1.
          W_FCAT1-COL_POS = 4.
          W_FCAT1-FIELDNAME = 'MATNR'.
          W_FCAT1-TABNAME = 'ITAB'.
          W_FCAT1-SELTEXT_L  = 'MATERIAL'.
          W_FCAT-OUTPUTLEN = 20.
          APPEND W_FCAT1 TO T_FCAT1.
          CLEAR W_FCAT1.
          W_FCAT1-COL_POS = 5.
          W_FCAT1-FIELDNAME = 'MATWA'.
          W_FCAT1-TABNAME = 'ITAB'.
          W_FCAT1-SELTEXT_L  = 'MATERIAL TYPE'.
          W_FCAT-OUTPUTLEN = 20.
          APPEND W_FCAT1 TO T_FCAT1.
          CLEAR W_FCAT1.
          W_FCAT1-COL_POS = 6.
          W_FCAT1-FIELDNAME = 'MATKL'.
          W_FCAT1-TABNAME = 'ITAB'.
          W_FCAT1-SELTEXT_L  = 'MATERIAL GROUP'.
          W_FCAT-OUTPUTLEN = 20.
          APPEND W_FCAT1 TO T_FCAT1.
          CLEAR W_FCAT1.
          CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
            EXPORTING
              I_CALLBACK_PROGRAM = SY-REPID
              IT_FIELDCAT        = T_FCAT1[]
              IS_LAYOUT          = W_LAYOUT
            TABLES
              T_OUTTAB           = ITAB[].
    CLEAR ITAB1.
    CLEAR ITAB1[].
    CLEAR T_FCAT1.
    CLEAR T_FCAT1[].
      ENDCASE.
    ENDFORM.                    "USER_COMMAND
    Edited by: dharmaji Srinivasu on Feb 6, 2009 1:22 PM

    Hi
    Check out the following links:
    http://www.sapdev.co.uk/reporting/alv/alvgrid_rowsel.htm  " To obtain selected rows
    http://www.sapdev.co.uk/reporting/alv/alvgrid_editable.htm  "To make cells editable
    In the case stmt for particular button you can do:
    loop at itab into wa.
          if wa-sel EQ 'X'.
          Process records that have been selected
          endif.
    endloop.
    Hope this helps
    Regards,
    Jayanthi.K

  • Front Row - External display

    Hi everyone,
    Hope I'm posting in the right forum.
    I was so happy when Snow Leopard (automatically) used my external display for Front Row display. However, it left me with a new "wish".
    Front Row fades the display on my iMac to black... Is there a way to leave the display active so I can use the computer while my wife watches films?

    Moved to the Front Row forum.

  • Return more than one row to display as text?

    I don't know if this is possible or not. I'd rather not create a report for one item.
    is there a way to allow a display as text filed show more than one item from a query? I've tryed several things none work. I have one field that I'd like to show multiple data as just text. but everything I try displays one row only in the field. is there a way around this?

    Nazdev,
    If you're trying to display multiple records as separate parts (not just concatenated together), the easiest solution would be a report. If you just want to append values together and present them in a single item, you should be able to create a query to build your string pretty easily, though you might need to write an Oracle function to do the concatenation for you.
    I wrote a function to do that a while back, obvious you should check it thoroughly before you use it.
    CREATE OR REPLACE FUNCTION cursor_to_list(cur_in IN aeo_misc_tools.string_ref_cur,
                                              delimiter_in IN VARCHAR2 := ', ',
                                              max_len_in IN PLS_INTEGER := 32000,
                                              more_string_in IN VARCHAR2 := 'More...') RETURN VARCHAR2 IS
            Description:    Given single-column ref cursor, return values separated
                            by delimiter parameter value.
                            Trim last trailing delimiter.
            Parameters:     cur_in - opened cursor w/ single string column
                            delimiter_in - separate values w/ this, defaults to comma-space
                            max_len_in - maximum returned length
                            more_string_in - Append if length would be longer than max_len_in
            Returns:        String of separated values
            Author:         Stew Stryker
            Usage:          children_list := cursor_to_list(cur_in => child_cur, delimiter_in => ' | ');
            Note: Can also pass a cursor to this directly, using the CURSOR clause, as follows:
            children_list := cursor_to_list(CURSOR(SELECT pref_mail_name FROM children
                                                WHERE parent_id = '0000055555' ORDER BY dob),
                                delimiter_in => ' | ');
        TYPE single_string_rec_t IS RECORD(
            string_val VARCHAR2(256));
        TYPE string_ref_cur IS REF CURSOR;
        row_value single_string_rec_t;
        ret_list VARCHAR2(32000);
        more_string VARCHAR2(256) := NVL(more_string_in, ' ');
        delim_len CONSTANT PLS_INTEGER := LENGTH(delimiter_in);
        more_len CONSTANT PLS_INTEGER := LENGTH(more_string_in);
        max_len PLS_INTEGER := max_len_in - more_len - delim_len;
    BEGIN
        IF max_len > 0
        THEN
            IF cur_in%ISOPEN
            THEN
                FETCH cur_in
                    INTO row_value;
                WHILE cur_in%FOUND
                LOOP
                    IF NVL(LENGTH(ret_list), 0) + NVL(LENGTH(row_value.string_val), 0) + delim_len <=
                       max_len
                    THEN
                        ret_list := ret_list || row_value.string_val || delimiter_in;
                    ELSIF INSTR(NVL(ret_list, ' '), more_string) = 0
                          AND NVL(LENGTH(row_value.string_val), 0) > 0
                    THEN
                        ret_list := ret_list || more_string;
                    END IF;
                    FETCH cur_in
                        INTO row_value;
                END LOOP;
                -- Strip last delimiter
                ret_list := RTRIM(ret_list, delimiter_in);
                CLOSE cur_in;
            END IF;
        END IF;
        RETURN ret_list;
    EXCEPTION
        WHEN no_data_found THEN
            RETURN ret_list;
        WHEN OTHERS THEN
            DBMS_OUTPUT.PUT_LINE('EXCEPTION IN aeo_misc_tools.cursor_to_list - ' || TO_CHAR(SQLCODE) || ': ' ||
                                 SQLERRM);
            RAISE;
            RETURN ret_list;
    END cursor_to_list;Good luck,
    Stew

  • Unselect all the rows when display my table the first time

    Hi all,
    When I execute my webdynpro the first time my table is displayed with the first row selected, but this is false, this line is not selected.
    If i execute the method get_selected_elements don't return anything in the table, but if i do a Click in this row then works fine.
    I tried to unselect all the rows when i display the table the first time in the method WDDOINIT doing the following;
    DATA lo_nd_my_table TYPE REF TO if_wd_context_node.
      DATA: lt_elements TYPE wdr_context_element_set,
                 lo_element TYPE REF TO if_wd_context_element,
                 lo_node TYPE REF TO if_wd_context_node.
      lo_nd_my_table = wd_context->get_child_node( name = wd_this->wdctx_my_table ).
      lt_elements = lo_nd_my_table->get_elements( ).
      LOOP AT lt_elements INTO lo_element.
        lo_element->set_selected( SPACE ).
      ENDLOOP.
    But, doesn't work...
    How can i do it?
    Thanks in advance.

    hi,Husalban RM     .
    You don't need to DE-SELECT each element of the context node.
    You can try the following:
    lo_node->set_lead_selection_index( -1 ).
    "lo_node is the context node which is bound to your table.
    Hope it can help you a little.
    Best wishes.

  • Number of rows to display in a popup LOV

    My popup LOVs display 10 rows at a time by default. Can that be changed, and if so, how?
    Thanks

    Hello, 
    you can use a filter to display only the top 5 items of the second level, based on their value. To do that, right-click on a label in the second level, then select Filter > Top 10.  Change the 10 to a 5 in the next dialog.
    You can also create a label filter, but it only takes one filter condition.
    Another way is to select the rows you don't want to be shown, then use right-click > Filter > Hide Selected Items
    cheers, teylyn

  • Reporting format Issue .. Result  row Count Display...URGENT!!!!

    Hello All,
    Need solution for my issue in reporting,
    This is my Report format
    Date              A/c number   Kf1   Kf2 Kf3
    01.06.07            123         10    20   0
                       234          20    30   30
                       456          50    0  25
                       789           0   25   0
                       Result       80   75  55  
    01.07.07            124         10    0  10
                        134         30   30  30
                        457         40    0   0
                        788         0   25  10
                       Result       80   55  50
    Now my requirement is to display Count in the result row as
    Date             A/c number    Kf1  Kf2 Kf3
    01.06.07        123            10   20   0
                    234            20   30  30
                    456            50    0  25
                    789             0   25   0
                    Result          3    3   2  
    01.07.07        124            10    0  10
                    134            30   30  30
                    457            40    0   0
                    788             0   25  10
                   Result           3    2   3
    and to be more precise this is my requirement
    Date        Kf1  Kf2 Kf3
    01.06.07     3    3   2
    01.07.07     3    2   3    
    I made key figure Calculate Result as Count <> 0 and Calculate single value as Supress Result for each key Figure and A/c Number No display I got result like this showing all data as blank, however the rows will exist.
    Date          Kf1  Kf2 Kf3
    01.06.07                                                                               
    3    3   2  
    01.07.07                                                                               
    3    2   3
    But I need my result should be like this
    Date        Kf1  Kf2 Kf3
    01.06.07     3    3   2
    01.07.07     3    2   3   
    How can I Acheive this either by work Book Or  by Query ,
    Please help me
    Thanks for all ur support in advance
    Sai.

    Hello Boujema,
    I Created formula variable replacement path  in the same way you mentioned but this is irrespective to KF giving the Characteristic Account Number count...
    Hello All,
    please go through my requirement
    this is my report
    Date        AC no  Kf1 Kf2
    01.06.07     XXX   10  12
                 yyy   15  10
                 zzz    5   0
               result  30  22
    If I remove Ac no from this it gives me a result as summation
    Date        Kf1 Kf2
    01.06.07    30  22
    In the same way the KF should give me count of the accounts
    Date        Kf1 Kf2
    01.06.07    3    2
    But I am getting now as If I mention Count<> 0 in KF properties
    Date        Kf1 Kf2
    01.06.07     1    1
    If I place Account Number in report which I dont want to Then i will get count
    Date        AC no  Kf1 Kf2
    01.06.07     XXX   10  12
                 yyy   15  10
                 zzz    5   0
                Result  3   2
    Hope you understand my requirement and come up with any solution.
    Thanks for your help,
    Sai.

Maybe you are looking for

  • How to get the help I need with T420

    I had a Lenovo for five years which worked wonderfully, so I got another one last summer(July 2012). It quit working in June 2013 right before I was going on vacation. I had my local tech person look at it and he couldn't do anything so I called serv

  • Error while booting Tuxedo

    OS:HP-UX Tux8.1 (32-bit) I am getting below error while trying to boot the tuxedo app. FATAL: conflicting options: CMDTUX_CAT:762: ERROR: LAN mode not specified for multiple node application few other facts: MODEL param is SHM The TUXDIR, TUXCONFIG &

  • Doubled music on iPod 5th Generation

    Hello, I was hoping someone could help me out with this issue? I had some songs on my iPod that were grayed out. I hooked my iPod into my itunes, of course on the music list everything was there as usual. I go under iPod and "On this iPod" then I cli

  • Transfering music from old iPod to iPod Nano 4th

    Hi guys, I just got my new Nano today and I cannot figure out how to transfer my songs from my old Ipod ( I bought it back in 2004--first generation--the one with the buttons:-) ) to my brand -new Nano. Here are some details: - all my songs are from

  • My fronts are smaller than what I set in InDesign?

    While Using InDesing to create an e-book, I found out that the fronts that use in the documents appear smaller than what I wanted in epub format? example: my front size is 20, but when I export to epub, the front size is about 12 or 10! I do not unde