Resize inner tables according to screen resolution

Currently the page ( outer table ) widths are set to 760. Ideally we want set this to 100% so that the width will be relative to the monitor resolution. Also in the grid tables, the cols to be displayed is set to 4. We need to make this dynamic in relation to the width of the page. Unfortunately, each jsp needs to be changed..
without changing each and every jsp how can i do..it
any suggestions appreciated.

Separate structure and style from each other. With other words, use CSS style classes and define them in one separate CSS file.

Similar Messages

  • HOW TO ADJUST MY FRONT PANEL & ITS OBJECTS ACCORDING TO SCREEN RESOLUTION.

    Hai..
    I want my fp to be visible in its standard form on all screen resolutions.I've used Maintain window prop for diff screen resolutions but it didnt work.Any Solution to this problem? 

    Did you also set the "Scale all objects..." setting?
    For me mostly there had to be only 1 control to be scaled or changed in proportions, like a graph or listbox, the other controls (buttons, menu rings) should remain in size. This is best done by using splitters. You can lock them, stick them to one side of the window, make them invisible.
    greets, Dave
    Greets, Dave

  • Resizing JFrame according to screen resolution

    I have developed a desktop application using netbeans 6.1.Screen works fine for 1024x768 pixels but when i change the resolution or when i execute the application on a different machine which has got a lesser resolution the components disappear and they are not displayed properly.I have used Free Design Layout for desiging my screens.Is there any issue with the layout used?.I have used ToolKit to get the screen size and tried setting the dimensions using setPreferredSize()/setSize() but nothing works.Could any one help me with a solution?
    Thanks in advance
    Regards
    Nivetha

    nivetha wrote:
    I have used Free Design Layout for desiging my screens.Is there any issue with the layout used?I am not familiar with the Layout and do not find it under the API listings for Java 1.6.0_07.
    I see, I just caught a NetBeans thread--you're using the GUI Builder in NetBeans. That layout you mentioned is not a layout, but a description of what they call their method of GUI generation--it still uses a regular Java Layout in that autogenerated GUI code.
    You're question is not a Java question, but rather, a query on if NetBeans has some problems with it's GUI Builder in the version of NetBeans that you are using. It would be more appropriate to ask that question over on the NetBeans site unless you can look in the autogenerated code and tell us what Layout you are using.

  • Resizing ALV Grid When Changing Screen Resolution

    I have an ALV Grid imbedded in a custom container.  I would like for the Grid to resize if the user switches from 1024x768 to 800x600 resolution.  I obviously could size it for the lower res screen (and it would be ok on the higher res screen), but I ultimately would like it to resize.  Does anyone know how to make this happen?

    Is your Grid running within a custom container that was placed in the screen painter?  If so this is very easy.  Just make you screen very large (much larger then even 1024x768).  When you lay down the custom container, make it large enough to fill the entire empty area.  Your custom container should have a Resizing section in the attributes window.  Just check on Vertical and Horizontal resizing and choose you minimum size.

  • Setting page break automatically according to screen resolution.

    i want to set the page break according to page breaking?
    help please?

    nivetha wrote:
    I have used Free Design Layout for desiging my screens.Is there any issue with the layout used?I am not familiar with the Layout and do not find it under the API listings for Java 1.6.0_07.
    I see, I just caught a NetBeans thread--you're using the GUI Builder in NetBeans. That layout you mentioned is not a layout, but a description of what they call their method of GUI generation--it still uses a regular Java Layout in that autogenerated GUI code.
    You're question is not a Java question, but rather, a query on if NetBeans has some problems with it's GUI Builder in the version of NetBeans that you are using. It would be more appropriate to ask that question over on the NetBeans site unless you can look in the autogenerated code and tell us what Layout you are using.

  • Set frame size according to screen resolution

    hi frns,
    i have developed a GUI by using BorderLayout and GUI contains around 7 components.I am primarily working on 1024*768 resolution..THe main problem is when i using 800*600..My interface will run out of shape..How to avoid this. ......reply urgently.
    thanku.

    Cross-post. Reply can be found here:
    http://forum.java.sun.com/thread.jspa?threadID=695824

  • Designing Forms to match Monitor's Screen Resolution

    Hello folks,
    Just wondering. Does anyone know Oracle built-in procedures or
    functions to make sure Forms will be displayed appropriately
    according to screen resolution.
    Your help will be greatly appreciated.
    Erik
    null

    Erik Martens (guest) wrote:
    : Hello folks,
    : Just wondering. Does anyone know Oracle built-in procedures or
    : functions to make sure Forms will be displayed appropriately
    : according to screen resolution.
    : Your help will be greatly appreciated.
    : Erik
    Hi
    Upto my knowledge there is no any built-in avilable to know
    the screen resolution. In the design time itself, the developer
    has to decide about the coordination system for the form module.
    It depends on to which platform the you are going to deploy the
    system. If it should support both character and GUI mode then it
    is advisible to select charcter cell mode.
    If it is only GUI mode, it's upto you.
    null

  • Reset dimention object automatically when screen resolution changes

    hi frns,
    here i struggle with a prb.i set Jscroollpan prefferdsize() by using dimension obj, b'se to resize the components independent of screen resolution .
    jsp2.setPreferredSize( new Dimension( (int)(screenSize1.width/2.5), screenSize.height/2));
    my gui works properly even i change the screen resloution.but i have to restart my application to reflect new Dimensions.in my view the Dimension object resets to the new values only when i reexecute(it doesnot mean recompile..just rerun)the program. Is there any actionlistener or something else to catch that action(i.e when changing the screen resolution).there is addPropertyChangeListener in toolkit but i need code in detail. ...reply urgent

    1.) if its that urgent what about paying sun for support?
    2.) don't cross-post or double post.
    3.) No idea what your post is about, but back to your headline-question:
    no event, you need to poll in a seperate thread.
    Clemens

  • Which is the right screen resolution?

    Hi,
    For which screen resolution, I should design my new application?,
    as all of us know, developer application screens are not flexible
    according to screen resolution settings. My good old application
    is designed for 600/400 and now people wants to use their PC with
    minimum of 800/600 resolution setting, in that mode, my
    application sits in left corner of the screen.
    Thanks,
    -Srikanta
    null

    What I meant by "off" where the colors were not correct.
    If the colors are correct after you play the game then I think it's just a resolution and/or refresh rate problem.
    After the game, when the colors are correct, open your Displays system preferences and look at what it says the resolution is (click the Display tab in the Displays preferences if not already on that tab).  If a refresh rate is shown also note that.
    Now when the colors are "bad" (incorrect) again open the Displays system preferences.  Is the resolution the same as it was after the game?  If there is a refresh rate is it the same as it was after the game?  If yes, then there is some kind of problem and I don't believe an reinsitall is going to change anything (unless you wipe out all your existing preferences).  If the resolution (and refresh rate) are different than you had after the game then change them to what it was after the game to see if you get the correct colors.

  • Auto resizing tables for screen resolution

    Hi everyone.
    Im currently working on my website using dreamweaver, and i
    just stumbled across a problem. Im building my website for screen
    resolution 1020x768. However, alot of people tend to use 1280x1024
    nowadays. The problem is that images get all screwed up at
    different screen resolutions.
    The best way to fix this would be auto resizing tables (so a
    1280 using can view my 1024 website without any problems). But, i
    have no idea how to create this. Ive been trying dreamweavers help,
    but that didnt help me.
    So i was wondering if anyone around here has the solution for
    my problem.
    Thanks in advance!

    Hi everyone.
    Im currently working on my website using dreamweaver, and i
    just stumbled across a problem. Im building my website for screen
    resolution 1020x768. However, alot of people tend to use 1280x1024
    nowadays. The problem is that images get all screwed up at
    different screen resolutions.
    The best way to fix this would be auto resizing tables (so a
    1280 using can view my 1024 website without any problems). But, i
    have no idea how to create this. Ive been trying dreamweavers help,
    but that didnt help me.
    So i was wondering if anyone around here has the solution for
    my problem.
    Thanks in advance!

  • How can I resize my Flash site to fit any screen resolution?

    I built a 100% flash site with tiled framing but I have a
    problem. My flash was built 766 x 750 pixiels. When viewed at
    resolutions greater than 1024x768 the webpage looks great but
    anything less than that it looks like @#$@. I know most people
    probably view at 1024 x 768. Is there anyway to auto resize based
    up on screen resolution or something to detect the screen size and
    adjust the webpage accordingly.
    www.platlimosvc.com
    Below is my html (index.html) for my flash movie:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>Untitled</title>
    <meta http-equiv="content-type" content="text/html;
    charset=UTF-8">
    <link href="style.css" rel="stylesheet"
    type="text/css">
    </head>
    <body>
    <table cellpadding="0" cellspacing="0" border="0"
    style="width:100%; height:100%">
    <tr>
    <td valign="top" style="width:100%" height="750">
    <table cellpadding="0" cellspacing="0" border="0"
    width="766" style="height:100% " align="center">
    <tr>
    <td valign="top" width="234" style="height:750px ">
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swfl
    ash.cab#version=6,0,29,0" width="766" height="750">
    <param name="movie" value="flash/xxxx_main.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <!--[if !IE]> <-->
    <object data="flash/xxxx_main.swf"
    width="766" height="750"
    type="application/x-shockwave-flash">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="pluginurl" value="
    http://www.macromedia.com/go/getflashplayer">
    FAIL (the browser should render some flash content, not
    this).
    </object>
    <!--> <![endif]-->
    </object>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top" style="width:100%; height:1px;
    background-color:#6C6C6C">
    <table cellpadding="0" cellspacing="0" border="0"
    style="width:100%; height:1px">
    <tr>
    <td valign="top" style="width:50%;
    height:1px"></td>
    <td valign="top" style="width:766; height:1px">
    <table cellpadding="0" cellspacing="0" border="0"
    width="766" style="height:1px ">
    <tr>
    <td valign="top" width="766" style="height:1px
    "></td>
    </tr>
    </table>
    </td>
    <td valign="top" style="width:50%;
    height:1px"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top" style="width:100%; height:100%">
    <table cellpadding="0" cellspacing="0" border="0"
    style="width:100%; height:100%">
    <tr>
    <td valign="top" style="width:50%;
    background:url(images/bottom-3.gif) top right;
    height:100%"></td>
    <td valign="top" style="width:766;
    background-image:url(images/bottom-5.gif); height:100%">
    <table cellpadding="0" cellspacing="0" border="0"
    width="766" style="height:100% ">
    <tr>
    <td valign="top" width="766" style="height:100%
    "></td>
    </tr>
    </table>
    </td>
    <td valign="top" style="width:50%;
    background:url(images/bottom-4.gif) top left;
    height:100%"></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </body>
    </html>

    tlcarl,
    > I know most people probably view at 1024 x 768.
    You think so? Even if they have their resolution that high
    (which is
    fairly standard, nowadays), do you think most people maximize
    their browsers
    to fill that whole area?
    > Is there anyway to auto resize based up on screen
    > resolution or something to detect the screen size and
    > adjust the webpage accordingly.
    There is, indeed. :) Check out the Stage.onResize event in
    the
    ActionScript 2.0 Language Reference. That event is dispatched
    when the
    browser (or whatever container) is resized -- in cases where
    the SWF is
    embedded with percentages. If that's your aim, you'll need to
    code against
    that event, which can be done like this ...
    http://www.quip.net/blog/2006/flash/how-to-position-movie-clips-browser-resizing
    It can take a bit of thought, depending on the complexity of
    your goal,
    but the result is usually worth it. The site in your URL is
    already built,
    so this wouldn't do much of anything without opening the
    hood, so to speak,
    and completely rebuilding the engine. A Flash movie has to be
    designed and
    programmed to respond to the Stage.onResize event.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Screen Resolution in table control bdc

    Hi ,
    Im working on bdc table control using call transaction method for vk11 and mek1.While uploading data for vk11 for the first time it is taking all the records of the input file and if i do the same for the second time by changing the amount value it is taking only 24 records .(i.e if the input file contains only 24 records it wil update else if it has 25 records or more it not updating even single record and it is showing error " No batch input data for screen sapmv13A ..)...this issue is with the production server......................whereas in development and quality servers there is no problem....................
    what migh be the problem and how to solve it?
    can anyone plz help me on this

    if its a problem in screen resolution then while recording through SHDB mark the check box default size
    or
    to make the bdc execute in standard screen size check the code below
    data x_ctuparams type ctu_params.
    x_ctuparams-defsize = 'X'. " This would freeze the resolution in any system
    x_ctuparams-dismode = 'N'.
    x_ctuparams-updmode = 'S'.
    call transaction <TCODE> using it_bdcdata options from x_ctuparams.
    So whatever is the screen size of the users front-end, the BDC will execute in standard screen size

  • I updated to iTunes 11 on my Windows PC. Since the update, when I open iTunes its window is too large for my screen. Resizing is a pain, because I have to change my screen resolution. And when I restart iTunes,it has reverted back to being too large.Help!

    I recently updated to iTunes 11 on my Windows PC. Since the update, each time I open iTunes its window is too large for my screen. Resizing it is a pain, because I have to change my screen resolution. And then when I restart iTunes, it has reverted back to being too large. Please help!

    Having the same issue here....a quick fix is to just minimize the window, and immediately maximize it.  It will now fit the screen.  Trouble is, after you close it, you'll have to do it again when you re-start itunes.  The good news is it takes all of about 2 seconds.  Apple should fix this.  Should.

  • Resizing  Screen Resolution for Specific Apps?

    Hello team,
    Is it possible to resize screen resolution for specific applications? Most of my apps look fine at 1024x768, but there are a couple of older OS 9 apps that I need to run (talking school computers here) which are a bit on the small side when viewed at that resolution. Can I somehow set things so that when those applications are launched, the resolution changes to 800x600, and then reverts to 1024x768 when they're quit again? Any and all details about this will be most appreciated, and I thank you in advance for your help!
    Electronically yours,
    Erik D. Dahlin
    School-based Technology Specialist

    LCD panels must be used at their native resolution. Whatever it is for you monitor is what you must set it to.
    Bob

  • How to create screen resolution in bdc table control

    hi gurus
    can anyone suggest me
    how to create screen resolution in bdc table control
    thanks&regards
    mark.

    Hi ,
    Using CTU_PARAMS table for screen resolution .
    For this sample code.
    This is for Transation  FB60.
    report ZZFB60
           no standard page heading line-size 255.
    tables t100.
    PARAMETERS : p_file1  like  rlgrap-filename,
                 p_doctyp like  RF05A-BUSCS,
                 p_invdat like  INVFO-BLDAT,
                 p_posdat like  INVFO-BUDAT.
    CONSTANTS  :  C_TRANS_FB60(4) VALUE 'FB60'.
    *Parameter string for runtime of CALL TRANSACTION
    data : l_option type ctu_params,
           l_subrc type sysubrc.
    DATA :  l_mstring(150).
    data      accnt type char17.
    data       : day   type char2,
                 month type char2,
                 year  type char4,
                 date1 type char10,
                 date2 type char10.
    data      :  cnt(2) TYPE n,
                 cnt1 type i,
                 fld(25) TYPE c.
    data : begin of excel occurs 0,
            fieldname(255) type c,
           end of excel.
    DATA:BEGIN OF it_mess OCCURS 0,
             msgtyp(5),
             lms(200),
              msgv1(50),
         END OF it_mess.
    data: begin of t_record occurs 0,
             BUKRS(004),
            ACCNT(017),
            XBLNR(016),
            WRBTR1(016),
            WAERS(005),
            SECCO(004) ,
            SGTXT(050),
            HKONT(010),
            WRBTR2(017),
            MWSKZ(002),
            GSBER(004),
            KOSTL(010),
         end of t_record.
    *Internal Table for Header Data
    DATA :  BEGIN OF t_head OCCURS 0,
            BUKRS(004),      "Company Code
            ACCNT(017),      "Account or Vendor
            XBLNR(016),      "Reference
            WRBTR1(017),     "Amount in document currency
            WAERS(005),      "Currency
            SECCO(004),      "Section Code
            SGTXT(050),      "Text
            END OF t_head.
    *Internal table for Item Data
    DATA :  BEGIN OF t_item OCCURS 0,
            ACCNT(017),      "Account
            HKONT(010),     "GL Account
            WRBTR2(017),    "Line item Amount in document currency
            MWSKZ(002),     "Tax Code
            GSBER(004),     " Business Area
            KOSTL(010),     "Cost centre
            END OF t_item.
    DATA: IT_BDCDATA      LIKE  BDCDATA OCCURS 0 WITH HEADER LINE,
          IT_BDC_MESSAGES LIKE  BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    *include bdcrecx1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
      PERFORM  file_selection.
      PERFORM  data_upload.
      PERFORM  table_control.
    start-of-selection.
    l_option-defsize = 'X'.
    l_option-dismode = 'A'.
    l_option-updmode = 'S'.
    day = p_invdat+6(2).
    month = p_invdat+4(2).
    year =  p_invdat+0(4).
    concatenate day month year into date1 SEPARATED BY '.'.
    day = p_posdat+6(2).
    month = p_posdat+4(2).
    year =  p_posdat+0(4).
    concatenate day month year into date2 SEPARATED BY '.'.
    *perform open_group.
    loop at t_head.
    CLEAR    IT_BDCDATA.
    REFRESH  IT_BDCDATA.
    perform bdc_dynpro      using   'SAPLACHD'         '1000'.
    perform bdc_field       using   'BDC_OKCODE'        '=ENTR'.
    perform bdc_field       using   'BKPF-BUKRS'        t_head-bukrs.
    perform bdc_dynpro      using   'SAPMF05A'          '1100'.
    perform bdc_field       using   'BDC_OKCODE'        '/00'.
    perform bdc_field       using   'RF05A-BUSCS'       p_doctyp.
    perform bdc_field       using   'INVFO-ACCNT'       t_head-accnt.
    perform bdc_field       using   'INVFO-BLDAT'       date1.
    perform bdc_field       using   'INVFO-BUDAT'       date2.
    perform bdc_field       using   'INVFO-XBLNR'       t_head-xblnr.
    perform bdc_field       using   'INVFO-WRBTR'       t_head-wrbtr1.
    perform bdc_field       using   'INVFO-WAERS'       t_head-waers.
    perform bdc_field       using   'INVFO-SECCO'       t_head-secco.
    perform bdc_field       using   'INVFO-SGTXT'       t_head-sgtxt.
    cnt = 1.
    cnt1 = 1.
    loop at t_item where accnt = t_head-accnt.
    *if cnt > 4.
    *cnt = 4.
    *endif.
    if cnt1 gt 1.
    CONCATENATE 'ACGL_ITEM-MARKSP(' cnt ')' INTO fld.
    perform bdc_field      using   fld                   'X'.
    perform bdc_dynpro      using 'SAPMF05A'          '1100'.
    perform bdc_field       using 'BDC_OKCODE'        '=0005'.
    endif.
    perform bdc_dynpro      using 'SAPMF05A'          '1100'.
    perform bdc_field       using   'BDC_OKCODE'        '/00'.
    CONCATENATE 'ACGL_ITEM-HKONT(' cnt ')' INTO fld.
    perform bdc_field       using  fld                t_item-hkont.
    CONCATENATE 'ACGL_ITEM-WRBTR(' cnt ')' INTO fld.
    perform bdc_field  using       fld                t_item-wrbtr2.
    CONCATENATE 'ACGL_ITEM-MWSKZ(' cnt ')' INTO fld.
    perform bdc_field       using  fld                t_item-mwskz.
    CONCATENATE 'ACGL_ITEM-GSBER(' cnt ')' INTO fld.
    perform bdc_field       using  fld                t_item-gsber.
    CONCATENATE 'ACGL_ITEM-KOSTL(' cnt ')' INTO fld.
    perform bdc_field       using  fld                t_item-kostl.
    perform bdc_field      using  'BDC_CURSOR'  fld.
    *CONCATENATE 'ACGL_ITEM-MARKSP(' cnt ')' INTO fld.
    *perform bdc_field      using   fld                   'X'.
    cnt1 = cnt1 + 1.
    *cnt = cnt + 1.
    *if cnt > 1.
    *perform bdc_dynpro      using 'SAPMF05A'          '1100'.
    *perform bdc_field       using 'BDC_OKCODE'        '=0005'.
    **perform bdc_field       using 'BDC_OKCODE'        '=0006'.
    *endif.
    endloop.
    perform bdc_dynpro      using 'SAPMF05A' '1100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BS'.
    perform bdc_dynpro      using 'SAPMSSY0' '0120'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BU'.
    *perform bdc_transaction using 'FB60'.
    CALL TRANSACTION C_TRANS_FB60 USING IT_BDCDATA  options from l_option
                                 MESSAGES INTO IT_BDC_MESSAGES.
    perform error.
    perform errordownload.
    endloop.
    *perform close_group.
    *Form  data_upload
    FORM data_upload .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME              =  p_file1
       FILETYPE              = 'DAT'
      TABLES
        DATA_TAB             =  t_record.
    ENDFORM.                    " data_upload
    *Form  file_selection
    FORM file_selection .
    CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  =  syst-cprog
          dynpro_number =  syst-dynnr
          field_name    = 'p_file1'
        IMPORTING
          file_name     =  p_file1.
    ENDFORM.                    " file_selection
    Form  BDC_DYNPRO
    FORM BDC_DYNPRO using program dynpro.
      CLEAR IT_BDCDATA.
      IT_BDCDATA-PROGRAM = PROGRAM.
      IT_BDCDATA-DYNPRO = DYNPRO.
      IT_BDCDATA-DYNBEGIN = 'X'.
      APPEND  IT_BDCDATA.
    endform.
    *Form  BDC_FIELD
    FORM  bdc_field using fnam fval.
      CLEAR  IT_BDCDATA.
      IT_BDCDATA-FNAM = FNAM.
      IT_BDCDATA-FVAL = FVAL.
      APPEND  IT_BDCDATA.
    ENDFORM.
    Table Control
    FORM table_control .
      LOOP AT t_record.
        ON CHANGE OF t_record-accnt.
          MOVE-CORRESPONDING t_record TO t_head.
          APPEND t_head.
        ENDON.
      loop at t_head.
             t_item-accnt   =  t_head-accnt.
             t_item-hkont   =  t_record-hkont.
             t_item-wrbtr2  =  t_record-wrbtr2 .
             t_item-mwskz   =  t_record-mwskz .
             t_item-gsber   =  t_record-gsber .
             t_item-kostl   =  t_record-kostl.
        APPEND t_item.
    endloop.
         If t_record-level = 'H'.
             t_head-bukrs   =  t_record-text1.
             t_head-accnt   =  t_record-text2.
             t_head-xblnr   =  t_record-text3.
             t_head-wrbtr1  =  t_record-text4.
             t_head-waers   =  t_record-text5.
             t_head-secco   =  t_record-text6.
             t_head-sgtxt   =  t_record-text7.
          APPEND t_head.
         else.
            t_item-accnt   =  t_head-accnt.
            t_item-hkont   =  t_record-text1.
            t_item-wrbtr2  =  t_record-text2.
            t_item-mwskz   =  t_record-text3.
            t_item-gsber   =  t_record-text4.
            t_item-kostl   =  t_record-text5.
         APPEND t_item.
         endif.
      ENDLOOP.
    ENDFORM.
    FORM error .
      LOOP AT IT_BDC_MESSAGES.
        IF IT_BDC_MESSAGES-msgtyp = 'E'.
       SELECT single  * FROM t100  WHERE
                                    sprsl = it_BDC_MESSAGES-msgspra
                                    AND   arbgb = IT_BDC_MESSAGES-msgid
                                    AND   msgnr = IT_BDC_MESSAGES-msgnr.
          IF sy-subrc = 0.
            l_mstring = t100-text.
            IF l_mstring CS '&1'.
              REPLACE '&1' WITH IT_BDC_MESSAGES-msgv1 INTO l_mstring.
              REPLACE '&2' WITH IT_BDC_MESSAGES-msgv2 INTO l_mstring.
              REPLACE '&3' WITH IT_BDC_MESSAGES-msgv3 INTO l_mstring.
              REPLACE '&4' WITH IT_BDC_MESSAGES-msgv4 INTO l_mstring.
            ELSE.
              REPLACE '&' WITH IT_BDC_MESSAGES-msgv1 INTO l_mstring.
              REPLACE '&' WITH IT_BDC_MESSAGES-msgv2 INTO l_mstring.
              REPLACE '&' WITH IT_BDC_MESSAGES-msgv3 INTO l_mstring.
              REPLACE '&' WITH IT_BDC_MESSAGES-msgv4 INTO l_mstring.
            ENDIF.
            CONDENSE l_mstring.
            it_mess-msgtyp = IT_BDC_MESSAGES-msgtyp.
            it_mess-lms = l_mstring.
            it_mess-msgv1 = IT_BDC_MESSAGES-msgv1.
            APPEND it_mess.
          ELSE.
            it_mess-msgtyp = IT_BDC_MESSAGES-msgtyp.
            it_mess-lms = l_mstring.
            it_mess-msgv1 = IT_BDC_MESSAGES-msgv1.
            APPEND it_mess.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.
    form errordownload.
    *down the internal table to excel file.
    call function 'EXCEL_OLE_STANDARD_DAT'
               EXPORTING
                    file_name                 = 'c:/Error.xls'
               TABLES
                    data_tab                  = it_mess
                    fieldnames                = excel
               EXCEPTIONS
                    file_not_exist            = 1
                    filename_expected         = 2
                    communication_error       = 3
                    ole_object_method_error   = 4
                    ole_object_property_error = 5
                    invalid_filename          = 6
                    invalid_pivot_fields      = 7
                    download_problem          = 8
                    others                    = 9.
    endform.
    Reward if useful
    Regards,
    Narasimha
    Edited by: narasimha marella on May 13, 2008 12:12 PM

Maybe you are looking for

  • In the browser no text appears in the box under the pointer/finger

    Within the browser window when I direct the cursor pointer/finger at an item, the box/window/bubble will appear under it but there it contains no text with information on the item. This works once outside of the FF open window area, ie toolbar, bookm

  • How to find out the page number of an xml element

    Hi everybody, sorry for my very bad english (french guy! logical). I hope you see what I'm looking for. I'm scripting (javascript) an exporting script of every articles from a multi-pages indesign script. In fact I could have one or more article in o

  • Downgraging iTunes

    I have the latest Itunes, 7.2, and I've been having a problem with purchasing audiobooks. Error message saying "Item no longer avalible" blah blah blah. I've checked this board out and saw a few others with my same problem so I figured iTunes is awar

  • Wrong File for Netweaver 2004s on SDN?

    I have downloaded the Sneak Preview NetWeaver 2004's (ABAP - WebDynpro) for Windows. I wonder, it is a RAR-File and not a ZIP-File. I could not extract the file. I tested WinZIP and UnPacker. Otto-Jörg

  • HT4623 i downloaded ios 6 in my mac now how to take it in my itunes and update my iphone 4s?

    i have downloaded ios 6 in my macbook pro but i dont know how to take it in itunes and update my iphone 4s..please help me to do it...thankz shakti..