Data upload in SAP

Hi,
Im uploading an excel file in sap using gui_upload in binary format.In the internal table my data is stored in one column of char type.Now i want to store that internal table data into a single column in my Ztable.Pls tell me how to do that in such a way that i can retrieve that data back from ztable to internal table to the user as the original file.
thanks,
Nidhi.

Hi Nidhi,
Try to use the statement MODIFY ztable FROM TABLE internal_table.
or run a loop across internal_table and use the stmt : INSERT INTO ztable VALUES wa.
Thanks,
regards,
akshay ruia.

Similar Messages

  • DATA UPLOADING IN SAP SYSTEM

    What is the meaning of data uploading in SAP system?Which TCode is used and how it is done?

    Data Uploading : This is uploadig the master datas like material master,BOM,Routing etc from a legacy system or new created in uploadale format.
    Then using the uploading tools like SCAT,LSMW,BDC ETC the datas would be uploaded.
    When you first set up SAP landscape the system will not have any datas and configuration it will be a plain box.
    So configuration has to be done by the consultants and later all the master datas,static and dyanamic datas etc has to be uploaded to start working on SAP

  • Mass Data upload in SAP from 3rd party system

    Hi Experts.
    Can anyone help me how to do mass data upload in SAP. Actually, when any new joining is done, a form is being filled by employee(joining form), and that data is finally updated in SAP manually using various infotypes. Now, i m planning to make that form available in webpage. The employee will go to the webpage, fill the data , also the HR will fill the required fields, and once the form is complete, the data will get updated in SAP, in resp. infotypes. Like personal details in infotye 2, address in infotype 6, bank details in 9 and so on, in a single shot. Is there any BAPI or something like that, using which this can be achieved.
    Thnx
    S Kumar

    You can try BAPI_BANK_CREATE for IT0009, BAPI_ADDRESSEMP_CREATE for IT0006 and BAPI_PERSDATA_CREATE for IT0002. Otherwise, you can also use FM HR_MAINTAIN_MASTERDATA to create any infotype.
    Have a look also at the Life and Work Events functionality in SAP Portal (http://help.sap.com/erp2005_ehp_04/helpdata/EN/f6/263359f8c14ef98384ae7a2becd156/frameset.htm)

  • Master data upload into SAP system

    Hello,
    I want to know if there is any standard method to upload material master, customer master, vendor master and finance master data into SAP system.
    I am not referring to LSMW's, BDC's and using BAPI's. I am aware of standard programs like RMDATIND for material master upload, RFBIDE00 for customer master upload and RFBIKR00 for vendor master upload. But these are using direct input method and SAP recommends this only for testing purpose. I am not sure if this could be really used in actual live scenarios.
    From some other posts in the forum, I came to know about some transactions like BDLR, SXDB and BMVO. Can some one tell me how to use these T.Codes?
    If some one has any detailed documentation on these T.codes or in general standard master data upload techniques please send it to [email protected]
    Thanks in advance,
    CMV

    Hi,
    Define the following attributes, using the F4 input help and F1 field help:
    Report
    Name of a registered program for this program type
    Variant
    You can only specify a variant with programs that are started directly.
    With direct input, data from the data transfer file undergoes the same checks as with the online transaction and is then transferred directly into the SAP System. The database is updated directly with the transferred data.
    For the documentation of other transactions please refer the correponding program documentation..which is more helpful,
    <b>Reward points if helpful,</b>
    Regards,
    jinesh

  • Data Upload into SAP from Microsoft Excel

    Hi Guys: I created a function module from a BDC program and made it RFC enabled. When I execute this in SAP, it works fine and creates a customer. But when I try to trigger it from Excel, it gives me the error “Object Variable or With Block Variable not set”.  Please HELP!...
    Here is my VB code
    Option Explicit
    ' Declaration for the necessary objects
    Dim objBAPICortrol, objConnection, objCreateCustomer, objAcctGr, objCoCode, objReturn As Object
    Dim objSalesOrg, objDistCh, objDiv, objName, objStreet, objPostalCode, objCity, objRegion, objCountry As Object
    Dim objCountycode, objCityCode, objReconAcnt, objPaymentHist, objCustPrPro, objCustStGrp, objIncoTerms, objSDPayTerms, objAcntAssGrp, objTaxClass As Object
    Dim vLastRow, vRows As Integer
    Private Sub CommandButton2_Click()
    ' Create an Email in Outlook
    Application.Dialogs(xlDialogSendMail).Show
    End Sub
    Private Sub CommandButton3_Click()
    ' Getting the last filled Row in Column A
    vLastRow = Cells(Rows.Count, "A").End(xlUp).Row
    ' Setting the necessary variables for R/3 connection
    Set objBAPICortrol = CreateObject("SAP.Functions")
    Set objConnection = objBAPICortrol.connection
    ' Establish a connection
    If objConnection.Logon(0, False) Then
        MsgBox "Connection Established"
    End If
    On Error Resume Next
    ' Assign the Parameters
    Set objCreateCustomer = objBAPICortrol.Add("Z_RFC_CUSTOMER_CREATE_XLS")
    Set objAcctGr = objCreateCustomer.Exports("KTOKD_005")
    Set objCoCode = objCreateCustomer.Exports("BUKRS_001")
    Set objSalesOrg = objCreateCustomer.Exports("VKORG_002")
    Set objDistCh = objCreateCustomer.Exports("VTWEG_003")
    Set objDiv = objCreateCustomer.Exports("SPART_004")
    Set objName = objCreateCustomer.Exports("NAME1_006")
    Set objStreet = objCreateCustomer.Exports("STRAS_007")
    'Set objHouseNumber = objCreateCustomer.Exports("House Number")
    Set objPostalCode = objCreateCustomer.Exports("PSTLZ_009")
    Set objCity = objCreateCustomer.Exports("ORT01_008")
    Set objRegion = objCreateCustomer.Exports("REGIO_011")
    Set objCountry = objCreateCustomer.Exports("LAND1_010")
    Set objCountycode = objCreateCustomer.Exports("COUNC_013")
    'Set objPhone = objCreateCustomer.Exports("Phone")
    'Set objContact = objCreateCustomer.Exports("Contact")
    'Set objFax = objCreateCustomer.Exports("Fax")
    'Set objEmail = objCreateCustomer.Exports("Email")
    'Set objDirections = objCreateCustomer.Exports("Directions")
    Set objCityCode = objCreateCustomer.Exports("CITYC_014")
    Set objReconAcnt = objCreateCustomer.Exports("AKONT_015")
    Set objPaymentHist = objCreateCustomer.Exports("XZVER_017")
    Set objCustPrPro = objCreateCustomer.Exports("KALKS_019")
    Set objCustStGrp = objCreateCustomer.Exports("VERSG_020")
    Set objIncoTerms = objCreateCustomer.Exports("INCO1_021")
    Set objSDPayTerms = objCreateCustomer.Exports("ZTERM_023")
    Set objAcntAssGrp = objCreateCustomer.Exports("KTGRD_024")
    Set objTaxClass = objCreateCustomer.Exports("TAXKD_01_025")
    ' Now looping through all values create customer
    ' The data begin row is set to 2
    For vRows = 2 To vLastRow
    ' Set the Parameter Values
    objAcctGr.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 1).Value
    objCoCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 2).Value
    objSalesOrg.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 3).Value
    objDistCh.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 4).Value
    objDiv.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 5).Value
    objName.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 6).Value
    objStreet.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 7).Value
    'objHouseNumber.value = ThisWorkbook.ActiveSheet.Cells(vRows, 8).Value
    objPostalCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 9).Value
    objCity.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 10).Value
    objRegion.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 11).Value
    objCountry.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 12).Value
    objCountycode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 13).Value
    'objPhone.value = ThisWorkbook.ActiveSheet.Cells(vRows, 14).Value
    'objContact.value = ThisWorkbook.ActiveSheet.Cells(vRows, 15).Value
    'objFax.value = ThisWorkbook.ActiveSheet.Cells(vRows, 16).Value
    'objEmail.value = ThisWorkbook.ActiveSheet.Cells(vRows, 17).Value
    'objDirections.value = ThisWorkbook.ActiveSheet.Cells(vRows, 18).Value
    objCityCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 19).Value
    objReconAcnt.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 20).Value
    objPaymentHist.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 21).Value
    objCustPrPro.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 22).Value
    objCustStGrp.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 23).Value
    objIncoTerms.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 24).Value
    objSDPayTerms.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 25).Value
    objAcntAssGrp.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 26).Value
    objTaxClass.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 27).Value
    ' Function call
    objCreateCustomer.call
    ' Get return parameters & display in excel
    Set objReturn = objCreateCustomer.Imports("RETURN")
    ActiveSheet.Cells((vLastRow + vRows), 1) = objReturn.Value("MESSAGE")
    ' Error handling
    If Err Then
        MsgBox Err.Description
    End If
    Next vRows
    End Sub

    Hello,
    Whatz impossible ??
    Yes you can export the data from excel to SAP using VBA, but you need to create fome RFC in SAP as well that will handle the data you will send.
    1. Create a RFC function in R/3 that will read a file from specific location and perform the respective transaction.
    2. Create your excel file with respective file format and call the RFC function in SAP passing the parameters as file name and other required details.
    3. SAP coding for RFC will be a single time activity and then onwads you can just create excel file for upload and use VBA code to initiate the RFC call.
    Hope this make some sence. Tell me if you have more queries.
    Regards,
    Vishal
    Reward points.. if helpful

  • Data upload from sap to oracle

    hi friends,
    we r uploading and downloading data from SAP to orcale table
    we have used this code [down i am giving only sql statements ]
    plz some one anlayse the code n tell me wat its exactly doing
    1.EXEC SQL.
            SELECT  VBELN INTO :WA_VBELN FROM ZASCENT@ZASCENTLINK
                   WHERE VBELN = :ITAB_ASCENT-VBELN AND
                         MANDT = :SY-MANDT
          ENDEXEC.
    2. EXEC SQL.
            INSERT INTO ZASCENT@ZASCENTLINK VALUES
           (  :WS_ZASCENT-MANDT,
      :WS_ZASCENT-VBELN,
      :WS_ZASCENT-NAME1,
      :WS_ZASCENT-STRAS,
      :WS_ZASCENT-STR_SUPPL1,
      :WS_ZASCENT-STR_SUPPL2,
      :WS_ZASCENT-CITY1,
      :WS_ZASCENT-REGION,
      :WS_ZASCENT-POST_CODE1,
      :WS_ZASCENT-COUNTRY,
      :WS_ZASCENT-TEL_NUMBER,
      :WS_ZASCENT-CONTACT,
      :WS_ZASCENT-STATUS,
      :WS_ZASCENT-PRONO,
      :WS_ZASCENT-ANZPK,
      :WS_ZASCENT-BTGEW,
      :WS_ZASCENT-DATE1,
      :WS_ZASCENT-DATE2,
      :WS_ZASCENT-DATE3 )
          ENDEXEC.
          EXEC SQL.
            COMMIT
          ENDEXEC.
          IF sy-subrc = 0.
       WRITE:/ itab_ascent-vbeln,'INSERTED SUCCESSFULLY INTO TABLE ZASCENT'.
          ENDIF.
          COMMIT WORK.
    3.EXEC SQL.
          OPEN c1 FOR
         SELECT      VBELN,
      NAME1,
      STRAS,
      STR_SUPPL1,
      STR_SUPPL2,
      CITY1,
      REGION,
      POST_CODE1,
      COUNTRY,
      TEL_NUMBER,
      CONTACT,
      STATUS,
      PRONO,
      ANZPK,
      BTGEW,
      DATE1,
      DATE2,
      DATE3
                  FROM ZASCENT@ZASCENTLINK
              WHERE   MANDT = :SY-MANDT AND
                      STATUS = '1'
    *WHERE VBELN =  '0080036329'
        ENDEXEC.
        DO.
          EXEC SQL.
            FETCH NEXT c1 INTO
        :ITAB_ASCENT-VBELN,
      :ITAB_ASCENT-NAME1,
      :ITAB_ASCENT-STREET,
      :ITAB_ASCENT-STR_SUPPL1,
      :ITAB_ASCENT-STR_SUPPL2,
      :ITAB_ASCENT-CITY1,
      :ITAB_ASCENT-REGION,
      :ITAB_ASCENT-POST_CODE1,
      :ITAB_ASCENT-COUNTRY,
      :ITAB_ASCENT-TEL_NUMBER,
      :ITAB_ASCENT-CONTACT,
      :ITAB_ASCENT-STATUS,
      :ITAB_ASCENT-PRONO,
      :ITAB_ASCENT-ANZPK,
      :ITAB_ASCENT-BTGEW,
      :ITAB_ASCENT-DATE1,
      :ITAB_ASCENT-DATE2,
      :ITAB_ASCENT-DATE3
          ENDEXEC.
          IF sy-subrc = 0.
            APPEND itab_ascent.
            CLEAR itab_ascent.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
    thanks ,
    soorya

    Hay Soorya
    go through this link
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/exec.htm
    Thanks & Regards
    Sreenivasulu P

  • Data upload in sap r/3

    Respected Sir,
    Can anybody tell me how we upload data(like word document,excel document) into SAP R/3.
    Actually I am  beginner, So Please suggest me as soon as possible.

    Hi,
    check this link
    ABAP Connectivity
    Regards,
    Madhu

  • Time data upload to SAP tables

    i m corking on HR Time Management project.
    now i hav to upload data which is coming frm external time management system.i m getting 1 txt file in which list of string are recorded by external software.
    Eg of that string is :
    N000645120420062857
    This is one of the string frm tat list.
    now in this string
    N00-TERMINAL NUMBER
    0645-HHMM ( TIME OF SWIPPING CARD )
    12042006 - DDMMYYYY (DATE OF SWIPPING CARD )
    2857 - EMPLOYEE CODE
    Now the problem is we r having only 1 terminal machine.So in this list login & logout both the data r included...now i have to identify which data is login & which is logout time and upload that data in SAP tables.
    So i want suggestions & help how to upload this data to HR tables.What tables i shud consider for uploading data...Is thr any SAP standard program which can solve this problem.
    Report 'RPTEXTPT' is used for wat??
    Please help me in this.....its urgent & inportant....

    Hi,
    Use LSMW tool and define mapping rules, code in ABAP for extra mapping rules, use fixed values or translations wherever appropriate.
    But first sit with an analyst/functional person and jot down the algorithm of how to do and when to do what to do based on the file format.

  • Data uploading in SAP BW (Automated)

    Hello Experts,
    Currently i am manually loading data files from Unix server into the Infocubes in SAP BW. This process is done only in one shift & for the rest of the time the system is idle i.e no loading is done. This is very time consuming, so can anyone please let me know, is there any tool or standard program, through which we can queue up the data files & load it simultaneously 24X7.
    Thanks & Regards,
    Amit

    Hi,
    This can be achieved through process chains.Design a Process chain  in BW system with time schedule as per your reuirement in variant ( 24*7) and you need to Trigger  this PC on BW Server by Unix Server. tFor this you need to use the sapevt.exe.With it you can trigger an event in the SAP system with the execution of a simple command file (.bat for ex.)So the event will start the chain as you require.
    You can find more info for sapevt in:
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
    Regards
    CSM Reddy

  • Can any one tell me what is the master data upload sequence in sap pm...? i am new to sap pm module..

    Hi experts,
    Please help me to get the sequence for master data upload in sap pm ......

    Probably yet another Blog/Document for someone to create..
    Here's my offerings:
    Finance data: chart of accounts, g/l accounts cost centres, profit centres, activity types, etc
    Configuration data
    Classes/characteristics
    Inspection characteristics
    Master Warranties/Permits/Partners/Documents
    HR masters
    Work centres
    Materials
    Functional locations
    Equipment (serial numbers)
    Measurement points/documents
    BOMs
    Task Lists
    Maintenance items/plans
    Maintenance plan schedule
    Historical orders (if required)
    Historical notifications (if required)
    Historical Measurement documents (if required)
    PeteA

  • Data Upload using TDMS

    Hi,
    We are using TDMS for transferring the data and for scrambling as well and we need to explore if TDMS can be used for Data upload from SAP to SAP.  If yes, how this can be acheived using which TDMS functionality.
    Also, how can TDMS be integrated with SAP BODS tool?
    Thanks and best regards,

    Hello Amr,
    TDMS can't be used for data upload.
    Thanks
    Anita

  • I need the Log Report for the Data which i am uploading from SAP R/3.

    Hi All,
    I am BI 7.0 Platform with Support Patch 20.
    I need the Log Report for the Data which i am uploading from SAP R/3.
    I extract the DATA from R/3 into BI 7.0 DSO where I am mapping the GL Accounts with the FS Item.   In the Transformation i have return a routine on the FS Item InfObject . I am checking the Gl code into Z table for the FS Item .
    I capture the FS item from the Z table then update this FS item to Infobject FS item.
    Now i  need to stop the Data upload if i do not find the GL code in the Z table, and generate report for all GL code for which the FS item is not maintained in the Z table.
    Please suggest.
    Regards
    nilesh

    Hi.
    Add a field that you will use to identify if the GL account of the record was found in the Z table or not. Fx, create ZFOUND with length 1 and no text.
    In your routine, when you do the lookup, populate ZFOUND with X when you found a match (sy-subrc = 0) and leave it blank if you don't find a match. Now create a report filtering on ZFOUND = <blank> and output the GL accounts. Those will be the ones not existing in the Z table, but coming in from your transactions.
    Regards
    Jacob

  • Uploading data from non sap system to sap system

    hi to all experts,
    my requirement is to upload data into the sap system from non sap system . the data is in  a flat file ,but the problem is that  in the flat file all the field lengths and fields are not in order or same as sap system. How to upload the data into sap system ....

    hi,
    the data is in a flat file,but the problem is that in the flat file all the field lengths and fields are not in order or same as sap system.
    If the data is in excel sheet use this FM.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      = P_FILE
          I_BEGIN_COL                   = 1
          I_BEGIN_ROW                   = 1
          I_END_COL                     = 17
          I_END_ROW                     = 3000
        TABLES
          INTERN                        = itab
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
    It will read the data from excel sheet column wise and then store it in ITAB. you can change the order after reading the file.
    In case of Text file use FM  GUI_UPLOAD.
    You can change the order of the fileds after reading it from file, but the length and all you have to make compatible to SAP standard fields.
    Regards,
    Sachin

  • New SAP Tools for faster Master Data Upload?

    Hi All!
    I am interested in getting some detailed information on different tools that are used for faster master data upload. Please let me know about the tools apart from LSMW, BAPI, eCATT and BDC.
    We basically want to know the following things:
    1.Which are the tools available for this master data upload?
    for eg. SAP MDM, Info Shuttle, other available new age tools etc........
    2. Their performance / feature comparions?
    Please provide performance / feature comparison for different new age tools in detail.
    Thanking you in advance.
    Regards,

    Hi Amar,
    regarding SAP MDM you can read advantages and characteristics here: http://www.sap.com/platform/netweaver/components/mdm/index.epx
    Hope this help you,
    Vito

  • How to use open data set in SAP

    Hi SAP Gurus,
            Could anyone help, how to use open data set in SAP.
          I need to upload a file from Application server (ZSAPUSAGEDATA) to internal table (IT_FINAL).
    Thanks & Regards,
    Krishnau2026

    Hi Krishna.
    These are the steps you need to follow.
    tables: specify the table.
    data: begin of fs_...
            end of fs_    " Structure Field string.
    data: t_table like
            standard table
                      of fs_...
    data:
    w_file TYPE string.
    data:
      fname(10) VALUE '.\xyz.TXT'.
    select-options: if any.
    PARAMETERS:
      p_file LIKE rlgrap-filename.
    w_file = p_file.
    select .... statement
    OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    *OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
    LOOP AT t_... INTO fs_....
    write:/ .....
    TRANSFER fs_... TO fname.
    or
    TRANSFER t_... TO fname
    ENDLOOP.
    CLOSE DATASET fname.
    Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
    Regards Harsh.

Maybe you are looking for