Help with RFC sender, Program And RFC Destination

Hi!!
my scenary is asynchronous
     RFC Sender -> SAP-XI -> Oracle reciever
I have a problem with abap, especially rfc, program and rfc destination. The connection with SAP-XI exist and SAP-XI  receive the message but the message is empty.
1. In my program on the line
          CALL FUNCTION 'ZBAPI_SD_PED_ORD_SERVIC' DESTINATION 'ZXI_ENVIAR_PED_ORD_SERVIC'
          catch an error system_failure = 2 and it dont execute the rfc ZBAPI_SD_PED_ORD_SERVIC
2. I rewrite my program, that line to
          CALL FUNCTION 'ZBAPI_SD_PED_ORD_SERVIC' STARTING NEW TASK 'NEW' DESTINATION 'ZXI_ENVIAR_PED_ORD_SERVIC'
          catch an error communication_failure = 1 but the rfc ZBAPI_SD_PED_ORD_SERVIC is executed but no send to SAP-XI
3. I rewrite my program, that line to
          CALL FUNCTION 'ZBAPI_SD_PED_ORD_SERVIC' IN BACKGROUND TASK DESTINATION 'ZXI_ENVIAR_PED_ORD_SERVIC'
          No error but it dont execute the rfc ZBAPI_SD_PED_ORD_SERVIC and the message in SAP-XI is empty, display the tables but not the row. i check the table PED_ORDEN and RETURN but the controls fields dont are afected.
What is my Error?
Where am i making a mistake?
RFC
FUNCTION zbapi_sd_ped_ord_servic.
*"Interfase local
*"  TABLES
*"      PED_ORDEN STRUCTURE  ZSD_RFC_T04
*"      RETURN STRUCTURE  ZSD_RFC_R06
  TABLES: zsd_ped_orden, zsd_rfc_r01.
  DATA: tb_ped_orden LIKE zsd_ped_orden  OCCURS 0 WITH HEADER LINE,
                 tb_rfc_orden_error LIKE zsd_rfc_r01 OCCURS 0 WITH HEADER LINE.
*Get Pedido by Ordenes
  SELECT  *  INTO CORRESPONDING FIELDS OF TABLE tb_ped_orden
          FROM zsd_ped_orden
          WHERE estatus  EQ  space.
  LOOP AT tb_ped_orden.
    MOVE-CORRESPONDING tb_ped_orden TO ped_orden.
    APPEND ped_orden.
    tb_ped_orden-estatus = 'X'.
    tb_ped_orden-fecha_actualiz = sy-datum.
    tb_ped_orden-hora_actualiz = sy-uzeit.
    MODIFY tb_ped_orden.
  ENDLOOP. 
  MODIFY  zsd_ped_orden FROM TABLE tb_ped_orden.
  COMMIT WORK.
*Errors in Ordenes
  SELECT  *  INTO CORRESPONDING FIELDS OF TABLE tb_rfc_orden_error
          FROM zsd_rfc_r01
          WHERE estatus  EQ  space.
  LOOP AT tb_rfc_orden_error.
    MOVE-CORRESPONDING tb_rfc_orden_error TO return.
    APPEND  return.
    tb_rfc_orden_error-estatus = 'X'.
    tb_rfc_orden_error-fecha_actualiz = sy-datum.
    tb_rfc_orden_error-hora_actualiz = sy-uzeit.
    MODIFY tb_rfc_orden_error.
  ENDLOOP.
  MODIFY  zsd_rfc_r01 FROM TABLE tb_rfc_orden_error.
  COMMIT WORK.
ENDFUNCTION.
PROGRAM
REPORT  ZBAPI_SD_PED_ORD_SERVIC.
DATA: ped_orden LIKE ZSD_RFC_T04 OCCURS 0 WITH HEADER LINE,
      return LIKE ZSD_RFC_R06 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'ZBAPI_SD_PED_ORD_SERVIC' DESTINATION 'ZXI_ENVIAR_PED_ORD_SERVIC'
     TABLES
          ped_orden             = ped_orden
          return                = return
  EXCEPTIONS
    communication_failure = 1
    system_failure        = 2
    OTHERS                = 3.
IF sy-subrc <> 0.
  MESSAGE 'error' type 'I'.
ENDIF.
COMMIT WORK.
RFC DESTINATION
RFC Destination: ZXI_ENVIAR_PED_ORD_SERVIC
Connection TYpe: TCP/IP Connection
Register Server Program: ZBAPI_SD_PED_ORD_SERVIC
Gateway host: host00
Gateway service: sapgw00

