Transfer data from legacy system to sap through rfc

There is an Excel-sheet where a user will enter some records, this excel-sheet should be automatically transferred to SAP. How it can be done? How can I see that records and how this link would be stablished?Give me the detail example! please help...!

hi,
You can write a program which will be run at scheduled intervals. You can crate a job for this.
This program will read the file either by OPEN DATASET, READ DATASET
for GUI_UPLOAD ... depending on where the file is located.
Then you can do the processing of each record using a BDC to insert recordsinto SAP. This will be done by doing a transaction recording in SHDB.
Useful links:
BDC
www.sap-img.com/abap/learning-bdc-programming.htm
www.itquestionbank.com/bdc-recording.html
Regards,
Vivek

Similar Messages

  • Upload data from legacy system to SAP through ALE IDOC

    Hello All,
    I have a requirement where i need to upload the data from legacy system to SAP. So i am using ALE IDOC.
    In my requirement i need to extend the Standard IDOC. I have extended the IDOC and even found the exit for the updation of the extended fields to SAP. My data would be be placed in the application server.
    Can anybody tell me how to retrieve the data and update in the tables for the extended fields.
    Could you please provide a sample program for retrieving data for IDOC.
    Thanks

    Hi,
    You can find the sample code in the following link.
    Re: calling idoc_input_creditor
    Regards
    Sajid

  • How to transfer data from legacy system  to SAP

    Hi Friends,
    I would like to know the process and the steps followed to transfer data from my legacy system to SAP.
    Suppose if i have all the data in the form of Excel sheet or doc type. How can i transfer this data into SAP.
    Please explain the steps followed.
    Appreciate your help
    Anil

    Hi ,
    Conversion of legacy data into SAP can be uploaded using a standard SAP Tool called LSMW ( TCode:LSMW).
    the below link gives a brief explanation of the LSMW tool
    http://tutorialsap.com/abap/sap-lsmw-tutorial-with-steps-to-create.html
    There are various methods to upload data within LSMW. If the number of records are very high like Article Master or  Conditions for Retail the IDOC method must be used.
    Standard IDocs
    1. Article Master - ARTMAS
    2. Conditions - COND_A
    3. Source list - SRCLST
    4. Customer Master or WRF3/WRF6 tables - DEBMAS
    5. Vendor master- CREMAS
    Etc. Use transaction code WE60 to see the structure of each of the idocs. New enhancements can be done for the idocs if the required field is not available.
    Regards
    Prabhu

  • BO DI for extracting data from legacy system to SAP BW 7.0

    Hi,
    Has anyone worked on scenario where BO Data Integrator is being used as ETL tool for extracting data from legacy systems to SAP BW 7.0 ?
    Please share your experience on such a landscpae or related documents any of you had come across.
    Regards,
    Pritesh

    There are couple of them - Lawson ERP, Kalido, AS/400.  ECC 5.0 might be there as well.
    Regards,
    Pritesh.
    Edited by: pritesh prakash on Jun 14, 2010 2:00 PM

  • Uploading data from Legacy System to SAP (In PS Module)

    While Implementing Project system Module, Whether LSMW is applicable for uploading data from Legacy sytem. If not, then what is the method used for uploading the data from Legacy sytsem to SAP

    For creating/uploading the master data from legacy system to SAP we either use below options
    1. BDC (recording)
    2. BAPI
    3. ALE iDoc.
    I would sugguest you to use BAPI and there's already this post which explains few details about the BAPI:
    Problems with BAPI_PROJECT_MAINTAIN
    Regards
    Sreenivas

  • What are ways to transfer data from online system to SAP

    Hi all,
    We have a requirement to transfer data from an online system (Non SAP) to SAP.
    What are all the possible ways to  do that and which one is preferred?
    Thanks!
    Rahul.

    Dear
    for transferring data from online system to SAP there are different ways follow this links
    http://searchsap.techtarget.com/answer/Using-IDocs-to-connect-a-non-SAP-system-to-an-SAP-R-3-system-online
    https://help.sap.com/saphelp_nw70ehp1/helpdata/en/c7/eff2280d0511d3a6300060087832f8/content.htm
    Regards

  • How to transfer Cats data from legacy system to SAP System

    Hi,
    I need to export data to CATS from Legacy system.What is the procedure for that?
    How do I define field?
    Please help it is urgent.
    Thanks,
    Kavita

    Hi Kavita,
      Check the link below.
       http://sap-img.com/sap-data-migration.htm
      Reward points if it helps.
    Regards
    Karan

  • How to import data from legacy system to SAP

    How do we import legacy data to SAP system? Iu2019m a trainee on SAP HR,  just wanted a brief description on that in layman terms?
    There are lot of threads related to issue  please use Search forum for Better results before posting the query search the forum for better prospects

    Hi ,
    Conversion of legacy data into SAP can be uploaded using a standard SAP Tool called LSMW ( TCode:LSMW).
    the below link gives a brief explanation of the LSMW tool
    http://tutorialsap.com/abap/sap-lsmw-tutorial-with-steps-to-create.html
    There are various methods to upload data within LSMW. If the number of records are very high like Article Master or  Conditions for Retail the IDOC method must be used.
    Standard IDocs
    1. Article Master - ARTMAS
    2. Conditions - COND_A
    3. Source list - SRCLST
    4. Customer Master or WRF3/WRF6 tables - DEBMAS
    5. Vendor master- CREMAS
    Etc. Use transaction code WE60 to see the structure of each of the idocs. New enhancements can be done for the idocs if the required field is not available.
    Regards
    Prabhu

  • Uploading data from legacy system to sap system

    Hi,
    Uploaded 10 data’s in Direct Input mtd—it is successful; while the same no. of records are uploaded using call transaction, then it fails—what is the reason for it?
    points will be awarded.

    hi
    kavitha
    after getting records in internal table
    use loop at stmt
    between loop and end loop you need to clear
    BDCDATA internal table (both header and body)
    eg.
    LOOP AT IT_MAT.
    CLEAR BDCDATA.
    CLEAR BDCDATA[].
    perform bdc_dynpro      using 'SAPLMGMM' '0060'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RMMG1-MTART'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RMMG1-MBRSH'
                                   IT_MAT-MBRSH.
    perform bdc_field       using 'RMMG1-MTART'
                                   IT_MAT-MTART.
    perform bdc_dynpro      using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MSICHTAUSW-DYTXT(02)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                                  'X'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(02)'
    CALL TRANSACTION 'MM01' USING BDCDATA MODE 'A'
                            MESSAGES INTO IT_MESSTAB.
    ENDLOOP.
    plz reward points if useful
    regards
    Hemasekhara Reddy

  • How to UNLOCK  queues when data is migrated from legacy system to SAP syste

    Hi  All,
    I need some help regarding queues (SMQ2). XI is been used to migrate data from legacy system to SAP system. Sometimes the queue is getting locked. Once the queue is unlocked then the message is processed correctly. So, the incoming queues must be "unlocked" routinely so that they can process through the system. There is a standard report RSQIWKEX available that can be scheduled in SAP system to automatically unlock the queues. Before using the standard report RSDIWKEX, we made sure that we have added parameter MONITOR QRFC_RESTART_ALLOWED set to "1" in Integration Engine specific configuration (TCODE SXMB_ADM).We are unable to analyze the reason for locking of queues and how to avoid it. If the locking of the queues can not be avoided, is there any way to unlock the queues? We tried executing this report but were not successful in unlocking the queues. Please guide us in solving this issue. It would be really helpful if you can give us a direction in solving this problem.
    Thanks in Advance,
    Shwetha.

    Hi,
    Just check if the Queues are registered in Transaction SMQR.
    If its not, then register the Queue by pressing 'Register' Button
    Sharif.

  • How to upload the data from legacy system database to SAP data base

    Hi.
    We are doing analysis of Legacy system and which needs to be converted to SAP system i.e. SAP implementation.
    I just want to know , how we migrate the existing whole data( from legacy system) into SAP system.
    and which method is the best method to use data migration from legacy to SAP system if data legacy data amount is huge.
    Please suggest me.
    Thanks.

    Hi
    We can either use the BDC or BAPI or LSMW  or Direct Input techiniques for the data transfers.
    The combination of both Session and Call transaction can be used to achieve this that includes the error handling also. This invloves the screen interaction.
    These days, BAPIs are used to overvome some upgrade problems. For easy upgradation, we cna go for BAPIs. Here ther is no screen intercation.
    LSMW mainly used for master data transfers using some standrad programs.
    As per your client or company desicions  we can choose any of them.
    Please refer to these links for more understanding -
    BDC Vs LSMW -
    BDC VS LSMW
    BDC Vs BAPI -
    BDC VS LSMW
    Thanks & Regards,
    Chandralekha.

  • Upload Opening balance of G/L accounts from legacy system to SAP, and also

    Hi Gurus,
    How to upload Opening balance of G/L accounts from legacy system to SAP, and also Vendor and Customer balance.
    My Doubt is when you upload the customer balance and vendor balance will it effect the sundry debtor account and sundry creditor account if not the how will the sundry debtor account and sundry creditor account will be posted with the balance. Please send me the general entry passed for posting the same.
    What I understood is that when we are uploading the customer and vendor balances through LSMW, no entry will be passed and it will update the customer and vendor sub ledger in FBL1N and FBL5N but it will not affect the sundry debtor account and sundry creditor account.
    To give effect to sundry debtor account and sundry creditor account we need to manually pass a journal entry as follows.
    1)  Sundry debtors account A/c -
    DR
          TO clearing account A/c
    2)     clearing account A/c -
    dr
         Sundry creditor account A/c
    Please let me know whether iam correct
    Also please tell me what will be the scenario for uploading of the assets balances through LSMW.
    THANKS AND REGARDS
    MV

    Hi,
         When you uploading any data from legacy system to sap normally we will be using LSMW or BDC,thru this we will be uploading master data like G/L,vendor,Customer and asset master these are the some examples and we will upload transaction data also that is P&L Account and Balance sheet.When we do uploading data thru LSMW system will update all the values of vendor,customer and asset values as well as subsidary ledger also.No need to do manully.
    Regards,
    satya,
    FICO

  • *Journal Entries while uploading the vendor master data from legacy system*

    hi SAP Folks,
    can any one of you tell me the journal entries while uploading the vendor master data from legacy system to SAP system.
    Eg: legacy system is having 10000 vendors list, 1 reconciliation account and $ 1000000. while uploading all these data from legacy system to SAP what are the journal entries we get.
    thanks in advance.
    Edited by: ravindranath manikonda on Nov 24, 2008 1:12 PM

    Hi
    you will be having  only one entry logically
    i.e. Opening Bal. clrng A/c Dr.
           To Vendor A/c Cr.
    regards

  • Reg:when i was uploading data from legacy system

    Hi All,
    it is any Include  program
    for tcode mpr1
    when i was upload the data for forecast values from
    legacy system to sap system .
    only one record is geting updated
    other records are not updateding
    i have retun logic like this
    code,,,,,,,,
    TYPES: BEGIN OF TY_FILE,
            WERKS LIKE MAPR-WERKS,
            MATNR LIKE MAPR-MATNR,
            PRWRT LIKE PROW-PRWRT,
           END OF TY_FILE.
    DATA: IT_FILE TYPE STANDARD TABLE OF TY_FILE,
          WA_FILE TYPE TY_FILE.
    DATA : IT_MARA LIKE MARA OCCURS 0 WITH HEADER LINE,
           IT_MARC LIKE MARC OCCURS 0 WITH HEADER LINE.
    DATA : LV_FILE TYPE STRING.
    LV_FILE = I_MPR1USERPAR.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
      EXPORTING
        FILENAME                = LV_FILE
        FILETYPE                = 'DAT'
        HAS_FIELD_SEPARATOR     = 'X'
      CHANGING
        DATA_TAB                = IT_FILE
      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
        NOT_SUPPORTED_BY_GUI    = 17
        ERROR_NO_GUI            = 18
        OTHERS                  = 19
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT T_ARTICLES.
        CLEAR : IT_MARA,IT_MARC.
        SELECT SINGLE * FROM MARA INTO IT_MARA  WHERE MATNR = T_ARTICLES-MATNR.
        SELECT SINGLE * FROM MARC INTO IT_MARC  WHERE MATNR = T_ARTICLES-MATNR
                                                 AND  WERKS = T_ARTICLES-WERKS.
      ENDLOOP.
    LOOP AT IT_FILE INTO WA_FILE .
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = WA_FILE-MATNR
        IMPORTING
          OUTPUT = WA_FILE-MATNR.
      T_FORECAST_VALUES-WERKS = WA_FILE-WERKS.
      T_FORECAST_VALUES-MATNR = WA_FILE-MATNR.
      T_FORECAST_VALUES-PERKZ = IT_MARC-PERKZ.
      T_FORECAST_VALUES-ERTAG = T_ARTICLES-PRDAT_NEW.
      T_FORECAST_VALUES-KOPRW = WA_FILE-PRWRT.
      T_FORECAST_VALUES-MEINS = IT_MARA-MEINS.
      APPEND T_FORECAST_VALUES.
      CLEAR : T_FORECAST_VALUES.
    ENDLOOP.
    thanks
    mars

    For creating/uploading the master data from legacy system to SAP we either use below options
    1. BDC (recording)
    2. BAPI
    3. ALE iDoc.
    I would sugguest you to use BAPI and there's already this post which explains few details about the BAPI:
    Problems with BAPI_PROJECT_MAINTAIN
    Regards
    Sreenivas

  • Transfer of GL a/cs manually from legacy system to SAP

    How do you transfer GL a/cs manually from Legacy system to SAP,  what offset a/c would you use.  Also how would you open AR and AP transactions manually in SAP.  Please help my email id is [email protected]
    Thanks

    Hi,
    U can open one opening balance account.
    Separate u r trial balance in following
    gl account use key 40/5O  GIVE NET EFECT TO OP BAL ACCT
    Asset- use key 70 -75 GIVE NET EFECT TO OP BAL ACCT
    Customer use key 01/11 GIVE NET EFECT TO OP BAL ACCT
    Vendor use key 21/31 GIVE NET EFECT TO OP BAL ACCT
    Material accts - this will be loaded thru mm and bal will go to initail entry acct revert one enrty from that to OP BAL ACCT
    now u have uploaded all tb hence u r opening balance should be nil.
    Warm Regards

