Replace background and add natural shadow etc.

Hi Guys
What is the best way to replace a background on a picture with 2 people on the foreground?
The people in front have been cut out with a smooth refined edge, but now I have to make sure that it seems as if they are really standing in front of a red curtain. So a naturally smooth transition from front to back with shadow etc.? Now I have quite visible edges in the front image and it is quite clear that the people were pasted in front of the background...
Many Thanks
Bob

That is what the App Store reviews and ratings are for.
Let other potential "upgraders" know.
Meanwhile use Pages '09 which should still be in your Applications/iWork folder.
Peter

Similar Messages

  • Have numerous labels with designed borders as background to add name/ subject etc. "New" Pages only loads the names and seems to destroy all the designs when page is opened. Not happy!

    Have numerous (Avery A4 page format) pages of labels with designed borders as background  to add name/ subject (English - Mathematics etc)
    "New" Pages only loads the names and seems to destroy all background border designs when page is opened.
    The borders of each label show in thumbprint but when opened the border has gone. When the page is closed the borders no longer show in the thumbpint.
    When earlier version of Pages is selected to open the labels it says latest version of Pages is needed!
    What a mess up, it seems to be all too clever!!
    Not happy!

    That is what the App Store reviews and ratings are for.
    Let other potential "upgraders" know.
    Meanwhile use Pages '09 which should still be in your Applications/iWork folder.
    Peter

  • I am trying to set up my new replacement phone and the iCloud account is using my old email that is no longer activated, so I am not able to reset my password in order to set up messaging, etc. What do I do??

    I am trying to set up my new replacement phone and the iCloud account is using my old email that is no longer activated, so I am not able to reset my password in order to set up messaging, etc. What do I do??

    Try to change your Apple ID back to your old email address (http://appleid.apple.com) in order to set up and activate the phone. After the set up please sign out of iCloud and turn off "Find My iPhone" (Settings > iCloud) - do that on all your devices -, then change your Apple ID to your new address again and then add your iCloud account on you devices again.

  • TS4006 How do I add iphone4s to iCloud's "find my phone"? I turned on macbook pros system prefs to "find my phone", turned on iphone4s's "location services" and set up iCloud, etc. iPhone4s still won't show-but macbook does show. It receives gmail, weathe

    How do I add my new iPhone4s to iCloud's "Find my iPhone"? I followed the iCloud instructions and turned on Macbook Pros' system prefs to "find my mac", turned on iPhone4s's "location services" and set up iCloud, etc. In the "Find my iphone" tab of my new iCloud account (on my Macbook Pro) my iPhone4s still won't show—but my macbook does show. I had my iPhone4s set up at the phone store (2 days ago) and It receives gmail, my contacts and calender entries, the weather, etc. I installed the "Find iPhone" app from iTunes on the iPhone4s, synched to iTunes, even reset the phone, but the only device that gets located is my Macbook Pro. I can send a "sound" message to my Mac (and the Mac recieves it) but unable to see the iPhone4s from my Mac, let alone send any message. Any suggestions to get the iPhone4s device to appear in iCloud?
    Thank you in advance for your help.

    OK, I figured it out...I deleted the iCloud account off my iPhone (Settings, iCloud, Delete Account), and then added iCloud back in (Settings, iCloud, SignIn)....and then my email (iCloud) and "Find my phone" features worked! Nice!!!!

  • I need to combine 2 sets of bookmarks in one computer. One set was just replaced -- how do I get it back and add it to the second?

    I am combining the contents of 2 computers into one new computer. I did a file transfer from the first, which transferred all of my bookmarks and passwords; when I did a file transfer from the second, it replaced the bookmarks and passwords that had already transferred. I want BOTH sets together as one Bookmark list in my new computer. How do I find the set that has just been replaced and add it to the second transfer?
    One last thing -- I can still access the computer from the second transfer, but the first has been wiped clean. I wish I had known that the bookmarks would be replaced before I did the second transfer.

    Keep this in mind, when you are restoring a JSON backup it will '''replace''' existing bookmarks (same thing with swapping in a places.sqlite file). When you '''import''' in HTML format, those bookmarks will be '''appended''' to the existing bookmarks.
    I think what you need to do is to recover the backup from just before you attempted to add the second set of bookmarks - hope that Firefox automatically backed them up before you replaced them (very strong probability that was done '''if''' you closed Firefox between the two restorations, but if you didn't close and restart Firefox between those actions it may not have happened). That should give you the bookmarks from the first PC that is wiped clean. - https://support.mozilla.com/en-US/kb/Lost+Bookmarks#w_restoring-bookmark-backups
    Then do an '''export''' into HTML format on the 2nd PC that is still operational. '''Import''' that bookmarks.html into the PC you are working on, to add them to the existing bookmarks. <br />
    Bookmarks > Organize Bookmarks -> Import & Backup - Export HTML... - to a USB stick <br />
    '''''then''''' <br />
    Bookmarks > Organize Bookmarks -> Import & Backup - Import HTML... - from file on that USB stick

  • MY LAYER STYLES AND PHOTO EFFECTS ARE NOT SHOWING UP WHE I CLICK THE BOX, NO DROP SHADOW, ETC

    MY LAYER STYLES AND PHOTO EFFECTS ARE NOT SHOWING UP WHE I CLICK THE BOX, NO DROP SHADOW, ETC,
    I ALSO GET AN ERROR WHEN I OPEN THE EDITOR ONTITLECREATEWITHPARONS COULD NOT BE LOCATED IN THE DYNAMIC LINK ONCORE2DLL

    Seems like the database has been accidently deleted. Browse here on how to get it back http://forums.adobe.com/thread/759100

  • PS CC - I have a B/W background which I flattened - Then, change to RGB and add an RGB color graphic - print out makes background a greenish color - Can't figure out how to adjust.

    PS CC - I have a B/W background which I flattened - Then, change to RGB and add an RGB color graphic - print out makes background a greenish color - Can't figure out how to adjust.
    Thanks,
    Dave

    If the grayscale looks ok on screen, you are probably not setting up your print correctly. What OS? What printer?

  • Hello everyone, So When I use the eraser on a photo and try to save it as jpeg is makes is save it as a copy but the parts that I erased are replaced with a white background and thats not what I want

    Hello everyone, So When I use the eraser on a photo and try to save it as jpeg is makes is save it as a copy but the parts that I erased are replaced with a white background and thats not what I want

    That may not be what you want, but Jpeg images are flattened, without transparency.  Every pixel has a color value, with the default background usually being white.  If you want to crate an image that leaves the erased area transparent, you will need to use an image format such as .gif or .pnc.

  • Bought a looping background and trying to add my own flash on top.

    Trying to design a church flash animation, and so far.. cussing ( shh dont tell ) isn't getting it done.  I have tried different layers, etc... same layer... I only know enough flash to get myself into trouble and have no flash capable friends. (( I need some! ))
    I bought a looping background and am wanting to create my own flash on  top of it.  I have tried separate layers, same layer etc... It shows when I move the playhead and when I click play.. but when I test the movie, only the background and the music shows.. can anyone explain what Im doing wrong?
    Thank you so much!!
    Yvette

    Hi Sam Ibrahim,
    Welcome to the Apple Support Communities!
    If you have already paid for an application from the Mac App Store on one computer, you will need to sign in on the second computer to be able to download it for free from Purchases. Please use the attached article as a reference.
    Mac App Store: Buy, download, and install apps
    http://support.apple.com/kb/PH11493
    Download purchased apps on all your Mac computers
    To automatically download apps when you sign in to your account in App Store on other Mac computers, choose Store > Auto Download Purchases from Other Macs.
    To manually install purchased apps, sign in to your account in App Store, click Purchases, and then install apps.
    To use copied apps, open the copied app and sign in using the Apple ID you used to purchase the app.
    Have a great day,
    Joe

  • HT201269 I purchased an iphone 5s, replacing my iphone 4.  I purchased it at Verizon wireless store and theyactivated the phone for me there. Do I need to remove my old iphone and add my new one to my itunes and apple account?

    I purchased an iphone 5s, replacing my iphone 4. I purchased the new iphone at a Verizon store and they activated my new iphone there. Do I need to remove my old iphone from my itunes/ apple account and add the new phone ? I do not see the iphone 5s listed on the devices in my itunes yet.

    speck1 wrote:
    I purchased an iphone 5s, replacing my iphone 4. I purchased the new iphone at a Verizon store and they activated my new iphone there. Do I need to remove my old iphone from my itunes/ apple account and add the new phone ? I do not see the iphone 5s listed on the devices in my itunes yet.
    Connect your new phone to your computer using the USB cable and it should appear in iTunes. If it doesn't you will need to troubleshoot. Then see: http://support.apple.com/kb/ht2109

  • Transfered date from dying I4 to a replacement I4 and photos didn't transfer.  Well, my background one did.  ANy thoughts?

    I received a replacement I4 and did the backup before going to the new phone to restore. Everything transferred except for photos.  Cannot find photos in itunes.  Any thoughts on where they may be

    I understand the inconvenience you are experiencing when working with Office 2013.
    If you have any feedback about Office 2013 product, click the and submit to Microsoft.
    Microsoft will decide how to fix the problem for all customers.
    For the activation mechanism, it intends to protect customers of their rights and interests.
    For a retail version of Office, if it was purchased with a disk, Microsoft account is not necessary during the installation.
    For volume license of Office, refer to the following link to deploy Office suites can be much efficient:
    http://technet.microsoft.com/en-us/library/cc178982.aspx
    For the problem Office 2013 keep crashing, check the following link to check:
    http://support.microsoft.com/kb/2813143/en-us
    http://support.microsoft.com/kb/2758592/en-us
    Thanks,
    Tyor Wang
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no
    help.
    If you have any feedback on our support, please click
    here

  • Adding background and border with dropshadow to website

    Hi all,
    I have been working on my first website ever and I am sure I made several mistakes.
    I want to improve the look now and would like to add a gradient background (dark blue to light blue). To set the content apart from this I would like to add a white border around it with a dropshadow. I can see how to add the background, but I cannot figure out the border and dropshadow. Can anyone help? Below is the code.
    Thank you so much in advance—I am struggeling....
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>PetsWest Pet Supplies and Dog Training - Home</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="CSS/PW.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
              background-color: #CCC;
    body,td,th {
              color: #FFF;
              font-size: 14px;
    </style>
    </head>
    <body>
    <div id="content"> <img src="images/Indexheader.png" width="860" height="200" alt="Indexheader" />
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><a href="Index.html" title="Home">Home</a>    </li>
        <li><a href="UnderConstruction.html" class="MenuBarItemSubmenu">Retail Store</a>
          <ul>
            <li><a href="UnderConstruction.html">Food</a></li>
            <li><a href="UnderConstruction.html">Supplements</a></li>
            <li><a href="UnderConstruction.html">Health Care</a></li>
            <li><a href="UnderConstruction.html">Toys</a></li>
            <li><a href="UnderConstruction.html">Supplies</a></li>
            <li><a href="UnderConstruction.html">Accessories</a></li>
          </ul>
        </li>
        <li><a class="MenuBarItemSubmenu" href="UnderConstruction.html">Training</a>
          <ul>
            <li><a href="UnderConstruction.html">Facility</a>        </li>
            <li><a href="UnderConstruction.html">Classes</a></li>
            <li><a href="UnderConstruction.html">Instructors</a></li>
          </ul>
        </li>
        <li><a href="LJBates.html" class="MenuBarItemSubmenu">Rehab Center</a>
          <ul>
            <li><a href="UnderConstruction.html">Therapy</a></li>
            <li><a href="UnderConstruction.html">Conditioning</a></li>
            <li><a href="LJBatson.html">L.J. Batson</a></li>
          </ul>
        </li>
        <li><a href="DogWash.html">Dog Wash</a></li>
        <li><a href="http://www.my.calendars.net/petswestcal" target="_blank">Events</a>    </li>
        <li><a href="ContactUs.html">Contact Us</a></li>
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="860" height="398" align="left" id="FlashID" title="Indeximages">
          <param name="movie" value="Assets/PWIndeximages.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object data="Assets/PWIndeximages.swf" type="application/x-shockwave-flash" width="860" height="398" align="left">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </ul>
       <ul class="store">STORE HOURS: Monday – Thursday 9:00AM – 9:00PM Friday &amp; Saturday 9:00AM – 7:00PM Sunday - Closed</ul>
    <p class="PW.css"><img src="images/announcement215x315px.png" alt="Announcementbox" width="215" height="315" align="left" /></p>
      <p class="introcopy"><span class="introheader"><span id="introhead">PetsWest takes a proactive approach</span><br />
      </span><span class="introcopy"><span class="introcopy">to canine wellness that provides the <font color="#000"><b>nutritional</b></font>, <font color="#000"><b>exercise</b></font> and <font color="#000"><b><br />
      treatments</b></font> that best accommodate each dog’s specific needs.<br />
      Whether you have an older dog suffering from<br />
        geriatric ailments, an injured dog that needs short or long term<br />
        therapeutic treatments, or a <font color="#000"><b>performance dog</b></font> whose success<br />
        requires staying fit and trim, the Center offers the right<br />
        combination of professional advice, hands-on <br />
        therapies and nutritional guidance to help you and <br />
      your pet reach your goals.</span></span>  </p>
      <p class="copyrightcopy">Copyright 2011 PetsWest Pet Supplies and Dog Training ::  102 Bearcat Road Aledo, TX  ::  Tel. 817 441 6881 <br />
    ALL RIGHTS RESERVED. ALL TRADEMARKS ACKNOWLEDGED.</span></span></p>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>

    #1 Remove this embedded CSS code from your HTML document(s).  You don't need it.
    body {
        background-color: #CCC;
    body,td,th {
        color: #FFF;
        font-size: 14px;
    #2 Open  PW.css file and add this to the top:
    body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background-color: #CADFEB;
    /**or insert a background-image using the CSS editor**/
    #3 Remove font-family and font-size from all your other CSS selectors.  You don't need to duplicate styles on every element. 
    #4 Replace this:
    #content {
        position:absolute;
        left:199px;
        top:10px;
        width:860px;
        z-index:1;
        right: auto;
        background-color: #FFF;
        text-align: center;
        color: #000;
        height: auto;
    with this:
    #content {
         width:860px;
         margin: 20px auto;
         border: 4px solid silver;
         background-color: #FFF;
         text-align: center;
         color: #000;
         -moz-box-shadow: 5px 5px 5px #888;
         -webkit-box-shadow: 5px 5px 5px #888;
         box-shadow: 5px 5px 5px #888;
    #5 Save your PW.css file and upload to server.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Problem of ragged shadows etc in 3D images/meshes created from greyscale

    I am having a problem creating smooth 3D images.
    I have been taking a 16-bit greyscale image with a various domes and other shapes with systematic gradations of greyness 'impressed' onto it. From this, I use the "create 3D mesh from greyscale" to create a surface whose depth is based on the values in the 16-bit greyscale image: this greyscale image becomes the "Background Depth" layer in the 3D image. I then add a Background layer (that exactly matches the greyscale image) to the 3D image, which will determine how the 3D shape will be coloured.
    I then force ray tracing using the "Quality: " "Ray Trace Draft" or "Ray Trace Final" and the result is a 3D surface with some shadows. Okay so far, BUT the surface is a bit pitted, a bit ragged, not smooth, the shadows have jagged bit in - it's just not very good, in fact, it's unusably poor.  Even if I apply some filtering to the greyscale image to smooth out any nasty discontinuities there may be in it, the final 3D surface is still pitted, with jagged shadows etc.
    If I look at a wireframe version of a 3D image, it is clear that the resolution of the starting image is better than that of the wireframe image: there are several points in the original image to each point on the wireframe image (that is to say, each vertex in the triangles that make up the wire frame image is several points away from each other vertex).
    When I look at the sample images in tutorials etc they look incredibly smooth and appealing. Why cannot I produce the same quality of image?  Are there some settings in the Edit->Preferences->3D panel that I need to reset?  Some way of increasing the number of triangles in the wireframe model?
    I have posted a sample of the grayscale image, and a sample of the 3D image that this greyscale image produces when converted into a mesh. (I've saved them as JPG files, which forces the 16-bit greyscale into 8-bit mode. But the original conversion to a mesh was performed using a 16-bit greyscale image).
    I hope I have described my problem clearly enough.  Can anyone help me?
    I am using windows 7 on an HP Pavilion Laptop, using OpenGL to draw the graphics.
    Many thanks in anticipation.
    Marc

    The main reason for the jagged edges and shadows in your posted rendering was the relatively low number of polygons in the regular array mesh generated from the heightmap image containing sharp edges. To make matters worse, the edges were jaggier than the pixel grid in many places.
    To get non-jagged edges and shadows in your rendering of a heightmap with sharp edges, each polygon of the mesh will need to be smaller than a pixel of the rendered image. Photoshop creates a mesh containing far fewer polygons than the count of pixels in a heightmap. Therefore the resolution of the heightmap image will need to be higher than the resolution of the rendered image unless the mesh is sufficiently distant from the camera to result in it filling only a small region of the rendered image.
    Here is a simplistic example where it was necessary to use a heightmap image with 8 times the horizontal and vertical resolution of the rendered image.
    First, the result when using the black and white heightmap with the same resolution as the rendered image.
    Next is a rendering, at the same resolution as before, but the heightmap and mesh were created in a document with 4 times the vertical and horizontal resolution of the initial attempt. Still slightly jaggy.
    Finally, the same rendering resolution again, but the heightmap and mesh were created in a document with 8 times the vertical and horizontal resolution of the initial attempt. This time the mesh has sufficient density to be rendered with no jaggies.

  • Why "New Item" in ribbon and "Add new item" in xsllistview link to different form

    Hi all,
    I have a question. I have a list with two new forms, one is created in SPD the other one is created in InfoPath (both forms are created by developer).
    I don't know why the new form link to different page when I click "New Item" in ribbon and "Add new item" in list view.
    1. Will open new form that created in InfoPath when click on "New Item" in ribbon.
    2. Will open new form that created in SPD when click on "Add new item" in list view.

    One way to do this would be to hold the urls for the pages you need to display in a table. You could then build the links as one of the columns of a report using some fancy SQL.<br>
    <br>
    Or you could make a simple function to return the correct link based on the relevant parameters:<br>
    <br>
    create or replace function get_url (p_criteria in varchar2) return varchar2<br>
    is<br>
    lv_url varchar2(500);<br>
    begin<br>
    if p_criteria = 'Personal' then<br>
    lv_url := 'http://host:port/pls/portal/etc...';<br>
    end if;<br>
    etc...<br>
    return '&LT;a href="' || lv_url || '"&GT;' || p_criteria || '&LT;/a&GT;';<br>
    end;<br>
    <br>
    Your report could then include the function as one of the columns in your report.<br>
    Not very elegant but it should do the job.
    Patrick.

  • Report is executing in background and need data(output) in excel format

    Report is executing in background and need data(output) to get downloaded in excel format in my PC from an internal table;;in any drive i.e. C: or D: .When executing in backround it prompt to user with which location excel file to be saved and the name of file.How to download in background in excel format?
    Edited by: PRASHANT BHATNAGAR on Aug 26, 2008 6:24 AM

    Hi
    Download a report to excel with format (border, color cell, etc)
    Try this program...it may help you to change the font ..etc.
    Code:
    REPORT ZSIRI NO STANDARD PAGE HEADING.
    this report demonstrates how to send some ABAP data to an
    EXCEL sheet using OLE automation.
    INCLUDE OLE2INCL.
    handles for OLE objects
    DATA: H_EXCEL TYPE OLE2_OBJECT,        " Excel object
          H_MAPL TYPE OLE2_OBJECT,         " list of workbooks
          H_MAP TYPE OLE2_OBJECT,          " workbook
          H_ZL TYPE OLE2_OBJECT,           " cell
          H_F TYPE OLE2_OBJECT.            " font
    TABLES: SPFLI.
    DATA  H TYPE I.
    table of flights
    DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
    *&   Event START-OF-SELECTION
    START-OF-SELECTION.
    read flights
      SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
    display header
      ULINE (61).
      WRITE: /     SY-VLINE NO-GAP,
              (3)  'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (4)  'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (8)  'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
      ULINE /(61).
    display flights
      LOOP AT IT_SPFLI.
      WRITE: / SY-VLINE NO-GAP,
               IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
      ENDLOOP.
      ULINE /(61).
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-007
           EXCEPTIONS
                OTHERS     = 1.
    start Excel
      CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
    PERFORM ERR_HDL.
      SET PROPERTY OF H_EXCEL  'Visible' = 1.
    CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
    PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-008
           EXCEPTIONS
                OTHERS     = 1.
    get list of workbooks, initially empty
      CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP.
      PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - start
    CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP  EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    tell user what is going on
      SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - end
    disconnect from Excel
         CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING  #1 = 'C:\SKV.XLS'.
      FREE OBJECT H_EXCEL.
      PERFORM ERR_HDL.
          FORM FILL_CELL                                                *
          sets cell at coordinates i,j to value val boldtype bold       *
    FORM FILL_CELL USING I J BOLD VAL.
      CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_ZL 'Value' = VAL .
      PERFORM ERR_HDL.
      GET PROPERTY OF H_ZL 'Font' = H_F.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_F 'Bold' = BOLD .
      PERFORM ERR_HDL.
    ENDFORM.
    *&      Form  ERR_HDL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    FORM ERR_HDL.
    IF SY-SUBRC <> 0.
      WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
      STOP.
    ENDIF.
    ENDFORM.                    " ERR_HDL
    Regards
    Murali Papana

Maybe you are looking for

  • Variable screen performance in report

    In my project we are having  somany master data objects, we have to find the performance of selection screen ,earlier we have only display as selection screen  as key now according to our client requirment we are providing both key and text in sleect

  • Can't download any Adobe plug-in updates - get redirected to another Adobe page over and over.

    FF Add-ons Manager tells me that 1) Shockwave Flash (11.9 r900), 2) Adobe Shockwave for Director Netscape (12.0.4.144) and 3) Adobe Acrobat (10.1.9), and are all vulnerable and that the last two are outdated. When I click update on any of them, the a

  • Iplanet web server 6.0 ACL question

    Hi, I am using ACLs to protect some of my URLs in iplanet web server 6.0. I am getting one problem. Its not a problem actually but would like to know how to avoid authenticating the users 2 times. In my ACL file, when ever I create an entry for a pat

  • Vld-1134 on pluggable mapping after importing MDL

    After importing an MDL file and setting the oracle modules to the correct locations, I can deploy just anything in my target module, except mappings that include a pluggable mapping that references a view, which is correctly deployed on the target mo

  • Safari web site incompatibilities

    Why is Safari 3.0.4 incompatible with many webpages? IE and Firefox always load pages correctly, yet Safari is still incompatible and does not display pages correctly. It is really annoying to see Safari misalign graphics and text on a page. Is Apple