Is the target usr/lib or /usr/lib to update system?

Hi , everyone
I am about to create the symbolic link to target /usr/lib for /lib as required by the upgrage process to avoid conflict by glibc.I want to quote as one guy said on the forum
"If you found yourselgf in a position to create symlink yourself,the link target is usr/lib and not /usr/lib".I would like to confirm this before proceeding any further.
Thanks

It's a relative path (to the directory you're in), instead of an absolute path.
I think "/usr/lib" would've worked just as well, after a reboot. But then if you ever need to chroot (for example), that folder would probably link to the LiveCD's /usr/lib folder instead of the actual (relative to mountpoint) "usr" folder.

Similar Messages

  • In OWB I need to update the target table with same field for match/update

    In OWb I am trying to update the target table with the match and the update on the same field can this be done. I am getting a error match merge error saying you cannot update and match on the same field. But in SQl my select is
    Update table
    set irf = 0
    where irf = 1
    and process_id = 'TEST'
    Hwo do i do this in OWB.

    table name is temp
    fields in the table
    field1 number
    field2 varchar2(10)
    field3 date
    values in the table are example
    0,'TEST',05/29/2009
    9,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009
    In the above example I need to update the first row field1 to 1.
    Update temp
    set field1 = 1
    where field1 = 0
    and field2 = 'TEST'
    when I run this I just need one row to be updated and it should look like this below
    1,'TEST',05/29/2009
    9,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009
    But when I run my mapping I am getting the rows like below the second row with 9 also is getting updated to 1.
    1,'TEST',05/29/2009
    1,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009

  • Error in maintainance plan : Exception has been thrown by the target of an invocation. (mscorlib)

    Hi,
    I am getting below error while trying to create new maintainance plan in SQL 2008 R2, by right click on "New Maintainance plan"...could you please help on this...
    I have tried to register DTS.dll but after that also error is coming...
    ===================================
    Exception has been thrown by the target of an invocation. (mscorlib)
    Program Location:
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.GetExistingPackageNames(String serverName, String userName, SqlSecureString securePassword)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.GetNewPackageName(String serverName, String userName, SqlSecureString securePassword)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()
    ===================================
    No description found
    Program Location:
       at Microsoft.SqlServer.Dts.Runtime.Application.GetPackageInfos(String strFolder, String serverName, String serverUserName, String serverPassword)

    Hi,
    According to the description, I understand that you receives the below error message when trying to create Maintenance Plans:
    "Exception has been thrown by the target of an invocation. (mscorlib)
    Have you registered MsDtsSrvrUtil.dll and SqlTaskConnections.dll as well? If no, I suggest you register “DTS.dll”, “MsDtsSrvrUtil.dll”, “SqlTaskConnections.dll” using register32.exe.
    If the version of an instance of SQL Server 2008 R2 is earlier than SQL Server 2008 R2 SP2, as Shanky suggested, you may obtain the latest service pack for Microsoft SQL Server. For more information, click the following article number to view the article
    in the Microsoft Knowledge Base:
    http://support.microsoft.com/kb/2527041/en-us
    In addition, here is a similar thread. Please refer the solution by DevB:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/ca19a00a-3782-48e9-9ccd-44d4680359c0/maintanance-plan?forum=sqltools
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Cannot connect to app store on Macbook pro. error:kernel[0]: TMCCFS 78942 MSG execveHook skip scan the file(/usr/lib/dyld)

    In trying to update iTunes, I am finding that my macbook pro cannot connect to the app store at all. I am getting this error over and over in the logs.
    error:kernel[0]: TMCCFS 78942 MSG execveHook skip scan the file(/usr/lib/dyld)
    tried relaunching app store, itunes, etc and no look. Internet connectivity is fine and so is DNS.

    Try:
    Troubleshooting iTunes installation on Mac OS X
    Next, post in the iTunes for Mac forum

  • [svn:fx-3.3.0] 5655: remove FlexCompilerShell-license. txt due to the src for lib/mxmlc.jar is released under the mpl

    Revision: 5655
    Author: [email protected]
    Date: 2009-03-27 11:00:00 -0700 (Fri, 27 Mar 2009)
    Log Message:
    remove FlexCompilerShell-license.txt due to the src for lib/mxmlc.jar is released under the mpl
    Removed Paths:
    flex/sdk/branches/3.3.0/modules/compiler/FlexCompilerShell-license.txt

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • Sharing the same iTunes lib. from 3 accounts on the SAME iMac

    One iMac, 2 accounts and one guest account, who shall share one and the same music lib. so no matter who logs on to the iMac, the all can hear the music in iTunes. (now only the first account can see and hear the music...)

    Go to the top of this page, type "share itunes library" into the search bar by the word "Support".

  • How do you check what version of the java basic libs

    Dear SDN team,
      I am currently using EP 6.0.2.5 , I have just installed patch 5 and I am wondering if I should patch my JAVA Basic libs.  2 Questions
    1.   How can I tell which version I am using now
    2.   Should I patch these libs and why?
    Thanks
    Jeremy

    Hi,
    In The SDM Tool look for an SDA that was deployed from the SAP Java Libs package and then you will see something like:
    Software Type: JAVA-LIB
    Implementation Version: 6.20.<b>14</b>20031219134547.0000
    This means that you are using SAP Java Libs 14.
    It is recommanded to use the latest Java Libs because fixed and enhancements are provided with these libraries.
    Kind regsrds,
    Aviad

  • Safari is not opening some webpage showing the error:  /usr/local/cache/files/block.html;400

    Hi
    safari is not opening some webpage showing the error:  /usr/local/cache/files/block.html;400
    Please help me.
    thanks

    Hey blissfull71,
    If you are having issues loading certain webpages in Safar, you may find the information and troubleshooting steps outlined in the following article helpful:
    Safari 6/7 (Mavericks): If Safari can’t open a website
    Cheers,
    - Brenden

  • Why i receive errors: "The procedure entry point longjmp could not be found in the dynamic link lib. orauts.dll" and "Error ORA-12560"

    Hello,
    "C:\app\xps\product\11.2.0\dbhome_1"  where is my installation of database oracle enterprise 11g; I use Windows 7 Pro.
    I have in System PATH : C:\app\xps\product\11.2.0\dbhome_1\bin
    I have in HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE > SYSMAN > OracleDBConsoleorcl : "ORACLE_HOME" value "C:\app\xps\product\11.2.0\dbhome_1"
    When i execute "sqlplus / as sysdba" command, i receive error: "The procedure entry point longjmp could not be found in the dynamic link lib. orauts.dll" and "Error ORA-12560"
    If i execute
    set ORACLE_HOME=C:\app\xps\product\11.2.0\dbhome_1
    C:\>set PATH=%ORACLE_HOME%\bin;%PATH%
    sqlplus "/ as sysdba"
    I don't receive Error.
    Why?

    You don't mention which specific version of the operating system that you are using - Windows XP, Vista, or 7 and whether you're using a 32-bit or 64-bit version.
    FWIW, kernell32.dll is a Windows system-level module, so it's possible that you have some corruption in your Windows installation which is preventing FM from launching.
    Also, 2Gb of RAM is a bit lean for FM.

  • How to overlay the Dialog.js(libs/cq/ui/widgets/source/widgets/Dialog.js)

    Hello Team,
    My scenario is to store the vanity url in lower case. once user entered /content/mycompany/us/en/MCDonalds I would store it as /content/mycompany/us/en/mcdonalds, Next time on request of /content/mycompany/us/en/Mcdonalds, I would convert the incoming vanity to lower case and check with the entries in the cq5 and then accordingly either throw the message in the vtypes that vanity url already exist or allow the vanity url to go thru. I have acheived that with the following pseduo code Approach1. But I am not sure how to overlay the  Dialog.js(libs/cq/ui/widgets/source/widgets/Dialog.js).
    Approach1:
    Changing the code in the Dialog.js(libs/cq/ui/widgets/source/widgets/Dialog.js)
         * Submits the dialog.
         * @param {CQ.Ext.Button} button The button that has been hit
         * @param {Function} success The function to call if the dialog submission was successful.
         *                           Overwrites {@link #success}.
         * @param {Function} failure The function to call if the dialog submission has failed.
         *                           Overwrites {@link #failure}.
        ok: function(button, success, failure) {
    if (this.form.isValid()) {
    //get the form values
    //convert the sling:vanityPath to lowercase
    //set the form values
    Now My question is how to overlay the (libs/cq/ui/widgets/source/widgets/Dialog.js). I tried putting the Dialog.js stored as MyDialog.js in my page component clientlib and changed the registration of the dialog to CQ.Ext.reg("customDialog", CQ.Dialog1) and given the xtype of the above dialog as customDialog. (Here already I overlayed the dialog containing all the tabs i,e basic,advanced. livecopy etc and tab_basic panel of the vanity url code from libs to do the validation with vtypes).
    The problem is I am able to see the empty dialog but not the tabs displayed, when I use the xtype as customDialog.
    Any suggestions/pointers to solve this problem would be appreciable.
    Best Regards,
    Durga

    Thanks Roland,
      To give you more information. We discovered the source of the multiple instantiations of tabs from the page properties. We have a listener on the dialog.xml for our pages that listens for loadcontent events. In the course of its logic, the javascript for this listener will invoke dialog.loadContent(path) itself. Thus the double calls. Strictly speaking, we could look at ways to avoid the use of the loadContent call. But we also feel that there is something going on with regards to siteCatalyst and double-loading. This might be something you'll want to incorporate in your efforts to reproduce this. For posterity, here's a sample listener definition in our dialog.xml
    <listeners
            jcr:primaryType="nt:unstructured"
            loadcontent="function(dialog, records, opts, success) {CQ.Acme.populateShortURL(dialog, records, opts, success);}"/>
    Hope this helps!

  • /usr/bin/gtk-update-icon-cache exists in filesystem?

    heres what i get when i try yo update GTK or install a program like gnome-do. 
    [kazuki@archbang ~]$ sudo pacman -S gtk3
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): gtk-update-icon-cache-2.24.4-1 [0.01 MB]  gtk3-3.0.9-1 [4.69 MB]
    Total Download Size:    0.00 MB
    Total Installed Size:   31.78 MB
    Proceed with installation? [Y/n] y
    (2/2) checking package integrity                   [---------------------] 100%
    (2/2) checking for file conflicts                  [---------------------] 100%
    error: failed to commit transaction (conflicting files)
    gtk-update-icon-cache: /usr/bin/gtk-update-icon-cache exists in filesystem
    Errors occurred, no packages were upgraded.
    [kazuki@archbang ~]$
    Last edited by kazuki454 (2011-05-04 22:43:38)

    ok but stiil not work? [kazuki@archbang ~]$ sudo pacman -Syu gtk3
    Password:
    :: Synchronizing package databases...
    core is up to date
    extra                   472.6K  581.6K/s 00:00:01 [---------------------] 100%
    community               433.9K  570.9K/s 00:00:01 [---------------------] 100%
    multilib is up to date
    :: Starting full system upgrade...
    :: Replace lib32-util-linux-ng with multilib/lib32-util-linux? [Y/n] y
    :: Replace libjpeg with extra/libjpeg-turbo? [Y/n] y
    :: Replace mailx with core/heirloom-mailx? [Y/n] y
    :: Replace util-linux-ng with core/util-linux? [Y/n] y
    resolving dependencies...
    looking for inter-conflicts...
    Remove (4): libjpeg-8.3.0-1 [0.83 MB]  util-linux-ng-2.18-3 [6.83 MB]
                lib32-util-linux-ng-2.18-3 [0.58 MB]  mailx-8.1.1-7 [0.16 MB]
    Total Removed Size:   8.40 MB
    Targets (330): glib2-2.28.6-1 [1.57 MB]  atk-2.0.0-1 [0.25 MB]
                   linux-api-headers-2.6.38.1-1 [0.54 MB]
                   tzdata-2011g-1 [0.17 MB]  glibc-2.13-5 [7.19 MB]
                   ncurses-5.9-1 [0.92 MB]  readline-6.2.001-1 [0.29 MB]
                   bash-4.2.008-1 [0.77 MB]  cairo-1.10.2-2 [0.46 MB]
                   libjpeg-turbo-1.1.0-1 [0.20 MB]  libtiff-3.9.5-1 [0.75 MB]
                   libxcb-1.7-2 [0.26 MB]  xproto-7.0.21-1 [0.13 MB]
                   libx11-1.4.3-2 [1.49 MB]  gdk-pixbuf2-2.23.3-1 [0.56 MB]
                   gtk-update-icon-cache-2.24.4-1 [0.01 MB]
                   gcc-libs-4.6.0-4 [0.73 MB]  libtasn1-2.9-1 [0.10 MB]
                   libgpg-error-1.9-3 [0.05 MB]  libgcrypt-1.4.6-3 [0.29 MB]
                   gnutls-2.12.3-1 [1.48 MB]  libxi-1.4.2-1 [0.14 MB]
                   libthai-0.1.15-1 [0.14 MB]  pango-1.28.4-2 [0.48 MB]
                   shared-mime-info-0.90-1 [0.35 MB]  gtk3-3.0.9-1 [4.69 MB]
                   a52dec-0.7.4-5 [0.04 MB]  aalib-1.4rc5-8 [0.14 MB]
                   alsa-firmware-1.0.24.1-1 [2.58 MB]
                   alsa-lib-1.0.24.1-1 [0.37 MB]  dialog-1.1_20110302-1 [0.15 MB]
                   pciutils-3.1.7-4 [0.21 MB]  alsa-utils-1.0.24.2-1 [0.90 MB]
                   db-5.1.25-1 [1.06 MB]  shadow-4.1.4.3-1 [0.94 MB]
                   coreutils-8.12-1 [2.00 MB]  perl-5.12.3-1 [12.55 MB]
                   openssl-1.0.0.d-1 [3.62 MB]  sqlite3-3.7.6.1-1 [0.36 MB]
                   python2-2.7.1-9 [8.18 MB]  python2-cairo-1.10.0-1 [0.02 MB]
                   gobject-introspection-0.10.8-1 [0.77 MB]
                   pygobject-devel-2.28.4-1 [0.17 MB]
                   pygobject-2.28.4-1 [0.27 MB]  pygtk-2.24.0-1 [1.61 MB]
                   xorg-xrandr-1.3.4-2 [0.03 MB]  arandr-0.1.4-2 [0.05 MB]
                   libdrm-2.4.25-1 [0.09 MB]  libgl-7.10.2-2 [0.93 MB]
                   ati-dri-7.10.2-2 [1.67 MB]  libsigc++-2.2.9-1 [0.06 MB]
                   glibmm-2.28.0-2 [0.52 MB]  atkmm-2.22.4-1 [0.08 MB]
                   attr-2.4.44-3 [0.06 MB]  linux-firmware-20110227-1 [8.23 MB]
                   mkinitcpio-busybox-1.18.2-1 [0.16 MB]
                   filesystem-2011.04-1 [0.00 MB]  util-linux-2.19-4 [1.38 MB]
                   udev-167-2 [0.22 MB]  file-5.06-1 [0.19 MB]
                   mkinitcpio-0.6.11-1 [0.02 MB]  kernel26-2.6.38.5-1 [34.85 MB]
                   aufs2-2.6.38_20110314-5 [0.10 MB]
                   aufs2-util-20110314-1 [0.39 MB]  avahi-0.6.30-2 [0.40 MB]
                   binutils-2.21-7 [3.24 MB]  run-parts-3.4.4-1 [0.01 MB]
                   ca-certificates-20110421-3 [0.13 MB]  cairomm-1.9.8-1 [0.26 MB]
                   cdparanoia-10.2-3 [0.08 MB]  gtk2-2.24.4-1 [4.92 MB]
                   nss-3.12.9-1 [1.37 MB]  xorg-xset-1.2.1-2 [0.02 MB]
                   xdg-utils-1.1.0rc1-2 [0.04 MB]  libevent-2.0.10-1 [0.25 MB]
                   desktop-file-utils-0.18-1 [0.03 MB]
                   chromium-11.0.696.57-1 [18.64 MB]  conky-1.8.1-3 [0.15 MB]
                   polkit-0.101-2 [0.35 MB]  consolekit-0.4.4-1 [0.08 MB]
                   dconf-0.7.3-2 [0.08 MB]  dcron-4.5-2 [0.02 MB]
                   device-mapper-2.02.84-1 [0.12 MB]  linux-atm-2.5.1-2 [0.25 MB]
                   iproute2-2.6.37-1 [0.37 MB]  dhclient-4.2.1.1-1 [0.56 MB]
                   dhcpcd-5.2.12-1 [0.06 MB]  idnkit-1.0-1 [0.12 MB]
                   dnsutils-9.8.0-1 [0.93 MB]  dosfstools-3.0.11-1 [0.05 MB]
                   eject-2.1.5-5 [0.02 MB]  elfutils-0.152-1 [0.55 MB]
                   ethtool-1:2.6.38-1 [0.06 MB]  eventlog-0.2.12-2 [0.01 MB]
                   exiv2-0.21.1-1 [1.25 MB]  faad2-2.7-2 [0.18 MB]
                   xvidcore-1.3.1-1 [0.25 MB]  x264-20110327-1 [0.36 MB]
                   libvdpau-0.4.1-1 [0.05 MB]  xextproto-7.2.0-1 [0.12 MB]
                   fixesproto-5.0-1 [0.01 MB]  libxfixes-5.0-1 [0.01 MB]
                   libvpx-0.9.6-2 [0.33 MB]  libva-1.0.12-1 [0.14 MB]
                   ffmpeg-20110330-1 [5.24 MB]  fftw-3.2.2-2 [1.52 MB]
                   libexif-0.6.20-1 [0.33 MB]
                   gsettings-desktop-schemas-3.0.1-2 [0.04 MB]
                   startup-notification-0.10-2 [0.02 MB]
                   gnome-desktop-3.0.1-1 [0.47 MB]  libproxy-0.4.6-6 [0.07 MB]
                   glib-networking-2.28.6.1-2 [0.04 MB]
                   libsoup-2.34.1-1 [0.30 MB]  libgnome-keyring-3.0.1-1 [0.09 MB]
                   libsoup-gnome-2.34.1-1 [0.01 MB]  libunique3-3.0.0-1 [0.04 MB]
                   sg3_utils-1.30-1 [0.46 MB]  lsof-4.84-3 [0.27 MB]
                   lvm2-2.02.84-1 [0.54 MB]  udisks-1.0.3-2 [0.15 MB]
                   libnotify-0.7.2-1 [0.03 MB]
                   gnome-disk-utility-3.0.0-1 [1.65 MB]  gvfs-1.8.1-1 [0.80 MB]
                   nautilus-3.0.1.1-1 [2.19 MB]  file-roller-3.0.1-2 [1.03 MB]
                   gcalctool-6.0.1-1 [0.49 MB]  libldap-2.4.24-1 [0.36 MB]
                   gconf-2.32.3-1 [0.88 MB]  geeqie-1.0-5 [0.84 MB]
                   gegl-0.1.6-1 [0.34 MB]  gettext-0.18.1.1-3 [5.35 MB]
                   giflib-4.1.6-4 [0.08 MB]  librsvg-2.34.0-1 [0.10 MB]
                   gimp-2.6.11-5 [9.40 MB]  xorg-xauth-1.0.5-2 [0.02 MB]
                   gksu-2.0.2-3 [0.02 MB]  gnome-menus-3.0.1-1 [0.14 MB]
                   libmad-0.15.1b-5 [0.06 MB]  keyutils-1.4-1 [0.04 MB]
                   cifs-utils-4.9-2 [0.03 MB]  tdb-1.2.9-1 [0.05 MB]
                   talloc-2.0.5-1 [0.04 MB]  smbclient-3.5.8-2 [8.51 MB]
                   jack-0.120.1-1 [0.28 MB]  libirman-0.4.5-2 [0.01 MB]
                   lirc-utils-1:0.9.0-2 [0.26 MB]  mplayer-33159-1 [8.85 MB]
                   gnome-mplayer-1.0.3-1 [0.30 MB]  libgsf-1.14.20-1 [0.18 MB]
                   goffice-0.8.14-1 [1.29 MB]  gnumeric-1.10.14-1 [9.27 MB]
                   gstreamer0.10-0.10.32-1 [1.28 MB]  orc-0.4.14-1 [0.18 MB]
                   gstreamer0.10-base-0.10.32-4 [1.14 MB]
                   gstreamer0.10-bad-0.10.21-3 [0.84 MB]
                   libraw1394-2.0.7-1 [0.05 MB]  libdc1394-2.1.3-1 [0.13 MB]
                   raptor1-1.4.21-3 [0.17 MB]  liblrdf-0.4.0-7 [0.02 MB]
                   libofa-0.9.3-3 [0.05 MB]  libsndfile-1.0.24-1 [0.28 MB]
                   gstreamer0.10-bad-plugins-0.10.21-3 [0.39 MB]
                   gstreamer0.10-base-plugins-0.10.32-4 [0.15 MB]
                   gstreamer0.10-good-0.10.28-1 [0.85 MB]  taglib-1.7-1 [0.23 MB]
                   sysfsutils-2.1.0-6 [0.03 MB]  v4l-utils-0.8.3-1 [0.23 MB]
                   gstreamer0.10-good-plugins-0.10.28-1 [0.31 MB]
                   gstreamer0.10-ugly-0.10.17-2 [0.15 MB]
                   gstreamer0.10-ugly-plugins-0.10.17-2 [0.08 MB]
                   pangomm-2.28.1-1 [0.07 MB]  gtkmm-2.24.0-1 [1.00 MB]
                   initscripts-2011.04.1-2 [0.01 MB]  intel-dri-7.10.2-2 [1.33 MB]
                   leafpad-0.8.18.1-2 [0.07 MB]  less-443-1 [0.09 MB]
                   lib32-glibc-2.13-5 [2.54 MB]  lib32-pixman-0.20.2-1 [0.15 MB]
                   lib32-gcc-libs-4.6.0-4 [0.71 MB]  lib32-pcre-8.12-1 [0.14 MB]
                   lib32-glib2-2.28.6-1 [1.39 MB]  lib32-cairo-1.10.2-2 [0.31 MB]
                   lib32-util-linux-2.19-1 [0.18 MB]
                   lib32-e2fsprogs-1.41.14-2 [0.15 MB]
                   lib32-libx11-1.4.3-1 [0.50 MB]
                   lib32-gdk-pixbuf2-2.23.3-1 [0.13 MB]
                   lib32-gnutls-2.12.2-1 [0.28 MB]  lib32-libxi-1.4.1-1 [0.02 MB]
                   lib32-gtk2-2.24.4-1 [1.69 MB]
                   lib32-openssl-1.0.0.d-1 [1.00 MB]
                   libburn-1.0.6.pl00-1 [0.19 MB]  libfetch-2.33-3 [0.07 MB]
                   libgtop-2.28.3-1 [0.15 MB]  libisofs-1.0.6-1 [0.16 MB]
                   mpfr-3.0.1-1 [0.31 MB]  libmpc-0.9-1 [0.06 MB]
                   libpciaccess-0.12.1-1 [0.02 MB]  libunique-1.1.6-4 [0.02 MB]
                   libwnck-2.30.6-2 [0.32 MB]  libxfcegui4-4.8.1-2 [0.20 MB]
                   libxt-1.1.1-1 [0.39 MB]  licenses-2.8-1 [0.06 MB]
                   mach64-dri-7.10.2-2 [0.83 MB]  heirloom-mailx-12.5-1 [0.20 MB]
                   libpipeline-1.2.0-1 [0.03 MB]  man-db-2.6.0.2-1 [0.38 MB]
                   mdadm-3.2.1-3 [0.30 MB]  mesa-7.10.2-2 [0.27 MB]
                   mga-dri-7.10.2-2 [0.83 MB]  nitrogen-1.5.2-1 [0.13 MB]
                   libcanberra-0.28-1 [0.07 MB]
                   notification-daemon-0.7.1-1 [0.03 MB]
                   nouveau-dri-7.10.2-2 [1.28 MB]  ntfs-3g-2011.4.12-1 [0.23 MB]
                   ntfsprogs-2011.4.12-1 [0.13 MB]  p7zip-9.20.1-1 [1.14 MB]
                   pacman-mirrorlist-20110324-1 [0.00 MB]
                   parcellite-1.0.1-1 [0.21 MB]  pcmciautils-017-2 [0.02 MB]
                   pm-utils-1.4.1-3 [0.04 MB]  poppler-0.16.4-1 [0.71 MB]
                   poppler-glib-0.16.4-1 [0.17 MB]  ppl-0.11.2-1 [2.74 MB]
                   ppp-2.4.5-2 [0.27 MB]  python-3.2-2 [8.98 MB]
                   python-imaging-1.1.7-3 [0.34 MB]  qt-4.7.3-1 [24.12 MB]
                   r128-dri-7.10.2-2 [0.81 MB]  raptor-2.0.2-1 [0.23 MB]
                   rp-pppoe-3.10-6 [0.08 MB]  savage-dri-7.10.2-2 [0.83 MB]
                   sis-dri-7.10.2-2 [0.82 MB]  slim-1.3.2-5 [0.21 MB]
                   xz-5.0.2-1 [0.30 MB]  squashfs-tools-4.2-1 [0.07 MB]
                   sudo-1.8.1.p1-1 [0.37 MB]  syslinux-4.03-4 [0.68 MB]
                   syslog-ng-3.2.2-2 [0.23 MB]  tar-1.26-1 [0.55 MB]
                   tdfx-dri-7.10.2-2 [0.82 MB]  thunar-1.2.1-2 [2.67 MB]
                   transmission-gtk-2.22-3 [0.54 MB]  tumbler-0.1.21-3 [0.09 MB]
                   unrar-4.0.7-1 [0.08 MB]  usbutils-002-2 [0.16 MB]
                   vi-050325-4 [0.14 MB]  vte-common-0.28.0-1 [0.00 MB]
                   vte-0.28.0-1 [0.34 MB]  wget-1.12-5 [0.39 MB]
                   wpa_supplicant-0.7.3-3 [0.24 MB]  wicd-1.7.0-9 [0.25 MB]
                   xf86-input-evdev-2.6.0-3 [0.02 MB]
                   xf86-input-synaptics-1.4.0-2 [0.04 MB]
                   xf86-video-apm-1.2.3-3 [0.05 MB]
                   xf86-video-ark-0.7.3-3 [0.01 MB]
                   xf86-video-ast-0.91.10-3 [0.02 MB]
                   xf86-video-ati-6.14.1-1 [0.33 MB]
                   xf86-video-chips-1.2.4-2 [0.06 MB]
                   xf86-video-cirrus-1.3.2-6 [0.03 MB]
                   xf86-video-dummy-0.3.4-4 [0.01 MB]
                   xf86-video-fbdev-0.4.2-4 [0.01 MB]
                   xf86-video-glint-1.2.5-2 [0.07 MB]
                   xf86-video-i128-1.3.4-3 [0.02 MB]
                   xf86-video-i740-1.3.2-6 [0.02 MB]
                   xf86-video-intel-2.15.0-1 [0.16 MB]
                   xf86-video-mach64-6.8.2-6 [0.07 MB]
                   xf86-video-mga-1.4.13-3 [0.07 MB]
                   xf86-video-neomagic-1.2.5-4 [0.03 MB]
                   xf86-video-nouveau-0.0.16_git20110316-2 [0.08 MB]
                   xf86-video-nv-2.1.18-3 [0.07 MB]
                   xf86-video-r128-6.8.1-6 [0.04 MB]
                   xf86-video-rendition-4.2.4-4 [0.03 MB]
                   xf86-video-s3-0.6.3-5 [0.03 MB]
                   xf86-video-s3virge-1.10.4-5 [0.03 MB]
                   xf86-video-savage-2.3.2-2 [0.06 MB]
                   xf86-video-siliconmotion-1.7.5-2 [0.05 MB]
                   xf86-video-sis-0.10.3-4 [0.22 MB]
                   xf86-video-sisusb-0.9.4-4 [0.03 MB]
                   xf86-video-tdfx-1.4.3-6 [0.03 MB]
                   xf86-video-trident-1.3.4-4 [0.06 MB]
                   xf86-video-tseng-1.2.4-4 [0.02 MB]
                   xf86-video-v4l-0.2.0-8 [0.02 MB]
                   xf86-video-vesa-2.3.0-5 [0.01 MB]
                   xf86-video-vmware-11.0.3-3 [0.02 MB]
                   xf86-video-voodoo-1.2.4-4 [0.01 MB]
                   xf86-video-xgi-1.6.0-3 [0.11 MB]
                   xf86-video-xgixp-1.8.0-3 [0.05 MB]  xfburn-0.4.3-4 [0.26 MB]
                   xfsprogs-3.1.5-1 [0.58 MB]  xorg-xkbcomp-1.2.1-2 [0.08 MB]
                   xkeyboard-config-2.2.1-1 [0.46 MB]
                   xorg-fonts-encodings-1.0.4-1 [0.54 MB]
                   xorg-bdftopcf-1.0.3-1 [0.01 MB]
                   xorg-mkfontscale-1.0.8-1 [0.02 MB]
                   xorg-mkfontdir-1.0.6-2 [0.00 MB]
                   xorg-font-util-1.2.0-1 [0.02 MB]
                   xorg-font-utils-7.6-2 [0.00 MB]  xorg-iceauth-1.0.4-2 [0.01 MB]
                   xorg-luit-1.1.0-2 [0.02 MB]  xorg-setxkbmap-1.2.0-2 [0.01 MB]
                   xorg-server-common-1.10.1-1 [0.02 MB]
                   xorg-server-1.10.1-1 [1.24 MB]  xorg-sessreg-1.0.6-2 [0.01 MB]
                   xorg-xcmsdb-1.0.3-2 [0.01 MB]
                   xorg-xbacklight-1.1.2-2 [0.01 MB]
                   xorg-xgamma-1.0.4-2 [0.01 MB]  xorg-xhost-1.0.4-2 [0.01 MB]
                   xorg-xinput-1.5.3-2 [0.02 MB]  xorg-xmodmap-1.0.5-2 [0.02 MB]
                   xorg-xrdb-1.0.9-1 [0.02 MB]  xorg-xrefresh-1.0.4-2 [0.01 MB]
                   xorg-xsetroot-1.1.0-2 [0.01 MB]
                   xorg-server-utils-7.6-2 [0.00 MB]  xorg-twm-1.0.6-2 [0.09 MB]
                   xorg-xdpyinfo-1.2.0-2 [0.01 MB]
                   xorg-xdriinfo-1.0.4-2 [0.00 MB]  xorg-xev-1.1.0-2 [0.01 MB]
                   xorg-xlsatoms-1.1.0-2 [0.01 MB]
                   xorg-xlsclients-1.1.1-2 [0.01 MB]  xorg-xprop-1.2.0-2 [0.02 MB]
                   xorg-xvinfo-1.1.1-2 [0.01 MB]  xorg-xwininfo-1.1.1-2 [0.02 MB]
                   xorg-utils-7.6-7 [0.00 MB]  xorg-xinit-1.3.0-3 [0.01 MB]
                   xorg-xkbutils-1.0.3-2 [0.02 MB]  xorg-xkbevd-1.1.2-2 [0.02 MB]
                   xorg-xkb-utils-7.6-1 [0.00 MB]  xorg-xkill-1.0.3-2 [0.01 MB]
                   xterm-269-1 [0.22 MB]  zip-3.0-2 [0.15 MB]
    Total Download Size:    1.13 MB
    Total Installed Size:   1398.30 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    pciutils-3.1.7-4-x...   219.5K  484.9K/s 00:00:00 [---------------------]  18%
    udev-167-2-x86_64       444.4K  255.7K/s 00:00:02 [---------------------]  38%
    run-parts-3.4.4-1-...   452.2K  173.5K/s 00:00:03 [---------------------]  39%
    ca-certificates-20...   580.8K  155.1K/s 00:00:04 [---------------------]  50%
    sudo-1.8.1.p1-1-x86_64  964.4K  184.3K/s 00:00:05 [---------------------]  83%
    usbutils-002-2-x86_64  1133.0K  176.3K/s 00:00:06 [---------------------]  97%
    :: Retrieving packages from extra...
    dcron-4.5-2-x86_64     1158.1K  149.2K/s 00:00:08 [---------------------] 100%
    (330/330) checking package integrity               [---------------------] 100%
    (330/330) checking for file conflicts              [---------------------] 100%
    error: failed to commit transaction (conflicting files)
    wicd: /usr/lib/python2.7/site-packages/wicd/__init__.pyo exists in filesystem
    wicd: /usr/lib/python2.7/site-packages/wicd/backend.pyo exists in filesystem
    wicd: /usr/lib/python2.7/site-packages/wicd/configmanager.pyo exists in filesystem
    wicd: /usr/lib/python2.7/site-packages/wicd/dbusmanager.pyo exists in filesystem
    wicd: /usr/lib/python2.7/site-packages/wicd/logfile.pyo exists in filesystem
    wicd: /usr/lib/python2.7/site-packages/wicd/misc.pyo exists in filesystem
    wicd: /usr/lib/python2.7/site-packages/wicd/networking.pyo exists in filesystem
    wicd: /usr/lib/python2.7/site-packages/wicd/wnettools.pyo exists in filesystem
    wicd: /usr/lib/python2.7/site-packages/wicd/wpath.pyo exists in filesystem
    Errors occurred, no packages were upgraded.
    [kazuki@archbang ~]$

  • How to use FTP_COMMAND to put a file in the target system

    Hi All,
    I have the requirement to put an excel file from apllication server to another remote system for this i am using the function modules
    1) FTP_CONNECT to connect to the sourece as well as the destination systems  --- Here i am able to hit the both systems.
    2) for sending the data to the target system i am using FTP_COMMAND by passing the 'put' statement along with the soruce and destinations  for the command parameter.
    See the bellow code
    CONCATENATE 'put' v_fname '
    ' 'wbrs1\' folder
    into cmd separated by space.
    CALL FUNCTION 'FTP_COMMAND'
      EXPORTING
       HANDLE                = dhdl
        command              = cmd
       COMPRESS              = 'N'
      VERIFY                =
      RFC_DESTINATION       =
    IMPORTING
      FILESIZE              =
      FILEDATE              =
      FILETIME              =
      tables
        data                  = result
    EXCEPTIONS
       TCPIP_ERROR           = 1
       COMMAND_ERROR         = 2
       DATA_ERROR            = 3
       OTHERS                = 4
    Here v_name is the file path and name in the application server suppose say :
    /usr/sap/TD2/DVEBMGS01/work/TD2_20060901_1008_WAY-LY.XLS
    and wbrs1 is the target system and 'Waynesboro DFS' is the folder name i ma passing to the command .
    Also I tried with the following statement
    CONCATENATE 'put' v_fname '
    ' dhost  folder
    into cmd separated by space.
    Here v_name is the file path and name in the application server suppose say :
    /usr/sap/TD2/DVEBMGS01/work/TD2_20060901_1008_WAY-LY.XLS,
    Dhost is wbrs1.wb.na.webdti.com
    And Waynesboro DFS is the folder .
    Here i am getting the error as invalid argument.
    See the bellow messages from result internal table.
    put /usr/sap/TD2/DVEBMGS01/work/TD2_20060901_1008_WAY-LY.XLS
    wbrs1\ Waynesboro DFS
    open /usr/sap/TD2/DVEBMGS01/work/TD2_20060901_1008_WAY-LY.XLS errno 22: Invalid argument
    Please let me know how i can resolve this problem and how can I put this file in the destination system.
    Thanks in advance.
    Regards,
    Venkat

    check this code....here data is transferred from SAP to Informatica box..
    REPORT zfo_phoenix_acc_reconciliation NO STANDARD PAGE HEADING
                                                    MESSAGE-ID zz
                                                    LINE-SIZE  255
                                                    LINE-COUNT 65.
                            PROGRAM DECLARATION
    PROGRAM ID            : ZFO_PHOENIX_ACC_RECONCILIATION
    DESCRIPTION           : Phoneix Account Reconcilation Program-Feed
                            Balance sheet account balances from GL
                            3 files needed to be enhanced. The files are " Master
                  Attribute File" & "Transaction File(GL Balance)". For
                  Master Attribute File, data needs to be retrieved from
                  T001, ZDATSRC_T, SKA1, T003, T856. The corresponding
                  data from all the tables is downloaded into file
                  according to the condition specified. For Transaction
                  File, data needs to be retrieved from ZGEIST based on
                  Ledger(GG), Record Type(0), Fiscal Year, Period(016).
                  Then the current period is used to determine which TSLxx
                  & KSLxx needs to be used. Also, the conditions are
                  specified in specs which have been used accordingly.
                  The final data fetched will need to processed as files
                  which neednot be downloaded to Presentation/Application
                  server. Instead the files are been FTPed to the
                  Informatica Server using FTP. The location where the
                  files need to be located is ERC\GLOBALSAP.
                         TABLES
    TABLES : ADR6.
                         TYPES
    Output File - Master COA(Chart of Account)
    TYPES : BEGIN OF ty_coacode ,
             coa_code(20),         "COA Code
             coa_description(50),  "COA Description
             field11 TYPE x,       "Line Feed
             END OF ty_coacode.
    Output File - Master Account
    TYPES : BEGIN OF ty_acctcode ,
             act_code(20),         "GL Account Number
             act_desc(60),         "GL Account Description
             act_act_flag(1),      "Account marked for deletion indicator
             glact_type(1),        "GL Account type
             fi_line(20),          "Corporate Financial Statement Line
             coa_code(20),         "COA Code
             act_defcode(3),       "Account Defination Code
             field11 TYPE x,       "Line Feed
           END OF ty_acctcode.
    Output File - Master Entity
    TYPES : BEGIN OF ty_entitycode,
             entity_code(12),     "Entity Code
             com_desc(40),        "Company Name
             coa_code(20),        "COA Code
             field11 TYPE x,      "Line Feed
            END OF ty_entitycode.
    Output File - Master Attribute
    TYPES : BEGIN OF ty_attribcode,
             attrib_code(5),       "Attribute Code
             attrib_value(20),     "Attribute Value
             attrib_desc(60),      "Attribute Description
             field11 TYPE x,       "Line Feed
            END OF ty_attribcode.
    Output File - Transaction GL Balance
    TYPES : BEGIN OF ty_glbal,
             gl_reccode(2),        "GL Reconciliation Code
             gl_entity(12),        "GL Entity - Company Code
             gl_accnum(20),        "Gl Group Account Number
             site(4),              "Site
             currency_type(6),     "Transaction Currency Code
             year(4) TYPE n,       "Year
             month(2) TYPE n,      "Month
             as_of_date(8),        "Date Account Balance
             tran_cur_amt(21),     "Transaction Currency Amount
             usd_amount(21),       "USD Amount
             racct(20),            "GL Account Number
             zzbewar(20),          "Consolidation Transaction Type
             zzdatsrc(20),         "Data Source
             zzblart(20),          "Document Type
             rassc(20),          "Trading Partner
             field1(20),           "Attribute field1
             field2(20),           "Attribute field2
             field3(20),           "Attribute field3
             field4(20),           "Attribute field4
             field5(20),           "Attribute field5
             field11 TYPE x,       "Line Feed
           END OF ty_glbal.
    Output File - Control
    TYPES :BEGIN OF ty_globalsap,
            clnt_name(6),          "Client Name
            source_name(12),       "Source Name
            as_of_date(8),         "AS of Date
            time_stamp(6),         "Time Stamp
            time_zone(8),          "Time Zone
            num_of_files(3),       "Number of Files
            num_of_records(9),     "Number of Records
            user_ids(60),          "User ID(s)
            field11 TYPE x,        "Line Feed
           END OF ty_globalsap.
    Int'table to hold ZGEIST Data
    TYPES : BEGIN OF ty_zgeist_data,
              rldnr    TYPE rldnr,      "Ledger
              rrcty    TYPE rrcty,      "Record Type
              rvers    TYPE rvers,      "Version
              ryear    TYPE gjahr,      "Fiscal Year
              rbukrs   TYPE bukrs,      "Company Code
              racct    TYPE racct,      "Account Number
              robjnr   TYPE gobjnr_r,   "Object Number for objects
              cobjnr   TYPE gobjnr_c,   "Object Number for transaction
              sobjnr   TYPE gobjnr_s,   "Object Number for partner
              rtcur    TYPE rtcur,      "Currency Key
              runit    TYPE meins,      "Base Unit of Measure
              drcrk    TYPE shkzg,      "Debit/Credit Indicator
              rpmax    TYPE rpmax,      "Period
              rzzstagr TYPE stagr,      "Statistical key figure
              zzaltkt  TYPE altkt,      "Account Number in Group
              zzdatsrc TYPE zdatsrc,    "Data Source code
              zzbewar  TYPE rmvct,      "Transaction Type
              zzblart  TYPE blart,      "Document Type
              rassc    TYPE rassc,       "Trading Partner
              zzvbund  TYPE rassc,      "Trading Partner
              tslvt    TYPE tslvt9,     "Transactional Currency
              kslvt    TYPE kslvt9,     "Group Currency
            END   OF ty_zgeist_data.
    Int'table to hold ZGEIST Error Data based on conditions
    TYPES : BEGIN OF ty_zgeist_error_data,
              rldnr    TYPE rldnr,      "Ledger
              rrcty    TYPE rrcty,      "Record Type
              rvers    TYPE rvers,      "Version
              ryear    TYPE gjahr,      "Fiscal Year
              rbukrs   TYPE bukrs,      "Company Code
              robjnr   TYPE gobjnr_r,   "Object Number for objects
              cobjnr   TYPE gobjnr_c,   "Object Number for transaction
              sobjnr   TYPE gobjnr_s,   "Object Number for partner
              rtcur    TYPE rtcur,      "Currency Key
              runit    TYPE meins,      "Base Unit of Measure
              drcrk    TYPE shkzg,      "Debit/Credit indicator
              rpmax    TYPE rpmax,      "Period
            END   OF ty_zgeist_error_data.
                         FIELD SYMBOLS
    FIELD-SYMBOLS : <fs> TYPE ANY.
                         CONSTANTS
    DATA : c_selected    TYPE c VALUE 'X',  "Field for constant value 'X'
           c_y           TYPE c VALUE 'Y',  "For Acc marked for deletion
           c_n           TYPE c VALUE 'N',  "For Acc not marked for deletion
           c_a           TYPE c VALUE 'A',  "For GL Account type Asset
           c_l           TYPE c VALUE 'L',  "For GL Account type Liability
           c_q           TYPE c VALUE 'Q',  "For GL Account type Equity
           c_r           TYPE c VALUE 'R',  "For GL Account type Revenue
           c_e           TYPE c VALUE 'E',  "For GL Account type Expense
           c_t           TYPE c VALUE 'T',  "For GL Account type
           c_userid(60)  TYPE c ,
           c_curtp       TYPE curtp VALUE '10', "Currency type
           c_curtp1      TYPE curtp VALUE '30', "Currency type
           c_rassc(5)    TYPE c VALUE 'RASSC',  "Trading Partner
           c_dtsrce(6)   TYPE c VALUE 'DTSRC',  "Data Source
           c_sacct(5)    TYPE c VALUE 'SACCT',  "GL Account
           c_docty(5)    TYPE c VALUE 'DOCTY',  "Document Type
           c_trxtp(5)    TYPE c VALUE 'TRXTP',  "Transaction Type
           c_tradptn(15) TYPE c VALUE 'Trading Partner',  "Trading Partner
           c_datsrc(11)  TYPE c VALUE 'Data Source',      "Data Source
           c_glacc(10)   TYPE c VALUE 'GL Account',       "GL Account
           c_doctyp(13)  TYPE c VALUE 'Document Type',    "Document Type
           c_trantyp(16) TYPE c VALUE 'Transaction Type'. "Transaction Type
                         DATA (Simple Fields)
    DATA: w_cnt1         TYPE i, "No Of records in output file COA Code
          w_cnt2         TYPE i, "No Of records in output file Account
          w_cnt3         TYPE i, "No Of records in output file Entity
          w_cnt4         TYPE i, "No Of records in output file attribute
          w_cnt5         TYPE i, "No Of records in output file GL Balance
          w_tot_recs     TYPE i, "TOtal number of records downloaded
          w_date         LIKE sy-datum, "System date
          w_timediff     LIKE sy-uzeit, "Time Difference to GMT
          w_timezone(10) TYPE c,       "Time Difference to GMT
          w_file_count(3) TYPE n,       "File Count
          w_period TYPE poper,          "To hold Period Value
          w_year LIKE t009b-bdatj,      "To hold Fiscal Year Value
          w_outfile       TYPE char64,  "FTPed file path
          w_hdl           TYPE i.       "Handle for FTP
                         INTERNAL TABLES
    Intenal table for GL Account details
    DATA: BEGIN OF it_gl_detail OCCURS 0,
              saknr      TYPE saknr,
              txt50_skat TYPE txt50_skat,
              xloev      TYPE xloev,
          END OF it_gl_detail.
    DATA: it_company_list LIKE bapi0014_1  OCCURS 0 WITH HEADER LINE,
          it_coacode TYPE STANDARD TABLE OF ty_coacode  WITH HEADER LINE,
          it_acctcode TYPE STANDARD TABLE OF ty_acctcode WITH HEADER LINE,
          it_entitycode TYPE STANDARD TABLE OF ty_entitycode
                                            WITH HEADER LINE,
          it_attribcode TYPE STANDARD TABLE OF ty_attribcode
                                            WITH HEADER LINE,
          it_glbal TYPE STANDARD TABLE OF ty_glbal WITH HEADER LINE,
          it_globalsap TYPE STANDARD TABLE OF ty_globalsap WITH HEADER LINE,
          it_t001 TYPE STANDARD TABLE OF t001 WITH HEADER LINE,
          it_zdatsrc TYPE STANDARD TABLE OF zdatsrc_t WITH HEADER LINE,
          it_ska1 TYPE STANDARD TABLE OF ska1 WITH HEADER LINE,
          it_t003 TYPE STANDARD TABLE OF t003 WITH HEADER LINE,
          it_t856 TYPE STANDARD TABLE OF t856 WITH HEADER LINE,
          it_zgeist_data    TYPE STANDARD TABLE OF ty_zgeist_data
                                 WITH HEADER LINE,
          it_zgeist_data1   TYPE STANDARD TABLE OF ty_zgeist_data
                                 WITH HEADER LINE,
          it_zgeist_data_all TYPE STANDARD TABLE OF zgeist,
          wa_it_zgeist_data1 TYPE ty_zgeist_data,
          wa_it_zgeist_data TYPE zgeist,
          it_zgeist_error_data TYPE STANDARD TABLE OF ty_zgeist_error_data,
          wa_it_zgeist_error_data TYPE ty_zgeist_error_data.
                         SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-009.
    SELECTION-SCREEN : BEGIN OF LINE,
                COMMENT 1(30) TEXT-006,
                POSITION POS_LOW.
    PARAMETERS :       P_USER(30) TYPE C LOWER CASE OBLIGATORY.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE,
                COMMENT 1(30) TEXT-007,
                POSITION POS_LOW.
    PARAMETERS :       P_PWD(30) TYPE C LOWER CASE OBLIGATORY.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE,
                COMMENT 1(30) TEXT-008,
                POSITION POS_LOW.
    PARAMETERS :       P_HOST(64) TYPE C LOWER CASE OBLIGATORY.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN : BEGIN OF LINE,
                COMMENT 1(30) TEXT-010,
                POSITION POS_LOW.
    SELECT-OPTIONS :   S_EMAIL FOR ADR6-SMTP_ADDR NO INTERVALS.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN END OF BLOCK B1.
    -- Password not visible--
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'P_PWD'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    I N I T I A L I Z A T I O N                                         *
    INITIALIZATION.
      w_date0(2) = sy-datum4(2).
      w_date2(2) = sy-datum6(2).
      w_date4(4) = sy-datum0(4).
      S_EMAIL-SIGN = 'I'.
      S_EMAIL-OPTION = 'EQ'.
      S_EMAIL-LOW = '[email protected]'.
      APPEND S_EMAIL.
      S_EMAIL-SIGN = 'I'.
      S_EMAIL-OPTION = 'EQ'.
      S_EMAIL-LOW = '[email protected]'.
      APPEND S_EMAIL.
                         START - OF - SELECTION
    START-OF-SELECTION.
    Geting Company Details
      PERFORM get_company_list.
    Geting GL Account Details
      PERFORM get_gl_acc_detail.
    Geting GL Balance Details
      PERFORM get_zgeist_data.
                         END - OF - SELECTION
      PERFORM process_coacode.
      PERFORM process_acctcode.
      PERFORM process_entitycode.
      PERFORM process_attribcode.
      PERFORM process_glbal.
      PERFORM process_ftp_file.
      IF NOT it_zgeist_error_data[] IS INITIAL.
        PERFORM write_error_report.
      ENDIF.
    *&      Form  GET_COMPANY_LIST
               Form to get Company List                                 *
    FORM get_company_list.
      CALL FUNCTION 'BAPI_COMPANY_GETLIST'
        TABLES
          company_list = it_company_list.
    ENDFORM.                    "GET_COMPANY_LIST
    *&      Form  GET_GL_ACC_DETAIL
          Form to get the GL Account details                            *
    FORM get_gl_acc_detail.
      DATA : l_txt50 LIKE skat-txt50,
             l_tabix LIKE sy-tabix.
      SELECT saknr xloev
        INTO TABLE it_gl_detail
        FROM ska1
        WHERE ktopl = 'G001'
        AND   ( saknr GE '1000000000' AND saknr LE '4500000000' ).
      LOOP AT it_gl_detail.
        l_tabix = sy-tabix.
        SELECT SINGLE txt50
          INTO l_txt50
          FROM skat
          WHERE spras = 'EN'
          AND   ktopl = 'G001'
          AND   saknr = it_gl_detail-saknr.
        it_gl_detail-txt50_skat = l_txt50.
        MODIFY it_gl_detail INDEX l_tabix.
        CLEAR l_txt50.
      ENDLOOP.
    ENDFORM.                    "GET_GL_ACC_DETAIL
    *&      Form  PROCESS_COACODE
    Form to Populate COA data to Output internal table  IT_COACODE *
    FORM process_coacode.
      it_coacode-coa_code          =  text-023.     "GLOBAL.
      it_coacode-coa_description   =  text-022.     "Global SAP for ERC
      it_coacode-field11           =  '11'.
      APPEND it_coacode.
      CLEAR it_coacode.
    ENDFORM.                    "PROCESS_COACODE
    *&      Form  PROCESS_ACCTCODE
    Form to Populate Account data to Output Internal table IT_ACCTCODE *
    FORM process_acctcode.
      DATA:l_saknr(10).
      DATA : it_gl_detail2 LIKE it_gl_detail OCCURS 0 WITH HEADER LINE.
      IF NOT it_gl_detail[] IS INITIAL.
        it_gl_detail2[] = it_gl_detail[].
        SORT it_gl_detail2 BY saknr.
        DELETE ADJACENT DUPLICATES FROM it_gl_detail2 COMPARING saknr.
      ENDIF.
      IF NOT it_gl_detail2[] IS INITIAL.
        LOOP AT it_gl_detail2.
          MOVE it_gl_detail2-saknr      TO it_acctcode-act_code.
          MOVE it_gl_detail2-txt50_skat TO it_acctcode-act_desc.
    Check GL Account is marked for deletion or not
          IF it_gl_detail2-xloev     = c_selected.
            it_acctcode-act_act_flag = c_n.
          ELSE.
            it_acctcode-act_act_flag = c_y.
          ENDIF.
    Determine GL Account type based on GL account number
          l_saknr = it_gl_detail2-saknr.
          SHIFT l_saknr LEFT DELETING LEADING '0'.
          IF l_saknr CP '1*'.
            it_acctcode-glact_type = c_a.
          ELSEIF l_saknr CP '2*'.
            it_acctcode-glact_type = c_l.
          ELSEIF l_saknr CP '3*'.
            it_acctcode-glact_type = c_q.
    Start of Addition by C.Ramesh Babu on 11/04/2005   "DR1K907900
          ELSEIF l_saknr CP '4*'.
            it_acctcode-glact_type = c_l.
    End of Addition by C.Ramesh Babu on 11/04/2005   "DR1K907900
          ELSEIF l_saknr CP '5*'.
            it_acctcode-glact_type = c_r.
          ELSEIF l_saknr CP '6*'.
            it_acctcode-glact_type = c_e.
          ELSEIF l_saknr CP '7*'.
            it_acctcode-glact_type = c_t.
          ENDIF.
          it_acctcode-fi_line      = 'CDR'.
          it_acctcode-coa_code     = 'GLOBAL'.
          it_acctcode-act_defcode  = '001'.
          it_acctcode-field11      = '11'.
          APPEND :it_acctcode.
          CLEAR  :it_acctcode,it_gl_detail2.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "PROCESS_ACCTCODE
    *&      Form  PROCESS_ENTITYCODE
      Form to Populate Entiti data to Output file internal table        *
    FORM process_entitycode.
      IF NOT it_company_list[] IS INITIAL.
        LOOP AT it_company_list.
          SHIFT it_company_list-company LEFT DELETING LEADING '0'.
          MOVE it_company_list-company TO it_entitycode-entity_code.
          MOVE it_company_list-name1   TO it_entitycode-com_desc.
          it_entitycode-coa_code    = 'GLOBAL'.
          it_entitycode-field11     = '11'.
          APPEND it_entitycode.
          CLEAR : it_company_list,it_entitycode.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "PROCESS_ENTITYCODE
    *&      Form  PROCESS_ATTRIBCODE
        Form to Populate Attribute data to output file internal table   *
    FORM process_attribcode.
    Getting data from T001.
      SELECT * FROM t001 INTO TABLE it_t001.
      LOOP AT it_t001.
        MOVE c_rassc TO it_attribcode-attrib_code.
        MOVE it_t001-bukrs TO  it_attribcode-attrib_value.
        MOVE c_tradptn TO it_attribcode-attrib_desc.
        it_attribcode-field11 = '11'.
        APPEND it_attribcode.
        CLEAR it_attribcode.
      ENDLOOP.
    Getting data from table ZDATSRC_T.
      SELECT * FROM zdatsrc_t INTO TABLE it_zdatsrc.
      LOOP AT it_zdatsrc.
        MOVE c_dtsrce TO it_attribcode-attrib_code.
        MOVE it_zdatsrc-zdatsrc TO  it_attribcode-attrib_value.
        MOVE c_datsrc TO it_attribcode-attrib_desc.
        it_attribcode-field11 = '11'.
        APPEND it_attribcode.
        CLEAR it_attribcode.
      ENDLOOP.
    Getting data from table SKA1.
      SELECT * FROM ska1 INTO TABLE it_ska1.
      LOOP AT it_ska1.
        MOVE c_sacct TO it_attribcode-attrib_code.
        MOVE it_ska1-saknr TO  it_attribcode-attrib_value.
        MOVE c_glacc TO it_attribcode-attrib_desc.
        it_attribcode-field11 = '11'.
        APPEND it_attribcode.
        CLEAR it_attribcode.
      ENDLOOP.
    Getting data from table T003.
      SELECT * FROM t003 INTO TABLE it_t003.
      LOOP AT it_t003.
        MOVE c_docty TO it_attribcode-attrib_code.
        MOVE it_t003-blart TO  it_attribcode-attrib_value.
        MOVE c_doctyp TO it_attribcode-attrib_desc.
        it_attribcode-field11 = '11'.
        APPEND it_attribcode.
        CLEAR it_attribcode.
      ENDLOOP.
    Getting data from table T856.
      SELECT * FROM t856 INTO TABLE it_t856.
      LOOP AT it_t856.
        MOVE c_trxtp TO it_attribcode-attrib_code.
        MOVE it_t856-trtyp TO  it_attribcode-attrib_value.
        MOVE c_trantyp TO it_attribcode-attrib_desc.
        it_attribcode-field11 = '11'.
        APPEND it_attribcode.
        CLEAR it_attribcode.
      ENDLOOP.
    ENDFORM.                    "PROCESS_ATTRIBCODE
    *&      Form  PROCESS_GLBAL
      Form to Populate GL Balance data to Output file internal table    *
    FORM process_glbal.
      DATA : l_ctran_amt(21),
             l_cusd_amt(21).
      LOOP AT it_zgeist_data INTO wa_it_zgeist_data1.
    *Start of change by 501030559 on 11/04/2005
       it_glbal-gl_reccode = '04'.
         it_glbal-gl_reccode = '05'.
    *End of change by 501030559 on11/04/2005
        it_glbal-gl_entity  = wa_it_zgeist_data1-rbukrs.
        it_glbal-gl_accnum  = wa_it_zgeist_data1-zzaltkt.
        it_glbal-site       = 'ERC'.
        it_glbal-currency_type = wa_it_zgeist_data1-rtcur.
        it_glbal-year = w_year.
        it_glbal-month = w_period.
        it_glbal-as_of_date = w_date.
        l_ctran_amt = wa_it_zgeist_data1-tslvt.
    Put sign to left side of the value
        IF l_ctran_amt LT 0.
          TRANSLATE l_ctran_amt USING ' 0'.
          CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
            CHANGING
              value = l_ctran_amt.
        ELSE.
    Trailing Zero's to the value
          SHIFT l_ctran_amt RIGHT DELETING TRAILING space.
          TRANSLATE l_ctran_amt USING ' 0'.
          REPLACE '0' WITH '' INTO l_ctran_amt.
        ENDIF.
        it_glbal-tran_cur_amt = l_ctran_amt.
        l_cusd_amt = wa_it_zgeist_data1-kslvt.
    Put Sign to leftside of the value
        IF l_cusd_amt LT 0.
          TRANSLATE l_cusd_amt USING ' 0'.
          CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
            CHANGING
              value = l_cusd_amt.
        ELSE.
    Trailing Zero's to the value
          SHIFT l_cusd_amt RIGHT DELETING  TRAILING space.
          TRANSLATE l_cusd_amt USING ' 0'.
          REPLACE '0' WITH '' INTO l_cusd_amt.
        ENDIF.
        it_glbal-usd_amount = l_cusd_amt.
        it_glbal-racct   = wa_it_zgeist_data1-racct.
        it_glbal-zzbewar = wa_it_zgeist_data1-zzbewar.
        it_glbal-zzdatsrc = wa_it_zgeist_data1-zzdatsrc.
        it_glbal-zzblart  = wa_it_zgeist_data1-zzblart.
        it_glbal-rassc  = wa_it_zgeist_data1-rassc.
        it_glbal-field11 = '11'.
        APPEND it_glbal.
        CLEAR : wa_it_zgeist_data1, it_glbal.
      ENDLOOP.
    ENDFORM.                    "PROCESS_GLBAL
    *&      Form  PROCESS_GLOBALSAP
       Form to Populate COntrol data to Output file internal table      *
    FORM process_globalsap.
      DATA :l_total(9),
            l_len(3) type c.
    Logic to get Time Zone
      w_timediff  = sy-tzone.
      IF sy-tzone LT '0'.
        w_timediff = sy-tzone * -1.
        CONCATENATE 'GMT-' w_timediff(4) INTO w_timezone.
      ELSE.
        w_timediff = sy-tzone.
        CONCATENATE 'GMT+' w_timediff(4) INTO w_timezone.
      ENDIF.
      LOOP AT S_EMAIL.
        CONCATENATE C_USERID S_EMAIL-LOW ',' INTO C_USERID.
      ENDLOOP.
      l_len = strlen( c_userid ).
      l_len = l_len - 1.
      c_userid = c_userid+0(l_len).
      it_globalsap-clnt_name    = 'ERC'.
      it_globalsap-source_name  = 'GLOBALSAP'.
      it_globalsap-as_of_date   = w_date.
      it_globalsap-time_stamp   = sy-uzeit.
      it_globalsap-time_zone    = w_timezone.
      it_globalsap-num_of_files = w_file_count.
      MOVE w_tot_recs TO l_total.
      SHIFT l_total RIGHT DELETING TRAILING space.
      TRANSLATE l_total USING ' 0'.
      it_globalsap-num_of_records = l_total.
      it_globalsap-user_ids = c_userid.
      it_globalsap-field11  = '11'.
      APPEND it_globalsap.
      CLEAR it_globalsap.
    ENDFORM.                  "PROCESS_GLOBALSAP
    *&      Form  COUNT_RECORDS
    Form to count total number of records Downlaoded                   *
    FORM count_records.
      DESCRIBE TABLE it_coacode    LINES w_cnt1.
      DESCRIBE TABLE it_acctcode   LINES w_cnt2.
      DESCRIBE TABLE it_entitycode LINES w_cnt3.
      DESCRIBE TABLE it_attribcode LINES w_cnt4.
      DESCRIBE TABLE it_glbal      LINES w_cnt5.
      w_tot_recs = w_cnt1 + w_cnt2 + w_cnt3 + w_cnt4 + w_cnt5.
    ENDFORM.                    "COUNT_RECORDS
    *&      Form  get_zgeist_data
    Form used to fetch data from ZGEIST table for the GL BAL file
    FORM get_zgeist_data .
      PERFORM get_period_year.
      SELECT * INTO TABLE it_zgeist_data_all
               FROM zgeist
               WHERE rldnr  EQ 'GG'
               AND   ryear  EQ w_year
               AND   rrcty  EQ 0
               AND   rpmax  EQ '016'
               AND  ( zzaltkt GE '1000000000' AND zzaltkt LE '4500000000' )
               AND   rzzstagr = space.
      sort it_zgeist_data_all by rbukrs rldnr zzaltkt racct
                                 zzdatsrc zzbewar zzblart rtcur rassc.
      LOOP AT it_zgeist_data_all INTO wa_it_zgeist_data.
        IF wa_it_zgeist_data-zzaltkt EQ space.
          wa_it_zgeist_error_data-rldnr = wa_it_zgeist_data-rldnr.
          wa_it_zgeist_error_data-rrcty = wa_it_zgeist_data-rrcty.
          wa_it_zgeist_error_data-rvers = wa_it_zgeist_data-rvers.
          wa_it_zgeist_error_data-ryear = wa_it_zgeist_data-ryear.
          wa_it_zgeist_error_data-rbukrs = wa_it_zgeist_data-rbukrs.
          wa_it_zgeist_error_data-robjnr = wa_it_zgeist_data-robjnr.
          wa_it_zgeist_error_data-cobjnr = wa_it_zgeist_data-cobjnr.
          wa_it_zgeist_error_data-sobjnr = wa_it_zgeist_data-sobjnr.
          wa_it_zgeist_error_data-rtcur = wa_it_zgeist_data-rtcur.
          wa_it_zgeist_error_data-runit = wa_it_zgeist_data-runit.
          wa_it_zgeist_error_data-drcrk = wa_it_zgeist_data-drcrk.
          wa_it_zgeist_error_data-rpmax = wa_it_zgeist_data-rpmax.
          APPEND wa_it_zgeist_error_data TO it_zgeist_error_data.
        ELSE.
          it_zgeist_data1-rbukrs   = wa_it_zgeist_data-rbukrs.
          it_zgeist_data1-rldnr    = wa_it_zgeist_data-rldnr.
          it_zgeist_data1-zzaltkt  = wa_it_zgeist_data-zzaltkt.
          it_zgeist_data1-racct    = wa_it_zgeist_data-racct.
          it_zgeist_data1-zzdatsrc = wa_it_zgeist_data-zzdatsrc.
          it_zgeist_data1-zzbewar  = wa_it_zgeist_data-zzbewar.
          it_zgeist_data1-zzblart  = wa_it_zgeist_data-zzblart.
          it_zgeist_data1-rassc  = wa_it_zgeist_data-rassc.
          it_zgeist_data1-rtcur    = wa_it_zgeist_data-rtcur.
          PERFORM get_tslvt_kslvt_values USING w_period.
          COLLECT it_zgeist_data1.
        ENDIF.
        CLEAR : wa_it_zgeist_data, wa_it_zgeist_error_data,
                it_zgeist_data1.
      ENDLOOP.
      it_zgeist_data[] = it_zgeist_data1[].
    ENDFORM.                    " get_zgeist_data
    *&      Form  write_error_report
    Form used to display error data for the GL BAL fetched data
    FORM write_error_report .
      DATA : l_text(80) TYPE c.
      CASE w_period.
        WHEN '001' OR '01'.
          l_text = text-e01.
        WHEN '002' OR '02'.
          l_text = text-e02.
        WHEN '003' OR '03'.
          l_text = text-e03.
        WHEN '004' OR '04'.
          l_text = text-e04.
        WHEN '005' OR '05'.
          l_text = text-e05.
        WHEN '006' OR '06'.
          l_text = text-e06.
        WHEN '007' OR '07'.
          l_text = text-e07.
        WHEN '008' OR '08'.
          l_text = text-e08.
        WHEN '009' OR '09'.
          l_text = text-e09.
        WHEN '010' OR '10'.
          l_text = text-e10.
        WHEN '011' OR '11'.
          l_text = text-e11.
        WHEN '012' OR '12'.
          l_text = text-e12.
        WHEN '013' OR '13'.
          l_text = text-e13.
        WHEN '014' OR '14'.
          l_text = text-e14.
        WHEN '015' OR '15'.
          l_text = text-e15.
        WHEN '016' OR '16'.
          l_text = text-e16.
      ENDCASE.
      SKIP 2.
      WRITE:/45 text-h01 COLOR COL_HEADING.
      SKIP 2.
      FORMAT COLOR 4.
      WRITE:/(234) sy-uline.
      WRITE:/1   sy-vline,
             2   text-h02,
             9   sy-vline,
             10  text-h03,
             19  sy-vline,
             20  text-h04,
             28  sy-vline,
             29  text-h05,
             41  sy-vline,
             42  text-h06,
             49  sy-vline,
             50  text-h07,
             69  sy-vline,
             70  text-h08,
             89  sy-vline,
             90  text-h09,
             109 sy-vline,
             110 text-h10,
             119 sy-vline,
             120 text-h11,
             130 sy-vline,
             131 text-h12,
             144 sy-vline,
             145 text-h13,
             152 sy-vline,
             153 text-h14,
             234 sy-vline.
      WRITE:/(234) sy-uline.
      FORMAT COLOR OFF.
      LOOP AT it_zgeist_error_data INTO wa_it_zgeist_error_data.
        FORMAT COLOR 2.
        WRITE:/1   sy-vline,
               4   wa_it_zgeist_error_data-rldnr,
               9   sy-vline,
               13  wa_it_zgeist_error_data-rrcty,
               19  sy-vline,
               22  wa_it_zgeist_error_data-rvers,
               28  sy-vline,
               32  wa_it_zgeist_error_data-ryear,
               41  sy-vline,
               42  wa_it_zgeist_error_data-rbukrs,
               49  sy-vline,
               50  wa_it_zgeist_error_data-robjnr,
               69  sy-vline,
               70  wa_it_zgeist_error_data-cobjnr,
               89  sy-vline,
               90  wa_it_zgeist_error_data-sobjnr,
               109 sy-vline,
               112 wa_it_zgeist_error_data-rtcur,
               119 sy-vline,
               123 wa_it_zgeist_error_data-runit,
               130 sy-vline,
               135 wa_it_zgeist_error_data-drcrk,
               144 sy-vline,
               147 wa_it_zgeist_error_data-rpmax,
               152 sy-vline,
               153 l_text,
               234 sy-vline.
        FORMAT COLOR OFF.
      ENDLOOP.
      WRITE:/(234) sy-uline.
    ENDFORM.                    " write_error_report
    *&      Form  get_tslvt_kslvt_values
    Form used to get TSLxx & KSLxx values for the period fetched
    FORM get_tslvt_kslvt_values USING period.
    FIELD-SYMBOLS : <f1> TYPE ANY,
                     <f2> TYPE ANY.
    DATA : l_tslvt_val(25) VALUE 'wa_it_zgeist_data-tsl',
            l_kslvt_val(25) VALUE 'wa_it_zgeist_data-ksl',
            l_tslvt TYPE tslvt9,
            l_kslvt TYPE kslvt9,
            l_period TYPE poper.
      clear l_period.
      l_period = period.
      DO l_period TIMES.
          CONCATENATE  l_tslvt_val  l_period+1(2) INTO  l_tslvt_val.
          CONCATENATE   l_kslvt_val l_period+1(2) INTO  l_kslvt_val.
        ASSIGN (l_tslvt_val) TO <f1>.
        l_tslvt = <f1>.
        it_zgeist_data1-tslvt = it_zgeist_data1-tslvt + l_tslvt.
        ASSIGN (l_kslvt_val) TO <f2>.
        l_kslvt = <f2>.
        it_zgeist_data1-kslvt = it_zgeist_data1-kslvt + l_kslvt.
        l_period = l_period - 1.
        clear : l_tslvt, l_kslvt, l_tslvt_val, l_kslvt_val.
        l_tslvt_val = 'wa_it_zgeist_data-tsl'.
        l_kslvt_val = 'wa_it_zgeist_data-ksl'.
        if l_period = 0.
          exit.
        endif.
      ENDDO.
    ENDFORM.                    "get_tslvt_kslvt_values
    *&      Form  process_ftp_file
    Form used to connect & disconnect to Informatica Server using FTP
    Also, used to transfer files to the Informatica location
    -->  p1        text
    <--  p2        text
    FORM process_ftp_file .
      DATA: l_slen     TYPE i,
            l_error,
            l_pwd(30)  TYPE c.
      CONSTANTS: c_dest TYPE rfcdes-rfcdest VALUE 'SAPFTP',
                 c_key  TYPE i              VALUE 26101957.
      l_error = 0.
    connect to ftp server
      l_pwd = p_pwd.
      l_slen = STRLEN( l_pwd ).
      CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = l_pwd
          sourcelen   = l_slen
          key         = c_key
        IMPORTING
          destination = l_pwd.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text = 'Connect to FTP Server'.
    To Connect to the Server using FTP
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          user            = p_user
          password        = l_pwd
          host            = p_host
          rfc_destination = c_dest
        IMPORTING
          handle          = w_hdl
        EXCEPTIONS
          OTHERS          = 1.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR : w_outfile, w_file_count.
      MOVE 'ERC/GLOBALSAP/M_ERC_GLOBALSAP_COACODE' TO w_outfile.
      PERFORM download_to_ftp TABLES it_coacode USING w_outfile.
      w_file_count = w_file_count + 1.
      CLEAR : w_outfile.
      MOVE 'ERC/GLOBALSAP/M_ERC_GLOBALSAP_ACCTCODE' TO w_outfile.
      PERFORM download_to_ftp TABLES it_acctcode USING w_outfile.
      w_file_count = w_file_count + 1.
      CLEAR : w_outfile.
      MOVE 'ERC/GLOBALSAP/M_ERC_GLOBALSAP_ENTITYCODE' TO w_outfile.
      PERFORM download_to_ftp TABLES it_entitycode USING w_outfile.
      w_file_count = w_file_count + 1.
      CLEAR : w_outfile.
      MOVE 'ERC/GLOBALSAP/M_ERC_GLOBALSAP_ATTRIBCODE' TO w_outfile.
      PERFORM download_to_ftp TABLES it_attribcode USING w_outfile.
      w_file_count = w_file_count + 1.
      CLEAR : w_outfile.
      MOVE 'ERC/GLOBALSAP/ERC_GLOBALSAP_GLBAL' TO w_outfile.
      PERFORM download_to_ftp TABLES it_glbal USING w_outfile.
      w_file_count = w_file_count + 1.
      CLEAR : w_outfile, w_tot_recs.
      PERFORM count_records.
      PERFORM process_globalsap.
      MOVE 'ERC/GLOBALSAP/C_ERC_GLOBALSAP' TO w_outfile.
      PERFORM download_to_ftp TABLES it_globalsap USING w_outfile.
    To disconnect the FTP
      CALL FUNCTION 'FTP_DISCONNECT'
        EXPORTING
          handle = w_hdl.
    To disconnect the RFC Connection
      CALL FUNCTION 'RFC_CONNECTION_CLOSE'
        EXPORTING
          destination = c_dest
        EXCEPTIONS
          OTHERS      = 1.
    ENDFORM.                    " process_ftp_file
    *&      Form  download_to_ftp
    Form to put the files in the Informatica Location using FTP
    Path is ERC\GLOBALSAP\<filename>
    FORM download_to_ftp TABLES it_tab
                         USING l_string TYPE char64.
      CALL FUNCTION 'FTP_R3_TO_SERVER'
        EXPORTING
          handle         = w_hdl
          fname          = l_string
          character_mode = 'X'
        TABLES
          text           = it_tab[]
        EXCEPTIONS
          tcpip_error    = 1
          command_error  = 2
          data_error     = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                RAISING invalid_output_file.
      ENDIF.
    ENDFORM.                    " download_to_ftp
    *&      Form  get_period_year
    Form to fill the Period & Year based on the Sy-datum
    FORM get_period_year .
      DATA : l_month(2) TYPE c,
             l_day(2)   TYPE c,
             l_year(4)  TYPE c.
      l_year  = sy-datum+0(4).
      l_month = sy-datum+4(2).
      l_day   = sy-datum+6(2).
      CASE l_month.
        WHEN '01'.
          IF l_day <= '15'.
            w_period = '12'.
            w_year = l_year - 1.
          ELSE.
            w_period = '1'.
            w_year = l_year.
          ENDIF.
        WHEN '02'.
          IF l_day <= '15'.
            w_period = '1'.
            w_year = l_year.
          ELSE.
            w_period = '2'.
            w_year = l_year.
          ENDIF.
        WHEN '03'.
          IF l_day <= '15'.
            w_period = '2'.
            w_year = l_year.
          ELSE.
            w_period = '3'.
            w_year = l_year.
          ENDIF.
        WHEN '04'.
          IF l_day <= '15'.
            w_period = '3'.
            w_year = l_year.
          ELSE.
            w_period = '4'.
            w_year = l_year.
          ENDIF.
        WHEN '05'.
          IF l_day <= '15'.
            w_period = '4'.
            w_year = l_year.
          ELSE.
            w_period = '5'.
            w_year = l_year.
          ENDIF.
        WHEN '06'.
          IF l_day <= '15'.
            w_period = '5'.
            w_year = l_year.
          ELSE.
            w_period = '6'.
            w_year = l_year.
          ENDIF.
        WHEN '07'.
          IF l_day <= '15'.
            w_period = '6'.
            w_year = l_year.
          ELSE.
            w_period = '7'.
            w_year = l_year.
          ENDIF.
        WHEN '08'.
          IF l_day <= '15'.
            w_period = '7'.
            w_year = l_year.
          ELSE.
            w_period = '8'.
            w_year = l_year.
          ENDIF.
        WHEN '09'.
          IF l_day <= '15'.
            w_period = '8'.
            w_year = l_year.
          ELSE.
            w_period = '9'.
            w_year = l_year.
          ENDIF.
        WHEN '10'.
          IF l_day <= '15'.
            w_period = '9'.
            w_year = l_year.
          ELSE.
            w_period = '10'.
            w_year = l_year.
          ENDIF.
        WHEN '11'.
          IF l_day <= '15'.
            w_period = '10'.
            w_year = l_year.
          ELSE.
            w_period = '11'.
            w_year = l_year.
          ENDIF.
        WHEN '12'.
          IF l_day <= '15'.
            w_period = '11'.
            w_year = l_year.
          ELSE.
            w_period = '12'.
            w_year = l_year.
          ENDIF.
      ENDCASE.
    ENDFORM.                    " get_period_year

  • [svn] 1307: modules: added support for automatically adding " use namespace X", depending on the -target-player value

    Revision: 1307
    Author: [email protected]
    Date: 2008-04-18 16:28:33 -0700 (Fri, 18 Apr 2008)
    Log Message:
    modules: added support for automatically adding "use namespace X", depending on the -target-player value
    * similar to how we add "use namespace AS3"
    * symmetric with ASC's -use feature, however we don't have equivalent commandline support yet
    Bugs: n/a
    QA: Nothing in particular, except for testing the new functionality of -target-player (email me about this)
    Doc: Maybe: If we doc about "use namespace AS3" being added to all Flex compiles, we may want to talk about this.
    Reviewers: Pete and Erik
    Modified Paths:
    flex/sdk/trunk/frameworks/flex-config.xml
    flex/sdk/trunk/lib/asc.jar
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/BatchCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/Compiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ScriptCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/MetaDataParser.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Thanks for your attention.
    In the above logs, higher resolutions seems to be detected on both screens, hence my surprise :
    [ 391.631] (II) intel(0): Printing probed modes for output LVDS1
    [ 391.631] (II) intel(0): Modeline "1600x900"x60.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP)
    [ 391.897] (II) intel(0): Printing probed modes for output HDMI1
    [ 391.897] (II) intel(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz eP)
    If it can help here is also my current xrandr output (after having called it manually to use the preferred resolution of each screen)
    itanguy ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
    LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1600x900 60.0*+ 40.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
    1680x1050 59.9*+
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.1 60.0
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI2 disconnected (normal left inverted right x axis y axis)
    HDMI3 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    DP3 disconnected (normal left inverted right x axis y axis)
    If needed, I may reboot and provide xrandr output after boot (it will be 1024x768), or could other logs help you ? Please ask...

  • Binaries move to /usr/bin requiring update intervention

    I just updated succesfully as was indicated on the Latest news with the intervention
    But I do wonder.....
    If I now look at my filesystem I now have the following links:
      lrwxrwxrwx 1 root root 7 31 mei 20:40 /bin -> usr/bin
      lrwxrwxrwx 1 root root 7 31 mei 20:40 /sbin -> usr/bin
      lrwxrwxrwx 1 root root 3 31 mei 20:40 /usr/sbin -> bin
      lrwxrwxrwx 1 root root 7 31 mei 20:40 /bin -> usr/bin
    I wonder why /usr/sbin is not pointing directly to /usr/bin but instead first to /bin (which is directed to usr/bin)
    Is that intended ?
    Last edited by robin67 (2013-06-03 13:28:04)

    I have a problem updating the "filesystem" package.
    # pacman -Syu --ignore filesystem,bash
    # pacman -S bash
    Until here, everything was Ok, but doing:
    # pacman -Su
    I get:
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): filesystem-2013.05-2
    Total Installed Size:   0.01 MiB
    Net Upgrade Size:       -0.30 MiB
    :: Proceed with installation? [Y/n] Y
    (1/1) checking keys in keyring                        100%
    (1/1) checking package integrity                    100%
    (1/1) loading package files                             100%
    (1/1) checking for file conflicts                        100%
    error: failed to commit transaction (conflicting files)
    filesystem: /usr/sbin exists in filesystem
    Errors occurred, no packages were upgraded.
    Looking into "/", the directories "/bin" and "/sbin" were removed. Although the directory "/usr/sbin" exists and is empty. Some clues?

  • Scale does not work for the target movie when using a poster movie

    Hello,
    I have various size video files that I want to scale to a certain display area on a website. I'm using the scale="tofit" attribute. It works fine for the poster movie but when the target movie is loaded it does not scale! Is this a QT bug or by design? Is there a workaround to this or am I doing things wrong? All help is greatly appreciated.
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="489" height="280" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="autoplay" value="false">
    <param name="controller" value="true">
    <param name="href" value="heaven.mov">
    <param name="pluginspage" value="http://www.apple.com/quicktime/download/indext.html">
    <param name="target" value="myself">
    <param name="type" value="video/quicktime">
    <param name="src" value="movies/PosterTest.mov">
    <param name="scale" value="tofit" >
    <embed src="movies/PosterTest.mov" href="heaven.mov" width="489" height="280" autoplay="false" controller="true" border="0" pluginspage="http://www.apple.com/quicktime/download/indext.html" target="myself" type="video/quicktime" scale="tofit">
    </object>
    Dell inspiron 8200   Windows XP Pro  

    After quite a lot of Googling I found what I was looking for. This solution was quite hard to find. I found it on http://blog.deconcept.com/2005/01/26/web-standards-compliant-javascript-quicktim e-detect-and-embed (I'm using Geoff Stearns's script to embed my movies, it works great!)
    Anyway here is a url to the final solution:
    http://developer.apple.com/documentation/QuickTime/WhatsNewQT5/QT5NewChapt1/chap ter1_section32.html

