Image mode dialog display error

I am full of questions today! I have a problem displaying Image mode with a script saved as a Application or Application bundle. If I run it from the script editor it is ok. See following:
With saved as Application
tell application "Adobe Photoshop CS3"
activate
-- reset color swatches
set background color to {class:RGB color, red:255, green:255, blue:255}
set foreground color to {class:RGB color, red:0, green:0, blue:0}
--trim outside pixels
trim document 1
-- set rulers to mm
set ruler units of settings to mm units
--  ask doc what resolution it is
tell current document
set res to resolution
set md to mode as text
display dialog "Resoultion to be 100 current Resolution is = " & res / 2.54 & "
Image mode is = " & md as text with icon stop with title " Resoultion and Image Mode"
end tell
end tell
Any Ideas would be appreciated.
David

I don't use apps n app bundles much… You could cheat it and call JS to get a string…
set md to do javascript "app.activeDocument.mode.toString().split('.')[1];"

Similar Messages

  • When adding features, "Add features to Windows 10 Technical Preview" dialog displays error "Couldn't add features"

    The process for adding features by selecting "Add features to Windows 10 Technical Preview" from control panel fails with error "Cannot add features. Your previous edition of Windows has been restored, but you should contact Microsoft support."
    This occurs after entering the key and the system attempts to reboot and apply updates. During the reboot, the updates begin to apply, fail after a certain percent, then roll back. After rollback and logging in again the above mentioned error message is displayed
    in the "Add features to Windows 10 Technical Preview" dialog. Build 9926. Any tips on how to fix this?

    On Sun, 8 Feb 2015 11:40:59 +0000, ZigZag3143x [MVP] wrote:
    Understood.  I attempted the same thing and it was successful.
    I've also done this with no problems.
    Paul Adare - FIM CM MVP

  • PC/64/Windows 7/XIStandard recently installed/unable to put footer into document because I can't move to the bottom of the image when in footer application mode.  Display is at recommended 1920x1080.  Is there a solution or is it a flaw in the program?

    PC/64/Windows 7/XIStandard recently installed/unable to put footer into document because I can't move to the bottom of the image when in footer application mode.  Display is at recommended 1920x1080.  Is there a solution or is it a flaw in the program?

    Don't have a direct answer. But did you install the updates. They might resolve the problem.

  • IPhone5s stuck in recovery mode after lots of times displaying blue screen of death, cannot restore it as iTunes displays error 14 on verification, same time phone crashes again with blue screen.

    hi, my iPhone5s is only 3 months old, it has been like a whole month now since it started crashing, displaying the blue screen of death, since yesterday it was in the loop of restart-crash, and now it is stuck in recovery mode after lots of times displaying blue screen.
    I cannot restore it as phone continues crashing again with blue screen, when iTunes displays error 14 on verification.
    help please, this phone is all the means of communication I have.

    It's a hardware problem. That's it. You shouldn't bother yourself with this situation. Just see an AASP.

  • 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

  • BDC-Not getting inserted  when run in 'Display errors- (E)' mode

    Hi,
    I am doing a BDC for FS00 transaction through Call transaction method. The data is getting inserted into the table when i run the BDC program screen by screen through 'Display all screens - (A)' mode and is not getting inserted into the table when i run the BDC program through 'Display errors- (E)' mode.
    What could be the reason for it?

    If you have defined a non-existing screen or field, and error will rise and the transaction will be stoped....
    When your working on 'A' mode, you need to perform an extra "Enter" button press to get rid of that problem....So you better check your Batch catalog and add some "Enter's" when need it -;)
    Greetings,
    Blag.

  • Some images do not display on E-Bay with FF 11

    Running Vista. had no problems with E-bay using FF 10 or lower. some images will not display, and when a image that does show in the category, when selected, it does not display. I am running FF11 on my xp machine with no problems.
    every thing on E-bay works with IE

    It's not recommended to go back to Firefox 10 due to known security vulnerabilities. It's still available if there's no other solution.
    Another standard diagnostic step is to try Firefox's Safe Mode to see whether it is caused by a custom setting or add-on.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in [http://support.mozilla.com/kb/Safe+Mode Safe Mode] using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    If the images load correctly, this points to an add-on or custom setting or perhaps a saved password as the problem. A few things to work through.
    If the site doesn't load correctly, we would have to consider other factors.
    Any luck?

  • Image doesn't display

    I have index.jsp at the root level. I this redirects to xrate.jsp at the following path: WEB-INF/views/jsp. At the same level is include.jsp and includeTop.jsp. My images are at WEB-INF/images. CSS files are at WEB-INF/styles. Here's thier jsp declaration code:
    xrate.jsp
    <%@ include file="include.jsp"%>
    <%@ include file="includeTop.jsp"%>
    <html>
         <head>
              <title></title>
         </head>
         <body>     
              <h1>
                    Application - Borrower System
              </h1>
         </body>
    </html>include.jsp
    <%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
        contentType="text/html; charset=utf-8"%>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>includeTop.jsp
    <%@ include file="/WEB-INF/views/jsp/include.jsp"%>
    <html>
        <head>
            <title></title>
            <link rel="stylesheet" type="text/css" href="../../styles/xrate.css" />
        </head>
        <body>
            <div id="logo">
                <img src="../../images/xrate-logo.jpg" width="720"  height="140" border="0" alt="Logo" />
            </div>
        </body>
    </html>xrate.css
    div#logo {
         width: 720px;
         height: 140px;
         background: #A8A8A8;
    }When xrate.jsp loads, I get everything except the image doesn't display, just its placeholder with the alternate text.
    I am using MyEclipse's jsp visual designer and in the preview mode, the image properly shows. I've checked the deployed files and everything is in the correct location. Also, the browser is set to allow images to download.
    Any ideas anyone??

    Take your images/styles out of the WEB-INF directory.
    The WEB-INF directory is protected from the browser.
    Nothing requested from the WEB-INF directory will be served directly. You can forward/include these resources from other servlets/jsps but they can't be accessed from a direct url.
    Shifting images/styles out of the WEB-INF directory should fix it.
    You will of course have to fix your links.
    Note that links are resolved relative to the requesting uri (or the html <base> tag if present), not necessarily to the actual location of the JSP.

  • "Page cannot be displayed" error when attempting to download large dataset.

    In the following code, can anybody please tell me at what point the data actually starts to get transferred and the popup "download file" box appears? I'm thinking that the dialog box should appear on the first outputstream.write and start transferring data. However, I think it's not transferring the data until the while loop has finished! That's bad because this is a real long process and I eventually get "Page cannot be displayed" error. On a smaller dataset (shorter while loop) everything seems to work correctly. Is there some sort of a web server configuration that tells it to write out the data ONLY if outputstream closes? I really need it to write out the data as it's coming in. Code is below and thanks in advance.
    response.setHeader("Expires", "0");
    response.setHeader("Content-disposition","inline;filename=Download.csv");
    response.setContentType("application/x-msdownload");
    outputStream = response.getOutputStream();
    bufferInBytes = this.getData();
    while (bufferInBytes != null)
    outputStream.write(bufferInBytes, 0, bufferInBytes.length);
    outputStream.flush();
    bufferInBytes = this.getData();
    outputStream.close();

    Hi All,
    Thanks for all your help.
    Seems I already found out the issue.
    Since we are using "Personal Home Page" for the system profile option "Self Service Personal Home Page Mode" I checked oracle note and found out
    that 11i did not support this mode. Maybe this is the problem that is why we are getting page cannot be displayed error when only 1 responsibility is active.
    The way to fix this, is to use mode 'Framework Only' instead of 'Personal Home Page' as Oracle are phasing out mod_plsql based UI and it will not be present in future releases. No maintenance is being performed (i.e. bug fixes) to the mod_plsql based UI technology.
    Please check this note for more clearer explanation:
    Is The 'Personal Home Page' Mode Supported In Oracle 11i Applications? [ID 368628.1]
    Again, thank you for your help!

  • Batch management requirement cannot be changed; choose "Display errors

    i am getting this error in material master when i am removing tick from batch managment
    regard
    nabil

    Batch management requirement cannot be changed; choose "Display errors"
    Message no. M3530
    Diagnosis
    The pushbutton Display errors appears only in dialog mode, not in data transfer or in mass maintenance.
    Procedure
    If this message appears in data transfer or in mass maintenance, and you want to know why the field cannot be changed, access the material in dialog mode using the relevant transaction below, try to change the field as required, and then choose Display errors:
    Industry
    Proceed
    Retail
    Proceed

  • Using a devices camera and adding the image to the display list

    Hi,
    My students and I have not been able to make an AIR app that can take a picture using the devices camera and then add the image to the display list. We are able to open the devices camera and of course take a picture, but that's it.
    We've been using these two tutorials/examples:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraUI.ht ml
    and
    http://tv.adobe.com/watch/adc-presents/input-for-mobile-devices-camera/
    I've uploaded our project: http://www.dayvid.com/professor/camera.zip
    Can someone help us out?
    Thanks!
    Below is the main document class:
    package  {
    import flash.desktop.NativeApplication;
    import flash.display.Loader;
    import flash.display.MovieClip;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.ErrorEvent;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import flash.events.MediaEvent;
    import flash.media.CameraUI;
    import flash.media.MediaPromise;
    import flash.media.MediaType;
    import flash.events.MouseEvent;
         public class Main extends MovieClip{
              private var deviceCameraApp:CameraUI = new CameraUI();
              private var imageLoader:Loader;
              public function Main()
                   this.stage.align = StageAlign.TOP_LEFT;
                   this.stage.scaleMode = StageScaleMode.NO_SCALE;
                                     camera_btn.addEventListener(MouseEvent.CLICK, cameraBtnClicked);
                          private function cameraBtnClicked(event:MouseEvent):void
                                    if( CameraUI.isSupported )
                                                      result_txt.text = "Initializing camera...";
                                                      deviceCameraApp.addEventListener( MediaEvent.COMPLETE, imageCaptured );
                                                      deviceCameraApp.addEventListener( Event.CANCEL, captureCanceled );
                                                      deviceCameraApp.addEventListener( ErrorEvent.ERROR, cameraError );
                                                      deviceCameraApp.launch( MediaType.IMAGE );
                   else
                                                      result_txt.text = "Camera interface is not supported.";
              private function imageCaptured( event:MediaEvent ):void
                   result_txt.text = "Media captured...";
                   var imagePromise:MediaPromise = event.data;
                   if( imagePromise.isAsync )
                    result_txt.text = "Asynchronous media promise.";
                    imageLoader = new Loader();
                    imageLoader.contentLoaderInfo.addEventListener( Event.COMPLETE, asyncImageLoaded );
                    imageLoader.addEventListener( IOErrorEvent.IO_ERROR, cameraError );
                    imageLoader.loadFilePromise( imagePromise );
                   else
                    result_txt.text = "Synchronous media promise.";
                    imageLoader.loadFilePromise( imagePromise );
                    showMedia( imageLoader );
              private function captureCanceled( event:Event ):void
                   result_txt.text = "Media capture canceled.";
                   NativeApplication.nativeApplication.exit();
              private function asyncImageLoaded( event:Event ):void
                   result_txt.text = "Media loaded in memory.";
                   showMedia( imageLoader );   
              private function showMedia( loader:Loader ):void
                   this.addChild( loader );
              private function cameraError( error:ErrorEvent ):void
                   result_txt.text = "Error:" + error.text;
                   NativeApplication.nativeApplication.exit();

    Hi,
    Do I have to add the picture to the cameraroll in order to add it to the AIR apps display list?
    Both examples from Adobe claim that their examples work. Do they not?
    In the example, the event handler asyncImageLoaded is never called. The output text field shows -   result_txt.text = "Asynchronous media promise."; So the Event.COMPLETE is being added. But I don't think it's being dispatched.
    Any ideas?

  • How to display error message ??

    Hi,
    I have a BDC program to upload data from an excel sheet. I could see that some records of data fail to pass and hence after my bdc run i would like to display error message for the failed records as follows:
    costcenter:
    cost element:
    fiscal year:
    etc etc
    is it possible ?? how to do that ? please explain in detail.
    for ur reference my program is pasted below.
    thanks
    *& Report  ZBDC_BUDGET_UPLOAD
    REPORT  ZBDC_BUDGET_UPLOAD.
    types: begin of tdata,
             rec(150) type c,
           end of tdata,
           begin of tmtgp,
             costcent LIKE CCSS-KOSTL,
             costelem LIKE CCSS-KSTAR,
             fisyear LIKE CCSS-GJAHR,
             jan(10),
             feb(10),
             mar(10),
             apr(10),
             may(10),
             jun(10),
             jul(10),
             aug(10),
             sep(10),
             oct(10),
             nov(10),
             dec(10),
           end of tmtgp.
    data: idata type table of tdata with header line.
    data: imtgp type table of tmtgp with header line.
    Data : fieldval(10) type c.
    selection-screen begin of block b1 with frame title text-001.
    parameters: p_file type localfile default 'C:\budget_data_csv.csv'.
    selection-screen end of block b1.
    include zbdcrecx1.
    at selection-screen on value-request for p_file.
    call function 'KD_GET_FILENAME_ON_F4'
            exporting            static    = 'X'
            changing            file_name = p_file.
    start-of-selection.
    perform upload_data.
    loop at imtgp.
    Write imtgp-fisyear to fieldval.
    perform open_group.
    perform bdc_dynpro      using 'SAPLKPP0' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KPP0B-VALUE(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'KPP0B-VALUE(04)'
                                  fieldval.
    Write imtgp-costcent to fieldval.
    perform bdc_dynpro      using 'SAPLKPP0' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KPP0B-VALUE(06)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'KPP0B-VALUE(06)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP0' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KPP0B-VALUE(09)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-costelem to fieldval.
    perform bdc_field       using 'KPP0B-VALUE(09)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP0' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KPP0B-VALUE(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CSPB'.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-jan to fieldval.
    perform bdc_field       using 'Z-BDC03(01)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(02)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-feb to fieldval.
    perform bdc_field       using 'Z-BDC03(02)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(03)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-mar to fieldval.
    perform bdc_field       using 'Z-BDC03(03)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-apr to fieldval.
    perform bdc_field       using 'Z-BDC03(04)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(05)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-may to fieldval.
    perform bdc_field       using 'Z-BDC03(05)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(06)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-jun to fieldval.
    perform bdc_field       using 'Z-BDC03(06)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(07)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-jul to fieldval.
    perform bdc_field       using 'Z-BDC03(07)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(08)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-aug to fieldval.
    perform bdc_field       using 'Z-BDC03(08)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(09)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-sep to fieldval.
    perform bdc_field       using 'Z-BDC03(09)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(10)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-oct to fieldval.
    perform bdc_field       using 'Z-BDC03(10)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(11)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-nov to fieldval.
    perform bdc_field       using 'Z-BDC03(11)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(12)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-dec to fieldval.
    perform bdc_field       using 'Z-BDC03(12)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(12)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CBUC'.
    perform bdc_transaction using 'KP06'.
    perform close_group.
    endloop.
    form upload_data.
    data: filename type string.
    clear idata.
    refresh idata.
    filename = p_file.
    call function 'GUI_UPLOAD'
        exporting            filename        = filename
        filetype        = 'ASC'
        tables            data_tab        = idata
        exceptions            file_open_error = 1
        file_read_error = 2
        no_authority    = 6
        others          = 17.
        check sy-subrc = 0.
        loop at idata.
        clear imtgp.
        split idata at ',' into imtgp-costcent imtgp-costelem imtgp-fisyear
    imtgp-jan imtgp-feb imtgp-mar imtgp-apr imtgp-may imtgp-jun imtgp-jul
    imtgp-aug imtgp-sep imtgp-oct imtgp-nov imtgp-dec.
        append imtgp.
        endloop.
    endform.

    check the below code,.,
    DATA : t_bdcmsgcoll TYPE STANDARD TABLE OF bdcmsgcoll WITH HEADER LINE.
      CALL TRANSACTION '<DELIVERYTRANSACTION>' USING t_bdctab
                              mode 'N'
                              MESSAGES INTO t_bdcmsgcoll.
      DESCRIBE TABLE t_bdcmsgcoll LINES g_lines.
      READ TABLE t_bdcmsgcoll INDEX g_lines.
      IF t_bdcmsgcoll-msgtyp = 'S' AND
         t_bdcmsgcoll-msgid = <Msg id> AND
         t_bdcmsgcoll-msgnr = <Msg number>.
    * Trap your Call Transaction messages
        t_success-deliverynumber = t_bdcmsgcoll-msgv1.
    * You can format the message returned by call transaction using function 'FORMAT_MESSAGE' which will return g_mesg
        t_success-message = g_mesg.
        APPEND t_success.
        CLEAR  t_success.
      ELSE.
    * If there an Error-Do this..
        READ TABLE t_bdcmsgcoll WITH KEY msgtyp = 'E'.
        IF sy-subrc = 0.
    * Format your message using FORMAT_MESSAGE "FM
         CLEAR g_mesg.
         t_error-msg   = g_mesg_incl.
         APPEND t_error.
         CLEAR  t_error.
       ENDIF.
    ENDIF.
    * Clear for next run
      CLEAR: t_bdcmsgcoll,
             t_bdctab.
      REFRESH: t_bdcmsgcoll[],
               t_bdctab[].

  • BDC  display Error while converting the Currency ..

    Hi,
    Using BDC i have to cal Transaction Vk15.
    In this we have a field KONP-kbetr, which is a currency feild, with 2 decimals.
    I have to converted the Currency to 'EUR' and has moved it in a variable "gv_char13".
    ______________+declaration part+_____________________
    Data :  gv_eurconv_vk(14)      TYPE rkb1k-exchr,
               gv_eurconv_vk       TYPE konp-kbetr,
                 gv_char13(14) TYPE c.
    _____________+Currency Conversion+________________
      CALL FUNCTION 'RKC_SINGLE_EXCHANGE_RATE_GET'
        EXPORTING
          datum               = gv_sydatum
          kurst               = 'P'
          ncurr               = 'EUR'
          vcurr               = 'CZK'
    IMPORTING
       exchr               = gv_exchr_vk
       EXCEPTIONS
         no_rate_found       = 1
         OTHERS              = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      WRITE gv_exchr_vk  NO-GROUPING CURRENCY 'EUR'.
      MOVE gv_exchr_vk TO gv_eurconv_vk.
      CLEAR gv_char13.
      WRITE gv_eurconv_vk TO gv_char13.
    _________+Passing Value IN BDC VK15+__________
        wa_bdcdata_vk-fnam     = 'KONP-KBETR(01)'.
        wa_bdcdata_vk-fval     =  gv_char13.                     
        SHIFT  wa_bdcdata_vk-fval LEFT DELETING LEADING space.
        APPEND wa_bdcdata_vk TO gt_bdcdata_vk.
        CLEAR wa_bdcdata_vk.
    ----------+Calling the Transaction VK15+____
      CALL TRANSACTION 'VK15' USING gt_bdcdata_vk  MODE 'E' MESSAGES INTO gt_bdcmsg_vk.
    **--Display the error message if the call transaction fails--**
        IF sy-subrc EQ 0.
          IF NOT gt_bdcmsg_vk IS INITIAL.
            READ TABLE gt_bdcmsg_vk INTO wa_bdcmsg_vk INDEX sy-index.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id     = wa_bdcmsg_vk-msgid
                lang   = 'EN'
                no     = wa_bdcmsg_vk-msgnr
                v1     = wa_bdcmsg_vk-msgv1
                v2     = wa_bdcmsg_vk-msgv2
                v3     = wa_bdcmsg_vk-msgv3
                v4     = wa_bdcmsg_vk-msgv4
              IMPORTING
                msg    = gv_text_vk
              EXCEPTIONS
                OTHERS = 0.
            IF sy-subrc EQ 0.
              APPEND  gv_text_vk TO gt_mess_vk.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    **--Display the error message on the screen--**
      IF NOT gt_mess_vk[] IS INITIAL.
        LOOP AT gt_mess_vk INTO wa_mess_vk.
          WRITE:/ wa_mess_vk.
          CLEAR wa_mess_vk.
        ENDLOOP.
      ENDIF.
    In the dispaly tabkle for error message "gt_bdcmsg_vk" we get the sucess message and in table "gt_mess_vk" we get the message as the "Condition records Saved."
    The problem is when this report is executed it displayes the converted currency Value and in next line it dispalyes the ""Condition records Saved".
    But idealy the converted currency value should not be dispalyed.
    Actual Sample display:(shuld be this ):
    xyz.. message
    Condition Record Saved.
    Sample display (Error Dispaly ):
    xyz.. message
      3,14E-02 -
    (This shuold not be dispalyed)
    Condition Record Saved.

    Use modified code...
    *______________declaration part_____________________
    Data :  gv_eurconv_vk(14)      TYPE rkb1k-exchr,
              gv_eurconv_vk       TYPE konp-kbetr,
                 gv_eurconv_vk TYPE p DECIMALS 2,
                 gv_char13(14) TYPE c.
    *_____________Currency Conversion________________
      CALL FUNCTION 'RKC_SINGLE_EXCHANGE_RATE_GET'
        EXPORTING
          datum               = gv_sydatum
          kurst               = 'P'
          ncurr               = 'EUR'
          vcurr               = 'CZK'
    IMPORTING
       exchr               = gv_exchr_vk
       EXCEPTIONS
         no_rate_found       = 1
         OTHERS              = 2
      IF sy-subrc  <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    WRITE gv_exchr_vk  NO-GROUPING CURRENCY 'EUR'.
    MOVE gv_exchr_vk TO gv_eurconv_vk.
      gv_eurconv_vk = gv_exchr_vk.    
      CLEAR gv_char13.
      WRITE gv_eurconv_vk TO gv_char13.
    *_________Passing Value IN BDC VK15__________
        wa_bdcdata_vk-fnam     = 'KONP-KBETR(01)'.
        wa_bdcdata_vk-fval     =  gv_char13.                     
        SHIFT  wa_bdcdata_vk-fval LEFT DELETING LEADING space.
        APPEND wa_bdcdata_vk TO gt_bdcdata_vk.
        CLEAR wa_bdcdata_vk.
    Calling the Transaction VK15____
      CALL TRANSACTION 'VK15' USING gt_bdcdata_vk  MODE 'E' MESSAGES INTO gt_bdcmsg_vk.
    *Display the error message if the call transaction fails*
        IF sy-subrc EQ 0.
          IF NOT gt_bdcmsg_vk IS INITIAL.
            READ TABLE gt_bdcmsg_vk INTO wa_bdcmsg_vk INDEX sy-index.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id     = wa_bdcmsg_vk-msgid
                lang   = 'EN'
                no     = wa_bdcmsg_vk-msgnr
                v1     = wa_bdcmsg_vk-msgv1
                v2     = wa_bdcmsg_vk-msgv2
                v3     = wa_bdcmsg_vk-msgv3
                v4     = wa_bdcmsg_vk-msgv4
              IMPORTING
                msg    = gv_text_vk
              EXCEPTIONS
                OTHERS = 0.
            IF sy-subrc EQ 0.
              APPEND  gv_text_vk TO gt_mess_vk.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    *Display the error message on the screen*
      IF NOT gt_mess_vk[] IS INITIAL.
        LOOP AT gt_mess_vk INTO wa_mess_vk.
          WRITE:/ wa_mess_vk.
          CLEAR wa_mess_vk.
        ENDLOOP.
      ENDIF.

  • Displaying error messages in table...

    Hi All,
    How can we display error messages in a table in a bsp page.
    I am filling an internal table in OnInputProcessing on some event with all the error messages to be displayed.
    Table sould have two columns
    1)Graphic depending on error type.
    2)Error message.
    Thanks,
    Anubhav.

    Hi Graham,
    The solution is perfect!
    One more thing...when the page is displayed with errors table , i need to set focus on the table.
    My code is:
    <htmlb:gridLayoutCell columnIndex="1" rowIndex="1" id="fourthmain">
    <% if itab_message is not initial .%>
      <table class=""urGridLayout" border="1" cellpadding="2" id="err_tab">
        <%
      loop at itab_message into wa_message.
        %>
        <tr>
        <td class="urCoB2Whl">
        <% case wa_message-typ.
          when 'S'. %>
          <htmlb:image src = "ICON_MESSAGE_INFORMATION" />
          <% when 'error'. %>
          <htmlb:image src = "ICON_MESSAGE_ERROR" tooltip="Error" />
          <% when 'W'. %>
          <htmlb:image src = "ICON_MESSAGE_WARNING" />
          <% when 'I'. %>
          <htmlb:image src = "ICON_MESSAGE_INFORMATION" />
          <% when 'A'. %>
          <htmlb:image src = "ICON_MESSAGE_CRITICAL" />
          <% endcase. %>
        </td>
        <td><font size="2" face="Times">
        <%= wa_message-msg%>
        </font>
        </td >
        </tr>
        <%
      endloop.
        %>
        </table>
    <% refresh itab_message. %>
    <% endif. %>
          </htmlb:gridLayoutCell>
    I tried using
    <phtmlb:focusRect focusElementId="err_tab"/>
    and also:
    <s cript="text/javascript">
    daument.farm.elementid.focus();
    </s cript>
    But failed...pls help me out.
    Thanks,
    Anubhav.

  • Firefox page images do not display only text and links

    New desktop (not this one) with windows 8.1 Pro, Firefox 29, Norton Internet security. When I go to many of the Firefox pages images do not display, only text and links. This is true for the "get add-ons" page. I can search for add-ons, but when I try to install one, the installation fails. Is there a security setting in windows or NIS that is blocking Firefox images and installations? The Firefox installation went smoothly without error. Other sites do not have this problem.

    Wow! I never would have thought of that! My time settings were incorrect when I set up the PC, and I thought I set them. I did have the day, date, and time set correctly. But I did not have AM/PM set right. So, I was off by 12 hours. I corrected it and, voila, all works well.
    I'm so happy now, because I can now get all the security extensions I've grown to love:
    - NoScript
    - Ghostery
    - Better Privacy
    - Adblock Plus
    You guys are great! Thank you so much for your help.

Maybe you are looking for

  • Is there a recommended procedure to connect the connectors between an AP-224 and AP-ANT-35A antenna?

    Q: Is there a recommended procedure to connect the connectors between an AP-224 and AP-ANT-35A antenna? A: AP-220 series has 3 Antenna connectors (ANT0, ANT1, ANT2).  In the AP-ANT-35A antenna there are 3 connectors but there is no notification on th

  • DSC: Getting Periodic I/O Server to work

    OK, I followed the instructions in the LV DSC 8.2 help on "Developing Periodic I/O Servers", but I can't get it to work. After performing the build I wind up with a new .lvlib, containing my new I/O server.  Then I try to create a new shared variable

  • JavaScript code was missing (Configurator 2 file to 3)...

    Hi Everyone... I just opened a Configurator 2 file in the new 3.1 and converted it to CS6.  Now I'm getting a "JavaScript code was missing" error when I attempt to run 'Image Processor' and 'Load files into stack' scripts.  These were working just fi

  • Failed tp open .prp file while running HAL ...it says Sharing voilation ..

    Failed tp open .prp file while running HAL ...it says Sharing voilation .. I am running a HAL job. While opening .prp file it says error Sharing voilation cannot open file. Please help to resolve issue.

  • Tween not working

    edit - i realized that i did not show a crucial part of my code..... import mx.transitions.Tween; what am i doing wrong? the movie clip "dynaText" is attached, it gets the string inserted into it, but it doesn't fade in like i want it to using the Tw