How can I update a customized table from a text document?

Hi,
I am one sample file. The file is an text document. From this .txt file how can I update a customized table in SAP.
How can I Update the fields in the Customized table.
Thanks & Regards,
NManohar.

use the Function module GUI_UPLOAD or WS_UPLOAD and give the path and the file name from where the data has to be uploaded. in table parameter give the iternal table
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    filename                      =
  FILETYPE                      = 'ASC'
  HAS_FIELD_SEPARATOR           = ' '
  HEADER_LENGTH                 = 0
  READ_BY_LINE                  = 'X'
  DAT_MODE                      = ' '
  CODEPAGE                      = ' '
  IGNORE_CERR                   = ABAP_TRUE
  REPLACEMENT                   = '#'
  CHECK_BOM                     = ' '
  VIRUS_SCAN_PROFILE            =
  NO_AUTH_CHECK                 = ' '
IMPORTING
  FILELENGTH                    =
  HEADER                        =
  tables
    data_tab                      =
EXCEPTIONS
  FILE_OPEN_ERROR               = 1
  FILE_READ_ERROR               = 2
  NO_BATCH                      = 3
  GUI_REFUSE_FILETRANSFER       = 4
  INVALID_TYPE                  = 5
  NO_AUTHORITY                  = 6
  UNKNOWN_ERROR                 = 7
  BAD_DATA_FORMAT               = 8
  HEADER_NOT_ALLOWED            = 9
  SEPARATOR_NOT_ALLOWED         = 10
  HEADER_TOO_LONG               = 11
  UNKNOWN_DP_ERROR              = 12
  ACCESS_DENIED                 = 13
  DP_OUT_OF_MEMORY              = 14
  DISK_FULL                     = 15
  DP_TIMEOUT                    = 16
  OTHERS                        = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
and finally use insert command to update the database table with the data

