Trying to generate the spool from at user command...

Hi Gurus,
The spool is not getting created in the foreground, I think I am missing something here, the code is below.
AT USER-COMMAND.
  CASE sy-ucomm .
    WHEN 'SEND'.
      PERFORM get_cust_emails.
      LOOP AT i_output.
        READ TABLE i_mail INTO wa_mail WITH KEY kunnr = i_output-rcvprn. " rcvprn  is customer number,
        IF sy-subrc IS INITIAL.
          IF wa_mail-smtp_addr IS NOT INITIAL.  if the customer has an email then create the entry in i_output_mail.
            i_output_mail = i_output.
            APPEND i_output_mail.
            CLEAR: i_output_mail.
            DELETE i_output.
            CLEAR: i_output.
          ENDIF.
        ENDIF.
      ENDLOOP.
Setting the Print Parameter's for Portrait
      PERFORM f_print_report. " form is below
      SORT i_output_mail BY rcvprn belnr. "rcvprn is the customer number
      PERFORM f_prepare_mail. " form is below
      MESSAGE i307.
      LEAVE LIST-PROCESSING.
     WHEN 'BACK'.
      LEAVE TO SCREEN 0.
    WHEN 'EXIT'.
      LEAVE PROGRAM.
    WHEN 'CANCEL'.
      LEAVE PROGRAM.
  ENDCASE.
Subroutines provided below:
FORM f_print_report .
*Program name
  DATA : l_prog_name TYPE sy-repid,
         i_print TYPE slis_print_alv.
Local Constants
  CONSTANTS: lc_vline TYPE c VALUE '|'.
  l_prog_name = sy-repid.
  CLEAR: i_events[], wa_events.
  wa_events-name  = c_top. "'TOP_OF_PAGE'.
  wa_events-form  = c_top.
  APPEND wa_events TO i_events.
  CONSTANTS: lc_prtr   TYPE sypdest VALUE 'LP01',
             lc_layout TYPE sypaart VALUE 'X_90_120',
             lc_layout1 TYPE sypaart VALUE 'X_65_255',
             lc_lines  TYPE sylinsz VALUE '-120',
             lc_lines1  TYPE sylinsz VALUE '-185',
             lc_mode   TYPE sycallr VALUE 'CURRENT'.
Get the print paramters
  CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
      authority              = space
      destination            = lc_prtr
      immediately            = space
      new_list_id            = c_x
      layout                 = lc_layout
      line_size              = lc_lines
      mode                   = lc_mode
      no_dialog              = c_x
      report                 = sy-repid
      user                   = sy-uname
      suppress_shading       = c_x
    IMPORTING
      out_parameters         = i_pr_param
      valid                  = l_valid
    EXCEPTIONS
      archive_info_not_found = 1
      invalid_print_params   = 2
      invalid_archive_params = 3
      OTHERS                 = 4.
  CLEAR: g_heading_completed."Indicator for print header
ENDFORM.                    "f_print_report
FORM f_prepare_mail .
  LOOP AT i_output_mail.
    l_flag_mail = 'X'.
    CLEAR: l_flag.
    WRITE: /08(1) c_vline, 10(09) i_output_mail-stapa1, 20(1) c_vline,21(10) i_output_mail-datum,
            31(1) c_vline, 32(10) i_output_mail-belnr,  42(1) c_vline,43(15) i_output_mail-total,
            58(1) c_vline, 59(15) i_output_mail-surcrg, 74(1) c_vline,75(05) i_output_mail-kperc,
            80(1) c_vline, 81(15) i_output_mail-betrg,  96(1) c_vline,97(19) i_output_mail-summe,
           116(1) c_vline,117(03) i_output_mail-curcy, 120(1) c_vline.
    AT END OF rcvprn.
      SUM.
      ULINE /8(113).
      WRITE:  /8(1) c_vline.
      FORMAT COLOR 3.
      WRITE: 10(09) text-064, 20(01) c_vline,             21(10)  space,
              31(1) c_vline, 32(10) space,                42(01)  c_vline, 43(15) i_output_mail-total,
              58(1) c_vline, 59(15) i_output_mail-surcrg, 74(1)   c_vline, 75(05) space,
              80(1) c_vline, 81(15) i_output_mail-betrg,  96(1)   c_vline, 97(19) i_output_mail-summe,
             116(1) c_vline,117(03) space,                120(01) c_vline.
      FORMAT COLOR OFF.
      ULINE /8(113).
      NEW-PAGE.
    ENDAT.
    AT END OF rcvprn.
      i_pr_param-linsz = 1000.
      NEW-PAGE PRINT ON PARAMETERS i_pr_param NO DIALOG.
      NEW-PAGE PRINT OFF.
    If spool number is obtained, generate PDF
      IF sy-spono IS NOT INITIAL.
        PERFORM f_generate_pdf.