Maybe you are looking for

  • BPM process jax-ws callback URL error

    I generated the web service proxy for a BPM process with the callback option. Then I deployed the callback web service in to weblogic 10.3. While invoking the client proxy I am giving the callback url as shown GCTLab04ProcessPortType gCTLab04ProcessP

  • The drivers won't install

    The drivers won't install>Hi I have a very old MP3 player which I recently started using again. It is around 5 or 6 years old and I think the model name is just Creative ZEN. The model number is DAP-HD005. Following a hardware failure on my old PC a

  • HELP!!! Why do my thread dump have so many locked monitor

    In recent weeks, My customer's weblogic server become more busy.Each time I downloaded the thread dump when CPU is busy than 90%,I found a lot of lock in the thread dump! Especially the class named "weblogic.kernel.ExecuteThread" . It's the kernel cl

  • Ejecting iPod won't work

    (trying again here as 1st time I got no answer): Is there a setting I can change on my iPod or PC that will allow me to click the little "eject iPod" button and have it actually eject? The computer says my iPod "cannot be ejected because it contains

  • Need help figuring out permissions for a migration project

    Hi all We are in the middle of a migration from various Exchange environments over to a hybrid Exchange 2010 and Office 365 environment. Recently we had to change the setup for migrating mailboxes from on-premise to on-premise using Quest Migration M