Similar Messages

  • How can i update the ADRT table REMARK field

    How can i update the ADRT table REMARK field
    by using only function modules or BAPI's not by direct update's
    please help me
    i need it urgently

    Hi,
    you can try this code:
        SELECT SINGLE * FROM KNA1 WHERE KUNNR = wa_kunnr.
        IF sy-subrc = 0.
          CLEAR adrct.
          SELECT SINGLE * FROM adrct WHERE addrnumber = kna1-adrnr.
          IF sy-subrc = 0.
            adrct-remark = wa_remark.
            MODIFY adrct.
          ENDIF.
        ENDIF
    best regards,
    Thangesh

  • How can i update my old ios from 4.2 to 4.3 version for free ?model:iphone3g

    how can i update my old ios from 4.2 to 4.3 version for free ?model:iphone3g

    An iPhone 3G can't be updated past 4.2.1.
    (85804)

  • How can i create a custom table in to my banking services server

    I am having product type and account type details for those things I need to create a table
    Product Id.                 Account Type
    DP_PYGO_P     21
    DP_BASIC     25
    DP_UNLIMIT     24
    DP_ADVANTG     17
    DP_SAV                     34
    DP_TBILL                     54
    DP_USDCHQ     19
    DP_FREEDOM     52
    For the above fields how can i create a custom table into banking services server

    Transaction SE11, maybe? I don't really see the problem, unless you have never created a transparant table before...

  • HT4623 How can I update my iphone 4 from iOS 5.1.1 to iOS 6.1.4 only.  I am not looking for iOS 7 right now.  Please suggest the update process?

    Hi Team,
    I have iphone4 16GB with iOS 5.1.1.  While using the phone, few times the phone is automatically going to shutdown and getting call disconnected.  Some times, it happens more frequently in a day, sometimes not. 
    and also, How can I update my iphone 4 from iOS 5.1.1 to iOS 6.1.4 only.  I am not looking for iOS 7 right now.  Please suggest the update process?

    You cannot. You can only upgrade to the currently supported version of the iOS which, at this time is iOS 7.0.2.

  • How can I update all my music from my itunes library to my ipod touch ?

    How can i update all my music from my itunes library to my ipod touch ?

    Sync them
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad

  • TA48312 How can i update my osx software from my emac from osx 10.3 to the highest available software for an emac?

    How can i update my osx software from my emac from osx 10.3 to the highest available software for an emac?
    I have osx 10.3.x and i want to update to the highest possible. Please help!!!!! i cant find the download. And i dont want to lose any data!!

    Depending upon the specific model you have you can upgrade to either 10.4.x or 10.5.x. Neither are available from Apple any longer, so you will need to look to eBay or Amazon for copies. Be sure to only purchase retail copies and not gray labled machine-specific copies.
    If your eMac came with 10.3 originally and has a clock speed of 1 GHz or higher, then you can install Leopard, 10.5.x.
    If you don't want to lose data then make backups.

  • How can I update the trigger table?

    I need a insert trigger on a table and also wants to insert the result value in one of its field.
    it gives mutating error........
    so wots the way of updating it? how can i update the same table.

    For example like this (inside the BEGIN/END section of the trigger):
    :NEW.Col2 := :NEW.Col1;
    C.

  • HT4623 How can I update my ipad2 software from 4.3.5 to 6.01?

    How can I update my ipad2 software from 4.3.5 to 6.01?

    See the chart below to determine whether you can upgrade your device and what you can upgrade to.
    IPhone, iPod Touch, and iPad iOS Compatibility Chart
         Device                                       iOS Verson
    iPhone 1                                      iOS 3.1.3
    iPhone 3G                                   iOS 4.2.1
    iPhone 3GS                                 iOS 6.1.x
    iPhone 4                                      iOS 6.1.x
    iPhone 4S                                    iOS 6.1.x
    iPhone 5                                      iOS 6.1.x
    iPod Touch 1                               iOS 3.1.3
    iPod Touch 2                               iOS 4.2.1
    iPod Touch 3                               iOS 5.1.1
    iPod Touch 4                               iOS 6.1.x
    iPod Touch 5                               iOS 6.1.x
    iPad 1                                          iOS 5.1.1
    iPad 2                                          iOS 6.1.x
    iPad 3                                          iOS 6.1.x
    iPad 4                                          iOS 6.1.x
    iPad Mini                                     iOS 6.1.x
    =====================================
    Select the method most appropriate for your situation. If you are trying to upgrade to iOS 5 or higher, then you will have to connect your device to your computer and open iTunes in order to upgrade.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS to Version 6.0.x from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • How can I update iPhoto and iVideo from Mavericks?

    How can I update iPhoto and iVideo from Mavericks?

    Was iVideo purchased on the app store?  If so, both iPhoto and iVideo can be updated via the App Store.  (You can click on Software Update under the Apple menu at the top left of your display).

  • How can i remove the phone number from the text messages that i receive in the notification center

    how can i remove the phone number from the text messages that i receive in the notification center?

    You choose whether to see text messages in Notification Center or not.  If you elect to see them, they will display the phone number (unless they are from a contact in your contacts list).
    You can choose not to see them at Settings > Notification Center > Messages.

  • How can I update my ipod version from 1.3 to 2.0 or higher

    How do I update my Ipod version from 1.3 to 2.0 or higher?

    Except for iPod touch (which runs iOS), each iPod model has different software.  The version number doesn't really matter between different iPod models.  The latest version of software for each iPod model is installed by iTunes.
    Connect your iPod.  In iTunes, select the iPod in the sidebar, under DEVICES.  Over to the right, go to the Summary tab.  You should see a button there that says Check for Update.  Click it.  If there is an update available for your iPod model, it will be installed.  If not, you already have the latest version of software for your iPod model.

  • How to insert data into a table from an xml document

    using the XmlSql Utility, how do I insert data into a table from an xml document, using the sqlplus prompt.
    if i use the xmlgen.insertXML(....)
    requires a CLOB file, which i dont have, only the xml doc.
    Cant i insert directly from the doc to the table?
    the xmlgen examples I have seen first convert a table to a CLOB xmlString and then insert it into another table.
    Isnt there any other way?

    Your question is little perplexing.
    If you're using XML SQL Utility from
    the commandline, just use putXML.
    java OracleXML putXML
    null

  • Updating another custom table from create screen

    Hi,
    In create screen i have some fields which has to be updated in another custom table. I created package and procedure in it and i am passing the parameters into it.But somehow it is is updating 4 filed and remaining two are not updated.
    How to check that what are the values passed in the package,so that i can find out the reason behind it.
    Kindly reply asap..

    Put some debug statement and check the root cause.
    http://oracleanil.blogspot.com/2009/04/favourite.html
    And if you are running page locally then use
    System.out.println("Test");Thanks
    --Anil
    http://oracleanil.blogspot.com

  • How can I update my iWeb blog from multiple computers/iPhone/iPad?

    I want to be able to update my iWeb website and blog when I am not at home.
    I tried making a copy of the iWeb folder from the Library folder. This did not work.
    How I wished it would work......
    iWeb should work like Aperture, and iPhoto. I mean when I am at a friends computer I can open Aperture with my files and not theirs by choosing the Library file initializing the software. Why can't iWeb be configured to do this?
    Is there a way to update iWeb created websites when away from my home computer?

    ...is a free, cross-platform, remote desktop system that you can use to access your Mac from almost any system. You could log in to LogMeIn, open iWeb and edit & publish your site remotely via your home system. Note that LogMeIn is downloaded only to the Mac you want to remotely control — your office computer needs nothing new. See HERE.
    ...for iPhone and iPod touch provides instant one-click access to your LogMeIn computers, directly from your Apple device. Make your iPhone or iPod touch an extension of your work or home computer:
    • Use a program that's on your office computer
    • View a photo on your home desktop
    • Help a friend troubleshoot his or her computer
    • All from the palm of your hand, from wherever you are.

Maybe you are looking for

  • Stock in transit visibility

    Hi all, I am working on the following gap for my client How to have stock in transit visibility when finished goods  are exported to another client site. Suggested solution is to do some custom for ATD receipts/issues for restricted/unrestricted and

  • Event For Field Validation in Table maintenance generator

    Hi Friends, i need to validate the filed in my ztable , when the value is entered in to that field i,e if the value of that field is > 100 its should give error message. I already wrote code in the event  "Creating A New Entry" of event nor 5 as foll

  • How can I open a document with applescript without the doc. window opening.

    How can I open a document with applescript without opening the document window and speak the text of the document?  I can get it to open the file but the doc window always opens up. 

  • Did this happen to anyone else after updating to 1.2?

    After successfully updating my 60GB 5thGen iPod to the 1.2 version software it initially seemed to work fine but then after a while the whole display shrank to a small portion of the display at the upper left hand corner... like this Did this happen

  • Formula flip the sign between child and parent account member

    I have created two accounts as below which is parent to the child (670122) and child (670122.01) account and my account dimension looks as below Account    PARENTH1     GROUP          ACCTYPE     RATETYPE 670122        670120         Profit & Loss