*Send the PDF as mail attachement
        PERFORM f_send_email.
      ENDIF.
    ENDAT.
  ENDLOOP.
ENDFORM.                   " SEND_MAIL
Please check the code and suggest some changes.
Thanks,
Sukumar.

Hi,
The data is getting printed incorrectly, I have coded as you have instructed. But the report output (not emailing) is getting printed ok. The code for that is as below.
FORM f_list_display .
  LOOP AT i_output.
    g_flag = c_x.
    CLEAR: g_flag_mail.
    WRITE: /08(1) c_vline, 10(09) i_output-stapa1, 20(1) c_vline,21(10) i_output-datum,
            31(1) c_vline, 32(10) i_output-belnr,  42(1) c_vline,43(15) i_output-total,
            58(1) c_vline, 59(15) i_output-surcrg, 74(1) c_vline,75(05) i_output-kperc,
            80(1) c_vline, 81(15) i_output-betrg,  96(1) c_vline,97(19) i_output-summe,
           116(1) c_vline,117(03) i_output-curcy, 120(1) c_vline,121(10) i_output-rcvprn.
    AT END OF rcvprn.
      SUM.
      ULINE /8(113).
      WRITE:  /8(1) c_vline.
      FORMAT COLOR 3.
      WRITE: 10(09) text-064, 20(01) c_vline,        21(10)  space,
              31(1) c_vline, 32(10) space,           42(01)  c_vline, 43(15) i_output-total,
              58(1) c_vline, 59(15) i_output-surcrg, 74(1)   c_vline, 75(05) space,
              80(1) c_vline, 81(15) i_output-betrg,  96(1)   c_vline, 97(19) i_output-summe,
             116(1) c_vline,117(03) space,           120(01) c_vline.
      FORMAT COLOR OFF.
      ULINE /8(113).
      NEW-PAGE.
    ENDAT.
  ENDLOOP.
ENDFORM.                    " F_LIST_DISPLAY
The code which you gave should work as the above code. The above code is for report output and our code is for sending mails to the customers separately, thus we are creating separate spools customer-wise.
Our code for emailing to customers seperately is below.
FORM f_prepare_mail .
LOOP AT i_output_mail.
At new rcvprn.
NEW-PAGE PRINT ON PARAMETERS i_pr_param NO DIALOG.
endat.
l_flag_mail = 'X'.
CLEAR: l_flag.
WRITE: /08(1) c_vline, 10(09) i_output_mail-stapa1, 20(1) c_vline,21(10) i_output_mail-datum,
31(1) c_vline, 32(10) i_output_mail-belnr, 42(1) c_vline,43(15) i_output_mail-total,
58(1) c_vline, 59(15) i_output_mail-surcrg, 74(1) c_vline,75(05) i_output_mail-kperc,
80(1) c_vline, 81(15) i_output_mail-betrg, 96(1) c_vline,97(19) i_output_mail-summe,
116(1) c_vline,117(03) i_output_mail-curcy, 120(1) c_vline.
AT END OF rcvprn.
SUM.
ULINE /8(113).
WRITE: /8(1) c_vline.
FORMAT COLOR 3.
WRITE: 10(09) text-064, 20(01) c_vline, 21(10) space,
31(1) c_vline, 32(10) space, 42(01) c_vline, 43(15) i_output_mail-total,
58(1) c_vline, 59(15) i_output_mail-surcrg, 74(1) c_vline, 75(05) space,
80(1) c_vline, 81(15) i_output_mail-betrg, 96(1) c_vline, 97(19) i_output_mail-summe,
116(1) c_vline,117(03) space, 120(01) c_vline.
FORMAT COLOR OFF.
ULINE /8(113).
NEW-PAGE.
ENDAT.
AT END OF rcvprn.
i_pr_param-linsz = 1000.
NEW-PAGE PRINT OFF.
If spool number is obtained, generate PDF
IF sy-spono IS NOT INITIAL.
PERFORM f_generate_pdf.
*Send the PDF as mail attachement
PERFORM f_send_email.
ENDIF.
ENDAT.
ENDLOOP.
ENDFORM. " SEND_MAIL
Let me know, what could be the error in our code which generates separate spools for customers.
Thanks in advance for the help.
Sukumar.

