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

Similar Messages

  • How to convert Purchase Order to Sales Order in the Target system of Vendor

    Hi all,
                 My sender system and receiver system both are ECC6.00 . We are not using any Xi/PI or EDI tool ., but using ALE to tranfer purchase order to the Vendor System . The PO IDoc is getting tranfered to Target System, but the Corresponding Sales order is not being generated .
                 My query is how the  inbound process in the trarget system determines what are the master data will be used to create the Sales Order . as the transfered IDOC will not have sales area, distribution channel or  division .
    Best Regards

    Hi,
    Here u need to use PI or any middleware.
    For PI , it will be IDOC to RFC scenario :
    Sender side - IDOC - Orders05 or whichever u want
    Receiver side - RFC -Import the BAPI you want to use , for your case most probably it will be 'BAPI_SALESORDER_CREATEFROMDAT2'.
    Pass the mandatory fields required to bapi .
    kindly check :
    http://www.sap-img.com/fu036.htm
    http://abap.wikiprog.com/wiki/BAPI_SALESORDER_CREATEFROMDAT2
    http://www.saptechies.com/bapi-to-create-sales-order-with-reference/
    http://www.scribd.com/doc/3335908/BAPI-Step-by-Step
    You can refer IDOC to RFC scenarios in forum from search.
    Best Regards

  • How to use transport request to delete table entries on target system

    I released a request from DEV system to QA system , the request(request 1) delivered some table content,
    but some of contents are incorrect, is that possible to release another request(request 2) to QA system,in
    the request 2, I can specify which records needs to be deleted, so when request 2 is imported into QA
    system, all the incorrect records are deleted?
    Is there any API for me to create such a request 2?
    The problem is we delivered some redundant table enties when project released to customer,
    we want to delete these redundant records in support package, when customer installed support
    package, all the redundant records are deleted, so no manual actions are needed on customer side.
    thanks very much.

    Hi
    It should be as simple as deleting your entries, saving as a transport and then sending the transport to the client and this should override what is there
    Frenchy

  • How do I set the HELP menu to use Indesign's local HELP files on the hard drive and not the web?

    How do I set the HELP menu to use Indesign's local HELP files on the hard drive and not the web?
    CS 5.0 launches the internet browser.  > TO SLOW I DONT WANT THIS.
    CS 3.0 uses the local help files > I WANT THIS FOR 5.0.

    You're not speaking to the right forum for your request. Help is a Suite-wide feature and here is the forum where the Help application is discussed, and where the proper Adobe people hang out:
    Community Help Application

  • How to run a remote windows dll files and the drivers of the system using j

    Dear Friends,
    I need some valuable info regd how to run a remote windows dll files and the drivers of the system using java
    reply regd thanking you

    Please don't make duplicate posts like this.

  • How to use utl_ftp package to transfer files from one system to another

    Hi all,
    How to use utl_ftp package to transfer files from one system to another using plsql procedure .
    I failed to find the appropriate document ,kindly help me .
    Thanks,
    P Prakash

    prakash wrote:
    I am sorry tell you, this blog is not enough to for me.It's not a blog, it's Chris' website where you download the package from. Once you download the package and unrar it, then the package spec gives instructions (and I think there's instructions on how to install it too).
    Kindly let me know if there is any oracle documentation for this .It's not an Oracle created package, it was created by Chris. It's based around the UTL_TCP package if you really want to get into the nitty gritty of how it works, but I don't think you do.

  • How to use HTML and Java Script files in Portal

    Hi,
    I am trying to access a web application using iViews. My application contains JSP,HTML,Servlets,JS(java script), image files. I am using JSPDynPro to access the JSP files and I am putting servlets in the private/lib folder of the PORTAL-INF dir of Portal project. Now my problem is almost all the JSP files uses the HTML files, JS files and image files. Where can put these files in the portal project dir structure to give access to the JSP files when i am creating a iView for the JSPDynPro componenets in the irj.
    thanks,
    Ashok

    Hi,
    JSPDynpage is the controller, one JSPDynpage can call more than one jsp file according to the coding. Through the JSPDynpage's setJspName() function only you can display a jsp page.
    EX:
    public void doProcessBeforeOutput() throws PageException {
      this.setJspName("logon.jsp");
    if you put the JSPDynpage in the src.core then the JSPDynpage can be accessed only by this application.
    if you put the JSPDynpage in the src.api then other applications can access this component.
    You can put the jsp pages in the pagelet folder.
    xml file
    =========
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="jspdynpage name">
          <component-config>
            <property name="ClassName" value="package name.jspdynpagename"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    REWARD USEFUL ANSWERS

  • How to put two files with the same name into the same folder?

    How can I put two files with the same name and the same extention into the same directory?
    Is this even possible?
    Thanks in advance. 

    Are you sure? I would be very surprised if that was the case.
    How does the computer/filing system differentiate the files, if not by their names?
    How do you tell the computer which one you want? (On the command line.)

  • I have a MacBook Air using Maverick. I have files in the trash I want to recover. I do not have "Put Back" and Command   Delete does not work.

    I have a MacBook Air using Maverick. I have files in the trash I want to recover to their original files. I do not have "Back Up" and "Command + Delete" does not work.

    Drag them out of the Trash and put them in their original location. Put Back may work on one file at a time.

  • How do I eliminate the use and creation of big files in the profile - places.sqlite, urlclassifier3.sqlite, places.sqlite-wal?

    I want to eliminate the use and creation of big files in the profile - places.sqlite (10MB), urlclassifier3.sqlite (5MB), places.sqlite-wal (1MB)?
    Ffor urlclassifier, I tried disabling safebrowsing options (in security menu or in about:config), but file remains. Also if deleted it is still re-created with 5 MB.

    Start at http://www.mozilla.com and download the latest
    version. '''At the completion of the download don't let the setup start Firefox for you, when the setup ends, start Firefox in your normal manner this way you will be less likely to create a new profile.'''
    The extra startup pages are temporary -- read them. The next time
    Firefox comes up you should be back to starting with your normal home page.
    '''Note: Firefox must be down once the install starts. '''
    Close Firefox with File>Exit. Then make sure Firefox is not running --
    On Windows: check the "Processes" tab in the Windows Task Manager.
    '''On Mac: Firefox > Quit then Command+option+Esc, if Firefox running use Force quit'''
    Permission errors on Mac:
    '''If you were getting permission errors on a Mac, download the latest
    Firefox version, then uninstall and reinstall Firefox. Do not remove
    your profile directories and files as they contain your settings,
    bookmarks, history, extensions, passwords, and cookies.'''
    in any case once you are on 4.0 you might want to take a look at "(fx4)"
    * Fx4: Firefox 4.0 Problems and Orientation (#fx4) <br>http://dmcritchie.mvps.org/firefox/firefox-problems#fx4

  • I still have problems with getting my website online. I have defined my server. Then I did the test and there was a connection via FTP. I put my files on the external server and there is a connection with the external server. But when I check to see my we

    I still have problems with getting my website online. I have defined my server. Then I did the test and there was a connection via FTP. I put my files on the external server and there is a connection with the external server. But when I check to see my website online (with Firefox, Explorer, Chrome browser) I always get the message 'Forbidden, You don't have permission to access / on this server.' Can somebody help me please? I have to get my website online..Thank you!

    Hello Els,
    it's well known, that in all these cases you describe I'm not a friend of a detailed Troubleshooting (I see Nancy#s smile already).
    To be able to be independent in all this things It is one of the reasons why I prefer an external FTP program. The difficulties with which you have to fight encourage me in this opinion, not least because we always search for experts, we don't charge a "jack of all trades".
    To manage several websites or to upload my files and sometimes for the opposite way, for a necessary download from my server or to use a "a site-wide synch", I'm using FileZilla. It simply looks easier for me to keep track of all operations precisely and generate or reflect easily the desired tree structure.
    Above all, FileZilla has a feature (translation from my German FileZilla) called "compare file list". Here it's possible to use file size or modification time as a criterion. There is also the possibility to "hide identical files", so that only these files which you want to redact remain visible.
    And even if it means you have to install a new program, I am convinced that there is an advantage. Here is the link to get it and where you can read informations about how it works:
    http://filezilla-project.org/ and http://wiki.filezilla-project.org/Tutorial#Using_the_site_manager
    Mac: Mac OS X (Use: Show additional download options)
    http://filezilla-project.org/download.php
    Of course, you also need all the access data to reach your server and for MIME issues, you should contact your web host/provider.
    Good luck!
    Hans-Günter
    P.S.
    Since I use two screens, the whole thing became even more comfortable.

  • How do I access my back up files from the time machine if my computer was stolen?

    Hi, how do I access my back up files from the time machine if my mac book pro was stolen? I have a mac book air and mac too. But not sure how I can get back all the files from the stolen computer from my time capsule

    On the Mac Book Air or other Mac that you have, use Migration Assistant to transfer files from the Time Machine backups of the Mac that was taken.
    Macintosh HD > Applications > Utilities > Migration Assistant

  • URGENT PLEASE:How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server? Can I run through an Applet?
    How can I set Environment variables in Windows2000 Professional Environment?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    The code is here
    import java.sql.*;
    public class RecordShow {
    public static void main(String args[]) {
    String url = "jdbc:mysql://localhost/myhost";
    Connection con;
    String query = "select mytable.column," +
    "from mytable " +
    "where mytable.column = 1";
    Statement stmt;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
    try {
    con = DriverManager.getConnection(url,
    "myuser", "mypassword");
    stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsmd = rs.getMetaData();
    int numberOfColumns = rsmd.getColumnCount();
    int rowCount = 1;
    while (rs.next()) {
    System.out.println("Row " + rowCount + ": ");
    for (int i = 1; i <= numberOfColumns; i++) {
    System.out.print(" Column " + i + ": ");
    System.out.println(rs.getString(i));
    System.out.println("");
    rowCount++;
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.print("SQLException: ");
    System.err.println(ex.getMessage());
    Please advise... THANKS
    VJ

    Ehm, I wasn't referring to you at all... read up,
    there's a comment by jschell saying that CGI might be
    easier/better for his purposes.
    Yep.
    I know PHP/Perl/whatever might be easier for some
    purposes, but only if you happen to know them and want
    to/are able to use them. Ok. But you aren't the one asking the question are you. And the person who asked the question seems to have absolutely no familiarity with Apache or applets.
    So whatever they do they are going to have to learn a lot.
    And that does indeed suggest that in all likelyhood they have not investigated the alternatives.
    And for the vast majority of internet applications, especially with smaller projects (obvious this person is not working with a large team), using perl, or something besides java, is going to be the best business solution. It is simpler, and more secure (probably due to the fact that it is simpler.)
    Since this is a Java forum, I
    answer under the assumption that people have made a
    choice one way or another to use a Java solution to
    their problem, so I try to solve it in Java first, and
    only when that fails (very seldom) do I turn to other
    solutions.You approach problems by arbritrarily deciding to try to solve it in java first and only if you fail do you then look to other solutions?
    My first step is to try to figure out which of the various avenues is going to cost less. (And a secondary, but non-trivial concern, is then to convince the customer that just because they have heard of a buzz word like 'enterprise bean' that it doesn't mean that is a cost effective solution.) We must come from different worlds.

  • I can't put some files in the Trash

    Hello everyone,
    Unfortunately, I'm having some trouble putting some files in the trash...
    They say they're adobe dreamweaver files, but I've never installed dreamweaver - I was only flagged up about them when I tried to install dreamweaver, and was told that it was already installed and I needed to remove any files etc.
    So I did a search for all adobe or dreamweaver files, and sure enough there they were. I consequently tracked to whack them all in the bin, but to no avail. The computer would say "this will permanently delete the file, are you sure?" - I would click yes, and it froze for a moment every time I tried and then popped up with this error message:
    "Sorry, the operation could not be completed because an unexpected error occurred
    Error code -61"
    Here's a screen grab:
    http://img78.imageshack.us/my.php?image=picture2cb3.png (the error message)
    http://img213.imageshack.us/my.php?image=picture3sx0.png (the files in question are highlighted)
    If anyone knows how I could delete these, that would be extremely helpful...
    I've tried the get info, unlocking trick, and there's been no joy there - the read only options are faded out and not possible to change. I've also tried TrashIt, which was recommended, and didn't work...
    Any ideas would be very kind, thanks...

    I can't find my OSX disk
    I don't really understand this (that disk shows up in the screenshot you uploaded of the Finder window resulting from your search), but I also think it's irrelevant.
    I went back and read your original post, and I saw this: 'The computer would say "this will permanently delete the file, are you sure?"'. I've since seen another entry in this Topic List which indicates that you get such a message when your .Trash folder is gone. (Of course, there may be other reasons why you can get the message too.) If that's true, then you really need to fix it. One easy way to find out is, try creating an ordinary file in your home directory, and then drag it to the trash? Does that work? I suspect you'll get the same message about "this will permanently delete the file, are you sure". But if you say "yes", it should succeed in deleting it. But it does indicate that your .Trash folder is probably gone.
    if I create a new account that is also an administrator, then bin them, are you sure this will work?
    (I assume that by "bin them", you mean "drag them to the trash".) In fact, you can just create a new account that isn't an administrator (unlike what I said in my previous post). If that account drags the stuff to its trash, Finder will prompt it for the name of an administrator account (like, yours), and its password. If you provide it, then empty that account's trash, the stuff should go away just fine.
    Incidentally, the Subject of the item I mentioned above is "Trash deletes any file without emptying".
    If I'm right about your trash not working, and you want a way to "fix" it, you can get back. Or maybe make a new problem.

  • How we can restrict record in CTL file on the basis of other table ?

    Hello all,
    How we can restrict record in CTL file on the basis of other table ?
    Eg.
    I have following control file to load the records in the table through the sql loader.
    LOAD DATA
    INTO TABLE THIST APPEND
    FIELDS TERMINATED BY "|" TRAILING NULLCOLS
    LNUM POSITION(1) Char "substr(:LOAN_NUM, 4, 13)",
    TSRNUM Char "rtrim:TRAN_SR_NUM)" ,
    TPROCDT Char "to_char(to_date rtrim:TRAN_PROC_DT), 'MMDDYYYY'), 'YYYYMMDD')"      
    I have another table c all TFILE in which I have LNUM. I want to import only those records from input text file using the control file and sql loader in which LNUM is exist in the TFILE.
    So how i can restrict it in the Control File.
    Thanks
    Kamlesh Gujarathi
    [email protected]

    Hello Satyaki De.
    Thank you very much for your suggestion but my Private information is totally apart from this question & I already I have changed each and every information from the question.
    Thanks
    Kamlesh Gujarathi
    [email protected]

Maybe you are looking for

  • Digitizer broken

    So I dropped my phone when I was taking it out of my pocket and I think the digitizer broke. There are a bunch of lines of my screen and half of the touch screen doesn't work, but the glass is still totally fine. I just got this phone 2 months ago so

  • JVM crash in solaris

    java -version java version "1.6.0_29" Java(TM) SE Runtime Environment (build 1.6.0_29-b11) Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode) uname -a : SunOS test-app 5.10 Generic_147440-06 sun4v sparc SUNW,Sun-Fire-T200 hs_err_pid file

  • MaxDB instance not able to connect through DBM tool

    Hello, We are facing very critical problem. MaxDB database instance is not able to connect from Database Manager tool. I tried everything. DB instance is down. I stopped apache ,DB instance then x_server. Then I started x_server , apache but when I '

  • Exporting video from iPhoto including music added and theme

    Hi, is there a way to export a video from iPhoto including music and theme? I'm able to export the video itself, with its native sound, but the theme and music added in iPhoto is not included. When trying to share on Flickr - running in to the same p

  • Mapping root of URL path to web applications

              Does the name of the web application have to equal the first element in the URL           path? The WebLogic 5.1           documentation suggests that you can create such a mapping with a property:           weblogic.httpd.webApp.<context>=