The currency cannot be displayed in ALV if I choose a saved layout

I have a currency field in ALV, and I set the currency key for this field,
  gr_fieldcat-cfieldname = 'WAERS'.
  gr_fieldcat-datatype = 'CURR'.
  gr_fieldcat-ctabname = 'ITAB_RESULT'.
please see the following info:
step 0, the original amount is 13.45
step 1, run program, now display the amount correctly, 1.345
step 2, save the layout as 'layout1'
step 3, quit the program
step 4, run program again, now the amount is correct:1.345
step 5, choose the layout 'layout1'
step 6, now, the amount is incorrectly, it is 13.45
it seems the currency key doesn't work now. but I don't know why.
can anybody tell me the reason? thank you!!

Add in field catelog....
CLEAR gs_fcat.
  gs_fcat-fieldname = 'CURRENT'.
  gs_fcat-ref_table = 'ITAB_RESULT'.
  gs_fcat-coltext  = 'currency'.
  gs_fcat-seltext  = 'currency'.
  gs_fcat-col_pos = 1.
  gs_fcat-outputlen = 13.
gs_fcat-no_zero = abap_true.
gs_fcat-datatype    = 'CURR'.
  gs_fcat-do_sum = abap_true.
  APPEND gs_fcat TO  gt_fcat.
Message was edited by:
        Minal Nampalliwar

