Sorting problem in report

hi,
i am facing an issue with sorting of the values of a report in dashboard.
the report consists of 15 columns and retrieves around 5000 rows in total.
the first column is of varchar datatype and is the ID(unique). the rest are numeric datatype columns.
when i query the report, it is normally sorted in ascending order with respect to the 1st column which is fine.
when i try to sort it in descending order with respect to few numeric datatype columns as i want to display the non- zero values first, it doesnt work.
can you please help on this?
thanks

You can use the ifnull function.
ifnull(value,0)And you can check the parameters NULL_VALUES_SORT_FIRST
http://download.oracle.com/docs/cd/E12096_01/books/AnyInConfig/AnyInConfigNQSConfigFileRef8.html
NULL_VALUES_SORT_FIRST = OFF; in the file NqsConfig.ini
http://gerardnico.com/wiki/dat/obiee/bi_server/nqsconfig
Success
Nico

Similar Messages

  • Sorting problem in Reports

    Hello guys,
    Suppose we are using a Group above report, sorting order is on different fields,
    which is passed through the parameter from the Form
    We are specifiying sorting order field in detail under a group
    Then the order under the specified field is not getting unless it is not in the top of
    the group in design time. But we can't change the position at run time.
    Example
    Through the form we are passing Name or Code for the sorting order at run time using parameters.
    Suppose a table Emp
    EMPNO NOT NULL NUMBER(4)
    ENAME VARCHAR2(10)
    DEPTNO NUMBER(2)
    Under a particular department we have to sort either on Empno or on ename
    depending upon the user request through parameter.
    we are getting this on only partcular field if the field is in the top of the group
    Please help me
    thanks in advance
    [email protected]

    Another option...
    Read up on lexical parameters in the report's help....
    Create one parameter called "order_by"
    Pass in the name of the column.
    SELECT empno,ename
    FROM emp
    WHERE deptno=30
    ORDER BY &order_by
    A simple search on google produced this nice page that shows how to pass any query or any part of query as a lexical parameter..
    http://www.dulcian.com/papers/ODTUG%202004_Balcu3_Generic%20Reporting.htm
    After posting this I did some reading re-edited this/my post. I have not used reports recently, but used this lexical method above allot in the past. After reading, using lexical parameters opens yourself up to SQL Injection attacks. Make sure in the report that you validate the values coming in so that the user cannot substitute any SQL that they desire.
    excerpt from help below...
    About lexical references Lexical references are placeholders for columns or parameters that you embed in a SELECT statement. You can use lexical references to replace the clauses appearing after SELECT, FROM, WHERE, GROUP BY, ORDER BY, HAVING, CONNECT BY, and START WITH. ... You create a lexical reference by typing an ampersand (&) followed immediately by the column or parameter name. A default definition is not provided for lexical references. Therefore, you must do the following: Before you create your query, define a column or parameter in the data model for each lexical reference in the query. For columns, you must set the Value if Null property, and, for parameters, you must set the Initial Value property. Reports Builder uses these values to validate a query with a lexical reference.
    Message was edited by:
    Mark Reichman

  • Sort problem in a report

    Hi,
    I'm using the sort on a report with 7 columns. For each column I've specified
    the sort sequence from 1 to 7. The last sort is a date field. If i sort now the
    last column and i change to next report side the sort change jump to the first column.
    Is there somebody who had also a problem like this?
    Greets,
    Tom

    You can check boxes to determine which columns can be sorted; if you check one or more boxes, you also need to set the "Sort Sequence" attribute under the "Report Attributes" tab of your SQL query region. So to use sorting you must.
    1. ensure you don't have an order by in your SQL statement
    2. check one or more "sort" boxes
    3. set the default order in one or more column in the "sort sequence" column
    Hope this helps,
    Mike

  • Sorting problem in ALV

    I am facing the following problem:
    I have an ALV list in the following format:
    fld1          fld2          fld3
    bb1          bb2          comp1
    <blank>          <blank>          comp2
    <blank>          <blank>          comp3
    aa1          aa2          comp4
    <blank>          <blank>          comp5
    <blank>          <blank>          comp6
    <blank>          <blank>          comp7
    <blank> - spaces are displayed
    where:
    comp1 ; comp2 ; comp3 -> belong to bb1 (fld1) field and
    comp4 ; comp5 ; comp6 ; comp7 -> belong to aa1 (fld1) field
    Now, when the user is sorting the ALV report by field: "Fld1" (by clicking on the ascending or descending sort buttons on ALV), the ALV list is displayed in the following format:
    fld1          fld2          fld3
    <blank>          <blank>          comp2
    <blank>          <blank>          comp3
    <blank>          <blank>          comp5
    <blank>          <blank>          comp6
    <blank>          <blank>          comp7
    aa1          aa2          comp4
    bb1          bb2          comp1
    where as, I was expecting the output to be in this format:
    fld1          fld2          fld3
    aa1          aa2          comp4
    <blank>          <blank>          comp5
    <blank>          <blank>          comp6
    <blank>          <blank>          comp7
    bb1          bb2          comp1
    <blank>          <blank>          comp2
    <blank>          <blank>          comp3
    Problem: The "<blanks>" in the ALV are also sorted and fld3 is not attached with fld1 and fld2.
    Is there any way by which I can avoid this problem??
    I am using "set_table_for_first_display" method to display the ALV report.
    I have already tried grouping fld3 (comp's) by fld1 and fld2 using nested internal table (both statically and using pointers) and passing it to ALV via. "r_alv_grid->set_table_for_first_display" method. However, this didnt work.
    Please help.

    REPORT ZBLOCK_ALV.
    CONSTANTS :
      c_x VALUE 'X'.
    Macro definition
    DEFINE m_fieldcat.
      ls_fieldcat-fieldname = &1.
      ls_fieldcat-ref_tabname = &2.
      ls_fieldcat-tabname = &3.
      append ls_fieldcat to lt_fieldcat.
    END-OF-DEFINITION.
    DEFINE m_sort.
      ls_sort-fieldname = &1.
      ls_sort-up        = c_x.
      append ls_sort to lt_sort.
    END-OF-DEFINITION.
    TYPE-POOLS: slis.                      " ALV Global types
    TYPES:
    1st Table
      BEGIN OF ty_kna1,
        kunnr TYPE kna1-kunnr,             " Customer number
        ernam TYPE kna1-ernam,             " Name of Person who Created
        erdat TYPE kna1-erdat,             " Creation date
        name1 TYPE kna1-name1,             " Name 1                    .
      END OF ty_kna1,
    2nd Table
      BEGIN OF ty_mara,
        matnr TYPE mara-matnr,             " Material number
        ernam TYPE mara-ernam,             " Name of Person who Created
        ersda TYPE mara-ersda,             " Creation date
        mtart TYPE mara-mtart,             " Material type
        matkl TYPE mara-matkl,             " Material group
      END OF ty_mara,
    3rd Table
      BEGIN OF ty_vbak,
        vbeln TYPE vbak-vbeln,             " Sales document
        vkorg TYPE vbak-vkorg,             " Sales organization
        vtweg TYPE vbak-vtweg,             " Distribution channel
        kunnr TYPE vbak-kunnr,             " Sold-to party
        erdat TYPE vbak-erdat,             " Creation date
      END OF ty_vbak.
    DATA:
      gs_layout TYPE slis_layout_alv,
      gt_kna1 TYPE TABLE OF ty_kna1,
      gt_mara TYPE TABLE OF ty_mara,
      gt_vbak TYPE TABLE OF ty_vbak.
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.    "#EC NEEDED
    PARAMETERS p_max(2) TYPE n DEFAULT '02' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
    Read data
      SELECT kunnr ernam erdat name1
        FROM kna1
       UP TO p_max ROWS
        INTO TABLE gt_kna1.
      SELECT matnr ernam ersda mtart matkl
        FROM mara
       UP TO p_max ROWS
        INTO TABLE gt_mara.
      SELECT vbeln vkorg vtweg kunnr erdat
        FROM vbak
       UP TO p_max ROWS
        INTO TABLE gt_vbak.
    END-OF-SELECTION.
      PERFORM f_display_data.
          FORM USER_COMMAND                                             *
    FORM user_command USING u_ucomm     TYPE sy-ucomm
                            us_selfield TYPE slis_selfield.     "#EC CALLED
      DATA:
        ls_vbak TYPE ty_vbak.
      CASE u_ucomm.
        WHEN '&IC1'.                       " Pick
          CASE us_selfield-tabname.
            WHEN 'GT_MARA'.
            WHEN 'GT_KNA1'.
            WHEN 'GT_VBAK'.
              READ TABLE gt_vbak INDEX us_selfield-tabindex INTO ls_vbak.
              IF sy-subrc EQ 0.
                SET PARAMETER ID 'AUN' FIELD ls_vbak-vbeln.
                CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
              ENDIF.
          ENDCASE.
      ENDCASE.
    ENDFORM.                               " USER_COMMAND
          Form  f_display_data
    FORM f_display_data.
      DATA :
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
        ls_sort     TYPE slis_sortinfo_alv,
        lt_sort     TYPE slis_t_sortinfo_alv, " Sort table
        lt_events   TYPE slis_t_event,
        ls_event    TYPE slis_alv_event.
      gs_layout-group_change_edit = c_x.
      gs_layout-colwidth_optimize = c_x.
      gs_layout-zebra             = c_x.
      gs_layout-detail_popup      = c_x.
      gs_layout-get_selinfos      = c_x.
    Build field catalog and sort table
      m_fieldcat  'KUNNR' 'KNA1' 'GT_KNA1'.
      m_fieldcat  'ERNAM' 'KNA1' 'GT_KNA1'.
      m_fieldcat  'ERDAT' 'KNA1' 'GT_KNA1'.
      m_fieldcat  'NAME1' 'KNA1' 'GT_KNA1'.
      m_sort  'KUNNR'.
    Build Event Table
      MOVE        'TOP_OF_PAGE'        TO ls_event-name.
      MOVE        'TOP_OF_PAGE'        TO ls_event-form.
      APPEND ls_event TO lt_events.
      MOVE        'END_OF_LIST'        TO ls_event-name.
      MOVE        'END_OF_LIST'        TO ls_event-form.
      APPEND ls_event TO lt_events.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = sy-cprog
          i_callback_user_command = 'USER_COMMAND'
          it_fieldcat             = lt_fieldcat
          is_layout               = gs_layout
          it_events               = lt_events
          it_sort                 = lt_sort
          i_save                  = 'A'
        TABLES
          t_outtab                = gt_kna1.
    ENDFORM.                               " F_DISPLAY_DATA
          FORM top_of_page                                              *
    FORM top_of_page.                                           "#EC CALLED
      ULINE.
      WRITE : sy-uname, sy-title(56) CENTERED, sy-datum.
      ULINE.
    ENDFORM.                               " TOP_OF_PAGE
          FORM End_of_list                                              *
    FORM end_of_list.                                           "#EC CALLED
      DATA :
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
        ls_sort     TYPE slis_sortinfo_alv,
        lt_sort     TYPE slis_t_sortinfo_alv, " Sort table
        lt_events   TYPE slis_t_event,
        ls_event    TYPE slis_alv_event.
    Build field catalog and sort table
      m_fieldcat 'MATNR' 'MARA' 'GT_MARA'.
      m_fieldcat 'ERNAM' 'MARA' 'GT_MARA'.
      m_fieldcat 'ERSDA' 'MARA' 'GT_MARA'.
      m_fieldcat 'MTART' 'MARA' 'GT_MARA'.
      m_fieldcat 'MATKL' 'MARA' 'GT_MARA'.
      m_sort 'MATNR'.
    Build Event Table
      MOVE 'END_OF_LIST'   TO ls_event-name.
      MOVE 'END_OF_LIST_2' TO ls_event-form.
      APPEND ls_event TO lt_events.
      gs_layout-list_append = c_x.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          it_fieldcat        = lt_fieldcat
          is_layout          = gs_layout
          it_sort            = lt_sort
          it_events          = lt_events
          i_save             = 'A'
        TABLES
          t_outtab           = gt_mara.
    ENDFORM.                               " END_OF_LIST
          FORM End_of_list_2                                            *
    FORM end_of_list_2.                                         "#EC CALLED
      DATA :
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
        ls_sort     TYPE slis_sortinfo_alv,
        lt_sort     TYPE slis_t_sortinfo_alv, " Sort table
        lt_events   TYPE slis_t_event,
        ls_event    TYPE slis_alv_event.
    Build field catalog and sort table
      m_fieldcat 'VBELN' 'VBAK' 'GT_VBAK'.
      m_fieldcat 'VKORG' 'VBAK' 'GT_VBAK'.
      m_fieldcat 'VTWEG' 'VBAK' 'GT_VBAK'.
      m_fieldcat 'KUNNR' 'VBAK' 'GT_VBAK'.
      m_fieldcat 'ERDAT' 'VBAK' 'GT_VBAK'.
      m_sort 'VBELN'.
    Build Event Table
      MOVE 'TOP_OF_PAGE' TO ls_event-name.
      MOVE 'TOP_OF_PAGE' TO ls_event-form.
      APPEND ls_event TO lt_events.
      gs_layout-list_append = c_x.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          it_fieldcat        = lt_fieldcat
          is_layout          = gs_layout
          it_sort            = lt_sort
          it_events          = lt_events
          i_save             = 'A'
        TABLES
          t_outtab           = gt_vbak.
    ENDFORM.                               " END_OF_LIST_2

  • Incorrect Sorting members in reports

    Hi experts,
    I need some help. We have created the Account dimension with 2 parents. When we expand the dimension account by rows, parentH1 is sorted like we desire (because we order right in dimension), however, when we expand parent H2, the order seems like parent H1 and we need to expand it different.
    We have already use sorting evdre option, but ordering by "ID" don't solve the problem because report shows first detail accounts and then parents (expansion order by id and parent id begins with "Y" character).
    We have thought on a workaround: create a property "ORDER" to order ID accounts, instead of ID.
    However I ask you how you solve this problem.
    Thank you in advance
    Gabriel

    Thank you very much for your help!
    However I have solve it sorting account members correctly on dimension. I have use this Best practice:
    I have divided the dimension in 3 block members:
    1) All basmembers
    2) Parents members of H1
    3) Parents members of H2
    Hope this help for anither person with same problem
    Gabriel

  • Soritng problem in report

    Hi all
    I have a problem in report runtime decision.
    I have created a report say report1....and on runtime i decide its runtime sorting order by passing a column value
    through my USER PARAMETER to the ORDER BY clause.
    But the problem is that the data model has its own BREAK ORDER as well for each column.
    How can i change that property at runtime.
    Kindl guide me if any one knows the solution.
    Thanx,
    Qaiser Qayum Malik.

    Hi,
    Pl see this thread:
    Order By within repeating frame
    By the way, break order decides the sorting order ONLY if the report has break-groups. If your report has a single group, the order by clause should work.
    navneet.

  • Problem refreshing reports with params in the Interactive viewer from ASP

    I have a problem getting reports to refresh by clicking the Interactive Viewer's refresh button and reusing the supplied parameters. I am seeing this exact same problem on both V9.2 and 11.5 unmanaged RAS servers.
    I am using the following  function code to set the reports parameters:
    Public Sub PassParameter(param_index, param_value, param_is_multi,param_range_kind)
        Dim param_old ' parameter field in the report
        Dim param_new ' parameter field that will replace old parameter
    Dim paramValue ' discrete parameter value
    Dim aValues
    Dim rValues
    Dim iLoop
    Set param_old = clientDoc.DataDefinition.ParameterFields.Item(param_index)
    Set param_new = objFactory.CreateObject("CrystalReports.ParameterField";)
    If param_range_kind = 1 then
    Set paramValue = objFactory.CreateObject("CrystalReports.ParameterFieldDiscreteValue";)
    paramValue.Value = param_value
    else
    Set paramValue = objFactory.CreateObject("CrystalReports.ParameterFieldRangeValue";)
         rValues = split(param_value, "|")
    paramValue.BeginValue = rValues(0)
    paramValue.EndValue = rValues(1)
    paramValue.LowerBoundType = 2
    paramValue.UpperBoundType = 2
    end if
    param_old.CopyTo param_new
    if param_is_multi = 0 then
    param_new.CurrentValues.Add paramValue
    else
         aValues = split(param_value, ",")
       For iLoop = LBound(aValues) to UBound(aValues)
    param_new.CurrentValues.Add Trim(aValues(iLoop))
        Next
    end if
    clientDoc.DataDefController.ParameterFieldController.Modify param_old, param_new
        ' Clean up
        Set paramValue = Nothing
        Set param_new = Nothing
    End Sub
    and then redirecting to another ASP page to invoke the viewer (the report "clientDoc" object is passed to the viewer asp page a s a session variable). The code of the viewer page is:
    <%
    Response.ExpiresAbsolute = Now() - 1
    Response.Charset=";UTF-8"
    Dim clientDoc
    Set clientDoc = session("clientDoc")
    Dim ObjFactory, RptAppSession
    Set ObjFactory = CreateObject("CrystalReports.ObjectFactory";)
    Dim viewer
    Set viewer = ObjFactory.CreateObject("CrystalReports.CrystalReportInteractiveViewer";)
    viewer.PageTitle = "Interactive Report - " & Request("rptnam")
    viewer.IsOwnForm = true
    viewer.IsOwnPage = true
    viewer.HasRefreshButton = true
    viewer.EnableParameterPrompt = false
    viewer.ReuseParameterValuesOnRefresh ; = true
    viewer.HasExportButton = false
    ' viewer.HasPrintButton = false
    viewer.ReportSource = clientDoc.ReportSource
    Dim BooleanSearchControl
    Set BooleanSearchControl = ObjFactory.CreateObject("CrystalReports.BooleanSearchControl";)
    BooleanSearchControl.ReportDocument = clientDoc
    viewer.BooleanSearchControl = BooleanSearchControl
    viewer.ProcessHttpRequest Request, Response, Session
    %>
    If I set viewer.EnableParameterPrompt = false then I get an erro upon clicking the viewer's refresh button (error is: Missing parameter values. webReporting.dll error '8004100e' ), but if I set viewer.EnableParameterPrompt = true, then I get the automatically generated prompts appear but they are all empty. Either way, RAS doesn't remember the supplied parameters. I know the parameters are being read by RAS as the report's contents prove this fact, but they are not remembered after refreshing. If the automatically generated prompts are filled in and submitted, subsequent refreshes work correctly.
    How do I get the report viewer to reuse the parameters that have been set programmatically after a refresh? BTW, changing my implementation to anything other than using ASP against an unmanaged RAS server is not an option at this time.
    Thanks in advance!
    Dave.

    Hi Dave,
    I don't have a "nice" set of code lines but below hard codes one parameter name and value:
                ISCRParameterField newParameterField = new ParameterFieldClass();
                newParameterField.ParameterType = crParameterFieldTypeEnum.crParameterFieldTypeReportParameter;
                newParameterField.Name = "YourParamName"; // you can make a collection here
                newParameterField.ReportName = "";
                newParameterField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField;
                newParameterField.AllowMultiValue = true;
                newParameterField.AllowCustomCurrentValues = true;
                Fields parameterFields = reportClientDocument.DataDefinition.ParameterFields;
                ISCRField existingParameterField;
                RowsetMetaData rowsetMetaData = new RowsetMetaDataClass();
                Fields fields = new FieldsClass();
                ArrayList defaultValues = new ArrayList();
                reportClientDocument.DataDefController.ParameterFieldController.SetCurrentValue("", @"YourParamName", @"YourParamValue");
    Thanks again
    Don

  • Group and sort in webi report

    I have a requirement to group and sort in a report. Group should be based on id, sort based on time. Time sort should be the priority. Meaning, first criteria to sort is time, but if the id is repeated, time should be sorted for that id.
    e.g, If I have ids A,B,C and values are such that A - 9:15 AM, B - 9:00 AM, A - 10:00 AM, C - 9:30 AM.
    Requirement is as below
    B - 9:00 AM
    A - 9:15 AM
    A - 10:00 AM
    C - 9:30 AM
    If I apply sort on time without group on id, I am getting data in the below manner which is not correct.
    B - 9:00 AM
    A - 9:15 AM
    C - 9:30 AM
    A - 10:00 AM
    If I apply group first, I am not able to apply sort. Since the requirement is to show the least time first.
    Please advice.

    use the variable
    =Min([Time]) In ([ID])
    to sort. Then hide the column by reducing the width and making the font and background color as white.

  • Sorting Problem in FND_MENU_ENTRIES_TL Table

    Hi,
    FND_MENU_ENTRIES_TL Table storing the record FND_MENU_ENTRIES_TL_N1(MENU_ID,PROMPT,LANGUAGE) wise in R12. But whereas in 11i, records stored FND_MENU_ENTRIES_TL_U1(MENU_ID,ENTRY_SEQUENCE,LANGUAGE).
    I am confused, whether i need to recreate the index in R12, so the records will get store MENU_ID,ENTRY_SEQUENCE,LANGUAGE wise.
    Could any one please suggest me how to resolve this problem.
    Thanks,
    Praba T

    815667 wrote:
    Hi,
    FND_MENU_ENTRIES_TL Table storing the record FND_MENU_ENTRIES_TL_N1(MENU_ID,PROMPT,LANGUAGE) wise in R12. But whereas in 11i, records stored FND_MENU_ENTRIES_TL_U1(MENU_ID,ENTRY_SEQUENCE,LANGUAGE).
    I am confused, whether i need to recreate the index in R12, so the records will get store MENU_ID,ENTRY_SEQUENCE,LANGUAGE wise.
    Could any one please suggest me how to resolve this problem.
    Thanks,
    Praba TPl do not abuse the forums by cross-posting in multiple forums
    Sorting Problem in FND_MENU_ENTRIES_TL Table
    Sorting Problem in FND_MENU_ENTRIES_TL Table
    Your issue is related to EBS, not to database upgrades (which is the topic of this forum)
    Srini

  • Sorting problems in Grid View

    Hi, I'm having a bit of a sorting problem when it comes to an artist with name variations. The example I'm going to use is DJ Tiesto.
    There are album I have where he is credited as DJ Tiesto, and others where he is simply Tiesto.
    In the end, I'd like these albums sorted chronologically under one name (say DJ Tiesto), while still preserving and showing the proper artist name for each album. I have it set to sort by "Album by Year", which is working fine.
    The major problem I am having is that I can't get it to display properly across all iTunes viewing methods: List mode, Grid mode, and Coverflow.
    I've tried leaving the Artist field alone, and changing the Sort Artist field to "DJ Tiesto" for all songs, and that almost works:
    -List mode groups them all under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Grid mode sorted by Album groups them all under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Coverflow sorts them all in chronological order, while showing each albums Artist as the correct artist name.
    Problem is, Grid mode sorted by ARTIST creates two separate artists! Some for DJ Tiesto and some for Tiesto!
    To correct this I tried changing the Album Artist field for all songs to "DJ Tiesto", which solved that problem but created a bunch of new ones:
    -List mode is still correctly grouping them under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Grid mode sorted by Album is still correctly grouping them under "DJ Tiesto", *however now it is not displaying the correct Artist name for each album!*
    -Grid mode sorted by Artist is now grouping them all under "DJ Tiesto", *however it is not displaying the correct Artist name for each album!*
    -Coverflow is sorting them in correct chronological order, *however it as well is not displaying the correct Artist name for each album!*
    Using the Album Artist tag has created more problems that it has solved! Is there anyone who knows a way to achieve what I am trying to do? I have tried seemingly every option I can and have still not found a way to do this!!
    Thanks!

    My own method of working involves renaming the files upon import to:
    i "shotdate_sequencenumber"
    Files are therefore typically named
    b 2007-11-25_001
    etc.
    This way, sorting by Filename automatically sorts by Date by default. And it wouldn't even matter if you added a descriptive text in between the date and number (
    b 2007-11-25_Scotland_001

  • Mailing Problem in Reports Writer 3.0 (URGENT)

    Hello,
    I 'm facing mailing problem in Reports Writer 3.0.
    All Reports files (.rep) are stored on NT Server(in a particular
    dir) and I have full permission (on that dir).
    After running the report, when I try to send mail then it gives
    the following error
    REP-4203: Error occurred while sending a mail message.
    REP-4221: Cannot access attachment file.
    So pls. suggest me.
    Thanks
    PSR
    null

    This is the wrong forum for reports issues - particularly for such an old version :-) However, you'll have to write a user exit to do that kind of stuff. And no don't ask me how, it was all too long ago, but there should be a section on that in your manual.

  • Problem in reports 6i  while using delimiter option.

    Hi,
    I am facing problem in report writer while using delimiter option.
    Report summary
    ==============
    In my report I am having two queries in data model and two different repeating frame for each in layout.
    These quires are called based on the user parameter. That means if user parameter is 1 then query 1 is called and the report is kick off and same for query 2 when user parameter is 2).
    Problem Encountered
    =================
    Both these reports are running fine while using pdf option to generate report .
    While using delimiter option only one of the query is able to generate report (based on which ever is created first and rest will give 0 byte file).
    I have also trapped it while using messages and it is logically flowing fine.
    I think report writer does not support such scenario.
    please expedite on this.
    thankx
    peyush

    Hi,
    There are no such limitations with Reports. If I understand properly, you run the Report twice, in each run, you are trying to execute different query, and you generate two dilimited Reports output files? This should work fine. Try out the latest Reports 6i patch-10 for this. You can even approach Oracle Support with your testcase. FYI, with Reports 6i patch-11, a new feature "dlimited data" is introduced which will give delimited output with a data dump i.e it would not be dependent upon the Reports layout. You can probably try out this new feature also.
    Thanks,
    Rohit Hi Rohit,
    Thanks for the information.
    well I am generating single output file on each run .
    the problem is somewhat funny.
    I have build query2 in data model after query1.
    query 1 is giving me correct output both in .PDF and delimiter version.
    But query2 is giving me 0 byte file for delimiter version although in .PDF it is running fine.
    When I took out query2 to another module it is running fine for both.
    I hope this make sense.
    Moreover if u still not clear about the problem and thinks that u can help me out please send me ur mail id so that I can send you the RDF copy.
    Thanks
    Mohit...

  • Sort remuneration statement (report RPCEDTP0)

    Dear gurus,
    I need to find an exit for report RPCEDTP0, because a need to sort the remuneration statement by name and last name.
    The standard button SORT ORDER from report RPCEDTP0 is not giving me what I need...
    Does anyone know something that may help me?
    Thank you in advance,
    PC

    Hi Ted Dinh!
    Your advice seemed to be such a good one... but I'm not having success
    I created an enhancement in form 'FILL_SORT_CONDITION_TABS' ( include: 'LRPPNTOC') and inserted this code inside it:
      SORTORDERS-FIELDNAME = 'ENAME'.
      SORTORDERS-POSITION = '26'.
      APPEND SORTORDERS.
    But when I click on button 'SORT ORDER'... I don't see any difference..
    Do you have some idea of what can be happening?
    Regards,
    Priscila

  • RAXINV - Strange problem in Report Builder

    I'm having a very wierd problem in Report builder 6.0.8.27.0. I'm simply trying to add two additional columns to the AR Invoice report (RAXINV) so that they get included in the XML output. This report has a main query called Q_INVOICE which is basically a dummy query to set the column aliases and at the end of the query it does a UNION with the user parameter &common_query.
    So, what I have done is gone into the common_query parameter and added the two extra dummy columns before the FROM statement (I've tried adding at different places but always the same result). Once that is done I've then gone into the Q_INVOICE query and added the same two columns. When I hit the OK button to update the query is when my problems start.
    There is a group in the report called G_ORDER_BY that has the field ORDER_BY in it. After clicking ok to update the query the G_ORDER_BY now has a field called BILL_CUST_NAME1, but the XML tag is still saying ORDER_BY. This happens to many fields in the report (the names are changed/corrupted) and as such the report is now useless as it won't compile.
    I have no idea why this would happen and I've never seen anything like this before.
    Can anyone provide any help on this ? I've logged an SR on this too but wanted to try here also incase someone had already crossed this problem.

    Dave,
    Not sure if its relevant or not, but I just fixed this issue, you need to change your query in three places, common_query parameter, build_query program unit and the main query itself in report editor.
    Cheers,
    Zeeshan

  • Sign problem in Report

    Hi Folks,
    I  have a problem in reporting.
    We are getting a data from flat file and loaded in to ICELIM cube and later that will pull into Managerial Consolidation Cube.
    P99T is account member and its ACCTYPE is EXP and its a parent member.
    We created a one report based on ICELIM cube its showing negative values for the member P99T. Created another report based on Managerial Consolidation Cube, Here the same member showing Positive values. 
    Can any one please let me know what is the problem is?
    I need Positive values in Both reports.
    Regards,
    G. Saida Reddy

    Hi vadim,
    Thank you for you response,
    Recently I take over this project, Previously one guy is handled all those things.
    But if "Descendants of P99T is Applicant count=EXP(ACCTYPE), FT=EXP(ACCTYPE), Applicant Rate= EXP(ACCTYPE)" then P99T is meaningless - how can you aggregate count, FT and rate????
    Can you please let me know the what is the exact point your are saying from above.
    we have positive signs for base members of  ICELIM and Managerial Consolidation.
    Now it is not possible to change moving data from ICELIM to Managerial Consolidation.
    can you please let me now the issue for sign in the report?
    Regards,
    G. Saida Reddy

Maybe you are looking for

  • Help needed in drag and drop of Flex tree

    Hi, We have an application which allows drag and drop between multiple trees and lists. Here are the steps I follow to refresh on drag and drop: 1. Dispatch a custom event which calls server. 2. On successful response from server I change the model w

  • IMac + Sound = Help Me!

    So I got a new 24" Aluminum High-End iMac 2 weeks ago. It doesn't freeze like other people have reported, but I have some another problems. Sometimes when playing songs (mainly in iTunes) the music will be automatically paused for no reason. If I hit

  • Tab char problem in reports6i

    hi I have a long column, and text data in it. I show it in reports. I use flush justify in the reports(left and right justify). In some lines there is tab character(chr(9)). I use fix length fonts. Fisrt; in the reports I see the tab char only one sp

  • Rectangle marquee tool is rounding at the edges, how to I revert to sharp edges?

    The rectangle marquee tool is rounding at the edges of my selections and when I try to fill with solid color, it fills very transparently and almost water-color like. I don't know how the settings were changed, but I need help reverting them back to

  • Removing Supervisor Password via WMI?

    Hello guys, I'm trying to remove our supervisor password from our computers using the WMI-interface (described here: http://support.lenovo.com/en_US/detail.page?LegacyDocID=MIGR-68488). It works fine when trying to change the password using the provi