Maybe you are looking for

  • Getting values from checkboxes and emailing

    I have several checkboxes name="area[]" the user can check as many as they like. To get the value in php I used $f_area = $_REQUEST['area'] ; and if I want to print out the values I say echo $f_area[0]; echo $f_area[1]; echo $f_area[2]; The problem o

  • PCA Report: S_ALR_87013340 - Profit Center Group: Plan/Actual/Variance

    Hi, I have noticed a balance in Trade payables account for Dummy profit center in this report even after executing transaction '1KEK - Transferring Payables/Receivables ' and moreover if I click to check the actual line items the message is 'no value

  • InDesign CS4 or CS5 will not open my CS4 file

    Please help! I have a large file for a newsletter I have been working on that suddenley refuses to open. I have been using CS4 and didn't have any problems until all of the sudden I just get a box saying "cannot open "name of file". I tried in CS5 on

  • Complicated loading issue

    Hi all, One issue I have to solve. The loading process is as follow: One cube (A) which loads data from R3 with delta mechnism, then A will post data into cube (B) and two ODSs with delta using one InfoPackage, after this this two ODSs will post data

  • Regarding Upgrad ! (Urgent plzzz)

    Hi Guys, currently i am using BW 3.5 and have created various InfoObjects like InfoCubes, Infosets, Master Data, ODS. Now the client is planning to upgrad the system from BW 3.5 to BW 7.0. And i am assigned the task to upgrades these InfoObjects afte