Similar Messages

  • Run report cause "The page cannot be displayed"  OR The connection with the

    Hello,
    1. Database oracle 10g R2 on windows 2003 server enterprise edition with SP2
    2. Application Server Oracle 10g R2 on Windows 2003 Server with SP2.
    Problem explanation
    one of our branch which is connected via leased line is unable to run some of the reports if the report have a little more
    data,
    one report i tried its size is almost 900k ( they are using the same line since last three month and they are
    able to run all reports before, bandwidth is 128k), if you run report browser search a little while
    for output then displayed "The page cannot be displayed" if you look at the report log it's finished successfully.
    I try to download the report rather opening in browser it reach to end of in downloading window at the end it display
    this message
    Internet explorer can not download getjobidxxx.xls from oracleaps.domain.com
    The connection with the server was reset.
    I want to mention one more thing there is a ISA server and firewall in between client and Server but its the same condition
    for
    head office client but they are able to run all report with out any error.
    any one have idea??
    Thanks and Regards,
    Khawar

    Hello,
    Thanks for reply, I have posted Service Request to Oracle Metalink and finally resolve the issue, they suggested me the following solution( a note has also been posted in Knowledge Base no. 871016.1 )
    Webcache KeepAlive timeout is reached. (The default value for KeepAlive timeout is 5 seconds)
    Increase the Keepalive time in webcache to a higher value
    **************EOF******************
    Thanks and Regards,
    Khawar

  • Upload huge file size: "The page cannot be displayed" browser

    What are precautions to be take for uploading a huge file
    I have an upload file operation in the web application. The web server is OC4J.
    //UploadForm.jsp
    <FORM NAME="InputForm" ACTION="UploadAction.jsp" METHOD="POST" enctype=multipart/form-data>
    <input type="file" name="fileName">
    </FORM>
    After I deploy the application to the web server, if I upload a small file size, it is fine.
    But if i upload huge data ,data is uploading but if any action button is clicked
    After 30 seconds, it has error "The page cannot be displayed" shown on the web browser.

    Hi All,
    I have a similar time out problem, it ll be great if some one provide a solution.
    The problem I'm facing is becasue of the time out setting in the proxy server which is 1.5 mins. The app server is sending Response properly but after some 2 mins or so because the processing is a bit complicated (3 API calls done intermittently for different validations).
    I cant request for change in proxy server time out setting. So I have to handle this with in my application.
    It will be greatful if anyone helps us out of this.
    Thanks
    Noufal

  • "The page cannot be displayed" error in RWB with IE6 on Windows XP SP2

    The following screens in the RWB give an error "The page cannot be displayed":
    - End-to-end monitoring
    - Alert Configuration
    - Alert Inbox
    My colleague who is on IE6 on Windows 2000 can display the pages. We have the same roles.
    I searched on SAP notes and in the XI forum but could not find any response to this issue yet.
    Any ideas?
    Thanks.
    Cedric

    Not really an answer for you, but I run SP2 with IE6 and have no problems.  Could be a problem with the host being defined for the Windows 2000 user, but not yourself.  Some RWB connections are internally using the Fully qualified domain name while others don't.  I know this was an issue with our adapter engine set-up at one point after we applied SP13.

  • EXTREMELY URGENT - the page cannot be displayed

    gurus,
    i'm facing following problem -
    1. user logs in portal
    2. clicks Navigator link
    3. clicks Applications link
    4. clicks Application APP_CUSTOMER
    5. clicks a dynamic page component in APP_CUSTOMER application and gets the following error -
    "the page cannot be displayed" and the browser location has the following url -
    "http://bdpinternet7/pls/portal30/PORTAL30.wwexp_api_engine.other_actions"
    pls reply on this, this is a major SHO STOPPER .... none of the developers are able to work with the applications.
    thanx

    Pls provide more information:
    1) Your portal Version.
    2) Is this reproducible in all the application that you create?
    Some probable solutions can be:
    1) Check if the Schema on which your application is based on exist.
    2) See if there are any INVALID packages in your portal schema
    3) Goto the "Manage" tab of the Dynamic Page and check if there is any "Edit" version created (If it is there
    then delete it).
    Pls tell if u r able to solve this or not.
    Thanx,
    Chetan.

  • The page cannot be displayed (message when

    Hi together,
    since a couple of weeks, I have the problem with the message above in subject. My Client tries to access a "news" document which is - so I think - created by XMLForms Builder. When he clicks on the link, he got the message "The page cannot be displayed. The page you are looking for is currently unavailable. ....".
    I have checked the IE option settings. Therefore, we have a PDF document with all required settings. I had also the same problem which has been fixed after I have made changes on my settings but that has no effect on my Client's PC.
    I need an urgent idea / solution how to fix that. Thanks for helps
    Cengiz

    If this is an XE installation it would probably be best addressed in the Oracle XE forum. Having said that, I had a similar problem on my Windoze machine and needed to uninstall all previous Oracle client products.
    The basic problem (for me) was that the operating environment (path and environment variables) is not properly prepared to run the XE database and web server. Removing the other Oracle client apps removed the conflicting and offending environment settings and all works well.
    For further info you might want to go to that Oracle XE forum.
    Earl

  • The page cannot be displayed: ITS error: SAP GUI for HTML

    Hello,
    I have created an iView that connects with a ECC system. When I clic on System Administration --> Support --> SAP Application --> SAP Transaction :
    System: ECC
    Transaction: su01
    SAP GUI Type: SAP GUI for HTML
    It shows: The page cannot be displayed.
    It's manadory to use SAP GUI for HTML. Please, Do you have any idea??
    Thank you
    Best,

    Hello Virginia Rodríguez,
    1)Kindly check that System ECC in Portal is Up and Running under System Administration.
    2) if u r done with first step then can try SAP GUI for Window in creation of Iview
    it will Work.
    Regards.
    Soni Vinit

  • Click "adapter monitoring"  cause  "The page cannot be displayed"

    At RWB, the "adapter monitoring" used to be OK.
    But now it gives
    "The page cannot be displayed".
    How to debug it?
    Thanks!

    Hi,
    can you try a direct link:
    http://server:port/mdt/amtServlet ?
    BTW
    try restarting RWB (close all IE windows and open it again)
    Regards,
    michal

  • Why do pages that consist solely of a jpg or png result in the message that the image cannot be displayed because it contains errors?

    Whenever I click on URL links to pages that consist solely of a jpeg or png, I get a text-only message 'the image cannot be displayed because it contains errors'. Yet if I copy the same URL and try it in IE, the image displays just fine. This has been happening for some time, thru several upgrades of Firefox.

    That is the default text that Firefox displays on a tab.<br />
    As soon as the image has loaded then that text is replaced by the image.
    If you keep seeing that text then something is blocking images.
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load

  • JSF & JDev error: The page cannot be displayed

    I'm trying to use JSF with JDeveloper. When I make my project no errors are reported, when I run it a browser opens up with an error. I added 'faces/' to the url and refreshed but still get same error message i.e. 'The page cannot be displayed'
    Here is the url:
    http://localhost:8988/jsf_app1-jsftest2-context-root/faces/hellojsp.jsp
    Here is the web.xml code:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <!-- Faces Servlet -->
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <taglib>
    <taglib-uri>http://java.sun.com/jsf/core</taglib-uri>
    <taglib-location>/WEB-INF/jsf_core.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsf/html</taglib-uri>
    <taglib-location>/WEB-INF/html_basic.tld</taglib-location>
    </taglib>
    </web-app>
    Here is the faces-config.xml code:
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
    </faces-config>
    Here is the hellojsp.jsp code:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <h:form>
    <h:outputText/>
    </h:form>
    </body>
    </html>
    </f:view>
    Please let me know what i'm missing here. Why can I not see the page?

    When I make my project no errors are reported, when I run it a browser opens up with an error. I added 'faces/' to the url and refreshed but still get same error .
    Does the url which is invoked with Run not include a /faces/ url pattern?

  • The page cannot be displayed

    When i run form then i have message "The page cannot be displayed"
    PS
    Excusme for my english

    It was my path in IE :)))
    http://%%20"http://...........
    How can i delete http://%%20" from my path forever
    PS
    I undestud what i must studing english:)

  • Why the timetable cannot be displayed correctly  in the Gantt graph?

    Hi, jdev 11.1.2.3
    Have a table(task_list) with fields as: id,type, title, content,begin_date,end_date,status...
    and set EO/VO for the table, and drag data control of TaskListView1 Into a jspx page to create Project Gantt as:
    Task id*:id,
    Task type :type,
    Start Time*: BeginDate,
    End time*: EndDate,
    And select all table columns.
    After running, the page showed a Gannt graph with all fields displayed on the left panel (the begin_date,end_date have values of different dates),but blank on the right timetable panel, what ever the timetable's view (week,month,year,project) will be chosen.
    Why the timetable cannot be displayed correctly in the Gantt graph?
    Thanks.

    That is the default text that Firefox displays on a tab.<br />
    As soon as the image has loaded then that text is replaced by the image.
    If you keep seeing that text then something is blocking images.
    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Receive "The page cannot be displayed" for Pricing Conditions

    To all,
    I receive the message "The page cannot be displayed" for Pricing Conditions when I select the "Accesses" button.  I then received the message "HTML field saved to C:\temp\CRM_IPC.html". 
    This only seems to happen when using the pricing in the service order confirmation.

    Hi Bob,
    R u using IPC for pricing, if yes just check the connections to the IPC server.
    The error is because of the IPC connection not getting established.
    <b>Please reward points if it helps.</b>
    Regards,
    Amit Mishra

  • BEX - Query Designer - Query Execution - IE "The page cannot be displayed'

    Hi ALL,
    Trying to execute a query from BEx Query Designer, result needs to be displayed on Internet Explorer.
    However, when IE pops up to show the result, it says 'The page cannot be displayed'.
    It seems the PORT Number is wrong.
    When I execute the RSPLAN the port number is 52300 (23 ASCS)  (and it works!!).
    For this web query the port in URL is 55300 (53 SCS).
    Could you help to configure the right port?
    Something needs to be done on Basis side configurations?
    Thank you,
    Nivia

    Hi,
    This especific problem was solved na SM30 programa RSPOR_T_PORTAL.
    But I still have problem:
    The PORTAL logon is displayed and after input the user and pass shows the 500 Internal Error.
    Caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
    Connect_PM  TYPE=B MSHOST=calsaps011.net.bradesco.com.br GROUP=PUBLIC R3NAME=BWH MSSERV=sapmsBWH PCS=1
    ERROR       partner 'calsaps011.net.bradesco.com.br:sapmsBWH' not reached
    I have looked the services and hosts and the files has the sapgw<> and sapms<> right configured.
    The important detail is that The PORTAL works if it doesn't come from BEx.
    COULD SOMEONE HELP ME?
    Tks,
    Nivia

  • I am getting "The contents cannot be displayed in a frame" error when tried to acces an external URL configured through launchpad(ESS). How to rectify it?

    Hi Guys,
    We have configured ESS role through launchpad. For viewing payslips we are using an external URL configured through launchpad.
    But when we try to access the configured link in ESS role, it displays "The contents cannot be displayed in a frame" .
    Should I need to change some parameters/settings in Launchpad so that I could overcome this issue.
    Guidance required,
    Regards,
    Ajeeth Kumar S

    Hi Shankar Reddy Chamala,
    Thanks for the alternate solution.
    But the solution you have provided also ended up with the same error
    "The content cannot be displayed in a frame" error.
    Some additional information so that you could help me out,
    The following is the test report .
    HTTP/1.1 200 OK
    Server: TIN-AppServer
    Strict-Transport-Security: max-age=15552000
    Cache-Control: no-cache, no-store, must-revalidate
    Pragma: no-cache
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    x-frame-options: DENY
    Content-Type: text/html; charset=UTF-8
    Content-Encoding: gzip
    Content-Length: 2421
    Date: Thu, 15 May 2014 14:23:14 GMT
    Connection: keep-alive
    Vary: Accept-Encoding
    The tester has mentioned the yellow highlighted property may be a cause for this issue.
    I googled that the highlighted property is set by the website owners for security reasons.
    Shankar I have another doubt..
    Is it feasible to create an HTML document to open the external link and link the HTML document to the iview and then configure the custom iview with launchpad.?
    -->If yes can you please elaborate the steps for it.
    Thanks and Regards,
    Ajeeth Kumar S

Maybe you are looking for