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

Similar Messages

  • 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.

  • 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

  • Sorting in dataset vs sorting in the report

    Are the some guidelines on when to use sorting in dataset vs sorting in the report?

    Hi JoeSchmoe115,
    In Reporting Services, we can add ORDER BY clause to presort data that is retrieved for a report in the dataset queries. Or we can sorting groups or sorting by aggregate values in the report. When we add ORDER BY clause to sort the data in the order we want
    it sorted in the report. Presorted data improves report processing time because of the way it is stored in memory. And there are many report processing tasks do not require sorting data before processing it. For example, SUM is not order-dependent and Data
    within group instances is not automatically sorted.
    So sorting groups or sorting by aggregate values is much simpler in the report than in the query and is frequently more efficient also. If we do not need sorted data in the report, do not set sort expressions on the dataset. For more details, please see:
    Troubleshooting Reports: Report Performance
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Can values returned by a lookupset be used for interactive sorting or a report filter?

    I have a report that uses multiple stored procedures. I am using the lookupset function to return the values, then I sum the values with custom code, and have them display all into one tablix. However I can not figure out how to use interactive
    sorting or a report filter with values returned by the lookupset function.
    My question is:
    Can you use values returned by a lookupset for interactive sorting or a report filter?
    Thanks!

    Hi WGiff,
    Based on my understanding, you want to perform interactive sorting or filter for the values which come from multiple datasets.
    In Reporting Services, LookupSet()function is used to retrieve a set of values from the specified dataset. So in your scenario, we should use Lookup() function to retrieve values from specified dataset, then perform interactive sorting or filter.
    As we tested in our environment, we retrieve values using Lookup() function form datasets, then sum these values with custom code. After enable interactive sorting or filter for these values, we can get expected results.
    1. Add custom code below in Report Properties.
    Public Shared Value as Integer=0
    Public Shared Function GetValue(Item as Integer) as Integer
    value= value + Item
    return Item
    End Function
    Public Shared Function GetTotal()
    Dim a as integer
    a=value
    value=0
    return a
    End Function
    2. Enable Interactive Sorting.
    3. Add filter within the group.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Thunar: incorrect sort order

    Hello, everyone.
    Guys, maybe any of you encountered with that problem in Thunar... especially if you use cyrillic letters in file or folder names.
    I have the latest version of Thunar (1.4.0) installed, and it turns out it incorrectly sorts contents of folders.
    I can not even understand the way Thunar sorts contents of any folder.
    Here is the contents of one folder "sorted" by name (ascending).
    Looking from top to bottom I see file names starting with...
    cyrillic upper letters
    digits
    cyrillic lower letters
    again digits
    again cyrillic lower letters
    english lower letters
    and again cyrillic lower letters
    Concrete example of another folder "sorted" by name:
    голубь.txt
    иволга.txt
    аист.txt
    орёл.txt
    сова.txt
    Absoluletly wrong order. The file with name that starts with 'A' is in the middle.
    Cyrillic alpabet is:
    Аа Бб Вв Гг Дд Ее Ёё Жж Зз Ии Йй Кк Лл Мм Нн Оо Пп Рр Сс Тт Уу Фф Хх Цц Чч Шш Щщ ЬЬ Ыы ЪЪ Ээ Юю Яя
    Meanwhile
    ls -1
    gives right order
    аист.txt
    голубь.txt
    иволга.txt
    орёл.txt
    сова.txt
    PCManFM and other filemanagers give right sort order.
    So, Thunar DOES NOT sort with 'ls'. Also, sort order of Thunar CAN NOT be changed using LC_COLLATE.
    Thunar uses its own "mega-wise" algorithm.
    P.S.
    By the way, before version 1.4.0, everything was OK in Thunar. So one day their devs decided to make some "improvements".
    Last edited by BrainWorker (2012-08-14 02:28:35)

    BrainWorker wrote:
    AaronBP wrote:They notice because they are in the CC list. Whenever a new comment comes in they get an email. You should not open a new bug if there's already one open about it.
    I don't really care if they are going to complain about it or not. My goal is to make them pay attention to this bug, because I think it is nicely forgotten.
    This is open source, bro. You can't make anybody do anything, but you might encourage some admin to ban you if you willfully break rules. If you can't break open the source and fix the problem yourself (which is surely the most speedy solution!), you're better off following community procedures and being as helpful as possible. Otherwise you'll just be excluded and ignored.

  • AWM 10.1.0.4 - Sort Members

    I have noticed in the "help" of AWM 10.1.0.4 that there is a sort members dialog box (where it is also possible to edit the sort criteria).
    However I cannot locate it in AWM, could be so kind as to help me find where it is located.

    The 'Sort Members dialog box' found in the Help is not yet exposed in AWM 10.1.0.4. This should have been removed from the Help.
    So how do you control the sort order of a dimension in AWM 10.1.0.4?
    1) Within the Create Attribute dialog box, create a sort order attribute with the attribute type as 'user' and the data type as 'text' or 'integer' for each hierarchy and apply it to its corresponding hierarchy. (Do not use the Default Order attribute type. Currently the OracleBI stack does not support it.)
    2) Populate the dimname_attrname text variable (map and load from a source table or use OLAP DML):
    limit CUSTOMER_HIERLIST to 'SHIPMENTS'
    limit CUSTOMER to CUSTOMER_INHIER
    limit CUSTOMER to hierarchy run -
    'sort customer a customer_long_description(all_languages
    \'AMERICAN_AMERICA\')' -
    using customer_parentrel
    CUSTOMER_SORT_ORDER_SHIP = convert(1000000+STATRANK(CUSTOMER),text,0)
    3) Add a SORT_ORDER property to each dimname_hiername_hierdef object:
    consider CUSTOMER_SHIPMENTS_HIERDEF
    property 'SORT_ATTRIBUTE' 'CUSTOMER_SORT_ORDER_SHIP'
    4) Do the same for each hiearchy in a dimension.

  • Sorting makes the report slow

    Hi,
    I need to sort the SQL (APEX_ITEM) report. I created a hidden item and used the hidden item to sort the report. Its working fine but making the report very slow.
    If I remove the sorting, then the report runs fast.
    Please let me know what should do to make it faster.
    Thanks.

    Hi Denes,
    Here is my query:
    SELECT apex_item.hidden (21, R.pk) || apex_item.hidden (22, R.imo) || apex_item.hidden (23, wwv_flow_item.md5 ( R.PK ,R.RQMT )) ||
    apex_item.hidden (24,R.imso)|| apex_item.hidden (25, R.installation_number )|| apex_item.hidden (26, R.base_code) ||
    apex_item.text (27, R.year, 80,100,
    'style="width:40px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly" title="Year"', 'f27_' || LPAD (ROWNUM, 4, '0')) year ,
    apex_item.text (28, R.fcg, 80, 100,
    'style="width:64px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly" title="Fcg"', 'f28_' || LPAD (ROWNUM, 4, '0')) fcg,
    apex_item.text (29, R.IMO_NAME, 80, 100,
    'style="width:90px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Imo"', 'f29_' || LPAD (ROWNUM, 4, '0')) IMO_NAME,
    apex_item.text (30, R.IMSO_NAME, 80, 100,
    'style="width:96px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly" title="Imso"', 'f30_' || LPAD (ROWNUM, 4, '0')) IMSO_NAME,
    apex_item.text (31, R.installation_NAME, 80, 100,
    'style="width:140px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly" title="Installation"', 'f31_' || LPAD (ROWNUM, 4, '0')) INSTALLATION_NAME,
    apex_item.text (32, R.BASE_NAME, 80, 100,
    'style="width:160px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Base"','f32_' || LPAD (ROWNUM, 4, '0'))BASE_NAME,
    apex_item.hidden (33, R.FCG_DESC) ||
    apex_item.text (34,R.FAC, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Fac"','f34_' || LPAD (ROWNUM, 4, '0')) FAC,
    apex_item.hidden (35, R.FAC_DESC)||
    apex_item.text (36, R.EFR, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Efr"', 'f36_' || LPAD (ROWNUM, 4, '0')) EFR,
    apex_item.hidden (37,R.EFR_DESC) ||
    case when
    get_PK_status(R.PK) IN ('Edited','Reviewed','Approved') and
    :P2_Role = 'EDITOR' then
    apex_item.text (38, R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when
    nvl(get_PK_status(R.PK),'X') not in ('Edited','Reviewed','Approved') and
    :P2_Role = 'EDITOR' then
    apex_item.text (38,R.RQMT,
    80, 100,
    'style="border:1.3px solid black;width:75px;text-align:right;'
    || 'color:darkblue;font-weight:bold title="Requirement"',
    'f38_' || LPAD (ROWNUM, 4,'0'))
    when
    get_PK_status(R.PK) IN ('Edited','Reviewed','Approved','Disapproved') and
    :P2_Role = 'REVIEWER' then
    apex_item.text (38,R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when
    nvl(get_PK_status(R.PK),'X') NOT IN ('Edited') and
    :P2_Role = 'REVIEWER' then
    apex_item.text (38, R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) = 'Edited' and
    :P2_Role = 'REVIEWER' then
    apex_item.text (38, R.RQMT,80,100,
    'style="width:75px;text-align:right;'
    || 'color:darkblue;font-weight:bold title="Requirement"',
    'f38_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('Edited','Reviewed','Approved','Disapproved') and
    :P2_Role = 'APPROVER' then
    apex_item.text (38, R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when nvl(get_PK_status(R.PK),'X') NOT IN ('Reviewed') and
    :P2_Role = 'APPROVER' then
    apex_item.text (38, R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) = 'Reviewed' and
    :P2_Role = 'APPROVER' then
    apex_item.text (38,R.RQMT,80, 100,
    'style="width:75px;text-align:right;'
    || 'color:darkblue;font-weight:bold title="Requirement"',
    'f38_' || LPAD (ROWNUM, 4, '0'))
    end RQMT,
    case when get_PK_status(R.PK) = 'Edited' and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkred;background-color:yellow;font-weight:bold " readonly="readonly"title="Edited"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when nvl(get_PK_status(R.PK),'X') NOT IN ('Edited','Reviewed','Approved','NotReviewed','Disapproved') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkred;background-color:#FFF4BF;font-weight:bold " readonly="readonly"title="New Requirement"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('Reviewed') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkred;background-color:lime;font-weight:bold " readonly="readonly"title="Reviewed"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('Approved') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid black;background-color:#DAFFBF;font-weight:bold " readonly="readonly"title="Approved"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('Disapproved') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:SOLID black;background-color:RED;font-weight:bold " readonly="readonly"title="Not Approved"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('NotReviewed') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:SOLID black;background-color:orange;font-weight:bold " readonly="readonly"title="Not Reviewed"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    end NEW_RQMT,
    apex_item.text (40, RU.Status, 80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold " readonly="readonly"title="Status"', 'f40_' || LPAD (ROWNUM, 4, '0')) STATUS ,
    CASE WHEN (get_PK_status(R.PK) IN('Edited','Reviewed','NotReviewed') and :P2_Role = 'APPROVER') THEN APEX_ITEM.SELECT_LIST(41,'Approved','Approved;Approved,Disapproved;Disapproved','','title="This field is only for Reviewers and Approvers"')
    WHEN (get_PK_status(R.PK) = 'Edited' and :P2_Role = 'REVIEWER') THEN
    APEX_ITEM.SELECT_LIST(41,'Reviewed','Reviewed;Reviewed,NotReviewed;NotReviewed','','title="This field is only for Reviewers and Approvers"')
    ELSE
    APEX_ITEM.SELECT_LIST(41,'','','title="This field is only for Reviewers and Approvers"')
    END ACTION ,
    '<a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:3:&SESSION.::NO::P2_PK:'
    || R.PK
    || ''', 1200, 500);">'
    || '<img src="#APP_IMAGES#blue_book_open.gif" title="View Row History" >'
    || '</a>' History
    from rplans_sumtab R,
    (SELECT PK, RQMT, STATUS, DATE_CREATED FROM RPLANS_USER_SUMTAB R1
    WHERE DATE_CREATED = (SELECT MAX(DATE_CREATED) FROM RPLANS_USER_SUMTAB R2
    WHERE R2.PK = R1.PK)) RU
    WHERE R.PK = RU.PK(+)
    2.) The pagination I am using is:
    Row Ranges 1-15 16-30 (with set pagination)
    3)The table has only 1000 records.
    The report runs very fast when I don't use sorting, but when I use sorting, it becomes very slow.
    Thanks.

  • Does the Airport extreme provide any sort of usage reporting? Either per user or aggregate usage of the broadband port

    Does the Airport extreme provide any sort of usage reporting?  Either per user or aggregate usage of the broadband port

    No. You may be able to retrieve that information from your ISP.

  • Incorrect status in FM report for paid invoices

    hello,
    I'm working in ECC 6.0 with Former budgeting.
    I have several invoices which are created in 2008 but paid in 2009 or in 2010. There are then different fiscal year impacted. 
    When the invoices are paid, they don't have the value type Payment  - Amount type Paid in FM report (FMRP_RFFMEP1AX - All Postings). The invoices still have the status Invoices Original.
    As the invoices dont have the status Paid, they are carryforwarded to the next year.
    How can I correct that?
    When I use the transaction FMF0, the invoices are updated with the current year (2011) in FM report.
    And this is not correct.
    Is there any customizing to avoid the incorrect status of paid invoices in FM report?
    Thank you for your help,
    Kind regards,
    Chiachen

    Hello Chiachen
    Please, check your settings in t-code OF29: do you have the flag 'Deactivate check on fiscal year change' On? if you have this flag marked, this could be a reason why you are facing this issue.
    You can find good information in the F1 help of such field.
    In addition, please review note[400924 Recommendations and rules for the payment transfer in FM|https://service.sap.com/sap/support/notes/400924]
    cheers
    Mar

  • Sort on interactive Report fails

    Hello all,
    the sorting on a column is not working.
    I have an interactive Report, but Sorting by click on an column Header doesn't work. The "waiting image" appears but nothing else.
    Has anybody the same issue and may help me with a solution ?
    thanks
    Heinz

    Hello Heinz,
    I had the same issue and today I spent a while hiding all other regions on the page, removing all the conditions on the report display and I noticed that the Sort works just fine as soon as I removed the Request=Expression1 Condition.
    So, maybe this helps.
    Regards,
    Andrea

  • Sorting on two reports based on same table

    Hi,
    I have two reports on the same page, that show rows from a table.
    Each table has a different condition, so that there is no overlapping rows.
    The problem i have run into, is that i have enabled sort on the columns in both reports - there are instances when there are no rows shown in one of the reports.
    when i click on a column name to sort on that column, i get the error
    failed to parse SQL query:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    in the report that shows no values. i understand what the error means, but am having some trouble finding a way of solving it.
    any help would be much appreciated!

    Look here:
    Column sort gives "failed to parse SQL query"
    Denes Kubicek

  • Is it possible to sort an interactive report with a default column ?

    Hi,
    I have a nice request used with an interactive report.
    select "ID",
    "DATE_CREATION",
    "SERVICE",
    "RESPONSABLE",
    "NATURE_CONTRAT",
    "SOCIETE",
    "DATE_DEBUT",
    "DATE_FIN",
    "DELAI_RENOUVELLEMENT"
    from "#OWNER#"."CONTRATS_MAINTENANCE"
    order by DATE_FIN descUnfortunately, the interactive report does not displays using the order into the SLQ query.
    I tried to de select the "sort" option of each other columns into the Column attributes Section, but without any improvement. If I remove the order statement from the SQL query, nothing changes in the order.
    Do you have an idea on how to display the lines in the order of the sql query ?
    Thank you for your knid answers !
    Chrstian

    Christian,
    This can be a little tricky at first. Try this:
    1. Remove the order by clause from the query.
    2. Log out of the application, not the builder, just the application.
    3. Log back in and try using the options in the interactive report to sort the information.
    Does it work? If so:
    4. Get the order the way you would like it as the default. Note: you get more sort options if you use the Action Menu (grind wheel) and selecting Sort over just clicking the column headers.
    5. Save the report by selecting the Save Report option from the Action Menu. If you see a drop down, save the report as the "default".
    6. Log out of the application again and back in.
    Does it work?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Htmldb_item.date_popup and sort options in reports

    I use the htmldb_item.date_popup in a report (PLSQL returning SQL). Everything works fine unless I provide the option to sort columns. If I allow a column to be sorted, the date_popup does not return the date to the corresponding field but to another field of the same column. However, the users want to be able to sort the report due to several columns. Can anyone provide a work-around?
    The query is as follows:
    DECLARE
    statement VARCHAR2(32767);
    BEGIN
    statement := '
    select
    htmldb_item.checkbox(47, ID, ''onClick="javascript:doSubmit()"'', :P3_FREISTELLUNG_SELECTED, '':'') as CHECKBOX,
    htmldb_item.hidden(11,ID)||
    htmldb_item.hidden(12,ID_VERTRAG)||
    htmldb_item.date_popup(13,null,VON,''DD.MM.YYYY'',13,10) as BEGINN,
    htmldb_item.date_popup(14,null,BIS,''DD.MM.YYYY'',13,10) as ENDE,
    htmldb_item.date_popup(15,null,ERTEILT,''DD.MM.YYYY'',13,10) as ERTEILT,
    htmldb_item.select_list_from_lov(16,decode(FLAG_CANCELED,null,0,FLAG_CANCELED),''LOV_FREISTELLUNG_NULL'',null,''NO'') as FLAG_CANCELED,
    decode(FLAG_DELETED,1,''direkt gelöscht'',2,''indirekt gelöscht'',''aktiv'') as WERT_DELETED,
    htmldb_item.text(17,BEMERKUNG,20,4000) as BEMERKUNG
    from VERTRAG_FREISTELLUNG where ID_VERTRAG = :P3_KOPF_ID';
    if :P3_FREISTELLUNG_NEU = 2 then
    statement := statement||'
    union all
    select
    null as CHECKBOX,
    htmldb_item.hidden(11,null)||
    htmldb_item.hidden(12,null)||
    htmldb_item.date_popup(13,null,null,''DD.MM.YYYY'',13,10) as BEGINN,
    htmldb_item.date_popup(14,null,null,''DD.MM.YYYY'',13,10) as ENDE,
    htmldb_item.date_popup(15,null,null,''DD.MM.YYYY'',13,10) as ERTEILT,
    null as FLAG_CANCELED,
    null as WERT_DELETED,
    htmldb_item.text(17,null,20,4000) as BEMERKUNG
    from dual';
    end if;
    RETURN statement;
    END;
    PS: I know that the problem already has been discussed in the forum, but I did not find a solution for the problem.

    I have this issue as well with popup_from_query compunded with sorting.
    Wondering if there is any workaround from anyone ?

  • Use drag and drop to sort data in report

    Hello!
    I found a good description to sort data in a Tabular Form per drag and drop.

    Here is the url: Read Article - Drag &amp;amp; Drop tabular form rows
    It works fine if one follow the hint from Baki (For apex 4.2 one have to adapt a css class).
    Afterwards I tried the same with an Interactive Report. It nearly works.
    I once again had to adapt a css class.
    I used the
    apexir_WORKSHEET_DATA
    class instead of the
    uReportStandard
    in the JavaScript for the Interactive Report.
    Everything went fine. Except the "Save the Thing to the DB" issiu did not work.
    The following code do not work (the "APEX_APPLICATION.G_FROWID.COUNT" is allways 0):
    FOR i IN 1 .. APEX_APPLICATION.G_FROWID.COUNT 
    LOOP
    UPDATE emp SET sort_order = i WHERE rowid = APEX_APPLICATION.G_FROWID(i);
    END LOOP;
    Does anybody know why?
    Best thanks,
    Ilb

Maybe you are looking for

  • HP LaserJet P3005

    Need help trying to diagnose why printer stopped working.  I'm on a LAN at home but diagnostic utility unable to find printer - any ideas or suggestions?  Many thanks ~ cynth

  • 0FI_GL_14  - What is the latest Business Content Level

    Hi,      Can anyone tell me how to find out what the latest Business Content Level is where 0FI_GL_14 was updated? and if you could point me to that documentation it would be great help. Thanks!

  • ABAP Consumer Proxy. Not working?

    Hello I've created consumer proxy in ABAP. Configured logical port in SOAMANAGER. When I test call operation from this proxy I get "Call successful - Empty result" because it is async interface. But it seems that PI (which serves this service) doesn'

  • Database got too slow suddenly

    Hi All, I am new to DBA activities. Here, the development database suddenly got very slow after executing few update statements. Oracle Database version is 9.2.1.0 running on 32 bit windows. Its net size is around 5.5 GB. SGA allocation - 304 MB Netw

  • T582A Update Custom infotype information

    Hi experts,    I created custom infotype but the table T582A does not have my custom infotype IT9009  data. please let me know T582A is update manually Using maintenance view or it updates while creating infotype . Please send your Suggestions. Thank