Similar Messages

  • Not able to generate the spool from transaction cv02n .Kindly help,urgent..

    Hi ALL,
            I have a problem in transaction CV02N. Actually i am an ABAPER, but i need some help of PP Guys.
    The requirement is as follows:-
       The client says that they have uploaded a  '.PS'  file into the transaction cv02n.Here in the first screen they give doc, doc type,doc part, doc version. when clicked on enter it take us to second screen , where they enter the '.PS' file path under 'originals' , in the tab 'document data'.   Later they goto transaction CO01 and release an order at the operation level and save it.
    Then it generates a spool. Now if we goto SP01 and check the spool with the number generated during saving CO01. We will be getting the scripts and the '.PS' file separately in a different spool in the production system in 4.6. But in my new upgraded system(6.0), i am not able to view the '.PS' file in the output spool.It seems to me that, it is not getting generated. Pls suggest me, as it is a very urgent issue. Need to close it by today at 1.00pm.
    Regards,
    Manasa.S

    dear friend,
    there would be several reasons for that.
    first, check out your Output Device (your user in SU01) - goto to tab Defaults and look at Spool Control.
    did you tick the 'output immediately' checkbox?
    Fix it if nessesary. Just in case run SPAD to check out your device.
    second, check out the 'output' config for Document Management (because you use t-code CV02N).
    also make sure that relevant output condition exists.
    third, ask someone to do the same - another user with another output device. does he/she have the same problem?
    and the last, try to find out the functional guy or documentation.
    also ask your basis guy regarding the lost transports or any other issues...
    do not worry, life is good.
    good luck!

  • What is a user parameter list in iMovie? I am trying to sent the movie from imovie to idvd and I keep getting an error with the user parameter list. Help?

    What is a user parameter list in iMovie? I am trying to sent the movie from imovie to idvd and I keep getting an error with the user parameter list. Help?

    Can you give more details?   What exactly is the entire error message text?  there should be an error number too.   Are you trying to finalize this to an external disk?

  • Generate the spool no

    Dear friends,
    I have to generate the spool request no by self written code.
    I want to creat this against an invoice no. TC : vf02
    Can any one help me pelase.
    Thanks and Regards
    vivek srivastava

    hi
    Before submitting get the latest spool number from TSP01 table(with date,user,latest one),which will store the spool numbers.
    after submitting again get the latest spool number from
    TSP01 table(with date, user,latest one)and compare both of them previous one and present one.
    if they are same then no spool, if they are not same then take the present one as new spool generated.
    hope this helps
    regards
    Aakash Banga

  • I howard has an iMac, and when she tries to wake the Mac from sleep, she has to reboot it instead.

    I Howard have an iMac, and when trie to wake the iMac from  a 12hr to 24hr sleep, i have to reboot it instead.  I am Running snow lepord. I tried resetting thr PRam but that work as a temporary fix. Does anybody have any suggestions on how to fix this.Thanks

    Hi Howard,
    Snow Leoprd/10.6, or Lion/10.7?
    What all, especially USB things are connected?
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed. Or an errant process eating up RAM.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • Trying to make the jump from JPEG to RAW...

    Hi all, I'm trying to make the jump from JPEG to RAW, and am hoping you might be able to help with a few questions.
    When I open JPEGs in Lightroom's Develop module, the settings are mostly zero by default. But when I open RAW files, some of the settings seem to have non-zero default to values.
    Am I correct to think these settings are from metadata saved into the RAW file when I took the picture? eg, the camera saves the White Balance settings as metadata within the RAW file, even though the White Balance settings don't actually affect the image data itself. And so when I open that RAW file in Lightroom, it'll apply the White Balance as recorded within the file, making that a non-zero default.
    Is that about right?
    Does Lightroom similarly 'pre-set' other values when importing RAW files? (I ask because I seem to have non-zero settings for Blacks, Sharpening, as well as the Color slider under Noise Reduction.)
    Meaning: I'm not quite sure "how much work" Lightroom is doing by default when I import RAW files, and how much I need to do to at least reproduce what my camera would do in making a JPEG.
    For example, even though Color under Noise Reduction is given a value -- Luminance, also under under Noise Reduction, is left at zero. And the picture looks a bit grainy. Would my camera have processed some Luminance Noise Reduction? If so, is there a way to get Lightroom to help get that pre-set too?
    Basically, is there a rule of thumb for how a novice should import a RAW file and have it reasonably "at least as good" as what the JPEG would have been?
    Thanks very kindly, -Scott

    Given that the camera ships with so many special effect presets -- is there no built-in preset that could be named "Auto Camera" so to speak? Or might it be possible import such a preset that somebody else has made?
    Lightroom, nor any other third party raw processing program will not read the camera settings beyond simple stuff such as white balance. So you cannot do this. If you go raw, you really have to change your mindset and completely ignore the in-camera jpeg styles. Just set it to a neutral style and learn what the preview on the camera means for the actual raw data. You will find that this gives you orders of magnitude more creative freedom afterwards as you will not be stuck with a burned in interpretation.
    So (for me) even just making my own presets -- let alone making separate presets for every ISO -- all that seems a bit daunting.
    There really is no need to at all. I don't use presets for example. I think they are a waste of time as it is extremely rare that two images need exactly the same treatment. You really are just choosing a different starting point. I start all my raw at a relatively neutral setting (but using a camera profile generated from a colorchecker!) and blast through a shoot very quickly. You'll learn how to recognize what modifications to the Develop settings images need and just do it. Then typically I use auto-sync or manual sync to modify similar shots (say a series of head shots taken shortly after each other). I work differently as most of my photography is landscape, but a typical workflow for many photographers that do more people/style/event stuff is to import all the raw and start culling them with pick/reject flags and refine collection. You'll arrive at a subset that is worth looking  at more closely and to finetune their development. The conservative default rendering helps you here because you'll quickly see what images are simply badly exposed, not in correct focus, etc. and you can reject them.
    Think of your raw as the unprinted negative. It represents a nascent image. One that still has to form completely. A jpeg is like a polaroid. The image style is pretty much chosen for you by the film maker. There is very little you can do to it afterwards without it breaking down. Raw gives you much more freedom but it does come with a learning curve and it is more tasking for your equipment. Many people including many pros are simply not interested (or don't see the pay off) in this part of the creative photographic process and just shoot jpeg, which is a fine approach (just not mine). Lightroom can help you there too to quickly find the best images in a series, keyword, caption, and disseminate.

  • I am trying to put the music from my ipod onto my new computer. After installing itunes and connecting my ipod touch a message comes up saying that my ipod is already synced with another library. What can I do to sync it with a new library?

    I recently got a new computer and got rid of my old one. I am trying to put the music from my ipod touch onto my new computer but keep getting a message saying that my ipod is already synced with a library and cannot be synced with more than one. How do I access that library on my new computer and if I can't are their other ways for me to put the music on my ipod into my new computer?

    Syncing to a new iTunes library or computer will erase your ipod. Only if you back up your iPod manually before syncing, you can restore your device from that backup again. A manual backup does not include the sync process.
    Disable autosync in iTunes, connect your iPod to your new computer and right click on it in the device list and choose backup. iTunes will backup your ipod without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    When you connect your iPod for the first time, all media content will be erased. But you can restore your settings and app data from your manual backup afterwards.
    Don't forget to set up at least one contact and event on your new computer to be able to merge calendars and contacts when you sync the ipod for the first time.
    Music is one way only, from the computer to your device, unless you bought the songs in itunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread:http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0
    About backups and what's saved: http://support.apple.com/kb/HT4946
    How to back up and restore:http://support.apple.com/kb/HT1414
    How to download apps for free again:http://support.apple.com/kb/HT2519
    Saving other data is also described here. How to back up your data and set up as a new device

  • How do you modify the web.xml to lock down the pages from a user role

    how do you modify the web.xml to lock down the pages from a user role

    I'll make a stab at your question:
    The following is an example of where a URL is protected within a web.xml deployment descriptor. In this example, the URL /protectedA within the application is protected:
    <!-- security constraints -->
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>protectedA</web-resource-name>
    <url-pattern>/protectedA</url-pattern>
    </web-resource-collection>
    <!-- authorization -->
    <auth-constraint>
    <role-name>sr_developer</role-name>
    </auth-constraint>
    </security-constraint>
    Sun's explaination here:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security4.html

  • How do I stop an app from waiting?  I have tried to reboot by holding the home key and power button to power down.  Also, I have tried to sync the apps from my laptop with no success.  Can you help?  Thanks.

    How do I stop an app from waiting?  I have tried to reboot by holding the home key and power button to power down.  The app is still grayed out and waiting so it cannot be deleted.  Also, I have tried to sync the apps from my laptop and tried downloading new appswith no success.  Can you help?  Thanks

    If there are multiple apps trying to download at once, only one can download at a time and the rest say "Waiting" until it is then their turn. Try this. Double tap the icon of the Waiting app, and it should resume the download.
    How to Solve the Problem of An iPad App Download Stuck on “Waiting”
    http://ipadacademy.com/2012/06/how-to-solve-the-problem-of-an-ipad-app-download- stuck-on-waiting
    How To Get Rid Of Your iPad App Download Frozen Problem
    http://www.sidelineapple.com/how-to-get-rid-of-your-ipad-app-download-frozen-pro blem-and-not-lose-years-of-your-life-video/
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/ht1725
    Another thing to try - Turn the iPad Off & then back ON.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

  • I'm trying to transfer the music from my iPhone 3G to my iPod shuffle but I don't know how. I checked on websites but i dont really trust them cause I don't want all my music to be erased (cause i spent a lot of money on them) can someone PLEASE help me.

    'm trying to transfer the music from my iPhone 3G to my iPod shuffle using iTunes but I don't know how. I checked on websites but i dont really trust them cause I don't want all my music to be erased (cause i spent a lot of money on them) can someone PLEASE help me. Why is iTunes so complicated.

    iTunes match - http://www.apple.com/itunes/itunes-match/ - see FAQ at end too
    http://arstechnica.com/apple/2011/11/itunes-match-your-questions-answered/
    http://ipod.about.com/od/UsingiOS5/a/Itunes-Match-Frequently-Asked-Questions.htm
    http://forums.macrumors.com/showthread.php?t=1277415 - deleting items from your computer but saving them in iCloud.  Yes, but risky.

  • HT201272 When i was younger i did all my itunes purchasing through my father's account. I just purchased my own Mac book Air and i am trying to transfer the music from my iphone to my Mac. Is there a way to do this even though the music wasn't purchased o

    When i was younger i did all my itunes purchasing through my father's account. I just purchased my own Mac book Air and i am trying to transfer the music from my iphone to my Mac. Is there a way to do this even though the music wasn't purchased on my id?

    Have you authorised your own Mac to your father's account?

  • How do I get my entire photo stream to my new iPad. I use my ICloud and some of them showed up but most if them did not. I am trying to sync the photos from my phone to an iPad 1 and iPad mini.

    How do I get my entire photo stream to my new iPad. I use my ICloud and some of them showed up but most if them did not. I am trying to sync the photos from my phone to an iPad 1 and iPad mini.

    Photostream in the cloud only keeps photos from the last 30 days (subject to a 1,000 photo limit). When photostream syncs the photos to your device they will stay there until deleted, which means you may well have more photos in your photostream album on your device than there are in photostream in the cloud.
    The consequence of this is that if you turn photostream off and on again on your device (or enable it for the first time), it will only be populated with photos from the last 30 days, which may not be all the photos that were previously in the photostream album on that device.

  • I am trying to display the output from my ipod touch on apple tv. i can get the audio but no video. please help

    i am trying to display the output from my ipod touch on apple tv. i can get the audio but no video. Thank you for any advice.

    What output are you trying to get to your tv?

  • I'm trying to transfer the files from my ipod touch to my new computer itunes keeps telling me that all the apps and music won't be transferred that the computer is authorized.  Then it brings up a previous apple id which is no longer valid.

    I'm trying to transfer the files from my Ipod touch to my new computer.  It is saying that not all of the files will be transferred because the computer isn't authorized.  I have authorized it several times but it keeps bring up a previous apple id that I had but when I try to log in using that id it tells be it is no longer vailid and then it stops and won't let me transfer any files.  Any suggestion are welcome.  Thank You

    The computer has to be authorized for the account that purcchased the media.
    What error message are you getting when you try to lauthorize the computer for that account?
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • I lost an xcel doc. Tried to find the Library folder in Users not there when use Finder. But when trying to upload a photo, iphoto found the library folder I can see my doc in Office 2011 Autorecov, but can't access it! How do I get User to show Library

    I lost an xcel doc a couple of days ago. Tried to find the Library folder in Users but not there when I use Finder (even when I do shift-command-G). But when trying to upload a photo in iphoto I found the library folder in Users. I can see my doc in Office 2011 Autorecovery, but can't access it! How do I get User to show Library then I can get to my long lost document?

    The auto recovery dat should be in the Microsoft User Data folder in your documents folder, not in the Library. However, I Haven't had to look recently.

Maybe you are looking for

  • Drivers for HP LaserJet Pro 200 color MFP M276nw and MAC

    My pc has recently been updated with Maverics 10.9, I've installed the drivers from this website and the CD, but eveytime I print the pages come out blank.  Please help asap.

  • Printer won't print from one computer in network

    We have a family network and for some reason on of the computers no longer can print.  The printer is a photosmart c7280 all-in-one.  I uninstalled the printer and driver and then downloaded a new driver and installed it to the computer.  The compute

  • How to reassociate PDF files in IE from Acrobat to Reader

    Hi all, How can I change program associated to open PDF in Internet Explorer. I have installed both Adobe Reader and Adobe Acrobat and at the moment Acrobat is the one which opens PDFs in IE. I wish to change it to Reader. I have associated PDF files

  • Configuring Mac Mini to automatically play QT file on startup

    I'm trying to configure a new Mac Mini 2.3GHz running Lion to function as a very dumbed down media player for a video art piece which is being installed at a client's office. Basically, I'd like to configure it so that from 7:30am-7:30pm it continuou

  • TNS-PROTOCOL ADAPΤER ERROR AFTER UPGRADING DΒ 10.2.0.4.0 TO 11.1.0.7.0

    Hello! I tried to upgrade database 10.2.0.4.0 to 11.1.0.7.0. I followed all the pre-upgrade steps suggested by http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#BABGAGAE and by the Complete Checklist for Upgrades to 11gR1 usi