Best way of uploading bulk data in a Z tables

Greatings...
Actually we have to maintain Bulk test data in new system..so where we need to upload bulk data in TABLES . most of them are 'Z' tables....
Please suggest me which way is the best way to proceed in this case.....
We came with one solution like RUN A eCatt. is this the only way or we have any other......
Thanks in Advance...

Hi
Check this sample code..
TYPE-POOLS truxs.
TABLES :  ZACG_BOMM.
parameter p_file TYPE rlgrap-filename DEFAULT 'E:\TEST.xls'.
TYPES: BEGIN OF t_tab,
       CBSIZE TYPE ZACG_BOMM-CBSIZE,
       SDESC TYPE ZACG_BOMM-SDESC,
       MENGE TYPE ZACG_BOMM-MENGE,
       MEINS TYPE ZACG_BOMM-MEINS,
       LDESC TYPE ZACG_BOMM-LDESC,
       END OF t_tab.
DATA :  IT_upload TYPE STANDARD TABLE OF t_tab,
        wa_upload TYPE t_tab,
        it_type TYPE truxs_t_text_data.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME  = SYST-CPROG
      DYNPRO_NUMBER = SYST-DYNNR
      field_name    = 'P_FILE'
    IMPORTING
      file_name     = p_file.
START-OF-SELECTION.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
      I_FIELD_SEPERATOR          =
       I_LINE_HEADER              = 'X'
        I_TAB_RAW_DATA             = IT_TYPE
        I_FILENAME                 = P_FILE
      TABLES
        I_TAB_CONVERTED_DATA       = IT_UPLOAD[]
    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.
END-OF-SELECTION.
LOOP AT IT_UPLOAD INTO WA_UPLOAD.
   ZACG_BOMM-CBSIZE = WA_UPLOAD-CBSIZE.
     ZACG_BOMM-SDESC = WA_UPLOAD-SDESC.
     ZACG_BOMM-MENGE = WA_UPLOAD-MENGE.
     ZACG_BOMM-MEINS = WA_UPLOAD-MEINS.
     ZACG_BOMM-LDESC = WA_UPLOAD-LDESC.
    MODIFY ZACG_BOMM.
  ENDLOOP.

