Underscores in report results ie:  "__B"

Seems like something easy, but I have a web app and when I write and use a simple standard report, extracting data with the Microsoft SQL ODBC driver, I get data like "Los__bAngeles" or "New__BYork", etc....  How do I get the data out so that I get spaces, apostrophies, etc to show properly?  Is there a formating option?  I have tried the Format Field -> Text Interpretation -> HTML text.  This does not seem to make any difference.  Thx

Sorry Rick,
I missed the part about the Bs and Ps.
I'm not sure why the spaces are being replaced with __X but you might want to see what a 3rd party querying utility returns.
As well you might want to try a different connection method, ie. OLE DB instead of ODBC.
As for a formula you should be able to use the split function to split the string at the "__" and assign the elements to an array. Loop through each element of the array and replace the first character of each element with a space. As the split function will strip out the underscores the first character of each element (except possibly the first) would start with a p or a b and you can then use the replace function to enter in a space, ie. replace(array[x], left(array[x],1), ' ' )
As you are looping through each element assign the modified element to a string variable and then output the string variable
Edited by: Graham Cunningham on Jul 16, 2008 3:53 PM

Similar Messages

  • Delivering Report Results Via Email

    Does anyone out there know of a method to extract information from a report being run through BOE and move it into the subject line of the email message delivering the report results.  We would like to move information items such as invoice numbers into the email subject line.  
    If no such method exists, is there a third party product or add on to BOE that would allow this to happen?

    Hi Giuseppe,
    When you choose "Send by Email" as Output option in the Job properties screen, System will prompt you to specify the email address top which this report needs to be sent.
    The possible way to achieve this is to create multiple reports specific to each BP and then creating individual jobs for each BP with output pointing to the BP email address. You cannot let the system autoselect the email address to which it is going to send the report.
    Hope this helps.
    Regards,
    Hamsa

  • Passing report results parameters to different page

    Hi y'all,
    I was wondering how report results (results acquired by custom written sql query) can be passed to different pages?
    Can anyone help or provide me with a link which can point me to some documentation on this subject.
    Thanks,
    Cleo

    Cleo,
    Do you want the records fetched by the SQl query available in other pages inorder to use that as a source for processes in those pages ?
    One way is to define a collection in the SQL report page and fetch records into that collection on page load. Change the Report region to refer to the collection.
    For example, you have a SQL report based on the query
    SELECT 'a','b', 'c' from dualYou can have a Before header PLSQL process in that page that fetches these records into that collection
    BEGIN
      APEX_COLLECTION.TRUNCATE_COLLECTION ('REPORT_RECORDS');
      APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY (
          p_collection_name = > 'REPORT_RECORDS',
          p_query => q'!SELECT 'a','b', 'c' from dual!'
    END;Change the SQL report to
    select * from apex_collections WHERE collection_name = 'REPORT_RECORDS'In any page where you want to use the reports records , they would be available in the collection.

  • Colorize report results depending on sql selects

    Hy,
    is it possible to colorize report results depending on sql selects.
    For example: select id, name from db where name = 'frankfurt' or name = 'munic'
    All Results munic in red colour.
    Thanks
    Tom

    Hi,
    I have tried using the following in a decode statement of a Region report (type is SQL Query), and all it seems to do is form the HTML text as expected, but does not actually do what I want (i.e. display the field as red):-
    SELECT a_code, a_status, decode(a_fld,a_fld,'&ltfont color=&quotFF0000&quot&gt'||a_fld||'&lt/font&gt','other') "CA" from a_table
    What appears in the report is literally (I've put in single quotes in case this line is interpretted in the forum):
    '<font color="FF0000">1234</font>'
    I'm missing something - to force the HTML to be rendered as such. The field is displayed as a Standard Report Column, but it's just taking the decode search field as an ordinary piece of text. There's something that needs setting, but I can't find it - does anyone know?
    Thanks in advance
    Dave

  • Export Report Results

    How can the user export report results to an excel, csv or pdf document.
    Where can that option be added?
    Thanks in advance.

    You should have the following options at the bottom of each Report.
    Refresh - Printer Friendly- Download
    Amit

  • Report results displays only (*), no numeric values.

    Dear all,
    The report result only displays asterick (*), no numeric values. But the field in the result thus has numbers which can be seen in display at the top in the excel sheet. why?
    Do i need to make any changes in Query properties or something else??
    Please advise.

    Hi,
    You should be trying to work to different units of measure or different currency. If you do any calculation with two values which has different unit then the result will be so.
    use NODIM() of the keyfigure and do the calculation. create a formula and add NODIM to keyfigure, then you should be able to see values but you will not get the unit along with value.
    Else you should go for conversion of units to single one and then you can get both values and units.
    Hope this helps
    Regards
    Akhan

  • Report Result showing # and limited vlaues instead of complete values

    Hello,
    I have a strange problem. I am working in BW 2.0B and loading data into 2 cubes (IS and PLAN). Over these cubes, I have a Multicube and my report is built on this multicube. The columns in the Report result show me strange values. For example the field Disposition shows # whereas after checking the cube contents there are more than 100 numeric values. Another field Material number shows few values (hardly 4 records) whereas after checking cube contents, there are lot more values present. What could this be due to? Pls help.
    Thanks & <removed by moderator>,
    SD
    Edited by: Siegfried Szameitat on Jan 12, 2009 2:09 PM

    hi siggi,
    no. i have not used any restriction at all. I created a test report and placed only disposition in it. but it shows me just 1 record in the result.
    do i need to make some changes on the multicube?

  • Customization form at top of screen populate report results at bottom of screen????

    I'm not sure that I was clear on my other question.
    Is it possible to develop a customization form and its report on the same page?
    Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of the query form (the report results) to populate in the bottom of the Portal page. The customer desires this so they can still see what information they queried on to get the specified report results.
    Does anyone know a way to do this or has anyone successfully developed it?

    Hope this is the same as :-
    Re: Accesing Oracle Portal with hostname invalid

  • Customization Form at top populate Report Results at Bottom of Page??

    Is it possible to develop a customization form and its report on the same page?
    Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of the query form (the report results) to populate in the bottom of the Portal page. The customer desires this so they can still see what information they queried on to get the specified report results.
    Does anyone know a way to do this or has anyone successfully developed it?

    The customization form portlet would need to pass the parameter(s) to the other portlet. You may want to check out the parameter passing portlet samples in the PDK. The Smart Web Services Portlets work in a similar way too.
    If you want end users to show what their previously set parameters were, the customization portlet should read the previously passed parameters (along with the report portlet) and show them.
    You may also consider building a report using the wizards. Components can take parameters very easily through the Portal 9.0.2 (Oracle9iAS v2) page parameters feature.

  • Customization form at top populate Report Results at bottom of screen?

    Is it possible to develop a customization form and its report on the same page?
    Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of the query form (the report results) to populate in the bottom of the Portal page. The customer desires this so they can still see what information they queried on to get the specified report results.
    Does anyone know a way to do this or has anyone successfully developed it?

    Jamie,
    Search the Applications forum (sample code was posted there).
    http://forums.oracle.com/forums/message.jsp?id=472246
    Is it possible to develop a customization form and its report on the same page?
    Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of the query form (the report results) to populate in the bottom of the Portal page. The customer desires this so they can still see what information they queried on to get the specified report results.
    Does anyone know a way to do this or has anyone successfully developed it?

  • Bex Broadcasting:how to send BI report result to non BI users via abap prog

    Hi guru,
    We have 100 employees who must receive BI Report result by email via Bex broadcasting .
    We don't want to fill in the broadcast setting manually but via an abap program that will execute the boradcasting.
    Can you help me finding a program that can perform this task ?
    Thanks in adavnce

    Hi....
    You can use ABAP program RSRD_BORADCAST_STARTER with the variant value set to Broadcaster Technical Name.
    for more info : [Bex Broadcast creation user - best or common practice;
    Regards,
    Chintan

  • Report result with multiple queries

    Hi,
    I need to achieve a report result by using two different webi queries which are based on same universe.
    I can't merge the "City" information because they're detail objects. (Attribute of a nav. attr. in BEx).
    In the scenario below, if I remove City (Query1), KPI-2 can be displayed. However, I need to use both "City" detail from both queries.
    Any suggestions for this?
    City (Query1)  |  City (Query2)  |  KPI-1 (Query1)  |  KPI-2 (Query2)
      A                      A                 10                  20
    Thank you!

    Hi,
    try to  merge the common dimension object for both city1 and city2 dimension.then drag the merge dimension objects in the report with city1 and city2.and see data is coming or not.
    if data is coming then you can hide the common dimension object in the report.
    Thanks,
    Amit

  • Send report result to mobile phone

    Hi,
    Is it possible to send report result information to a mobile phone via SMS/text?
    Thanks,
    Milind

    For a complete mobile BW scenario check these docs
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d354ab90-0201-0010-5484-8fd287c30066
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/27ed0b95-0501-0010-63bb-dde7b5040910
    hope  it helps
    Andreas

  • How to show Report Result line breaked(or seprate) into Total AVG MAX MIN?

    Hi all,
    in my report i have report result line which give Total value of all charetristic lines,
    I required to show this Report result line breaked into 4 section one for Total, one for avg, one for max, one for min of that cheretristic lines value, OR if we can show 4 diffrent(Total, Avg,.... ) result lines in report.
    we can show one result line for Total or AVG or MAX OR MIN Eitherwise by setting keyfiguer result line property from calculate > calculate result as - Total or Max or Min or Avg, My requirement to show all together for singal Keyfiguer.
    Is there any work around for this OR enhancment of result line by user exit or by setting some where possibel?
    Regards,
    Dushyant.

    in last post output is scattered,
    I am getting output like this:
    characteristic(row).......................... KeyFig(column)
    Equipment 1...................................... 2 (outstanding notification value)
    Equipment 2...................................... 3
    Equipment 3 ......................................4
    Result Value ......................................9 (By default Total value of above 3 notification)
    My require output is:
    characteristic(row).......................... KeyFig(column)
    Equipment 1...................................... 2 (outstanding notification value)
    Equipment 2...................................... 3
    Equipment 3 ......................................4
    Result Value ......................................9 (By default Total value of above 3 notification)
    req additional row...........................3 (Average of above 3 equipment value).
    req additional row...........................4 (Max from above 3 equipment value).
    I require all single value row of equipment and its(equipment) result required as Total, Avg, Max simultaneously in row only, is there any work around.
    Regards,
    Dushyant.

  • Delete the reporting results from the workbook

    Hi,
    How telete the reporting results from the workbook  via the BEX menu functionality

    That functionality is not available in the Bex 7 Analyzer, just in the Bex 3.x functionality. To delete workbook results, we simply select the rows of data (but NOT the titles) and delete the rows in excel. Then save the workbook.
    If you delete the titles you will delete the analysis grid, and you will have to recreate it.
    You can also change the variable values, click "Cancel" and the workbook then shows no results for any query related field. However, this includes the navigation panes and text elements, which produces a rather blank looking workbook.

Maybe you are looking for

  • Problem while creating Logical System Connecting Portal to ECC (Backend)...

    Hi - I am trying to connect portal to ABAP so that from portal's iView i could access any ABAP T-Code (e.g. SE37). - Secondly, just wanted to let you know that i am not implementing SSO. - I used iView's SAP GUI Type = SAP GUI for HTML. I made follow

  • Auto selected G/L Account and COGS Account by CardCode then ItemGroup

    Hello, I am new to the community. I have been working on learning SAP B1 8.8 since the beginning of the year. So far its been a great time   I have been searching for a solution for method of having multiple G/L Accounts and COGS Accounts in Delivery

  • How to set a Pop-up message in Bex queries

    Hello all, I need to set a pop-up warning message to appear whenever users attempt to look up information for dates outside a criteria. I have created a variable in cmod with the following abap code.         IF ( year > sy-datum(4) ) OR ( year = sy-d

  • Oracle Backup and Recovery 101: where can I get more information?

    Hey everyone. I'm a pretty new Oracle DBA and backup and recovery is something I want to learn as much about as I can. I read a blog about "how to be a good DBA" and it really drove home the importance of backups. I know how important they are, I jus

  • Increase the Maximum Debuggers Limit

    Hi all,    Am trying to debugg a background job through SM50 But i get an error stating the maximum no debugging sessions crossed is there any way to increase this by any customization Regards Simin.R