Regading LSMW for VD01 transaction

HI,
This is KSR Saireddy. i am getting the problem in LSMW at the the STEP Create Batch Input Session.i am executing this step,now i am getting the file name as ZIMS_91_ZIMS_91_MIGRT_CUSTOMER.lsmw.conv after excuting it is giving the message that Transaction VD01 not supported  can any body please give me answer why VD01 is not supported .

Hi Selva,
LSMW is a detailed 15 Step process to transfer Data from Flat file to SAP System.It is fairly simple provided you have some hand holding for the first time with some ABAP team member.
Please go through the details as mentioned in the [thread|http://sapabap.iespana.es/manuales/pdf/lsmw.pdf].We can discuss it in detail once you are through.
Broadly speaking our purpose in LSMW is to do :
RECORDING PROGRAM:A screen by screen recording of a transaction that we intend to use ( for eg.QP01). These screen by screen records are stored and served as a reference later on.
SAMPLE TXT FILE: This recording gives us a txt file with fields that nees to be replaced with upload file in the same format
UPLOAD FILE: Add all information in the file that you need to upload in SAP in separate rows
EXECUTE BDC:The recording program executes screen by screen in same sequence and uploads the data as in the UPLOAD File.
This description is very simplistic view of LSMW based on my exposure. I am sure that there are many more features than just this (like Filtering, Conversion etc.)
Open up a new thread. We can discuss this in further detail if required.
Thanks,
RAVI.

Similar Messages

  • Lsmw for me21n transaction

    Hi ,
    I had a problem while doing lsmw for me21n transaction. My problem is how to handle table control in that. can any one send some screen shots or link, how to do table control
    Thanks & Regards,
    sreehari
    Moderator Message: Search for available information on the web before posting
    Edited by: kishan P on Sep 3, 2010 9:51 AM

    Hi ,
    I had a problem while doing lsmw for me21n transaction. My problem is how to handle table control in that. can any one send some screen shots or link, how to do table control
    Thanks & Regards,
    sreehari
    Moderator Message: Search for available information on the web before posting
    Edited by: kishan P on Sep 3, 2010 9:51 AM

  • Lsmw for mb1b transaction.

    hello,
        is it possible to do lsmw for mb1b transaction.
        if possible then how ?
        any suggestions please.

    Hi
    you can use the LSMW for the transaction MB1B .
    Or
    use the program to stock transfer from plant to plant :
    REPORT YMBIE096 LINE-SIZE 80.
    * Program: YMBIE096
    * Author: Sheila Titchener
    * Date: Mar 1999
    * Purpose: To move stock to new plant
    TABLES: MCHB.
    * internal table
    DATA: BEGIN OF I_MCHB OCCURS 0,
    MATNR LIKE MCHB-MATNR,
    LGORT LIKE MCHB-LGORT,
    CHARG LIKE MCHB-CHARG,
    J_2CTRNR LIKE MCHB-J_2CTRNR,
    J_2CELNG LIKE MCHB-J_2CELNG,
    CLABS LIKE MCHB-CLABS,
    END OF I_MCHB.
    *-----------------------new code smt nov 98-----------------------------
    * batch input tables
    DATA BEGIN OF BDCDATA OCCURS 100.
    INCLUDE STRUCTURE BDCDATA.
    DATA END OF BDCDATA.
    DATA BEGIN OF MESSTAB OCCURS 10.
    INCLUDE STRUCTURE BDCMSGCOLL.
    DATA END OF MESSTAB.
    SELECT-OPTIONS S_MATNR FOR MCHB-MATNR.
    PARAMETERS: P_DISP AS CHECKBOX.
    DATA W_MODE.
    DATA W_MESSAGE LIKE MESSAGE.
    START-OF-SELECTION.
    SELECT MATNR LGORT J_2CELNG CHARG CLABS J_2CTRNR FROM MCHB
    INTO CORRESPONDING FIELDS OF TABLE I_MCHB
    WHERE MATNR IN S_MATNR
    AND WERKS = 'BT'.
    END-OF-SELECTION.
    LOOP AT I_MCHB.
    CHECK I_MCHB-J_2CELNG NE 0.
    CHECK I_MCHB-J_2CELNG = I_MCHB-CLABS.
    PERFORM MOVE_STOCK.
    ENDLOOP.
    *& Form MOVE_STOCK
    * Call transaction MB1B to transfer stock
    FORM MOVE_STOCK.
    DATA: W_QTY(10).
    WRITE I_MCHB-J_2CELNG TO W_QTY DECIMALS 0.
    REFRESH: BDCDATA, MESSTAB.
    PERFORM DYNPRO USING:
    'X' 'SAPMM07M' '0400',
    ' ' 'RM07M-BWARTWA' '301',
    ' ' 'RM07M-WERKS' 'BT',
    ' ' 'RM07M-LGORT' I_MCHB-LGORT,
    ' ' 'BDC_OKCODE' '/0',
    'X' 'SAPMM07M' '0421',
    ' ' 'MSEGK-UMWRK' '94',
    ' ' 'MSEGK-UMLGO' I_MCHB-LGORT,
    ' ' 'BDC_OKCODE' 'NLE',
    *CODING BLOCK
    'X' 'SAPLKACB' '0002',
    ' ' 'BDC_OKCODE' '/0',
    'X' 'SAPMM07M' '0421',
    ' ' 'MSEG-MATNR(1)' I_MCHB-MATNR,
    ' ' 'MSEG-ERFMG(1)' W_QTY,
    ' ' 'MSEG-CHARG(1)' I_MCHB-CHARG,
    ' ' 'BDC_OKCODE' '/0',
    *CODING BLOCK
    'X' 'SAPLKACB' '0002',
    ' ' 'BDC_OKCODE' '/0',
    *CODING BLOCK
    'X' 'SAPLKACB' '0002',
    ' ' 'BDC_OKCODE' '/0',
    * 'X' 'SAPMM07M' '0410',
    * ' ' 'BDC_OKCODE' '/0',
    *CODING BLOCK
    * 'X' 'SAPLKACB' '0002',
    * ' ' 'BDC_OKCODE' '/8',
    *CODING BLOCK
    * 'X' 'SAPLKACB' '0002',
    * ' ' 'BDC_OKCODE' '/8',
    'X' 'SAPLJ2CW' '0190',
    ' ' 'J_5C7-UMCHA' I_MCHB-CHARG,
    ' ' 'BDC_OKCODE' '/7',
    'X' 'SAPMM07M' '0421',
    ' ' 'BDC_OKCODE' '/11',
    *CODING BLOCK
    'X' 'SAPLKACB' '0002',
    ' ' 'BDC_OKCODE' '/0'.
    IF P_DISP = 'X'.
    W_MODE = 'A'.
    ELSE.
    W_MODE = 'N'.
    ENDIF.
    CALL TRANSACTION 'MB1B' USING BDCDATA MODE W_MODE UPDATE 'S'
    MESSAGES INTO MESSTAB.
    WRITE: / I_MCHB-MATNR, I_MCHB-CHARG, I_MCHB-LGORT,
    I_MCHB-J_2CTRNR, I_MCHB-J_2CELNG.
    IF SY-SUBRC NE 0.
    * what to do if there's an error????
    LOOP AT MESSTAB.
    SY-MSGNO = MESSTAB-MSGNR.
    CALL FUNCTION 'WRITE_MESSAGE'
    EXPORTING
    MSGID = MESSTAB-MSGID
    MSGNO = SY-MSGNO
    MSGTY = MESSTAB-MSGTYP
    MSGV1 = MESSTAB-MSGV1
    MSGV2 = MESSTAB-MSGV2
    MSGV3 = MESSTAB-MSGV3
    MSGV4 = MESSTAB-MSGV4
    MSGV5 = MESSTAB-MSGV4
    IMPORTING
    * error =
    MESSG = W_MESSAGE
    * msgln =
    EXCEPTIONS
    OTHERS = 1.
    WRITE: / W_MESSAGE.
    * message id messtab-msgid type 'I' number messtab-msgnr.
    ENDLOOP.
    ENDIF.
    ENDFORM. " CHANGE_BILLING_TYPE
    * FORM DYNPRO - new form smt nov 1998
    * > DYNBEGIN
    * > NAME
    * > VALUE
    FORM DYNPRO USING DYNBEGIN NAME VALUE.
    IF DYNBEGIN = 'X'.
    CLEAR BDCDATA.
    MOVE: NAME TO BDCDATA-PROGRAM,
    VALUE TO BDCDATA-DYNPRO,
    'X' TO BDCDATA-DYNBEGIN.
    APPEND BDCDATA.
    ELSE.
    CLEAR BDCDATA.
    MOVE: NAME TO BDCDATA-FNAM,
    VALUE TO BDCDATA-FVAL.
    APPEND BDCDATA.
    ENDIF.
    ENDFORM.
    Edited by: raj on Jun 5, 2009 7:55 AM

  • LSMW - for Customised Transactions

    Hi,
    I had read that LSMW is used for SAP Transactions but since we have BDC recording option in LSMW,cant we use LSMW for Custom Transactions ?/
    Regards,
    Chitwanjit Singh

    Well, I'll close my query here. I got the answer on internet.
    Regards,
    Chitwanjit

  • How to create LSMW for a transaction having scroll bar

    Hi all,
    I am trying to create an LSMW for MP)! transaction for Uploading AMPL (Approved Manufacturer Parts list data) data.
    For this LSMW is not working fine when i need to upload more number of records. Suggest me some way to solve it out,Also provide me some code samples and process if it can be handled with BDC.
    Thanks,
    Pavan.

    you can solve it with bdc:
    e.g. a table control contains only 10 entries , you've to program the dynpro-change ( in german "Bildwechsel")
    with sth like this:
    ERG = BUZEI MOD 10 .
      IF ERG = 1.
    Dynpro darf nur alle 10 Zeilen prozessiert werden -
        PERFORM BDC_DYNPRO USING 'SAPMF10B' '0150'.             "ins
      ENDIF.
    add 1 to buzei.
    A.

  • BDC or lsmw for ABT1N Transaction

    Hi gurus,
    last day i got some problem when i do a lSMW for  ABT1n Tran.i am thankful to u if u  please help me that how can i do it.please give me a complete document for that trans and also a text file so that i properly update it.
                    if u do any BDC program for that transaction please give me that program .it's very urgent for me....
    Thanks in advance....

    Hi Steve,
    BAPI_HU_CREATE itself creates HU. You can refer the HU number genrated by this BAPI itself. I hope you are calling bapi as below:
    CALL FUNCTION 'BAPI_HU_CREATE'
                EXPORTING
                  HEADERPROPOSAL = L_WA_HU_HEAD
                IMPORTING
                  HUHEADER       = L_WA_HU_HEADER
                  HUKEY          = L_V_HU_NUMBER
                TABLES
                  ITEMSPROPOSAL  = L_I_HU_ITEM
                  RETURN         = I_HU_RETURN
                  HUITEM         = L_I_CREATE_HU.
    Here, L_V_HU_NUMBER is the HU generated.
    Thanks,
    Archana
    Edited by: Archana Pawar on Sep 29, 2010 7:47 AM

  • LSMW for MSC1N Transaction to Create Batch

    Hi,
    I want to create Multiple batches for Large number of Materials.
    Could any body Please suggest me how to write LSMW for MSC1N.
    Thanks
    Bhuvana

    the very first step of LSMW gives you the option to choose the import method.
    SAP provides 2 import methods ready for use:
    BAPI method:
    BUS1001002
    SAVEREPLICA
    BATMAS
    BATMAS03
    and IDOC method
    BATMAS
    BATMAS03

  • LSMW for sales transaction

    Dear all,
    For the migration data project , to migrate sales transaction(contract) from our legacy system to SAP in a huge amount, we use LSMW with I doc processing, we upload the data with three steps :
    1. first we upload the sold to party, 2.then we upload the ship to party,3.we upload the bill to party.
    When im upload the sold to party, the system otomatically generate ship to party and bill to party with the same number BP as sold to party, so when i upload the ship to party, my contract become have two ship to party, and its also happen when i upload the bill to party. We have use the same method 6 month ago to our system and this situation doesn't happen back then(back then the system dosen't otomatically generate ship to party and bill to party with the same number BP as sold to party). Could anyone tell me what could be the problem? Thank you.
    Regards
    Indah

    Dear Glenn,
    I'm doing LSMW in CRM, just for information i already done building relationship for sold to party, bill to party and ship to party, one sold to party may have many ship or bill to party. And the data is really huge so i can't mantain which the main partner for sold to party each time, because they could have different ship to party,do you have another solution??
    Thank you
    Regards
    Indah Puspita
    Edited by: Indah Puspita on Jan 7, 2008 8:38 AM

  • LSMW for transaction PA30.

    Hi Experts,
    I want to know the steps to create LSMW for Transaction code PA30 (recording).Please dont send me LSMW for other transactions.....I need the steps only for PA30 transaction. Points will be rewarded.

    Check this site for LSMW document..
    http://www.erpgenie.com/abap/index.htm
    Check this link for Step-by-Step Guide for using BAPI in LSMW with screen shots
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    Check these threads.
    Inbound Idoc With LSMW
    LSMW Using IDOC
    Also check this link too
    http://www.abapprogramming.blogspot.com/2007/08/difference-between-conversion-and.html
    regards.

  • LSMW for transaction code -TRS_SEC_ACC- Securities Accounts

    Hi Experts,
    I have to create a LSMW for the transaction code TRS_SEC_ACC.please help me to find out any standard method for the above to create the Securities Accounts.
    Regards
    Swaraj

    I have never worked with the transaction
    TRS_SEC_ACC
    but F4 search help in  Bapi method in LSMW gives me
    BUS5200
    CREATE
    maybe OSS Note 777320 - CMS 3.0: Data migration from CML to CMS
    can help you further

  • A small logical problem in LSMW for MM01...

    I need to create a LSMW for MM01 transaction, wherein I have to check the initial four
    digits of the material as 'ORCL'. If initial four digits of the
    incoming material are 'ORCL', then create this material as it is.
    Else replace these four digits with 'SAPM' (for sap material) while
    creating this material.
    This will  differentiate between materials coming from Oracle and non
    oracle system.
    I know that I need to create a new rule in the step 5 of LSMW: "Maintain Field Mapping and Conversion Rules", under the ABAP heading.
    But, how should the rule proceed??
    Pls help me out!!!

    awesome! thnks a lot naimesh.... you are tooo goood!
    Can you please help me again...??
    Now, I need to replace the records which are not 'ORCLXXX' with SAPXXX format. For example, say a record has the material number as ORCL007. This will pass on and created as ORCL007. If a record has the material number as MMMM007, this should be converted to SAPM007.
    Should I use fieldsymbols for this, or just replace the strings??
    This will be the last, I promise....

  • Lsmw for qp01 (inspection charactoristics).

    Hello ,
    I am trying to do lsmw for qp01 transaction (inspection charactoristics.)
    I am using Recording method to upload the data.
    I have started recording and filled
    first screen i.e header :
    MATNR C(018) Material
    WERKS C(004) plant
    STTAG DDMY(008) Key Date.
    then i have clicked enter next screen comes. which is inspection plan create tast list overview.
    here i have selected a first line and clicked 'operations' pushbutton.
    next screen operations overview opened.
    following 2 fields are for selecting line and clicking the pushbutton.
    ENTRY_ACT C(011) Entry
    FLG_SEL_01 C(001) FLG_SEL_01
    Then i have selected first line and clicked 'inspection charactoristics' pushbutton.
    next screen charactoristics overview screen is opened.
    Inspection charactoristic screen :
    VERWMERKM_03 C(008) VERWMERKM_03
    VERWMERKM C(008) VERWMERKM
    QPMK_WERKS C(004) QPMK_WERKS
    PMETHODE C(008) PMETHODE
    QMTB_WERKS C(004) QMTB_WERKS
    KURZTEXT C(040) Description
    SOLLWERT C(016) SOLLWERT
    TOLERANZOB C(016) TOLERANZOB
    My data is in .txt file.
    When i run the lsmw , when i process this session , then in inspection charactoristic screen it uploads values of master inspection charactoristics from datafile and takes automaticaly short text insp. charactoristics but system show a window to enter the Target value for quantitative charactoristics Upper specification limit and lower specification limit values for mic's .
    But i have already given these values in my .txt file.
    It is not taken from my .txt file. Again asking me to enter the values.
    Please tell me solution for this problem.

    Hi,
    For each Quantitative Char enter the quantitative data in QS23 .Then you do the LSMW recording.
    This is because you might selected control Indicators Lower and Upper specific limit.
    Regrds
    Praveen

  • Lsmw for qp01.

    Hello ,
        I am trying to do lsmw for qp01 transaction (inspection charactoristics.)
        I am using Recording method to upload the data.
      i am using these fields.
    1)  first screen i.e header :
       MATNR                          C(018)    Material
    WERKS                          C(004)  plant
    STTAG                          DDMY(008) Key Date.
    following  2 fields are for selecting line and clicking the pushbutton.
    ENTRY_ACT                      C(011)    Entry
    FLG_SEL_01                     C(001)    FLG_SEL_01
    2) Inspection charactoristic screen :
    VERWMERKM_03                   C(008)    VERWMERKM_03
    VERWMERKM                      C(008)    VERWMERKM
    QPMK_WERKS                     C(004)    QPMK_WERKS
    PMETHODE                       C(008)    PMETHODE
    QMTB_WERKS                     C(004)    QMTB_WERKS
    KURZTEXT                       C(040)    Description
    SOLLWERT                       C(016)    SOLLWERT
    TOLERANZOB                     C(016)    TOLERANZOB
        My data is in .txt file.
        When i run the lsmw ,  when i process this session , then in inspection charactoristic screen it uploads  values of master inspection charactoristics  from datafile and takes automaticaly short text insp. charactoristics   but system show a window to enter the Target value for quantitative charactoristics Upper specification limit and lower specification limit values for mic's .
        But i have already given these values in my .txt file.
       It is not taken from my .txt file. Again asking me to enter the values.
      Please  tell me  solution for this problem.

    Hi santosh,
    please check with mapping. As I have already faced this kind of problem and it was because of mapping.
    recheck and try take help from your senior ABAPers.
    cheers
    Suvi

  • LSMW for PA70 Tcode and APPRAISAL infotype in HR ABAP

    Hi Experts,
    Please help on this, how to create LSMW for PA70 transaction and appraisal Infotype in HR ABAP.
    Thanks,
    Kumar.

    Try searching BDC for table control.
    Lot of things are available you need to include that .
    For Appraisal.
    Check using below FM and try to develop a legacy data upload prog
    RHPA_APPRAISAL_DELETE - To delete the appraisal
    RHPA_APPRAISAL_ACTIVATE - To activate appraisal before modification
    RHPA_APPRAISAL_READ - To change rating and status for an employee
    RHPA_APPRAISAL_1045_MODIFY - To modify rating and change date for appraisal
    RHPA_APPRAISAL_HISTORICIZE - To change status of appraisal to completed
    Performing all actions in order should help to load appraisals.
    Thanks

  • LSMW for T-code MB1B

    Hi ABAPERS,
       I have assignment to create LSMW for MB1B Transaction code.
    In which process i should use because I have to load the data in item level and no standard program is available for this,
    Can you please guide me that in which process i should use and the steps for that..
    Thanks and Regards
    Deepa

    SAP has following standard import methods for goods movements that can be used:
    batch input:
    Objekt               0110  
    Methode              0000 
    report name         RM07MMBL
    BAPI:
    Business-Objekt      BUS2017     
    Methode              CREATEFROMDATA
    message type       MBGMCR
    Basis type             MBGMCR03
    IDOC:
    message type       MBGMCR
    Basis type             MBGMCR03
    still the opinion that no standard programm is available?

Maybe you are looking for