Similar Messages

  • Which is the Best way to upload BP for 3+ million records??

    Hello Gurus,
                       we have 3+million records of data to be uploaded in to CRM coming from Informatica. which is the best way to upload the data in to CRM, which takes less time consumption and easy. Please help me.
    Thanks,
    Naresh.

    do with bapi BAPI_BUPA_FS_CREATE_FROM_DATA2

  • Uploading bulk data in v_512w_d

    Hi gurus,
    I have to upload bulk data in table V_512W_D.
    Plase let me know the best way to do it..
    Thanks,
    Adesh

    Hi,
    We had a similar requirement.
    At that time what we did was, we had downloaded the data from different table from source system.
    We have created a program in Development Server to upload the data into target system Development.
    And transported the table with data into Quality and Production.
    Hope this helps.
    Pradeep.

  • Best Way to port the data from one DB to another DB using Biztalk

    Hi,
    please suggest best way to move the data from one db to another DB using biztalk.
    Currently I am doing like that, for each transaction(getting from different source tables) through receive port, and do some mapping (some custom logic for data mapping), then insert to target normalized tables(multiple tables) and back to update the status
    of transaction in source table in sourceDB. It is processing one by one.
    How/best we we can do it using  bulk transfer and update the status. Since it has more than 10000 transaction per call.
    Thanks,
    Vinoth

    Hi Vinoth,
    For SQL Bulk inserts you can always use SQL Bulk Load
    adapter.
    http://www.biztalkgurus.com/biztalk_server/biztalk_blogs/b/biztalksyn/archive/2005/10/23/processing-a-large-flat-file-message-with-biztalk-and-the-sqlbulkinsert-adapter.aspx
    However, even though a SQL Bulk Load adapter can efficiently insert a large amount of data into SQL you are still stuck with the issues of transmitting the
    MessageBox database and the memory issues of dealing with really large messages.
    I would personally suggest you to use SSIS, as you have mentioned that records have to be processed in specific time of day as opposed to when the
    records are available.
    Please refer to this link to get more information about SSIS: http://msdn.microsoft.com/en-us/library/ms141026.aspx
    If you have any more questions related to SSIS, please ask it in
    SSIS 
    forum and you will get specific support.
    Rachit

  • Best Way To Upload Sales in SAP

    Hi,
    I wanted to know what is the best way to upload sales in sap system, currently we are doing manually. We fetch data from the 3rd Party POS system and converting it into XMLfile and create it's IDOC, After that uploading sales by t-code BD20.
    We have 1 issues also:
    1. Dummy Sales: How can we take care of dummy sales records.
    Edited by: BalrajPanwar on Apr 26, 2011 8:40 AM

    Hi,
    You can do it through LSMW or BAPI or BDC method.
    Those are the best ways to upload
    Edited by: Deepti Adimadhyam on Apr 26, 2011 4:52 AM

  • Best way to upload form into WDA

    I am working on WDA containing Adobe Interactive form with Vendor Payment request.
    WDA will be called by workflow every time an approver has to approve the request.
    The form will reside at URL.
    What is the best way to upload an Adobe form into WDA?
    I found Web Dynpro example WDR_TEST_ADOBE_PDF_ONLY.
    This example demonstrates how to get a form data assuming the form object is created in the view.
    Is there a way to also upload a template into WDA?
    Or I have to have the form template in SAP repository and
    then assign the form name to  templateSource property in WDA?
    WDR_TEST_ADOBE_PDF_ONLY:
    method wddoinit.
      data:
        mime_repository type ref to if_mr_api,
        content type xstring,
        url type string value '/SAP/BC/WebDynpro/SAP/WDR_TEST_ADOBE_PDF_ONLY/test.pdf'.
      mime_repository = cl_mime_repository_api=>get_api( ).
      call method mime_repository->get
        exporting
          i_url = url
        importing
          e_content = content.
      wd_context->set_attribute( name = 'PDF' value = content ).
    endmethod.
    Thank you,
    Tatyana

    Hi Thomas,
    As you said if we are using Native/ZCI based forms these many stepts are not required as mentioned in the blog:
    Uploading SAP Interactive Form on the ABAP WebDynpro View
    any how i have followed this blog but i got struck at this point
    *Get the RESERVED Data Node and value.
    DATA: KUNNR   TYPE STRING,
          VKORG   TYPE STRING,
          VTWEG   TYPE STRING,
          SPART    TYPE STRING,
          MATERIAL TYPE STRING,
          TARGET_QTY TYPE STRING,
          DELIVERY TYPE CHAR10.
    NODE = DOCUMENT->FIND_FROM_NAME( NAME = 'KUNNR' ).
    KUNNR = NODE->GET_VALUE( ).
    NODE = DOCUMENT->FIND_FROM_NAME( NAME = 'VKORG' ).
    VKORG = NODE->GET_VALUE( ).
    i am not getting any value into 'NODE' object.
    can you please help me is there any other simple way to read the offline interactive form and automatically bind to to pdf_source attribute of interactive form.
    So that what ever the user upload it will be mapped in online form.
    i am working on ECC 6.0 with SP13, i hope i need not to apply this note : OSS Note 1055738.
    Thanks,
    Mahesh.Gattu

  • What is the best way to upload invoices to A.R.?

    Hi! I would like to ask what is the best way in uploading invoices to A.R. from other system. Autoinvoice? Invoice Creation API? or Transaction API? I need your suggestions.  Kindly specify also the pros and cons and any other suggestions that you can give and also please point me to some reading materials.
    thanks.
    Jon

    I've been looking for several days at examples of using a
    flash file uploader. I was after single or multiple file uploads, a
    progress bar and the ability to add "vanilla" form fields. The most
    promising I found was the YUI uploader from those nice people at
    Yahoo
    http://developer.yahoo.com/yui/examples/uploader/u...
    I got it working fine submitting to a simple CF page
    <cfif structkeyexists(form,"Filedata")>
    <cffile action="UPLOAD" filefield="Filedata"
    destination="#expandpath(".")#" nameconflict="OVERWRITE">
    </cfif>
    <cfif structkeyexists(form,"var1") and
    structkeyexists(form,"var2")>
    <cffile action = "append" file =
    "#expandpath(".")#\log.txt" output = "var1 = #var1# var2 =
    #var2#">
    </cfif>
    I'm a complete novice with Javascript, PHP, flash in fact
    anything other than CF, so there's a bit I don't understand (well
    several ... but this one in particular!)
    On the example in the YUI documentation they say they are
    using this PHP scrip to handle server side
    1 <?php
    2 foreach ($_FILES as $fieldName => $file) {
    3 move_uploaded_file($file['tmp_name'], "./" .
    $file['name']);
    4 echo (" ");
    5 } ?>
    The echo bit seems to "bounce back" the post data which is
    then picked up by the onuploadresponse(event). In CF how would I
    pass back some response to the calling page to fire this
    event?

  • Best way to upload RAW photos to internet from iPad

    If I am on a trip and 64GB isnt enough storage for my RAW photos (and I am without my MacBook Pro), what is the best way to upload my pics in full RAW format to an internet location. Apps? Best site to store them on in full RAW? Thanks for the help!

    I just posted the same question. I also have a 64gb ipad, however, with movies and tv shows, games, apps for the trip, that only leaves 8-9 gbs. I could as you have suggested buy more SD cards for my camera..but was also hoping just to batch load 200-300 photos a day up to internet storage (which I am willing to pay for) and then dump them down when I get home. iDisk will do them 1 at a time, but that's not much of a solution. I have wifi where I am staying, so that isn't an issue. I wouldn't want to use a 3g data plan as the roaming would cost more than the trip. This would just let me bring just my camera & ipad (with camera kit). I was hoping to avoid a laptop too.
    Can it just not be done yet? Do I need to lug around my 13" macbook pro as well? My main question is not where can I get internet storage, but how do I get large amounts of photos off the ipad to that storage? idisk, dropbox, etc. Don't seem capable of transfering large amounts of pictures FROM the ipad.
    Thanks!
    Message was edited by: Mark Shykula

  • Best Way to upload Inspection plan

    Dear all,
         Which is best way to upload inspection plan.
    Thanx & Regards,
    Harish Parab.

    Hi Harish,
    The Best Method is BDC as posted by others in the thread.
    Please also go through the below thread for approach for Master Data Migration as discussed earlier.
    [Link|Extension of Quality/Inspection Plan;
    Thanks,
    RKM.

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • What is the best way to mimic the data from production to other server?

    Hi,
    here we user streams and advanced replication to send the data for 90% of tables from production to another production database server. if one goes down can use another one. is there any other best option rather using the streams and replication? we are having lot of problems with streams these days they keep break and get calls.
    I heard about data guard but dont know what is use of it? please advice the best way to replicate the data.
    Thanks a lot.....

    RAC, Data Guard. The first one is active-active, that is, you have two or more nodes accessing the same database on shared storage and you get both HA and load balancing. The second is active-passive (unless you're on 11.2 with Active Standby or Snapshot Standby), that is one database is primary and the other is standby, which you normally cannot query or modify, but to which you can quickly switch in case primary fails. There's also Logical Standby - it's based on Streams and generally looks like what you seem to be using now (sort of.) But it definitely has issues. You can also take a look at GoldenGate or SharePlex.

  • What is the best way to export the data out of BW into a flat file on the S

    Hi All,
    We are BW 7.01 (EHP 1, Service Pack Level 7).
    As part of our BW project scope for our current release, we will be developing certain reports in BW, and for certain reports, the existing legacy reporting system based out of MS Access and the old version of Business Objects Release 2 would be used, with the needed data supplied from the BW system.
    What is the best way to export the data out of BW into a flat file on the Server on regular intervals using a process chain?
    Thanks in advance,
    - Shashi

    Hello Shashi,
    some comments:
    1) An "open hub license" is required for all processes that extract data from BW to a non-SAP system (including APD). Please check with your SAP Account Executive for details.
    2) The limitation of 16 key fields is only valid when using open hub for extracting to a DB table. There's no such limitation when writing files.
    3) Open hub is the recommended solution since it's the easiest to implement, no programming is required, and you don't have to worry much about scaling with higher data volumes (APD and CRM BAPI are quite different in all of these aspects).
    For completeness, here's the most recent documentation which also lists other options:
    http://help.sap.com/saphelp_nw73/helpdata/en/0a/0212b4335542a5ae2ecf9a51fbfc96/frameset.htm
    Regards,
    Marc
    SAP Customer Solution Adoption (CSA)

  • I am giving away a computer, what is the best way to wipe out data prior to depature

    i am giving away a computer, what is the best way to wipe out data prior to depature

    Did the Mac come with two grey disks when new? If so, use disk one to erase the drive using Disk Utility and then re-install the OS from the same disk. Once installed, quit and when the new owner boots they can set it up as a new out-of-the-box Mac when they boot it up. The grey disks need to be passed on with the computer.
    If you need detailed instructions on how to erase and re-install please post back.
    If the Mac came with Lion or Mountain Lion installed the above process can be done using the Recovery HD as since Lion no restore disks are supplied with the Mac.
    The terms of the licence state that a Mac should be sold/passed on with the OS installed that was on the machine when new (or words to that effect).

  • Best way to accept a date from a user

    Hi Guys,
    Whats the best way to get a date from a user and add it in an
    insert record to access.
    I have a form that adds a record and it works well enough as
    long as the data added is in the correct format.
    Untill now ive just had a text box with an explination to the
    user on how to add the date and what format....
    But Im fed up with having to change bad entrys and need to
    place a control or something on the form but dont know whats
    easiest and best?
    Any ideas welcome.
    Thanks

    If you want today's date set the database up to insert the
    date
    automatically. If you want other dates than today's use a
    date picker or
    calendar to insert the date.
    Dave
    "Tag2007" <[email protected]> wrote in
    message
    news:epj87p$mar$[email protected]..
    > Hi Guys,
    >
    > Whats the best way to get a date from a user and add it
    in an insert
    record to
    > access.
    >
    > I have a form that adds a record and it works well
    enough as long as the
    data
    > added is in the correct format.
    >
    > Untill now ive just had a text box with an explination
    to the user on how
    to
    > add the date and what format....
    >
    > But Im fed up with having to change bad entrys and need
    to place a
    control or
    > something on the form but dont know whats easiest and
    best?
    >
    > Any ideas welcome.
    > Thanks
    >

  • Best way to store historical data

    Hello:
    I'm currently developing an application that monitors some phisycal
    variables such as temperature and differential pressure in different
    locations. I also must do historical datalogging of the values read so
    the user can generate reports of the historical data. What is the best
    way to save the data? I was thinking about using and SQL-based database
    and use a table for each variable, an make some maintenance on the
    database after certain time to avoid it getting too big, but I'm opened
    to any suggestions
    Thanks in advance!
    Robst
    Robst - CLD
    Using LabVIEW since version 7.0

    Hello:
    I've been looking for a way to install just Citadel with no success.
    I've read that it only ships with Lookout and DSC, so I guess it can't
    be installed without one of them. Si, if this is true, Do U know
    another option for doing datalogging?
    Thanks in advance
    Robst.
    Robst - CLD
    Using LabVIEW since version 7.0

Maybe you are looking for

  • Flash Professional Crashing

    In Flash Professional CS6 I made a motion tween. As I scroll along the timeline I right click to Free Transform the object so it hits specif locations as the timeline goes along. After a few points have been adjusted, the program crashes without warn

  • Screen Resolution from Standby

    hallo, I use a T500 with Windows Vista x64. Since the last update from Lenovo and MS (SP2), switch the screen after standby mode briefly in the resolution 800 * 600 ... and minimizes all open windows to this size, the new order iconsin ...  someone h

  • Possible to test one JVM using RMI into another JVM through a single IDE?

    Hi everyone, I'm currently trying to do something that I'm not yet sure is possible so I'll try to explain what I want to do as best I can and hopefully someone can give me some insight. Basically I'm working with a service that runs on a JVM and I a

  • How to open pdf files on macbook pro

    Hello- desperately needing guidance as to accessing pdf files from school.  Please help!! 

  • Autotrace explain plan

    Hi i like to know how can i understand the output of the autotrace .. my current sql explain plan is Execution Plan Plan hash value: 2038802176 | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | | 0 | SELECT STATEMENT | | 9 | 1026 | 332 (3)