Vertical Elasticity on Field is not working when the data contains - in it.

Hi,
I have a report which has to print a large invoice number(around 30 characters) per invoice line, but I got only space for 12-14 characters, so I have set the vertical elasticity property of the field to Expand which makes the data to wrap to the next line.
But if the data contains any '-' character in it, the data wraps to the next line even though there is enough space on the current line.
Sample outputs:
When the vertical elasticity is set to Expand
<p>
Invoice Number Invoice Description
123456789023 First Invoice on first line
345678957694
347634763476
12345678-     Second Invoice but the number gets wrapped because of the hyphen
345734573476
569456573456
When the vertical elasticity is set to Fixed
Invoice Number Invoice Description
123456789023 First Invoice on first line
12345678-345     Second Invoice but the number does not get wrapped after hyphen
</p>
Is it a bug on reports editor, how do I avoid this?
I would like to see the output like the following,
Invoice Number Invoice Description
123456789023 First Invoice on first line
345678957694
347634763476
12345678-345     Second Invoice number with correct format.
734573476569
456573456
PS: The version of the Report Builder is 10.1.2.0.2
Thanks in Advance,
Senthil

It looks as if the logic that Oracle Reports uses to determine where to break the line is interpreting the "-" character differently from other characters. This is probably because it is used (at least in English) to break words at the end of a line (see http://en.wikipedia.org/wiki/Hyphen#Justification_and_line-wrapping).
One workaround might be to replace "-" character with another character (or more) that looks the same (or similar), but that Oracle Reports does not interpret differently from other characters. For me (on Windows), CHR(173) seems to work. However, whether or not it works for you will depend on whatever character set(s) you're using. The same goes for the Unicode characters like U+2010 (hyphen), U+2011 (non-breaking hyphen), and U+2212 (minus).
For example, in your data model, you might try replacing your current invoice number column with an expression that looks something like this:
REPLACE(YOUR_INVOICE_NUMBER_COLUMN, '-', CHR(173))
Hope this helps.

Similar Messages

  • PortalPath for Mydashboard is not working when the username contains a "/"

    Hi,
    Our OBIEE application is integrated with a java web application. We are providing links to the dashboards, Mydashboard, Answers and Administration using java and passing the credentials and portal paths to OBIEE using java.
    Every other link is working fine, except the Mydahsboard link. When an username contains a "/" (Ex: xyz/adc.admin), then the mydashboard link is thorwing a path not found exception.
    We tried escaping the user name, encoding the username. Nothing worked.
    Finally removed the portal path from the URL and it is working fine, but lead to another problem.
    The other problem is that, if the user clicks the Mydashboard link and then Dashboard link and again mydashboard link, then the dashboard is coming up, but not the mydashboard.
    As we have removed the portalpath from the url, I guess the portal path of the dashboard is getting cached somewhere and it is being used even for the mydashboard.
    Any ideas, how to get this worked would be appreciated!!
    Thanks!!
    Vasantha.P

    Why do you need user names with /? If this is due to SSO try using the stripWindowsDomain option in your SSO configuration. See this post:
    http://www.clearpeaks.com/blog/oracle-bi-ee/configuring-obiee-to-work-in-single-sign-on-sso-environment-on-iis
    Otherwise you are going to have to convert it to something else or you will have plenty of problems in OBIEE. We ended up replacing it by "_" (underscore) and that worked fine for us.

  • Why does the alarm not work when the iphone 4 is turned off

    why does the alarm not work when the iphone 4 for is  turned  off works fine when on most other phones work when off

    The only phone I've ever had that would turn on and sound the alarm is a Blackberry. So, I'd hardly say "most phones" have this function.

  • Cascading LOV not working when the page is public

    Hi ,
    I have a cascading LOV in a tabular form which I have built using Denes Kubicek example from
    http://apex.oracle.com/pls/otn/f?p=31517:176:2702932664861989:::::
    Thanks to this wonderful examle I was able to make my cascading lov work.
    However when I make the page public , the second lov(which is based on the first one) does not work.
    Inorder to debug i changed get.get('XML') to get.get() and put an alert on it; to check if the select list string is being returned correctly by the application process - it returns null. The same alert returns the select list string when I put the authentication back on the page.
    Also I noticed when the page is public the application item (TAB_CASCADING_ITEM) is not getting populated with the value of the first select list.
    has anybody encountered the same issue ?
    Appreciate any suggestions?
    Thanks,
    Dippy

    One of the parameters in the htmldb_get is the page the process runs on. You should change that to the current page or make page 0 public as well.

  • Rollback is not working when "The server threw an exception" error

    Hi
    These are my transaction steps
    1) Call the StartTransaction method of the company object (Function AA)
    2) Add  Goods Issue (Rollback if error occurs) (Function BB)
    3) Create record with oRecordSet object (Rollback if error occurs) (Function BB)
    4) Add Journal Entry (Rollback if error occurs) (Function CC)
    5) Add Goods Receipt (Rollback if error occurs) (Function DD)
    6) Create record with oRecordSet object (Rollback if error occurs) (Function DD)
    7) Call EndTransaction (with commit) to complete the whole process (Function AA)
    These are working fine usually.
    But problem is when user has "The server threw exception" error message.
    Whole transaction must be rollback but still step 2 and 3 records are exist on DB.
    Rollback is working fine with another error messages.
    I programmed call Rollback transaction if calling function has any error.
    Function BB, CC and DD are calling from Function AA.
    I never have "The server threw an exception" error on my development machine with B1 2005 PL 51.
    This is happened only  LIVE server with B1 2005 PL 51.
    B1 was upgraded from PL29 to PL51 recently becaseu of Locking issue.
    Then Locking issue was solved but have "The server threw an exception" error and rollback is not working properly.
    I hope someone can help me!!!!.
    Thank you
    2) & 3) steps

    Hi Joanne,
    There are 2 things to check here.
    1. is the Transaction
    2. is the RPC_E_SERVERFAULT.
    for the first one,
    in step 2, just before you add the Good Issue, can you try to check first if you are still in a transaction ?
    Just to make sure.
    If it is, maybe you should open a ticket to SAP support.
    BTW, Which version is your Live environment ?
    for the second one,
    try to search the error in this forum. there is a lot of posting about this.
    The problem might also go away if you upgraded your SBO.
    Please search and see if there is anything the same with your problem.
    Regards
    Edy

  • LED for accessibility notifications does not work when the flash is turned off for the camera, LED for accessibility notifications does not work when the flash is turned off for the camera

    I use the LED notifications and the notifications weren't working. I found out when I had the flash off in the camera app, my LED notifications did not work.

    OK... so turn it on?

  • [Forum FAQ] Group Policy Preferences Scheduled Tasks Item not working when the option Run whether user is logged on or not is selected

    Scenario:
    We use one of the following Group Policy Preferences Scheduled Tasks item to deploy a task to clients:
    Computer Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7)
    Computer Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Immediate Task (At least Windows 7)
    User Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Scheduled Task (At least Windows 7)
    User Configuration -> Control Panel Settings -> Scheduled Tasks -> New -> Immediate Task (At least Windows 7)
    (Note that on some platforms, "At least Windows 7" is replaced with "Windows Vista and later.")
    After designating a user account to run the task, we select “Run whether user is logged on or not” option, and “The Do not store password…”
    check box is automatically grayed out (See Figure 1).
    Figure 1
    After finishing configuring the task item, on a client, we run command
    gpupdate/force to forcefully update group policy. However, on the client, when we check if the task is listed in Task Scheduler snap-in, the task is not displayed, and when we run
    gpresult/h report.html to collect group policy result for troubleshooting, we see an error as similar as shown in the following figure (Figure 2).
    Figure 2
    Cause:
    To make the scheduled task run whether the user is logged on or not, we need to store the password of the designated user account. However, for the content of the scheduled
    task item is stored in Sysvol where it’s not safe to store passwords, this function has been deprecated.
    Workaround:
    We can run the task with system account
    NT Authority\System, or we can use specific user accounts to run the task when the given user is logged on. (See Figure 3)
    Figure 3
    Reference:
    MS14-025: Vulnerability in Group Policy Preferences could allow elevation of privilege: May 13, 2014
    http://support.microsoft.com/kb/2962486
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hello Everyone,
    Succeeded !!!!!!!
    Even i was struggling with this same Problem to execute a batch via Window scheduler and set the setting to "Run whether the user is logged in or not".
    I tried many time but the batch runs with " Run
    whether user is logged on" and not with "Run
    whether user is logged on or not".
    what i discovered is that there was one mapped drive
    path in my batch file which was not the complete path like y:/AR.qvw actually what i did i changed that map path to the complete path like \\servnamename\d$\AR.qvw and the batch executed successfully with the setting "Run
    whether user is logged on or not"
    The
    conclusion is that check the dependency of the script on external resources because when you check this option "Run
    whether user is logged on or not" It actually conflicts. This my discovery.
    If
    you have any question write me on [email protected]
    Thanks
    & Regards,
    Arun

  • Create_dynamic_table does not work when fieldcatalog table contains LVC_S_S

    I'm getting short-dump when creating dynamic internal table via CALL METHOD cl_alv_table_create=>create_dynamic_table. The fieldcatalog contains a component named LVC_S_STYL which populates fine when after call function LVC_FIELDCATALOG_MERGE but when this is passed to cl_alv_table_create=>create_dynamic_table it short dumps!
    Is it possible to pass the style catalog in this case, how? Below is my code.
    Structure of 'ZZ_ALV_FCAT' is WERKS type werks_d, DATE type datum, CELLTAB type LVC_S_STYL.
       CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
         EXPORTING
           i_structure_name             = 'ZZ_ALV_FCAT'
          CHANGING
            ct_fieldcat                  = lt_fieldcat.
        CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fieldcat
            i_length_in_byte          = ''
          IMPORTING
            ep_table                  = dy_table
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
        IF sy-subrc EQ 0.
          ASSIGN dy_table->* TO <dyn_table>.
        ELSE.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    <b>I'll be generously giving away points for any help!</b>
    Any idea anyone? I was thinking may be convert the HEX data to CHAR before creating the dynamic table then again convert the CHAR data back to HEX before I call SET_TABLE_FOR_FIRST_DISPLAY? In that case, how to convert Hex of a structure to CHAR and vice versa?
    Message was edited by:
            Sougata Chatterjee

    Hi
    I worote this code in my system (4.6C) and I got any dump:
    DATA: CT_FIELDCAT TYPE  LVC_T_FCAT.
    DATA: DY_TABLE TYPE REF TO DATA.
    FIELD-SYMBOLS: <TABLE> TYPE TABLE.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
      EXPORTING
    *   I_BUFFER_ACTIVE              =
        I_STRUCTURE_NAME             = 'ZLVC_S_STYL'
    *   I_CLIENT_NEVER_DISPLAY       = 'X'
    *   I_BYPASSING_BUFFER           =
      CHANGING
        CT_FIELDCAT                  = CT_FIELDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
          EXPORTING
            IT_FIELDCATALOG           = CT_FIELDCAT
    *       I_LENGTH_IN_BYTE          = ''
          IMPORTING
            EP_TABLE                  = DY_TABLE
          EXCEPTIONS
            GENERATE_SUBPOOL_DIR_FULL = 1
            OTHERS                    = 2.
    IF SY-SUBRC = 0.
      ASSIGN DY_TABLE->* TO <TABLE>.
      IF SY-SUBRC = 0.
      ENDIF.
    ENDIF.
    I've included the structure LVC_S_STYL in my structure ZLVC_S_STYL and then add some fields.
    But if I insert a field CELL like LVC_S_STYL, instead of to include it directly, I get the dump.
    So I believe it depends on how you've defined the structure in dictionary, because in the second case it seems the METHOD can't create the subroutine to create the dynamic table.
    It seems if it uses a complex structure where a field is a structure, the METHOD can't write a right defintion of an internal table based on the dictionary structure.
    In my system I saw the method try to create a subroutine where the interna table is defined in this way:
    DATA: STYLE TYPE ZLVC_S_STYL-STYLE. 
    instead of
    DATA: STYLE TYPE ZLVC_S_STYL-CELL-STYLE. 
    Max

  • Filter using "List" is not working when Exporting Data

    Hi All,
    We have built a BI publisher report with 10 different layouts, each layout is corresponds to one separate report. In one layout we have one table view and "List" tool bar to select the required data. When we select a particular value in the list, the report correctly displays data of the selected value. But when we export this data to an excel sheet, it downloads the entire data irrespective of the selected value into the excel. Is there any way to export only the selected data?
    E.g.
    Consider we have a list for Year which has 4 years as values.
    2008
    2009
    2010
    2011
    When we click on 2008, the report in interactive mode displays the values w.r.t 2008 but when we export it to excel, we see the data of all four years.
    Appreciate your support in advance.
    Thanks,
    Karthick

    Hello All,
    Anyone came across the above scenario? Please advise.
    Thanks.

  • Database Variant to Data.vi not working for the Date datatype with LV 8.2?

    I'm moving a large body of LV database code from LV 7.1 to 8.2 and find that the Database Variant to Data.vi is not working correctly when used with the Date datatype. It works fine with 8.0, and the common Variant to Data works also. Am I missing something? Thanks in advance for any assistance. Wes

    Thanks for the prompt reply Crystal,
    The data is stored in an Oracle database using the DATE type. I'm querying many rows along with other columns and converting each of the values as necessary for each column with the 'Database Variant to Data' vi. Only conversion to Timestamp is no longer working as of version 8.2. I recognize that plain Variant to Data works but I have many (100's) of VIs to change if that is the only solution (not the end of the world). Most often the dates are originally generated in the database using PL/SQL procedures calling SYSDATE which look like: 5/1/2006 11:56:26 AM (in TOAD anyway) which I then need to read into LV as type Timestamp.
    Regards, Wes.

  • Okay, so my baby brother had put my iphone in microwave and now it turns on only on the charger, the screen will not work and the date and time has changed, is there any way it can be fixed or how much it would cost

    okay so my brother had put my phone in microwave , it now only turns on on charger, the date and time cahnged, but it will not let me use the screen, is there anyway this can be fixed ?or how much it would cost.

    I would very much doubt that. The radition level inside a microwave is termendous. I am totally flabbergasted that there is much of it is still that much working.
    Allan

  • Problem with call to BAPI when the data contains spaces

    Hi everyone,
    I've a table in R3 that has 2 fields which is consulted via BAPI from XI. The Bapi call run correctly while the data don't contain spaces preffixed but when for example the data is ' A31' the BAPI call doesn't return nothing.
    The table structure is:
    CODE             DESCRIPTION
    values:
    ' A31'               'Desc A'
    'A30'                'Desc B'
    When I call the bapi with A30 value the Bapi return me Desc B, but when I try it with the value ' A31' the Bapi doesn't return any value.
    Could anyone help me?
    Thanks in advance

    >>The problem isn't the trim, because the bapi call must contain the spaces.
    Are you able to get expected results while testing the BAPI with data containing spaces?
    I have seen some cases where you get correct results when you test the RFC in SE 37, but the same data when passed from XI does not get the desired results. It was coz. when testing the RFC in R/3 some user exits are called and the data fets populated in the correct way. Check this.
    Regards,
    Jaishankar

  • Meaning only field does not work when querying

    Hi
    I am working with Designer 6i R4.11
    In my generated forms I have columns/fields based on "domains/lovs". The domain property "dynamic list" is set to yes and I have all my values in a cg_ref_codes table.
    Now when I am doing a query in my form and I use the lov-button of the "domain-field", the query will work fine. When I just type in the value in the field without using the lov, the query will always return all values.
    There is no trigger or code generated to fill in the database-column value in query-mode, so form a form builder point of view it makes sense.
    I have the impression this used to work years ago. Is there a property I didn't set or am I missing something?
    Thanks in advance for your help.
    Karine

    Seems to me that you need to set the display width to be wide enough for all possible meanings in the LOV, rather than wide enough for the field itself. But I may have misunderstood the question. or misremembered the answer - it has been a while.

  • Auto Lock/Unlock is not working when the iPad cover is closed or opened for iPad 4 with retina display after upgrading to ios7.

    As the title above, is there any solutions for that? I tried restarting my Ipad and i've double checked the auto lock/unlock button is on.

    I have the same problem also.  Restarting isn't helping and the auto lock/unlock button is on.  Plus a couple of time when I turn it on it is asking if I want to power off.  That is when I push the button on the front to wake it up.  Not the power button on top.  I have an IPAd 2. Worked fine before the update. 

  • 'Open New Windows In A New Tab' is not working when the popup is invoked by Flash

    I surf a lot of porn sites. And some of them invoke a popup if you click the play button of their Flash player. Even though I have FF set to 'Open New Window In A New Tab', this isn't working if a window is invoked by a Flash object. For example, if I want to watch porn clip on tnaflix<i></i>.com and click the Play button, then a popup window of livejasmin<i></i>.com comes up. But it doesn't open in a new tab. It opens in a new window, even though I've set the above mentioned option. This is very annoying. Please, fix it.

    Thanks for the responses and sorry for taking a while to get back. I have been looking around but not sure where is the "about: config page." When I click on Firefox "about" there is nothing to configure. What do I click on? TIA

Maybe you are looking for