Multiple locales problem ---labels display incorrectly

Hi, we get a problem as we try to get the internationalization support for our helpset. The Labels, for example, can not be correctly displayed if we change the language option in Internet Explorer from english to Italian. "Switch Books" would always be displayed as german language , also "index", "content"... But if we check cabo/images/cache directory, we can only find an "en" subdirectory, nothing else.
Is it necessary to configure some files to get this support? or its automaticlly supported? by the way we have included the ohw-2.0.1.0.jar file in WEB-INF/lib

It should be automatically supported. Some questions/comments:
1. Do you have a german locale helpset that matches the locale used by the browser? OHW will only change the UI if it can find a matching helpset. This is to ensure the helpset and UI are in the same language.
2. Second, you can force OHW to use a particular locale (with the condition above) by adding locale=en_US (or some other IANA code) as another request paramter. You can try this to make sure your browser settings were not incorrect the last time you tried.

Similar Messages

  • IPhone iTunes match problem, songs displaying incorrectly or not displaying at all

    I have an iPhone 4, and recently subscribed to iTunes Match.  The list of artists/songs/albums, etc. does not show my content correctly. Some songs aren't displayed even though they have been downloaded, and the alphabetical display is making no sense. 
    I have posted a screenshot:  http://junklogic.com/transfer/photo.PNG
    Despite the categories being alphabetical, you can see that artists under "U" are being displayed under "W" and "X". 
    I also downloaded some songs via the iTunes Purchased Music feature, and they downloaded, but are not displaying. Most recent purchases are not displaying.
    Does anyone have any insight as to what is going on? 
    Thanks.

    I thought my email from Apple would amuse, in it they imply I was unable to make it work. Not them. Note no apology whatsoever - it would imply guilt.
    They also threatened me with an effective year long ban if I get my money back. Here's the email:
    Hello David,
    I understand that you haven't been able to get Match working, so you'd like to see about receiving a refund. I can imagine you must be eager to get this sorted out. Edna wanted to make sure this gets resolved, so your case was escalated to me. My name is Adam and I'm an iTunes store senior advisor.
    Please keep in mind that if you cancel your iTunes Match subscription, you will no longer have access the Match features. In addition, if you receive a refund, you will not be able to subscribe to iTunes Match again until a year from the refund date.
    If you would still like to cancel, just reply to this email with the billing address and the last four digits of the credit card on the account. Upon receiving your response, Apple will verify your information, cancel your iTunes Match subscription and issue you a full refund. You will receive an email confirmation in regards to any refund.
    I'm looking forward to your reply and the chance to get this taken care of for you. Apple wants your iTunes experience to be as enjoyable as possible.
    Sincerely,
    Adam
    iTunes Store/Mac App Store Senior Advisor

  • Problem in displaying text inside the item label - JFREECHART

    Hi All,
    I dont know whether this is the right place or not to post the queries related to jfreechart here .
    I am facing a problem in displaying the text inside the item label in jfreeChart. I am trying to print the text in 2 lines one below the other at the top of each bar in waterfall chart.
    Please find the code below in next post. The problem i am facing is it is neglecting the new line character . If any one knows how to display the text one below the other please help me out .
    Thanks in advance .
    Regards,
    Diw

    i am facing the problem in pasting the complete code as its exceeds the message text limitiation, please find the link below for the code .
    http://www.java-forums.org/java-2d/12087-problem-displaying-text-inside-item-label-jfreechart.html#post36648
    Early response will be appreciated . Thanks in advance
    Regards,
    Diw
    Edited by: Diw on Sep 30, 2008 11:15 AM
    Edited by: Diw on Sep 30, 2008 11:16 AM

  • Problems with the images displaying incorrectly

    I have done a couple of installs before this of the new Apex 4 deployed on weblogic 10.3.3 with no problems but this one has "stuck a spanner in the works". I have also looked through the forums and was unable to find a solution to the problem I am seeing. I am about to start an SR if no one is able to help on the forums.
    This is my problem;
    I am able to view the individual images in the images directory via the http for e.g. http://hostname.domain:7001/apex/i/date.gif and this displays correctly.
    I am not able to view the http://hostname.domain:7001/apex/f?p=4550:1:2874725903020187 images as they are not displaying.
    In the troubleshooting section of the install guide it mentions;
    A.4 Images Displaying Incorrectly in Oracle Application Express
    If images in Oracle Application Express do not display correctly, you may have more than one definition of the /i/ alias. To address this issue:
    If possible, rename the first instance of /i/ to a different alias name.
    Alternatively, copy the images from the ORACLE_HOME\apex\images directory to the directory defined by the first /i/ alias.
    ** Firstly how do I "rename the first instance of /i/" (how do I find this out?)
    ** How do I "Alternatively, copy the images from the ORACLE_HOME\apex\images directory to the directory defined by the first /i/ alias".
    Thanks to all that reply.
    If any more detail is required please just ask.

    Hi,
    Url where you see image should be
    "http://hostname.domain:7001/i/date.gif"So /i/ should be in server root.
    Sorry , I'm not familiar Apex Listener and those servers you can use with it.
    It might good idea to post question to Apex Listener forum and give all details about server, database and Apex version
    ORDS, SODA & JSON in the Database
    Regards,
    Jari

  • No problem with this with my MacBook Pro or ipod Touch. My iphone keeps displaying incorrect password. All software is up to date.

    I am unable to sign-in to my iphone4 to make purchases or update apps. There is no problem with my MacBook Pro or ipod Touch when logging in to iTunes or Apple.com. My iphone keeps displaying incorrect password. All software is up to date. This very strange. Any suggestions how to resolve this problem as it is quite frustrating.

    Sig,
    Thanks for the advice. I finally tried a solution after doing nothing. LoL. What I did do was change the channel the router was on from 9 to 7. I think I've done something like this in the past when I had slow internet and that worked out well too. I thought that would help and so far so good. Not an interruption so far but we shall see. To the guy or girl who expressed that they had the same problem as me I would try changing the channel of your router like I did. I will monitor the situation and see if it totally solved my problem or not and keep this thread updated. Thanks people

  • Notification center label display problem

    Is anyone else having poor label display in Notification Center?  More importantly anyone have a solution?

    I don't think I did anything but it works now on all 4 sides.
    Very wierd.

  • Problem in display file in java applet embeded browser

    hi, i am facing problem to display the file from local drive in java applet embeded browser. here is the error message i get:
    Exception loading file from path:java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
    i think it should be the java security problem and i have try to get the solution from internet. i try to solve by using the fllowing method:
    keytool -genkey -keyalg rsa -alias yourkey
    keytool -export -alias yourkey -file yourcert.crt
    javac yourapplet.java
    jar cvf yourapplet.jar yourapplet.class
    jarsigner yourapplet.jar yourkey
    but the command prompt ask me to enter the keystore password. i try to enter any password. but i show me the error:
    keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect.
    So may i know what is the problem actually?Thanks a lot.

    Hi,
    here is the sample coding :
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import com.sun.j3d.utils.geometry.ColorCube;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.behaviors.mouse.MouseRotate;
    import com.sun.j3d.utils.behaviors.mouse.MouseZoom;
    import com.sun.j3d.utils.behaviors.mouse.MouseTranslate;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.net.URL;
    import java.net.MalformedURLException;
    import org.web3d.j3d.loaders.VRML97Loader;
    import com.sun.j3d.loaders.Scene;
    public class SimpleVrml extends Applet implements ActionListener {
    String           location;
    String           initLocation;
    Canvas3D     canvas;
    SimpleUniverse     universe;
    TransformGroup     vpTransGroup;
    VRML97Loader     loader;
    View          view;
    Panel          panel;
    Label          label;
    BranchGroup     sceneRoot;
    TransformGroup     examineGroup;
    BranchGroup     sceneGroup;
    BoundingSphere     sceneBounds;
    DirectionalLight     headLight;
    AmbientLight     ambLight;
    TextField      textField;
    Cursor          waitCursor;
    Cursor          handCursor;
    public SimpleVrml() {
    initLocation="cylinder.wrl";     
         setLayout(new BorderLayout());
         GraphicsConfiguration config =SimpleUniverse.getPreferredConfiguration();     
         setLayout(new BorderLayout());
         canvas = new Canvas3D(config);
         add("Center",canvas);
         panel = new Panel();
         panel.setLayout(new FlowLayout(FlowLayout.LEFT));
         textField = new TextField(initLocation,60);     
         textField.addActionListener(this);
         label = new Label("Location:");
         panel.add(label);
         panel.add(textField);
         add("North",panel);
         waitCursor = new Cursor(Cursor.WAIT_CURSOR);
         handCursor = new Cursor(Cursor.HAND_CURSOR);
         universe = new SimpleUniverse(canvas);
         ViewingPlatform viewingPlatform = universe.getViewingPlatform();
         vpTransGroup = viewingPlatform.getViewPlatformTransform();
         Viewer viewer = universe.getViewer();
         view = viewer.getView();
         setupBehavior();
         loader = new VRML97Loader();
         gotoLocation(initLocation);
    public void actionPerformed(ActionEvent ae) {
         gotoLocation(textField.getText());
    void gotoLocation(String location) {
         canvas.setCursor(waitCursor);
         if (sceneGroup != null) {
         sceneGroup.detach();
         Scene scene = null;
         try {
         URL loadUrl = new URL(location);
         try {
              // load the scene
              scene = loader.load(new URL(location));
         } catch (Exception e) {
              System.out.println("Exception loading URL:" + e);
         } catch (MalformedURLException badUrl) {
         // location may be a path name     
         try {
              // load the scene
              scene = loader.load(location);
         } catch (Exception e) {
              System.out.println("Exception loading file from path:" + e);
         if (scene != null) {
         // get the scene group
         sceneGroup = scene.getSceneGroup();
         sceneGroup.setCapability(BranchGroup.ALLOW_DETACH);
         sceneGroup.setCapability(BranchGroup.ALLOW_BOUNDS_READ);
         // add the scene group to the scene
         examineGroup.addChild(sceneGroup);
         // now that the scene group is "live" we can inquire the bounds
         sceneBounds = (BoundingSphere)sceneGroup.getBounds();
         // set up a viewpoint to include the bounds
         setViewpoint();
         canvas.setCursor(handCursor);
    void setViewpoint() {
         Transform3D viewTrans = new Transform3D();
         Transform3D eyeTrans = new Transform3D();
         // point the view at the center of the object
         Point3d center = new Point3d();
         sceneBounds.getCenter(center);
         double radius = sceneBounds.getRadius();
         Vector3d temp = new Vector3d(center);
         viewTrans.set(temp);
         // pull the eye back far enough to see the whole object
         double eyeDist = 1.4*radius / Math.tan(view.getFieldOfView() / 2.0);
         temp.x = 0.0;
         temp.y = 0.0;
         temp.z = eyeDist;
         eyeTrans.set(temp);
         viewTrans.mul(eyeTrans);
         // set the view transform
         vpTransGroup.setTransform(viewTrans);
    private void setupBehavior() {
         sceneRoot = new BranchGroup();
         examineGroup = new TransformGroup();
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_EXTEND);
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
         examineGroup.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
         examineGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
         examineGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
         sceneRoot.addChild(examineGroup);
         BoundingSphere behaviorBounds = new BoundingSphere(new Point3d(),
              Double.MAX_VALUE);
         MouseRotate mr = new MouseRotate();
         mr.setTransformGroup(examineGroup);
         mr.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mr);
         MouseTranslate mt = new MouseTranslate();
         mt.setTransformGroup(examineGroup);
         mt.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mt);
         MouseZoom mz = new MouseZoom();
         mz.setTransformGroup(examineGroup);
         mz.setSchedulingBounds(behaviorBounds);
         sceneRoot.addChild(mz);
         BoundingSphere lightBounds =
         new BoundingSphere(new Point3d(), Double.MAX_VALUE);
    ambLight = new AmbientLight(true, new Color3f(1.0f, 1.0f, 1.0f));
    ambLight.setInfluencingBounds(lightBounds);
    ambLight.setCapability(Light.ALLOW_STATE_WRITE);
    sceneRoot.addChild(ambLight);
    headLight = new DirectionalLight();
    headLight.setCapability(Light.ALLOW_STATE_WRITE);
    headLight.setInfluencingBounds(lightBounds);
    sceneRoot.addChild(headLight);
         universe.addBranchGraph(sceneRoot);
    public static void main(String[] args) {
    new MainFrame(new SimpleVrml(), 780, 780);
    cylinder.wrl :
    #VRML V2.0 utf8
    # A cylinder
    Shape {
    appearance Appearance {
    material Material { }
    geometry Cylinder {
    height 2.0
    radius 1.5
    view.html:
    <html>
    <applet code="SimpleVrml.class" width=600 height=600>
    </applet>
    </html>
    error msg that i get :
    Exception loading file from path:java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
    i can display the wrl file in applet itself but i can't display in the browser.is it any problem with my code?Urgent, please help me. Thanks.

  • Why does flash site display incorrectly when i have Flash Professional installed?

    It appears that if I have Flash Professional installed or even Flash Professional CC, my Flash web site displays incorrectly in IE 10/9/8 and various versions of Firefox. This replicates on multiple computers, Windows 7, Windows 8 and has been an issue for 2+ years. On those same computers I can create virtual PCs, install FF and IE and view my site w/o problems and on many other computers it displays correctly. Design elements that should only be visible in the application are displayed in the browser when I have the apps installd. The first image is WIndows 7 running in virtual computer with IE9, the 2nd one is from the host computer using IE9. Any help will be appreciated.

    Hello and thanks.
    www.jimlanders.com
    It’s an embedded swf file:
                                                                <!>>
                                                                <!<![endif]>
                                                                               http://www.adobe.com/go/getflash
                                                                               </a>
                                                                <!>>
                                                                </object>
                                                                <!<![endif]>
                                                 </object>
      </div>
    </div>
    </body>
    </html

  • Exception Aggregation (Average) displaying incorrect values after EHP1 Upgr

    Hi All,
    Exception Aggregation (Average) displaying incorrect values after EHP1 Upgrade in our BW system
    We have recently upgraded the system to EHP1. After the upgrade some of the queries where we are using Exception Aggregation (Average) started giving the incorrect values.
    Eg. We are displaying three Key Figures KF1, KF2 and KF3 (=KF1 %A KF2) against Store Hierarchy. In KF3 we are using Exception Aggregation (Average) on a characteristic 0PLANT.
    There are 14 rows against 0PLANT and out of those 2 rows are blank for KF1, so for KF3. When it is calculating the average of these key figures its dividing the total value by 12 instead of 14 which is not correct in our case. Earlier it was dividing the total by 14.       
    So in this case 'Average' and "Average of all values <>0" are behaving the same way.
    Kindly provide some inputs on this.
    Best Regards,
    Sachin Verma
    +44 7506740018

    Hi,
    Thanks for viewing the thread. And happy to let you know that the issue was resolved.
    The solution was:
    Two formulas (local) were created, one including the formula variable with replacement path for ZD1, with exception aggregation on ZD1, and the other with formula variable with replacement path for ZD2, with exception aggregation on ZD2. Both these formulas are hidden.
    Another formula (local) was created for u2018time takenu2019 = formula with ZD1 u2013 formula with ZD2, with exception aggregation total on u2018ZDOCNOu2019.
    For the second instance, when one requires exception aggregation on records that has multiple values for keys, a nesting of formulas can be done displaying only the ones required.
    For e.g. a formula with exception aggregation on say characteristic u2018item no.u2019 can be hidden, and included in another formula for exception aggregation on characteristic u2018document no.u2019. This is a typical case where one can achieve calculation before aggregation for a calculated key figure, formula or a counter.
    Hope it might help someone, and saves time and effort for a similar issue posted.
    Also would like to keep this thread open for exploring better solutions.   
    Regards,
    Vijay

  • OHW & multiple locales

    I have some questions regarding OHW and how to support multiple locales. Our product is internationalized and also localized in several languages and has helpsets for each of these locales. These helpsets contain the same topics and content for all the locales. For example, when the user running under the French locale selects a help topic, we want OHW to display the French helpset for that help topic. The "Deploying OHW in Apache tomcat" says to put your helpset files under the directory jakarta-tomcat/webapps/ohw/helpsets, and create a ohwconfig.xml file to point to those helpsets. As well, OHW automatically uses the default Java locale and default encoding when using these helpsets. Since our product uses the default Java locale, the ohwconfig.xml file does not need to include a <localeSettings> element.
    How do you set up the helpsets directory and the ohwconfig.xml so that OHW selects the correct helpset to go with the Java locale? Is there an individual ohwconfig.xml for each locale, or can I have all the helpsets listed in one ohwconfig.xml file? If there are any examples or guidelines available on how to set this up, that would be great.
    thanks,
    Elizabeth Dyer.

    I have another solution to handle your problem:
    instead of using different WARs for every locale you can put all different
    HelpSets in own directories inside one single WAR. You only have to define
    a different mapping of the servlet for every locale you need inside web.xml.
    Here is the code of web.xml (for WebSphere) to show how it works:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app id="WebApp_1">
         <servlet id="Servlet_1">
              <servlet-name>OHW_DE</servlet-name>
              <servlet-class>oracle.help.OHW</servlet-class>
              <init-param id="InitParam_1">
                   <param-name>configFileName</param-name>
                   <param-value>/helpsets/ohwconfig_de.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet id="Servlet_2">
              <servlet-name>OHW_EN</servlet-name>
              <servlet-class>oracle.help.OHW</servlet-class>
              <init-param id="InitParam_2">
                   <param-name>configFileName</param-name>
                   <param-value>/helpsets/ohwconfig_en.xml</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
         </servlet>
         <servlet-mapping id="ServletMapping_1">
              <servlet-name>OHW_DE</servlet-name>
              <url-pattern>/help_de/*</url-pattern>
         </servlet-mapping>
         <servlet-mapping id="ServletMapping_2">
              <servlet-name>OHW_EN</servlet-name>
              <url-pattern>/help_en/*</url-pattern>
         </servlet-mapping>
    </web-app>
    As you can see above you need to define different ohwconfig_XX.xml-Files
    for every locale.
    Hope this helps a little bit.
    Greetings,
    Thomas

  • Problem with display of Buttons in ADF

    Hi All,
    I had a strange problem in display of the ADF Page in one of the server.I had two buttons inside ToolBars, The UI was coming fine in the two WLS, But when I deployed the application in third WLS, I was seeing that Buttons are coming in the top of screen,
    Kindly let me know as to why Iam not to replicate the issue in my earlier WLS.Please find my code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:panelStretchLayout id="psl1">
    <f:facet name="center">
    <af:panelGroupLayout id="pgl1">
    <af:panelBox text="Service Request#: #{bindings.srNumber.inputValue}" id="pb1">
    <af:spacer width="10" height="10" id="s1"/>
    <af:outputText value="Service Request#: #{bindings.srNumber.inputValue}"
    id="ot18" inlineStyle="font-weight:bold;"
    rendered="false"/>
    <af:spacer width="15" height="10" id="s2"/>
    <af:separator id="s3" rendered="false"/>
    <af:panelFormLayout id="pfl1">
    <af:inputText value="#{bindings.subject.inputValue}" label="Summary"
    required="true" columns="100" maximumLength="100" id="it3" showRequired="true">
    <f:validator binding="#{bindings.subject.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.description.inputValue}"
    label="Description" required="true" columns="100"
    maximumLength="1999" id="it2"
    rows="7" showRequired="true">
    <f:validator binding="#{bindings.description.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:separator id="s4" rendered="false"/>
    </af:panelBox>
    <af:toolbar id="tb1">
    <af:group id="g1">
    <af:commandButton text="#{pageFlowScope.MySRBean.reopenSrBackButtonLabel}" id="cb2"
    action="backtodetails" accessKey="G"
    immediate="true" inlineStyle="border-style:outset; border-width:medium; outline-color:Gray;"/>
    <af:commandButton text="#{pageFlowScope.MySRBean.reopenSrConfirmReopenButtonLabel}" id="cb3"
    action="success"
    actionListener="#{pageFlowScope.MySRBean.reOpenSR}"
    accessKey="C" inlineStyle="border-style:outset; border-width:medium; outline-color:Gray;"/>
    </af:group>
    </af:toolbar>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </jsp:root>
    thanks
    Krishnaveni

    User, please always tell us your jdev version.
    The interesting part is what you did not tell us.
    Kindly let me know as to why Iam not to replicate the issue in my earlier WLS.Please find my code means hte code has once run OK and now after you did some changes doesn't any longer. Querstion: what did you change, not oly to the code but to the environment.
    Timo

  • Storage values under about this mac displaying incorrectly, but amount of space used IS correct. Any ideas?

    I noticed recently that the "storage" under "about this mac" is displaying incorrectly. It doesn't show the correct values for my photos, videos, and audio files. It classifies this data under "other". I have been searching all over the internet, I went to the Apple genius bar yesterday and they recommended I re-install OSX. I did and it still shows up incorrectly. They were baffled, said they never really came across this issue. I have tried re-indexing spotlight, that didn't seem to help.
    The amount of storage used IS correct. It just doesn't show up under the correct categories in storage, under about this mac. Also, the computer seems to work fine. No real issues. It's a mid 2012 MBP. 500gb hard drive. Most recent OSX is installed.
    I DO NOT think it is local snapshots, cause my backups category is small and the amount of space used and free is correct. I have downloaded omnidisk sweeper to confirm this.
    I have seen a few posts on here and around the web referring to this, but no real answers. I have also reviewed Pondini's info on this to no avail.
    Does anyone have any ideas?!?!

    Also,
    I had installed a version of parallels with windows 7, but deleted it. Would parallels be causing my computer to index incorrectly? I I used appcleaner to delete all the parallels files so I do not have it anymore.

  • Some character display incorrect after unicode conversion

    Dear Experts,
    Currently we upgrade our SAP system from 4.6B NU to ECC6.0 UN.
    in 4.6B system we had implemented Simple Chinese and French language package to the system. after upgrade to ECC6.0 no-unicode system. we perform a MDMP unicode conversion.currently system running with ECC6.0 unicode interface with language 1EFD. SUMG releated tasks had been finished. Chinese and French language checked OK in ECC6 UN system.
    Our issue is. in the past time. some Spanish local end user typing some spanish character in some master date field when they login in 4.6B GUI choice english as login language.these kind of spanish characters could not display correct in current unicode environment.
    could you please given us some suggestion for how to fix this issue.
    I also sent this message in the Netweaver administrator forums with below links.
    Spanish display incorrect after unicode conversion

    Hello,
    I doubt that the data shown by you in the link was caused by Spanish users logged on in EN.
    I think this was rather caused by utf-8 data uploaded into the Non-Unicode system.
    In this case, you need to repair the according texts manually, I do not know any automatic repair.
    Best regards,
    Nils Buerckel
    SAP AG

  • Problem while displaying top of page in list display

    Hi,
    M facing problem in displaying top of page in list .
    M using following methods:-
    lr_outer_grid TYPE REF TO cl_salv_form_layout_grid,
    lr_inner_grid TYPE REF TO cl_salv_form_layout_grid,
    lr_label TYPE REF TO cl_salv_form_label,
    lr_text TYPE REF TO cl_salv_form_text.
    For displaying the top of page m using event TOP_OF_PAGE.
      CREATE OBJECT lr_outer_grid.
    *Outer grid
      lr_inner_grid = lr_outer_grid->create_grid(
      row = 1
      column = 1 ).
    *... create lable information in inner_grid
    User ID
      lr_label = lr_inner_grid->create_label(
      row = 1
      column = 1
      text = text-h03 ).
    *... create text information in inner_grid
      lr_text = lr_inner_grid->create_text(
      row = 1
      column = 2
      text = sy-uname ).
    *... set label for text
      lr_label->set_label_for( lr_text ).
    But while m going to do same coding for second parameter its not intializing length so adding extra spaces while displaying second row.
    e.g
    USERID       abcdefghjik
    PLANT         jhk            to hjk
    I want that output should look like
    USERID      abcdefghjik
    PLANT        jhk to hjk
    Please tell me the solution what should i do for avoiding extra space

    Hi Neelema,
    You could try this sample code.
    [http://sap-img.com/fu037.htm]
    [http://sap-img.com/abap/sample-alv-heading-in-alv.htm]
    Regards,
    Amit.

  • Problem with displaying chart data

    Hello everybody,
    I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
    with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
    to show the result. The second column of the grid is for february and the third for march.
    Could anybody help me with this problem. Thanks in advance.
    Thomas

    Hi Chris,
    thanks for your reply. Here you get the source code:
    The following method creates the LineChart:
            public function init():void
                model.upperChart = this;
                model.upperChartStyle.setChartViewStyle(this);
                this.hAxis = new MyDateTimeAxis();
                model.upperChartData.configureHAxis(this.hAxis);
                this.vAxis = new LinearAxis();
                model.upperChartData.configureVAxis(this.vAxis);           
                this.vAxisTitle = new Label();
                this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
                model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
                this.vAxisTitle.x = 10
                this.vAxisTitle.y = 0;
                this.addChild(this.vAxisTitle);
                this.myChart = new CartesianChart();
                //remove default datatip
                this.myChart.showDataTips = false;
                this.myChart.x = 10;
                this.myChart.y = 0;
                this.myChart.width = 768; 
                this.myChart.height = 196;
                model.upperChartStyle.setChartStyle(this.myChart);
                this.addChild(this.myChart);
                //Remove line shadow
                this.myChart.seriesFilters = null;
                this.myChart.horizontalAxis = this.hAxis;
                this.myChart.verticalAxis = this.vAxis;
                this.hAxisRenderer = new AxisRenderer();
                model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
                this.hAxisRenderer.axis = this.hAxis;        
                model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
                this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
                this.vAxisRenderer = new AxisRenderer();
                model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
                this.vAxisRenderer.axis = this.vAxis;
                model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
                this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
                model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
                this.addChild(this.vAxisMinLabel);   
                model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);           
                this.myChart.dataProvider = model.upperChartData.dataProvider;
                this.myChart.series = model.upperChartData.series;
    The data for dataprovider and series you can see in attached file dataprovider.xml.
    xfield is equivalent to timestamp
    yfield is equivalent to absolute
    I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
            public function configureHAxis(axis:MyDateTimeAxis):void
                axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
                axis.dataUnits = "days";
                axis.dataInterval = 1;
                axis.title = "";
                axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
                axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
    And finally you get the function, that I'm using for string to date conversion:
            public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
                var result:Date = new Date();
                var year:Number = Number(input.substring(0,4));
                var month:Number = Number(input.substring(5,7));
                var date:Number = Number(input.substring(8,10));
                var hours:Number = Number(input.substring(11,13));
                var minutes:Number = Number(input.substring(14,16));
                var seconds:Number = Number(input.substring(17,19));           
                result.setUTCFullYear(year);
                result.setUTCMonth(month-1);
                result.setUTCDate(date);
                result.setUTCHours(hours);
                result.setUTCMinutes(minutes);
                result.setUTCSeconds(seconds);
                return result;           
    I hope that will help to locate the reason for the wrong chart visualization.
    Thanks for any help.

Maybe you are looking for