hi
For rfc sender adapter we hv to do some settings .Please chk whether this settings are well configured or not.
a) RFC destination
b) RFC channel in the XI directory
This weblog is a response to a few question about the basic configuration of the RFC sender adapter
that were posted on the XI forum (and also on my e-mail)
So here we go, basically we have to configure 2 things:
a) RFC destination
b) RFC channel in the XI directory
RFC destination:
1. To create the RFC go to TCODE: SM59
2. Create new destination of type T (TCP/IP)
3. Make sure you select Registered Server Program option before writing your program ID
4. Write you program ID (remember it's case-sensitive)
5. In the gateway host and gateway service write the values of your "Application system" - business system (not the XI server)
7. No configuration in the J2EE administrator nessecary
Now we can proceed to RFC channel configuration:
1. Enter your Application Server
2. Your Application Server Service
3. Enter your Program ID from the RFC destination
And we're done:)
Now you can test the RFC destination in SM59 to see if it works.
Please chk this following link.
1. RFC Processing with the RFC Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/25/76cd3bae738826e10000000a11402f/content.htm
2. Configuring the Sender RFC Adapter -
http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
3.  /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
regards
Manas

Similar Messages

  • RFC Send (Sync) --- XI -- RFC Rec (Sync) scenario. Pls help

    Hello All,
    There is one scenario
    RFC Send (Sync) --- XI -- RFC Rec (Sync)
    Now I want to make it to async as I do not need response
    RFC Send (Async)  ---  XI -- RFC Rec (Async)
    1. I know about Abap Client and Server Proxy that can be
        async but the RFC's are very complex in nature. I am not
        and abaper also
        Can there be a way that Sender and Receiver RFC can be
        made Async. Or any other simple way.
    Regards

    Hi Swarup,
    I have done the same thing.
    I have removed the export parameters of both the RFCs
    In interface mapping I used the request message mapping. and kept the response mapping part blank.
    Now when I run this scenario it works fine but also
    in sxmb_moni I see two messages.
    One for my request mapping. -- ok .
    Second empty message for response mapping.
    I do not want this second message in my sxmb_moni.
    Pls advice
    Regards

  • Help with opening Adobe Reader and downloading updates

    I can not open Adobe .pdf files any longer (this started yesterday, prior to that I could open adobe files).
    When I double click a .pdf file I get this notice on my screen: Windows cannot access the specified device path or file. You may not have the appropriate permission to access file.
    So I went to the Adobe download site to download a new copy of Adobe.  When I start the download I get this on the screen:  The instruction at "0x0e3a0068" referenced memory at "0x0e3a0068."  The memory could not be written.  Then two options are listed: click OK to terminate or cancel to debug.  So I click on cancel and I get this on my screen: Internet Explorer has closed this webpage to help protect your computer.   A malfunctioning or malicious addon has caused I.E. to close this webpage.
    I don't have AVG running, I do have avast but I've disabled it.  I ran Registry Mechanic and an I.E. erasure program but nothing helps.
    I have gone into I.E. and reduced the security level to its lowest state but no joy.
    So, any ideas or suggestions on what's the problem and how to overcome it would be appreciated.  Thanks, in advance, for your reply.  Jim R.

    Hi Mike..tried that as well but no joy.  A friend of mine was looking at it all and noticed that it was an I.E. thing as far as not letting me redownload the reader so I went to Mozilla Firefox and I could download a new version but....whenever I attempt to open a .pdf file I get that message, "Windows can not open the specified device, path or file. You man not have the appropriate permissions to access the item." 
    Damn...this is irritating as I need to get to some of thos files as I need them for a Journal I'm working on as editor-in-chief. 
    It all worked just fine last Saturday but starting Monday when I was on my flight out to D.C.  no joy. 
    Sigh...Jim R.
    Jim R.
    Date: Tue, 1 Dec 2009 14:50:27 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help with opening Adobe Reader and downloading updates
    Under the help menu, there is an option to repair the installation of reader. Did you try that?
    >

  • Need help with my iPhone 5 and my Macbook Pro.

    Need help with my iPhone 5 and my Macbook Pro.  I was purchased some music on itunes at my mac. Some reason I deleted those music from both on Mac and iPhone 5.  Today, I went to my iPhone iTunes store inside of iCloud to redownload my puchased. But those song won't able to sync back to my iTunes library on my Mac.  Can anyone help me with that ??....
    iPhone 5, iOS 6.0.1

    You've posted to the iTunes Match forum, which your question does not appear to be related to. You'll get better support responses by posting to either the iTunes for Mac or iTunes for Windows forum. Which ever is more appropriate for your situation.

  • Barbara Brundage, can you help with PS Elements 11 and Epson R2000 printer issue?

    Seeking help with PS Elements 11 which does not work with Epson r2000 printer.  Epson tech support could not fix, said it is PS e11 problem.  Receive prompt on PS e11 screen when I try to print stating "not compatible or settings are not correct.  Have set PS to manage color and printer manages color to off.  Would appreciate any suggestions.  Thank you.

    Hi,
    Sincerely appreciate your help.  Running Windows 7 on a  Dell XPS420.  System has been very stable for years.  Before purchasing the Epson r2000, I owned an r1800 which was an excellent printer but after seven years started to exhibit paper feed problems.  The r1800 worked with all applications and I was well satisfied with the saturation, contrast, etc. printing mostly 8x10 and 11x17 prints. 
    Thank you for the information about the # of installs for PS E11, will try uninstall/reinstall this morning.
    Will let you know how things go.
    Richard
    Date: Thu, 12 Sep 2013 19:47:38 -0700
    From: [email protected]
    To: [email protected]
    Subject: Barbara Brundage, can you help with PS Elements 11 and Epson R2000 printer issue?
        Re: Barbara Brundage, can you help with PS Elements 11 and Epson R2000 printer issue?
        created by Barbara B. in Photoshop Elements - View the full discussion
    What operating system are you using?
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5678022#5678022
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5678022#5678022
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5678022#5678022. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • New help with my mac air and airport extreme time capsule dont know how to save to time capsule and use as a external hd

    new help with my mac air and airport extreme time capsule dont know how to save to time capsule and use as a external hd would like 2 store my home videos and pictures on the time machine (ONLY) as the MAC AIR has storage space limited space please help. THANK YOU.

    See the info here about sharing or using the TC for data.
    Q3 http://pondini.org/TM/Time_Capsule.html
    It is extremely important you realise.. the Time Capsule was never designed for this.
    It is a backup target for Time Machine.. that is the software on the computer that does backups.. it has no direct connection to the Time Capsule.
    It has no ability to back itself up.. unlike all other NAS in the market. It is therefore likely one day you will lose all your files unless you seriously work out how to backup.
    The TC is slow to spin up the hard disk and fast to spin down. iTunes and iPhoto will continually lose connection to their respective libraries.
    iPhoto in particular is easy to corrupt when you move photos over wireless into the library.. once corrupted all is corrupt. A single photo will ruin it all.. so backup is utterly essential.
    Time Machine cannot do backups of network drives. ie the TC. You will need a different backup software like CCC. You will then need another target to backup to..

  • RFC Receiver Adapter and RFC Destination -- Help

    Hi,
    I would like to configure the RFC Receiver Adapter for the invokation of a RFC on SAP System (Name: ALPHA) using a RFC destination provided by another system named BETA.
    I have set External Server as server type.
    My first question is: I have to quote an application server gateway and a gateway service. Is this information related to a service on ALPHA or BETA?
    My second question is:
    It is also necessary to provide a Programm-ID. The destination on BETA is a R/3 connection and doesn't have a programm id. Where do I get this from?
    And my last question is:
    Is at all possible to use the RFC destination on BETA?
    Any help is really appreciated...
    Kind regards,
    Heiko

    Hi Heiko,
    I don't fully understand your need but:)
    since both of your systems are SAP systems
    why are you trying to use external server?
    can't you just call RFC on BETA
    and inside this RFC on beta call RFC on ALPHA?
    in a sync or async way?
    can you tell a little more about your requirement ?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Need Help with a JAVA programming assignment

    How do I write a JAVA program that could be used as the start of an MS-DOS/Windows simulation of the IEEE 802.3 protocol? I am to only code the parts necessary to build the 802.3 frame. For the initial implementation, the Checksum function need not be a CRC function, and the Destination and Source addresses wil be in input, stored, and output, and in dotted-decimal format.
    I need:
    1. A record to describe the frame, with each field being a (byte-) string of the required size, except that the Data field is of variable size. Although the "Source address" and "Destination address" would be 6 bytes for a real implementation, for this first implementation you can either assume they'll be text strings in the usual "dotted decimal" form (e.g. "14.04.05.18.01.25" as a typical example--from Tanenbaum, p. 429), or 6 hex digits.
    2. Suitable constant declarations for values such as the standard "Preamble" and "Start of Frame" values.
    3. Suitable functions to Get the three variable values "Destination address", "Source address", and "Data" from the standard input device.
    4. A suitable function to display each of the fields of a given frame in a format such as:
    Preamble: ...
    StartofFrame: ...
    Destination: ...
    etc.
    5. A suitable function to generate a "Pad" field if necessary.
    6. A "dummy" Checksum-generating function which just takes the first 32 bits (4 bytes) of the Data (or Data+Pad, if necessary) rather than an actual CRC algorithm.
    I have no experience with Java. Can you help me or start me in the right direction?
    Thanks...........TK

    If you have no experience with Java, then it seems to me your first step should be to start learning the language. But it's difficult to advise how, since we don't know anything about your background. There are many good books available on Java, some are for beginners and some are for advanced programmers, so I'd suggest you go somewhere that has a large selection and start looking for something that doesn't seem completely over your head.

  • I need help with my photoshop program. I need to talk to someone on the phone.

    I would like to talk to a support person on the phone about operating my photoshop program. It is not following commands properly!!

    @sbarabas:
    This is why I don't go online for help. You send me to another site when I have a job to do. Cannot go through this for two days. I would go broke.
    Well, you have to choose from one of the various options available for support to be able to talk to someone. Numbers are also region-specific. If you go in to this page http://helpx.adobe.com/contact/index.html you'll be able to drill down to what you want support for. You can get specific numbers there.
    I bought a new MacBook Pro and transfered everything from Time Machine. Now my Photoshop is not responding to my commands properly. It does what it wants to do and crashes when I move layers with the mouse.
    The answer to your issue is in your question itself. When you buy a new MacBook Pro and migrate data using Migration Assistant or Time Machine, Photoshop WILL misbehave. You have to do a fresh install of Photoshop using the installation disc or the downloaded installation file (if you opted for electronic delivery). This will 110% fix your issue.
    Please understand we're here to offer you solutions as well. We're not all Adobe employees, most of us are 'users' just like you who are voluntarily contributing to this community. We're more than willing to help you resolve this issue (just like we help 100s of users each day resolve their issues) if you're willing to provide us relevant and detailed information.
    Please feel free to post back with any other questions you may have.
    Regards,
    ST

  • Help with simple OS upgrade and backup questions for a dumb old previous PC user...?

    Ok...have mercy on me, please...
    I am not completely dumb, I know typical board etiquette, and I have searched for various answers (and found many)...but I just want to confirm my personal "research" and get all of this clear up before I proceed with this insanity.  I know I could probably search more, but this is taking hours, because of all my various questions, one leads to 10 more...
    I have an iMac with Mac OS X Version 10.5.8 (which, though not mentioned anywhere?...is apparently "Leopard", right?  Told you I was dumb...)
    Processor:  3.06 GHz Intel Core 2 Duo
    Memory: 2 GB 800 MHz DDR2 SDRAM
    My main goal:  install an app that was in the Mac App store.
    However, with Leopard, I can't access the Mac App store with Leopard, apparently. 
    I click on the Mac App store, and up pops up a Lion advertisement...telling me I should upgrade.  Ok, fine...probably a good idea, anyway...
    But how do you upgrade to Lion?  Apparently through the Mac App store!
    The web-redirects on the Apple site are amusing...taking me on an endless cycle...purchase Lion in the app store...click..."you need to upgrade to Lion"...OK...click..."you need Lion at the app store"...OK...click..."you need to upgrade to Lion to get to the app store"....etc.
    OK...fine...google searches...ahh, I need to upgrade to Snow Leopard first, apparently!  Yes?
    (Maybe the Apple redirects should detect that I have Leopard, and direct me to a screen that explains that I must upgrade to Snow Leopard...and then Lion!  Do you hear that, Apple?  Thanks.)
    Anyway...so here's my plan:
    1) Upgrade to Snow Leopard
    2) Access the Mac app store
    3) Upgrade to Lion
    Question A:  With my iMac (specs above), is it really advisable for me to do this?  Can my computer really handle Lion?  It seems I barely meet the minimum with my intel core 2 Duo and 2 GB ram...yes?  Is this a dumb idea, even if "OK"?  I know that "minimum requirements" on a PC often meant:  "Well, it will work...but it will be slower than a snail and crash if you run 5 programs at the same time" (which I usually do...)  I don't want to upgrade if the "minimum" is really not enough. 
    Question B:  If the answer to A is "not a good idea", then  do I just need a new computer (i.e. better processor)?  Or do I need more Ram?  And can I add Ram to this computer, and is it relatively easy?  I have added Ram to PCs tons of times, and you always have to determine type of Ram for your board, make sure they "match", or whatever, and then open up the machine and install.  Kind of a pain, but once I have the "right" type of Ram, opening the CPU and installing is within my abilities.  Will it be harder for a Mac?
    = = =
    Next:
    When upgrading an OS on a Windows, you pretty much format the harddrive and start all over.  Back in the day I was a PC user, there wasn't really a "great" way to back up programs and files, so this was a nightmare.  You could NOT just back-up software.  You typically had to re-purchase and install it all from scratch.  Is this the same with Macs?  Furthermore, personal files were scattered all over the hard-drive for the individual software...so trying to back all that up to get it back on the new system = nightmare!  I hate PCs.
    Anyway...so, my iMac has Time Machine.  I am pretty ignorant about this, and based on my previous PC backup program nightmares, I have a distrust for it...and don't really understand how it works.  But in any event, my external drive crashed a few months ago, and I haven't replaced it, yet.  So, I am replacing it soon and will get Time Machine back up and running...setting it up again, etc...leading to question C...
    Question C: When upgrading from Leopard to Snow Leopard to Lion, what is the best way to ensure I keep all my programs and files.  My wife and I both access the computer, so two user accounts.  Does Time Machine really do a good job backing up everything and all things?  Is it just a matter of upgrade to Snow Leopard...then immediately to Lion...and then some sort of "Restore" from Time Machine?  Anything for me to "watch out for"...or to do when I buy a new external hard-drive and setup up Time Machine for the first time on it, in order to make this work well?  Will I have to re-install all the various applications I have installed on this thing?  (like with PCs?)
    Thanks for any sincere help. 

    yachadhoo wrote:
    I have an iMac with Mac OS X Version 10.5.8 (which, though not mentioned anywhere?...is apparently "Leopard", right?  Told you I was dumb...)
    Processor:  3.06 GHz Intel Core 2 Duo
    Memory: 2 GB 800 MHz DDR2 SDRAM
    Apple has discontinued support for 10.5, it's a plaque of our platform that Apple only supports the last two operating systems in circulation.
    Where as on Windows you can run the same OS version for 10 years and get updates free (if not stolen), on a Mac we get one year, two tops now and if you don't upgrade and break all your third party software and hardware drivers in the process, then your denied security updates.
    On top of that, the OS X upgrades tend to break your older hardware too, or slow it down so much that it drives you to want to buy newer hardware.
    It's funny Apple places the AppStore on your OS X version along with iTunes and Safari updates, but then doens't supply necessary security updates, your machine may be compromised and here you enter vital credit card info, banking  etc. thinking you have a secure machine.
    My advice, since that's a 10.5 era Mac, is to upgrade to 10.6.3 via this disk, then use Software Update until clear. You'll get security updates and your present installed 10.5 software will work in 10.6 using Rosetta.
    http://store.apple.com/us/product/MC573Z/A
    Rosetta is not avaialble in 10.7 so it could be a lot of your software will no longer function
    http://roaringapps.com/apps:table
    I don't see the sense in you buying all new software for a machine that's at it's end of life stage.
    You can buy software in the AppStore with 10.6.
    Question A:  With my iMac (specs above), is it really advisable for me to do this?  Can my computer really handle Lion?  It seems I barely meet the minimum with my intel core 2 Duo and 2 GB ram...yes?
    You will need to buy 4GB of RAM to run Lion well, the 2GB is just a bare minimum, and your processor is a bit dated.
    Lion 10.7 is certainly slower than Snow Leopard 10.6, in fact so many wanted to go back to Snow Leopard and one of the resons was Lion was slow.
    So I wrote a User Tip, here, but the Tips were implemented only recently.
    How to revert your Mac to Snow Leopard
    Question B:  If the answer to A is "not a good idea", then  do I just need a new computer (i.e. better processor)?  Or do I need more Ram?  And can I add Ram to this computer, and is it relatively easy?  I have added Ram to PCs tons of times, and you always have to determine type of Ram for your board, make sure they "match", or whatever, and then open up the machine and install.  Kind of a pain, but once I have the "right" type of Ram, opening the CPU and installing is within my abilities.  Will it be harder for a Mac?
    RAM is easy, you can buy it at Otherworld Computing or Crucial.com and install it yourself, there is a little door under the monitor.
    Videos online at YouTube.
    When upgrading an OS on a Windows, you pretty much format the harddrive and start all over.  Back in the day I was a PC user, there wasn't really a "great" way to back up programs and files, so this was a nightmare.  You could NOT just back-up software.  You typically had to re-purchase and install it all from scratch.  Is this the same with Macs?  Furthermore, personal files were scattered all over the hard-drive for the individual software...so trying to back all that up to get it back on the new system = nightmare!  I hate PCs.
    Mac'soperaing system is seperate, it can be replaced or upgraded indepentantly of programs or user accounts on the machine.
    There are some programs that install a kernel extension file at boot into OS X, those get knocked out, but those can be replaced with a new install of the software.
    You should always backup your users files as those can't be repalced.
     Most commonly used backup methods explained
    Question C: When upgrading from Leopard to Snow Leopard to Lion, what is the best way to ensure I keep all my programs and files.
    OS X upgrades dont' affect User accounts but they can have a affect on programs installed, which most of your 10.5 programs likely will no longer work in 10.7
    However they will (with a slight update) work in 10.6 just like before.
    You need to backup regardless, I suggest a manual backup of users files to a storage drive, a 10.5 clone on another drive, the your ready to upgrade to 10.6
    10.5 to 10.6 upgrade is rather painless, also 10.6 gives accelerated video drivers, so your machine will appear faster.
    However once you install 10.7, you will slow down.
    Does Time Machine really do a good job backing up everything and all things? 
    No, you shouldn't rely upon TM, have a multiple backup stragedy, TM files are hard to access directly.
    Is it just a matter of upgrade to Snow Leopard...then immediately to Lion...and then some sort of "Restore" from Time Machine?
    No need to restore, OS X upgrades and leaves everything else in place, just some programs (with 10.6) or a lot (with 10.7) when you try to launch them they will fail.
    Also when you connect TM it will do a substancial change to reflect the new boot drive.
    If you were using TM as a "storage drive" thinking you can use the archived versions later, that wil change upon the new OS X  upgrade.
    But in any event, my external drive crashed a few months ago, and I haven't replaced it, yet.  So, I am replacing it soon and will get Time Machine back up and running...setting it up again, etc...leading to question C..
    You need not only TM drive, but a bootable clone and user files on a storage drive.
     Most commonly used backup methods explained
    Will I have to re-install all the various applications I have installed on this thing?  (like with PCs?)
    No, depending upon what OS X version you stop at depends how many programs no longer work.
    You will have to buy a lot of new or upgrade versions with 10.7, not so with 10.6 only updates mostly because of Rosetta on 10.6 and not on 10.7
    My opinion, since that machine is a bit dated, is to upgrade to 10.6, Software update to 10.6.8, and stay there.
    Later on 10.8 is being released after this summer, you may want to consider getting a new machine with 10.8 a few months later to ensure all the bugs are worked out of it.
    Your not a comptuer savvy person, you like most Apple users expect your machine to "just work" I think going to 10.7 will be a bad experience for you.
    10.6.8 will server your needs until 10.8 is released and on new hardware where Apple will hold your hand for free for three months, 3 years with AppleCare.
    Your not a "OS X upgrader type of a person" and Apple needs to get of thier collective assets and pay better attention to it's most common users.

  • Help with new hard drive and data recovery

    I have a macbook pro 13" from early 2011...last week the hard drive crashed and after a few hours at the genius bar had to got  tekserv to recover my data and get a new hard drive and update to 8GB of Ram.  When I got my macbook back I was given an external hard drive that had everything from my old hard drive saved by the users on the old hard drive.  I was hoping I could just transfer the user over to the new hard drive but since I had to restart the computer as a new computer I am not able to just reassign my old profile as the new one on this laptop.  Maybe I've done something wrong but at this point I transferred all my documents over, moved my music and pictures over but I have a few things I can't figure out that I'm hoping someone can help with.
    1. Do emails that were in my mail program from both gmail and my verizon.net program get saved somewhere or do I have to just assume those were lost?
    2. my iTunes library is now there but none of my playlists are there.  Should those have been saved somewhere in my iTunes folder that I should see them?  I'm concerned about syncing my iPhone or iPads to iTunes without those there.
    thanks for the help.

    Here's the spec page on your PB.  http://www.everymac.com/systems/apple/powerbook_g4/stats/powerbook_g4_1.25_15.ht ml  It came with OS 10.2.7 installed. The max OS is Leopard 10.5.x
    Tiger install DVDs are in short supply. Tiger is no longer available at the Apple Store but may be available for $129 by calling Apple Phone Sales @ 1-800-MY-APPLE (1-800-692-7753). For other sources, do a Google search for MA453Z/A (10.4.6), MA190Z/A (10.4.3) and M9639Z/A (10.4). Also look on eBay. Be sure & buy a retail version (black with silver X) and not a model specific version (gray) (See http://discussions.apple.com/thread.jspa?threadID=1976068 Can I use another Mac's system restore disc on my Mac?.
    Also check these web stores: http://www.lacomputercompany.com/cgi-bin/rpcart/index.cgi?command=dispitem&type= sku&sku=19521  http://www.allmac.com/shop/index.php?cPath=5_10003
    After you install the base 10.4.x, update to the final Tiger version 10.4.11. Here's the link for the 10.4.11 combo update http://support.apple.com/kb/TA24901?viewlocale=en_US
    Look at this link Mac OS X v10.4 Tiger Installing Software Support Page
    http://www.apple.com/support/tiger/install/
    You can also download the Tiger Installation and Setup Guide
    http://manuals.info.apple.com/en/Tiger_Install_Setup_Guide.pdf
     Cheers, Tom

  • Need help with my addressbook program

    hi,
    i need help with my program here. this one should works as:
    - saves user input into a txt file
    - displays name of the saved person on the jlist whenever i run the program
    - displays info about the person when clicked via textboxes given by reading the txt file where the user inputs are
    - should scroll when the list exceeds the listbox
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.JList;
    import java.awt.event.ActionListener;
    import java.io.*;
    import javax.swing.event.*;
    import java.io.FilterInputStream;
    public class AddressList extends JPanel implements ActionListener
         JTextField txt1 = new JTextField();
         JTextField txt2 = new JTextField();
         JTextField txt3 = new JTextField();
         DefaultListModel mdl = new DefaultListModel();
         JList list = new JList();
         JScrollPane listScroller = new JScrollPane(list);
         ListSelectionModel listSelectionModel;
         File fob = new File("Address3.txt");
         String name;
         char[] chars;     
         public void ListDisplay()
              try
                   RandomAccessFile rand = new RandomAccessFile(fob,"rw");
                   BufferedReader br = new BufferedReader(new FileReader("Address3.txt"));
                   if(fob.exists())
                         while((name = rand.readLine()) != null)
                              chars = name.toCharArray();
                              if(chars[0] == '*')
                                   mdl.addElement(name);
                                   list.setModel(mdl);
                              if(chars[0] == '#')
                                   continue;
                    else
                        System.out.println("No such file..");
              catch(IOException a)
                         System.out.println(a.getMessage());
         public AddressList()
              this.setLayout(null);
              listSelectionModel = list.getSelectionModel();
            listSelectionModel.addListSelectionListener(new ListInfo());
              list.setBounds(10,40,330,270);
              listScroller.setBounds(320,40,20,100);
              add(list);
              add(listScroller);
              JLabel lbl4 = new JLabel("Name: ");
              lbl4.setBounds(400,10,80,30);
              add(lbl4);
              JLabel lbl5 = new JLabel("Cellphone #: ");
              lbl5.setBounds(400,50,80,30);
              add(lbl5);
              JLabel lbl6 = new JLabel("Address: ");
              lbl6.setBounds(400,90,80,30);
              add(lbl6);
              JLabel lbl7 = new JLabel("List ");
              lbl7.setBounds(10,10,100,30);
              add(lbl7);
              txt1.setBounds(480,10,200,30);
              add(txt1);
              txt2.setBounds(480,50,200,30);
              add(txt2);
              txt3.setBounds(480,90,200,30);
              add(txt3);
              JButton btn1 = new JButton("Add");
              btn1.setBounds(480,130,100,30);
              btn1.addActionListener(this);
              btn1.setActionCommand("Add");
              add(btn1);
              JButton btn2 = new JButton("Save");
              btn2.setBounds(480,170,100,30);
              btn2.addActionListener(this);
              btn2.setActionCommand("Save");
              add(btn2);
              JButton btn3 = new JButton("Cancel");
              btn3.setBounds(480,210,100,30);
              btn3.addActionListener(this);
              btn3.setActionCommand("Cancel");
              add(btn3);
              JButton btn4 = new JButton("Close");
              btn4.setBounds(480,250,100,30);
              btn4.addActionListener(this);
              btn4.setActionCommand("Close");
              add(btn4);
         public static void main(String[]args)
              JFrame frm = new JFrame("Address List");
              AddressList panel = new AddressList();
              frm.getContentPane().add(panel,"Center");
              frm.setSize(700,350);
              frm.setVisible(true);
              panel.ListDisplay();
         public void actionPerformed(ActionEvent e)
              String cmd;
              cmd = e.getActionCommand();
              if(cmd.equals("Add"))
                   txt1.setText("");
                   txt2.setText("");
                   txt3.setText("");
              else if(cmd.equals("Save"))
                   mdl.addElement(txt1.getText());
                   list.setModel(mdl);
                   try
                   RandomAccessFile rand = new RandomAccessFile(fob,"rw");
                   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                   LineNumberReader line = new LineNumberReader(br);
                    if(fob.exists())
                              rand.seek(fob.length());
                              rand.writeBytes("* " + txt1.getText());
                              rand.writeBytes("\r\n" + "# " + txt2.getText());
                              rand.writeBytes("\r\n" + "# " + txt3.getText() + "\r\n");
                    else
                         System.out.println("No such file..");
                        txt1.setText("");
                        txt2.setText("");
                        txt3.setText("");
                    catch(IOException a)
                         System.out.println(a.getMessage());
              else if(cmd.equals("Cancel"))
                   txt1.setText("");
                   txt2.setText("");
                   txt3.setText("");
              else if(cmd.equals("Close"))
                   System.exit(0);
    class ListInfo implements ListSelectionListener
         public void valueChanged(ListSelectionEvent e)
              ListSelectionModel lsm = (ListSelectionModel)e.getSource();
              int minIndex = lsm.getMinSelectionIndex();
            int maxIndex = lsm.getMaxSelectionIndex();
              try //*this one should display the info of the person whenever i click the person's name at the list box via textbox.. but i cant seem to get it right since it always display the info of the first person inputed.. i tried to get the program to display them whenever it reads lines with * on them....
                   File fob = new File("Address3.txt");
                   RandomAccessFile rand = new RandomAccessFile(fob,"rw");
                   BufferedReader br = new BufferedReader(new FileReader("Address3.txt"));
                   LineNumberReader line = new LineNumberReader(br);
                   if(fob.exists())
                              for(int i = minIndex; i<=maxIndex; i++)
                                   if(lsm.isSelectedIndex(i))
                                        while((name = rand.readLine()) != null)
                                             chars = name.toCharArray();
                                             if(chars[0] == '#')
                                                  continue;
                                             if(chars[0] == '*')
                                                  txt1.setText(rand.readLine());
                                                 txt2.setText(rand.readLine());
                                                 txt3.setText(rand.readLine());
                    else
                              System.out.println("No such file..");
              catch(IOException a)
                         System.out.println(a.getMessage());
    }the only problem now is about how it should display the right info about the person whenever i click its name on the list.. something about file reading or something, i just cant figure it out.
    and also about how to make it scroll once it exceeds the list.. i cant make it work, maybe something about wrong declaration..
    thanks in advance..
    Edited by: syder on Mar 14, 2008 2:26 AM

    Like said before, do one thing at a time. At startup, something like:
    //put all the content in a list
    ArrayList<String> lines = new ArrayList<String>();
    while(String line=rand.readLine()!=null) {
        lines.add(line);
    }If you follow the good advice to create a class to encapsulate the entries, you could populate a list of such entries like this:
    static final int ENTRY_SIZE = 3;//you have 3 fields now, better to have a constant if that changes
    ArrayList<Entry> entries = new ArrayList<Entry>();
    for(int i=0; i<lines.size(); i+=ENTRY_SIZE) {
        Entry entry = new Entry(lines.get(i), lines.get(i+1), lines.get(i+2);
        entries.add(newEntry);
    }You could also do both of the above in one run, but I think you will understand better what's happening if you do one thing at a time.
    If you don't want to put the entries in an encapsulating class, you can still access this without looping:
    int listStartIdx = <desired_entry_index>*ENTRY_SIZE;
    String att1 = lines.get(listStartIdx).substring(1);
    String att2 = lines.get(listStartIdx+1).substring(1);
    String att3 = lines.get(listStartIdx+2).substring(1);

  • Help with form sending the data to email

    I have looked all over the Internet for help with this.  I have tried numerous video tutorials and for some reason I can't get it to work.  I have created a form in flash cs4 AS2.  It is a contact information form where the user fills out their information and sends it.  I have created a the form in a movie clip (I have also tried it not in a movie clip) with the form components inside that movie clip.  I have given each component on the form an instance name.
    The form has:
    Full name (with instance name=name)
    Company (with IN =company)
    Title (with IN = title)
    Phone (with IN = phone)
    Email (with IN = email)
    Topic combobox (with IN=topic)
    Message box (with IN=msg)
    Submit button (with IN=submit)
    I need help with the actionscript writing.  I am VERY new to flash and have never done any scripting really.  Does anyone have a sample file I can look at to see how it works or can someone IM me and I can send my file for them to help me?
    My IM is logan3975
    Any help is greatly appreciated.  I consider myself a pretty technical person so I do learn quick...I just need some guidance until I wrap my head around how this all works.  Thanks.

    Here's a link to a posting elsewhere some had had that may provide some useful info (?)
    http://board.flashkit.com/board/showthread.php?t=684031

  • Help with a java program

    Hello. I'm posting in these forums because I really don't know where else to go. I have been trying for the past several days to figure out how to go about writing my program but to no avail. The project requires reading many lines each containing several different elements from a datafile named "DATA". A few examples of some lines from that file:
    Department number/Number of units received/Date on which the shipment arrived/Expiration date/Name of Object
    0 78 02/03/2001 02/12/2001 apples
    0 26 06/03/2001 06/10/2001 lemons
    3 62 03/06/2001 03/14/2001 hamburger
    What we have to do with this data is read all of it from the file, separate all the different elements, and based on input from the user, sort everything and print it out to the screen. If the user enters 03, the program will show everything that arrived and expired within the month of March, sorted by date.
    It is a pretty basic program, but my problem is that I have no idea how to go about reading in this data, putting it into a vector (probably the easiest method) or separating the different elements. I've gone to websites and looked through my textbooks but they didn't help much. If anyone has any resources that could help for writing such a program, or if anyone could offer help in writing the program, I would really appreciate it. I can also show what I've managed to write so far, or more details on how the program should work. Thanks in advance.
    Matt

    since im not a pro like some of the guys on here :),
    and believe me thiers people here, who could write your whole app in a hour.
    anyways my advice , would be to do a search on the forums for useing.bufferReader()
    i think you would need to read the file in with bufferreader then split up each line useing the stringTokenizer and then use some algorithm to compare
    the values and split them up into your vector arrays as needed.
    thier is also fileinputStream i think you can use that too.

  • Need help with a rudimentary program

    I'm sort of new at this so i need help with a few things... I'm making a program to compile wages and i need answers with three things: a.) what are the error messages im getting meaning? b.) How can i calculate the state tax as 2% of my gross pay with the first $200 excluded and c.) how can i calculate the local tax as a flat $10 with $2 deducted for each dependant. any help is appreciated
    Here is what i have so far:
    public class WagesAsign1
              public static void main(String[] args)
                   int depend=4;
                   double hrsWork=40;
                   double payRate=15;
                   double grossPay;
                   grossPay=payRate*hrsWork;
                   double statePaid;
                   double stateTax=2.0;
                   statePaid=grossPay*(stateTax/100);
                   double localPaid;
                   double localTax=10.0;
                   localPaid=grossPay*(localTax/100);
                   double fedPaid;
                   double fedTax=10.0;
                   double taxIncome;
                   fedPaid=taxIncome*(fedTax/100);
                   taxIncome=grossPay-(statePaid+localPaid);
                   double takeHome;
                   System.out.println("Assignment 1 Matt Foraker\n");
                   System.out.println("Hours worked="+hrsWork+" Pay rate $"+payRate+" per/hour dependants: "+depend);
                   System.out.println("Gross Pay $"+grossPay+"\nState tax paid $"+statePaid+"\nLocal tax paid $"+localPaid+"\nFederal tax paid $"+fedPaid);
                   System.out.println("You take home a total of $"+takeHome);
    and these are the error messages so far:
    WagesAsign1.java:23: variable taxIncome might not have been initialized
                   fedPaid=taxIncome*(fedTax/100);
    ^
    WagesAsign1.java:29: variable takeHome might not have been initialized
                   System.out.println("You take home a total of $"+takeHome);
    ^

    edit: figured it out... please delete post
    Message was edited by:
    afroryan58

