Application Server Data Problem

Hi ,
     While uploading data into application server,  I have an issue.
Data in internal table:
field1    field2    filed3   field4  field5
xxx      ggg                 hhhh    xxx
after update to application server:
field1    field2    filed3   field4  field5
xxx      ggg               
I am getting  2 fields only. if any blank filed exist between those fields remaining fields also getting blank.
Regards,
Dhanu

Duplicate threads are not allowed... please read "the rules" at the top of the forum page.
I am temped to do the needfull and lock your duplicate ID as well so that you don't get confused between the two.
Or... are you asking this question here, to be able to answer it somewhere else...?
Lets take a closer look....
Cheers,
Julius

Similar Messages

  • Sun One application server connection problem for Oracle DB

    On our project in live environments we have six Sun One application servers that have been configured to connect to RAC Oracle database using OCI drivers. ( JDBC thick driver)
    Sun one application server : Version 7.0.0
    Oracle Database : Version 9.2.0.4.0
    Following are two scenarios where Sun one server receives an error while attempting to perform any DML operations onto the database e.g. when you will try to send a insert/update msg through sun One.
    Case 1: - If the Oracle package/procedure/function is compiled using �Alter package/function/procedure....� command
    problem
    Any attempt to perform a DML operation using RMI calls though Sun one application server with already established oracle connection will fail.
    Sun One application server needs to be bounced to get an up-to-date state of the package.
    Case 2: If the Oracle package/procedure/function is compiled using �Create or Replace package/function/procedure....� command
    problem
    First attempt to perform any DML operation using RMI calls though Sun one application server with already established oracle connection will always fail. Any subsequent attempts will be successful.
    We are using JDBC OCI think drivers. I tried flushing Shared pool at the Oracle side but it didn't help. For some reason Sun One seems to Cache the session information for already establised connections with Oracle database. As its live system we don't want any outage. i.e we know bouncing oracle app server will solve the problem.
    So just wondering is there way/workaround to make aware the already estlised connection from sun one appserver to Oracle DB about changed packages/proceduress in the DB?
    Any thoughts on this would be much appreciated.
    txns
    Ravi

    Forgot one thing: when I use remote debugging , it works.

  • Application Server Data Source settings help needed (10.1.2.0.2)

    Hi,
    Can someone tell me what maximum values can I set in the following properties under Connection Attributes when I define a DataSource on
    Application Server. I have almost 25+ web application deployed on my 10.1.2.0.2 server that all uses one data source I have defined. Now the issue is the number of requests
    are very high and every now and then I get timeout error when trying to get the database connection. At one particular instance at peak time I may get over 200+ requests that
    do some databse connections etc. Following are my current settings. But need to increase some more but wondering what are the maximum values I can have. I have only one server 10.1.2.0.2
    Connection Retry Interval (seconds) = 5
    Max Connection Attempts = 3
    Cached Connection Inactivity Timeout (seconds) = 30
    Maximum Open Connections = 60
    Minimum Open Connections = 10
    Wait For Free Connection Timeout (seconds) = 15
    What other properties can I have to make use of datasource effectively.
    Thanks

    Here is the copy of my datasources.xml.
    <?xml version = '1.0' standalone = 'yes'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources-9_04.dtd">
    <data-sources>
      <!--
                An example/default DataSource that uses
                Oracle JDBC-driver to create the connections.
                This tag creates all the needed kinds
                of data-sources, transactional, pooled and EJB-aware sources.
                The source generally used in application code is the "EJB"
                one - it provides transactional safety and connection
                pooling. Oracle thin driver could be used as well,
                like below.
                url="jdbc:oracle:thin:@host:port:sid"
           -->
      <data-source class="com.evermind.sql.DriverManagerDataSource" name="OracleDS"
                   location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleXADS"
                   ejb-location="jdbc/OracleDS"
                   connection-driver="oracle.jdbc.driver.OracleDriver"
                   username="scott" password="tiger"
                   url="jdbc:oracle:thin:@//localhost:1521/oracle.regress.rdbms.dev.us.oracle.com"
                   inactivity-timeout="30"/>
      <!-- For SQL Server -->
      <data-source location="jdbc/TestDS"
                   class="com.microsoft.jdbcx.sqlserver.SQLServerDataSource"
                   password="pwd" xa-location="jdbc/TestDS"
                   ejb-location="jdbc/TestDS"
                   connection-driver="com.microsoft.jdbc.sqlserver.SQLServerDriver"
                   username="usr"
                   url="jdbc:microsoft:sqlserver://someloc99:1433/DevelopmentAp"
                   inactivity-timeout="30" name="jdbc/TestDS"
                   connection-retry-interval="5" max-connections="50"
                   max-connect-attempts="3">
        <description>jdbc/TestDS</description>
        <property name="DatabaseName" value="DevelopmentAp"/>
        <property name="serverName" value="someloc99"/>
      </data-source>
    </data-sources>I also tried changing max-connections="0" it did helped but still after sometime I get timeout while connecting to the database. Don't know if it's with SQL Server that is not letting that many concurrent connections/sessions or something on the Application Server side.
    Thanks
    Message was edited by:
    WhiteSox
    Message was edited by:
    WhiteSox

  • How to display application server date and time?

    Hi Friends,
                    I am getting error when i am trying to display default date,time and client.
    I have designed a screen where DATE, TIME and CLIENT are 3 fields in the screen this 3 fields i have to display defaultly date,time and client of the application server.
    In the data declarations i have declared like...
    DATA: DATE LIKE SY-DATUM,
               TIME LIKE SY-UZEIT,
              CLIENT LIKE SY-MANDT.
    In the PBO screen source code i am writeing like...
    write: 'DATE', SY-DATUM, / 'TIME', SY-UZEIT, / 'CLIENT', SY-MANDT.
    But i am not able to display the output please can anyone point my mistake where i am going useful will be rewarded.
    Thks

    Hi Reddy,
    I will tell u how to get this done .
    Check all these screen shots .No work at all .
    [Screen shot 1|http://bp3.blogger.com/_O5f8iAlgdNQ/R-icwCm1qvI/AAAAAAAAA9k/7gshn3AKOZ0/s1600-h/date1-715845.jpg]
    [Screen shot 2.|http://bp1.blogger.com/_O5f8iAlgdNQ/R-icwim1qwI/AAAAAAAAA9s/QMtdiWyB-nY/s1600-h/date2-718517.jpg]
    [Screen shot 3|http://bp2.blogger.com/_O5f8iAlgdNQ/R-icwym1qxI/AAAAAAAAA90/4GnH-bwAPEo/s1600-h/date3-719013.jpg]
    There is no work at all . only onething what u have to do is, give field length 8 on the screen for Time field. thats it .
    Regards,
    Venkat.O

  • Oracle 9i Application Server installtion problem

    hi,
    I am instsalling Oracle 9i Application server 9.0.2 on Red Hat Linux 8.0 During installation , While
    creating clone database i am getting an error
    Create Controlfile failed.
    After this when i open the file cloneDBcreation.log
    in /home/admin/iasdb/create directory there i
    can see the following error
    Create control file failed
    Error opening password file "/home/oracle/dbs/orapw"
    Unable to obtained file status
    Linux error 2 : no such file or directory.
    moreover when i open the file customScripts.log in same directory i can see the message
    Unable to open file "/home/oracle/assistants/dbca/admin/autoExtend.sql"
    and there is no such file autoExtend.sql
    after this i ignore all the errors of clone database creation and continued the installation.
    Now while starting up the database i received an error
    ora 7212 : sltln : Environment variable can not be
    evaluated.
    slcpu : times error,unable to get CPU time.
    Pl help me. How should i proceed.
    Thanks.
    Raj

    If you are installing into Windows 2000, one workaround recommendation by Oracle for this problem is:
    Install the latest Windows* 2000 Service Pack patch: http://www.microsoft.com/windows2000/downloads/
    Create a temporary directory on your Intel Pentium® 4 processor server (e.g. \TEMP).
    Copy the contents of the Oracle* Server CD to the temporary directory created in step 2.
    Search the directory structure created in step 2 for the existence of the filename SYMCJIT.DLL.
    Rename each copy of the SYMCJIT.DLL to SYMCJIT.OLD.
    Run the SETUP.EXE from the \TEMP\install\win32 directory and install Oracle 8.1.x.
    If you have any other questions on this work around, please contact Oracle.

  • Access R/3 Application server data in APO

    Hi Experts,
        I have a requirement, where in there is some material data is written onto R/3 application server.
    Now I need to access this data from APO, i guess the approach could be via RFC....
    Early answers with examples would be rewarded with suitable points.....
    Thanks in Advance,
    NSL

    Hi Anuradha,
        Thanks for your reply. Can you please explain the steps involved to write the R/3 appl server data to APO appl server with Unix scripts, with example...
    But i beileve this can be done as,
    Trigger a RFC in APO with the R/3 Application server path. Which in turn reads the data in designated path and returns back. So my question is, is there any standard RFC available in APO to achieve this.
    Regards,
    NSL

  • Application Server File problem

    Hi,
    I have a program wherein I download the report output to the Application Server. Everything is working fine but after 60000 records, the Directory Path and the time stamp is getting displayed in the application file.
    Nothing specifically is coded in the program.
    Does anyone have any idea where I can check to get a solution?
    Also, the basis team has looked into this and found no solution whtsoever.
    Thanks!
    Prasanna

    Is there any solution to accomodate all teh records into a single file without the direcotory path & the time stamp??
    Or is there any restriction to save only 60000 records in the application file?
    Thanks!
    Prasanna.

  • Oracle 9i Application server installation problem(MSG:Fully qualified domain name)

    I have installed Oracle 9i database.Now downloaded application server 9iAs,when i am installing I have got this error message(J2ee and web cache)
    Message begin
    Installation has detected that a fully qualified hostname has not been specified for this host.Oracle 9i application server requires a default domain name to be specified for each host where it is installed .Please consult your OS instructions for details on assigning a default domain name If u are not using DNS server then the file d:\windows\system32\drivers\etc hostsmust also include a line of a form
    <IP_ADDRESS><FULLY_QUALIFIED_HOST_NAME><ALIESES>
    Message End
    Could some one suggest the procedure to follow.
    Pl ,mailme to [email protected]
    I appriciate your help
    Tahnq
    Ravi

    Search this forum for answers and discussions.
    Basically, your machine will need a "fully qualified hostname" e.g. myhostname.mydomain.com, only myhostname is not enough.
    Also, AS does not allow the IP to change after install e.g. no DHCP (dynamically allocated IP) allowed!
    Hth,
    Fredrik

  • Technical System (Application Server ABAP) - problem with data supplier

    My system had problems, I believe with the Data Supplier in LMDB
    there are errors
    How can I update / re-add in the SLD/LMDB data supplier?
    And how can you get it working correctly providers who do not receive the data (though the system sees them)

    Hi Michael,
    You can push an update from Solution Manager (the data supplier) to the SLD in transaction RZ70. There should be a button labeled "Start Data Collection and Job Scheduling". If your jobs are scheduled and everything is set up correctly, then starting your data collection will force an update ahead of schedule. (By default, the update is scheduled every 720 minutes -- i.e. 12 hours).
    On the Java side, you need to push via the Visual Administrator (when you're at NW 7.02, that changes in 7.3 to the NWA), but you didn't ask that.
    Typically, LMDB grabs an incremental update from SLD every 10 minutes or so. Check for a job called SAP_LMDB_LDB_0000000001. If your SLD-LMDB connection is not working properly, you may need to reset it. (SOLMAN_SETUP (as solman_admin or equivalent). Then system preparation -->5 Prepare Landscape). See SAP help on this Synchronization Between SLD and LMDB - SAP Solution Manager - SAP Library.
    Also, on the first screen you showed, System Landscape Technical System - Display, if you click Edit, then click on the advanced button, there is an option to Resynchronize Technical System from SLD. I haven't tried that, but that may actually be what you're looking for.
    I hope this helps!
    Best regards,
    --Tom

  • How to populate the application server data on screen

    Hi..
    In my present requirement...
    I need to give the vehicle no field on my custom screen...then i will press the capture weight button....
    then it needs to fetch the weight from app server file (columns in file...1.date 2.time 3.weight...4.key.)and need to populate on my screen...
    Could anybody suggest me the solution for this...

    hi,
    Move the file data internal table. at runtime capture the required data from this internal table for the given vehicle reg.number and u can display the same data one the screen.
    regards,
    Raghu

  • Oracle Application Server startup problem

    We have inplemented OF 11.0.3 at our org. We upgrade our server fromsingle to dual processor now when we restat the services web server is not getting started, we tried it through cmd prompt with the help of owsctl but still it is not working.Can we reinstall web server?

    hi,
    it is much better to start your OAS this way:
    1. startup your repository database
    2. start the listener of your repository database
    3. at the home of your oas installation run this command:
    $ <oas_home>/opmn/bin/opmnctl startall
    4. after the the opmn and services have started run this command:
    #$ <oas_home>/bin/emctl start iasconsole
    and there you go!!!
    All these can be automated (and shutdown) by using the DBORA script provided by oracle.
    use metalink to get a copy of dbora.
    Regards,
    Mike

  • BDC :  Uploading a file into Application Server(Data Set)

    Hi Peers,
    I have a requirement where in I have to upload all the data from an Internal table to an Dataset.For this I m using:
       OPEN DATASET p_ofile FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
        LOOP AT t_excel.
          TRANSFER t_excel TO p_ofile.
        ENDLOOP.
        CLOSE DATASET p_ofile.
    p_ofile is an .XLS file , t_excel is an Internal Table.
    When the data is update in the p_ofile the Format of the data is not proper everything is on the first column of .xls file.
    Could you please guide me in this regard.
    Thanks,
    Criag

    Hi Daniel
    You need to take other internal table with 2000 charecter length, then concatinate all the field to this Internla table with a Charecter return, so it will be displayed in teh excel sheet
    Here is the sample program
        LOOP AT it_headings_gro_plc.   " Your INternal table
    * Add tabs as the field separator, so that the file will be
    * downloaded to the excel format
          CONCATENATE
               it_headings_gro_plc-prod      " Product code
               it_headings_gro_plc-type      " Pre-format Type
               it_headings_gro_plc-group     " Pre-format Group Code
               it_headings_gro_plc-code      " Pre-format Code
               it_headings_gro_plc-party     " Party Name
               it_headings_gro_plc-acct      " Debit Acct No
               it_headings_gro_plc-name      " Chinese Name
               it_headings_gro_plc-addr1                        " Address 1
               it_headings_gro_plc-addr2                        " Address 2
               it_headings_gro_plc-addr3                        " Address 3
               it_headings_gro_plc-method    " Delivery method
               it_headings_gro_plc-trans     " Transaction cod e
               it_headings_gro_plc-banka     " Benficiary bank name
               it_headings_gro_plc-bankn     " Benficiary Count number
            INTO it_report_out_tab SEPARATED BY g_separator.   " G-Separator is the separator for the line feed,
    " Beforre this one   g_separator = cl_abap_char_utilities=>horizontal_tab.
          APPEND it_report_out_tab.    "New  2000 charecter Internal table
        ENDLOOP.

  • Problem while uploading file from application server to internal tab in BG

    Hi all,
    When i see the file  in application server.data is like this
    #################00\);_(#####}#-#}###############################00\);_(#####}#-#}###############################00\);_(*#####}#-#}#########
    ###################}###}#############A#############???#00\);_(*#################;_(@_)  ########???#        ########???#        ########???###
    #######???#########}###}#############)##############}##00\);_(*#################;_(@_)  ############        ############        ##############
    ###################}#A#}#############:##############}##00\);_(#################;_(@_)  }###}##############################00\);_(*##########
    #######???#########}#-#}#############F#################00\);_(#####}###}#############@#################00\);_(#################;_(@_)  #####
    ###################}#-#}#############3#################00\);_(#####}#U#}#############E#################00\);_(#################;_(@_)  #####
    Because the csv which is uploaded has dropdowns and some formattings.
    when download from tcode cg3y i am getting correct file
    When try to use open(binary mode) and read dataset i getting data as it is (junk).
    i need to process in background.
    Any help.
    Rhea.

    upload file to string format
    begin of ty_tab,
    string type char200,
    end of ty_tab.
    loop at ty_tab into string
    use statement replace string into tab deliminated fromat(particular occurance in string)
    now call class to break string at tab into fields
    endloop.
    DATA : BEGIN OF i_data OCCURS 0,
            data(200)    TYPE c,       "To hold Upload file data
           END OF i_data.
    OPEN DATASET v_str FOR INPUT
                              IN TEXT MODE
                              ENCODING DEFAULT IGNORING CONVERSION ERRORS.
        IF sy-subrc EQ 0.
          DO.
    *Read a line from input file
            READ DATASET v_str INTO i_data-data.
            IF sy-subrc NE 0.
              EXIT.
            ENDIF.
    *Append record to an internal table
            APPEND i_data.
            CLEAR: i_data.
          ENDDO.
    *Close the file
          CLOSE DATASET v_str.
    *---Start of inserti
    LOOP AT i_data.
            REPLACE ALL OCCURRENCES OF '"' IN i_data WITH '#'.
            SPLIT i_data AT cl_abap_char_utilities=>horizontal_tab
                                INTO i_doc-pvaudt
                                     i_doc-pvpate
                                     i_doc-vecatc
                                     i_doc-vhvend
                                     i_doc-vhidt8
                                     i_doc-vhinvn
                                     i_doc-vhhexp
                                     i_doc-vhiref.

  • How to upload a file in application server to an internal table

    Hi,
          I am asked to upload a file from application server to internal table. Can you please suggest me the ways to do it or the function module which helps to browse the application server file names.
      I have done a program. But its giving problem in searching the files from application server. I am pasting my code for ur review. Please tell me which part i have to correct or suggest me some other ways to do it.
    *& Report  ZUPLOAD1
    REPORT  ZUPLOAD1.
    type-pools: truxs.
    parameters: p_upl_ps radiobutton group g1 default 'X', "upload from pres. server
                 p_path type rlgrap-filename, 
                 p_upl_as radiobutton group g1,   "upload from appln server
                 <b>p_dir LIKE filepath-pathintern DEFAULT 'Y_ABAP', 
                 p_file LIKE filepath-pathintern lower case,</b>      
                 p_test as checkbox.
    constants: c_x value 'X',
               c_tab type c value cl_abap_char_utilities=>horizontal_tab.
    types: ty_data(1000) type c.    "structure to hold legacy data
    data: i_data type standard table of ty_data. "internal table of ty_data
    types: begin of stritab,
          land1 type v_t604-land1,  "structure of legacy file.
          stawn type v_t604-stawn,
          bemeh type v_t604-bemeh,
          impma type v_t604-impma,
          minol type v_t604-minol,
          end of stritab.
    data: gi_itab type standard table of stritab, "internal table of legacy file
          gw_itab type stritab.  "work area
    data: i_raw type truxs_t_text_data,
          v_fullpath type string.
    at selection-screen on value-request for p_path.
    if p_upl_ps = c_x. "if presentation server is selected
    perform get_file.
    else.            "if application server is selected
    perform set_file_path.      
    perform upload_from_server.
    perform split_data.
    endif.
    form get_file.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = p_path.     "getting the file name of pres server
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR          =
        I_LINE_HEADER              = 'X'              "converting excel to sap and filling in
        I_TAB_RAW_DATA             = i_raw      "internal table
        I_FILENAME                 = p_path
      TABLES
        I_TAB_CONVERTED_DATA       = gi_itab
    EXCEPTIONS
       CONVERSION_FAILED          = 1
       OTHERS                     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.
    form set_file_path.                 "Getting the file path of application server
    data: lv_file type p_file.
          lv_file = p_file.
          CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
            EXPORTING
            CLIENT                           = SY-MANDT
              LOGICAL_PATH                     = p_dir
            OPERATING_SYSTEM                 = SY-OPSYS
            PARAMETER_1                      = ' '
            PARAMETER_2                      = ' '
            PARAMETER_3                      = ' '
            USE_BUFFER                       = ' '
              FILE_NAME                        = lv_file
            USE_PRESENTATION_SERVER          = ' '
            ELEMINATE_BLANKS                 = 'X'
           IMPORTING
             FILE_NAME_WITH_PATH              = v_fullpath
           EXCEPTIONS
             PATH_NOT_FOUND                   = 1
             MISSING_PARAMETER                = 2
             OPERATING_SYSTEM_NOT_FOUND       = 3
             FILE_SYSTEM_NOT_FOUND            = 4
             OTHERS                           = 5
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    endform.
    form upload_from_server.
    data: lv_msg type string,
          lw_data type ty_data.
    open dataset v_fullpath for input message lv_msg in text mode encoding default.
    if sy-subrc <> 0.
    message lv_msg type 'i'.
    stop.
    endif.
    do.
    read dataset v_fullpath into lw_data.
    if sy-subrc <> 0.
    write:/5 'Error in processign data set'.
    exit.
    endif.
    append lw_data to i_data.
    enddo.
    close dataset v_fullpath.
    if sy-subrc <> 0.
    write: /5 'Error closing dataset'.
    endif.
    endform.
    form split_data.
    data: lw_data type ty_data.
    data: lw_itab type stritab.
    data: begin of ty_itab,
          land1 type v_t604-land1,
          stawn type v_t604-stawn,
          bemeh type v_t604-bemeh,
          impma type v_t604-impma,
          minol type v_t604-minol,
          end of ty_itab.
    loop at i_data into lw_data.
    split lw_data at c_tab into
          ty_itab-land1
          ty_itab-stawn
          ty_itab-bemeh
          ty_itab-impma
          ty_itab-minol.
    lw_itab-land1 = ty_itab-land1.
    lw_itab-stawn = ty_itab-stawn.
    lw_itab-bemeh = ty_itab-bemeh.
    lw_itab-impma = ty_itab-impma.
    lw_itab-minol = ty_itab-minol.
    append lw_itab to gi_itab.
    endloop.
    endform.
    start-of-selection.
    loop at gi_itab into gw_itab.
    write: /5 'COUNTRY', 'IMPORT CODE', 'SUP UNIT', 'FIRST UOM', 'SECOND UOM',
           /5 gw_itab-land1, gw_itab-stawn,gw_itab-bemeh,gw_itab-impma,gw_itab-minol.
    endloop.
    end-of-selection.
    I hope problem must be in p_dir and p_file which are in bold.. Kindly help me out. Thanks in advance.

    see the following ex:
    *&      Form  SUB_GET_FILEPATH
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_GET_FILEPATH .
        GFILE = 'D:\SAP_INT\INBOUND\INBOX'.  "Path
    ENDFORM.                    " SUB_GET_FILEPATH
    *&      Form  SUB_GET_FILE
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_GET_FILE .
      DATA: P_FDIR(200) TYPE C.
      DATA: IT_FILEDIR1 TYPE STANDARD TABLE OF TY_FILEDIR WITH HEADER LINE.
      P_FDIR = GFILE.
      CALL FUNCTION 'RZL_READ_DIR_LOCAL'
        EXPORTING
          NAME     = P_FDIR
        TABLES
          FILE_TBL = IT_FILEDIR.
      REFRESH : IT_FILEDIR1.
      LOOP AT IT_FILEDIR.
        IF IT_FILEDIR-NAME(4) = 'ZINC' OR IT_FILEDIR-NAME(4) = 'zinc'.
          MOVE IT_FILEDIR-NAME TO IT_FILEDIR1-NAME.
          APPEND IT_FILEDIR1.
        ENDIF.
      ENDLOOP.
      IF IT_FILEDIR1[] IS INITIAL.
        STOP.
      ENDIF.
      LOOP AT IT_FILEDIR1.
        REFRESH: I_TAB.
        CLEAR: I_TAB.
        NAME = IT_FILEDIR1-NAME.
        CONCATENATE: GFILE '\' NAME INTO G_FILE.
        OPEN DATASET G_FILE FOR INPUT IN TEXT MODE
                                         ENCODING DEFAULT
                                         IGNORING CONVERSION ERRORS.
        IF SY-SUBRC EQ 0.
          CONCATENATE 'FILENAME  : ' G_FILE INTO I_MSG1.
          APPEND I_MSG1.
          DO.
            READ DATASET G_FILE INTO RECORD.
            IF SY-SUBRC = 0.
              SPLIT RECORD AT ',' INTO I_TAB-BUKRS  I_TAB-EBELN
                  I_TAB-BLDAT  I_TAB-XBLNR I_TAB-LIFNR I_TAB-AMOUNT
                  I_TAB-CURR  I_TAB-BUSAREA
                  I_TAB-BKTXT I_TAB-DMBTR I_TAB-MENGE I_TAB-SRNO.
              MOVE-CORRESPONDING I_TAB TO I_TAB1.
            ELSE.
              EXIT.
            ENDIF.
            APPEND I_TAB1.
            CLEAR: I_TAB, I_TAB1.
          ENDDO.
        ENDIF.
        CLOSE DATASET G_FILE.

  • System Date / Server Date Issue

    I am facing one problem:
    There are two dates : 1) System Date & Time / End User System
                                    2) Server Date & Time
    While Appending data into table which date got stored in d/b
    Is it System Date & Time OR Server Date & Time???
    and what Sy-Datum  Corrospond to System Date / Server Date ???
    Ankesh Jindal

    Information provided by SAP.
    SY-DATLO
    Useru2019s local date, for example 19981129, 19990628, u2026
    SY-DATUM
    Current application server date, for example 19981130, 19990627, u2026
    SY-TIMLO
    Useru2019s local time, for example 154353, 225312, u2026
    SY-UZEIT
    Current application server time. for example 164353, 215312, u2026

Maybe you are looking for