Maybe you are looking for

  • Best way to get UUT result to Custom TestStand UI

    Hello, I am trying to get the results of my UUT to my custom UI.  I am already using the EndExecution Callback to tell my UI when the UUT is finished executing.  I was hoping ot use that same callback VI to tell my UI the result of the execution.  Th

  • How to remove an ad from a game that came with laptop

    Would someone please explain to me how to remove an ad that comes up in the "Train Titans" game that comes with the laptop . It's in the  Windows Vista tile board. My son likes the game but cant continue playing it because the "Joss&Main" ad comes up

  • How to add 5.1 track without duplicate timelines?

    To add  a 5.1 track to my project I duplicate the movie timeline and change the stereo track for the 5.1. The problem is the program duplicate the capacity (3,50gb are now 7gb). I don't know if I can add the 5.1 as a second track in the same timeline

  • I have OS X 10.4.11 and I just got home with my new ipod nano and I need to update my OS! How do I do this?

    I have OS X 10.4.11 and I just got home with my new ipod nano 6th generation and I have after searching threads etc discovered I need to update my OS! How do I do this - all of the posts on this subject are a bit out of date I think? I have a mac boo

  • The pages become too big for the screen on Macbook pro

    Hello, Yesterday I was watching a movie on amazon.com using my Macbook Pro (retina display if it helps). I connected it to my TV via HDMI and put it on full screen. After the movie I was too lazy to tidy up and went to sleep. This morning, when I ope