LSMW (recording)  for  Z - Tcode

Hi experts,
Is it possible to do LSMW(recording type)   with  Z   T-code... or not...
Thanksin advance,
Anthyodaya.

Hi,
Yes it is possible to do recording for ZTCODE,
In the first step of the LSMW when you select
the radio button - Batch Input Recording then by
giving a Zname for your recording then entering
it will again ask for the recording name and the
TCODE name there you can specify your ZTCODE name.
Hope it helps
Regards
Mansi

Similar Messages

  • Regarding LSMW Recording for Custom TCodes

    Hi Experts,
    Can we do the recording in LSMW for Custom TCodes.Actually I have created a table(fields with data elements,provided technical settings) through LSMW Batch Input Method Recording.When I specify the file in 7th step it goes to dump.Could you please help me how to do this problem?

    Yes LSMW recording can be used for Custom TCodes, that is actually the main purpose for the recording option.
    Why you get a dump can only be determined by reading the dump. Usually this info is among the first 7 pages .

  • LSMW Recording for multiple line items

    Hello Gurus,
    I just wanted to know if task list has more than one operation can be loaded thru LSMW recording ? If yes,
    COuld anyone tell me the process of recording step by step as I am new to recording and not sure what is the flow.
    I have created spreadsheet with some data to test and went into LSMW and assign the mode as recording and also had given the values in the respective tcode and save it..after that do I need to perform all the 14 steps ?
    Pls advice
    Mahee

    Hi
    Please go through the below document. It is difficult to explain you completely.
    LSMW while creating first 6 steps need to be once. Later on same LSMW can be used directly from step 7.
    The below explain is for some other tcode. but steps will remain same in LSMW for your tcode.
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc

  • LSMW Recording for CLW1 - Multiple entries

    Hi,
      I am doing a recording in LSMW for Tcode CLW1.   This I thought was relatively simple but I have an issue with the second screen after the first screen is processed.  The second screen has multiple entries for this Hierarchy level.  I am reading an excel spreadsheet that the users created for the Hierarchy level assignments.  There are multiple records for the same Hierarchy level but with different Hierarchy level assignments that need to populate the second screen.   Also, I don't know how many entries this second screen will take for the HL assignments.  I know one of the business users told me one Hierarchy level has 98 different HL assignments!  I have searched on the internet and in the forum to try and find the resolution to this problem, with no luck yet.  I am hoping someone out there has had this same issue.   I know I can add a loop to the LSMW code but I'm not sure how to handle it.   I am new to LSMW (Also ABAP only a year) and am learning but need a little guidance if possible or maybe some code examples.
                                     Thanks for you time and knowledge in advance!

    Hi,
    The same problem we have faced.  As it is having multiple entries in second level.  It is easy to do with BDC Program than LSMW.  U can use table control logic in BDC, So that You can easily upload the data.
    Rewardpoint if useful.
    Regards
    (YUGANDHAR.P)

  • LSMW recording for different numbers of materials

    Dear all,
    In the LSMW recording-trcode at VBO1- I enter material codes. But the number of  material codes are changeble. For instance for a customer I can enter 5 material codes; for another customer I can enter 12 material codes. For this reason,
    I created recording template for 15 materials.
    When I run the LSMW it gives errror. because I entered 3 material for a spesific customer. It wants other 12 material codes.
    As result;
    How can I create a template for various numbers of materials?
    For example
    customer1 I want to run LSMW for  3 materials
    customer2 I want to run LSMW for  5 materials.
    Thanks

    Hi
    I am not exactly sure of the problem, but you have 15 material columns refering to the line items possible in ALL sales orders/contracts.  Ensure that you have a ZERO in the colomns not being posted to.  The zero in Excel has to set to text I think, but check the SDN for further on that matter.  When you save as a text file, or CSV file, open it with wordpad.  You should see the 0 there, if not search SDN.
    Something else you can do is the have the field names that become you source field in the LSMW.  See Maintain source fields in the LSMW.  Use the field names that you have given there as the excel file's header line.  i.e.  line 'A'.  When you select your file to be loaded under 'specify fields', tick the box : - Field names at start of file.
    It will then only take the amounts that are there and not put the amount in the next place.  I am not sure with recording in SD, but record the item numbers from a static 10,20,30,40,50 .....ETC TO 150.  Then have source fields for all 15 line items.
    You could have another material created as a non-valuated material and so it won't post anywhere.  Add this material where necessary.
    Hope this is of help
    Kind regards
    Dawn

  • Handling lsmw recording for multiple items

    how to handle one header and multiple line items  using lsmw recording. can anyone please send the code for that for iw31 transaction.
    Regards,
    Sridhar

    Hi Sridhar,
    You have to define two structures. One as header and the other as Its subordinate in Maintain Source Structures.
    Then you can define what are all the fields at header level and what are the fields at Item level in maintain Source fields.
    Then you can map the corresponding fields to the target structure in the Maintain fixed values, translations, user-defined routines step.
    Regards,
    Ravi

  • Bdc recording for spro tcode

    Hello ALL,
    Im doing teh recording for one img activity in Spro Tcode , recording is created sucessfuly but wen i run tht recording it doesnt goes in the dropdown in the spro.
    it just shows the spro first screen thn it shows error tht "screen -
    doesnot exst" means its not goin inside tht path to perform img acitivity.
    so any one knw how to capture tht drpdwn in spro tcode.?
    Thnks,
    Sunny

    hai friend,
    ther is no nessery to record spro tcode for legacy migration, better you can try with some other tcode like mm01 and va01 etc....
    reward if helpful...
    regards,
    jai.m

  • LSMW   RECORDING FOR   ME01

    Hi Gurus,
    I am trying to do LSMW - recording method. for t-code ME01 but i am not abule to results.
    i am not abul to do proper recording for ME01. is there any way to recording t-code ME01
    Thanksing advance,
    Anthyodaya

    Hi,
    What is the error your are getting?

  • LSMW Recording for SPRO

    I would like to upload a list of Material Groups using LSMW in SPRO T-Code.
    I've tried recording but it doesn't work. Can anyone please guide me?

    hi ,
    Check out the following steps
    For validity across plan versions
    Organizational Management > Basic settings > Maintaining Number Ranges> Set Up Number Assignment for All Plan Versions
    Table : V_T77S0SC ( T-code : SM30)
    maintain
    NUMRG COMP X
    Organizational Management > Basic settings > Maintaining Number Ranges> Maintain Number range
    Table : T77IV ( T-code : SM30)
    Create new entries with $$X , where $$ indicates the plan version and X is Object type like O is the org unit .
    after this Selecting the object (Org unit, Job, Position and task) click on number range button
    This will take u to the Screen saying number range for personnel planning.
    click on change Interval button
    maintain the no ranges with the range u want keeping the current number range
    0 while creating for the first time.
    Regards
    Saurabh Goel

  • Losing OK-Code in BDC recording for CU50 tcode

    Dear Friends,
    I have recorder a BDC for tcode CU50 to get a material routing from simulation result. Recording was Okay.
    When I try to process the recording, I am losing the OK-Code when reaching SAPLCPDA screen 1200.
    Do you know how to fix this?
    Thanks a lot for any help or suggestion!
    Bye,
    Flavio

    Hi Ambujavalli,
    OK-Code seems to be given correctly. I am just posting the recorded lines.
    Process stops at SAPLCPDA 1200, no OK-Code window, and no values for PLKOD-KTEXT and PLKOD-STATU, in spite of those available in the recording.
                               T     CU50     BS AS X X F
    SAPLCUKO     0030     X
                                     BDC_CURSOR     RCUKO-RSPLN
                                     BDC_OKCODE     =GOON
                                     RCUKO-MATNR     4005242
                                     RCUKO-MENGE     1000
                                     RCUKO-DATUV     12.05.2011
                                     RCUKO-PROCESS_SALES     X
                                     RCUKO-RSBOM
                                     RCUKO-RSPLN     X
    SAPLCEI0     1000     X
                                     BDC_OKCODE     =MLRE
                                     BDC_SUBSCR     SAPLCEI0                                1107CE_INSTANCE
                                     BDC_SUBSCR     SAPLCUKO                                7032HEADER
                                     BDC_SUBSCR     SAPLCEI0                                1401CHARACTERISTICS
                                     BDC_CURSOR     RCTMS-MWERT(01)
    SAPLCUKO     2006     X
                                     BDC_OKCODE     =GROU
                                     BDC_SUBSCR     SAPLCUKO                                7032HEADER
                                     BDC_CURSOR     RCUKO-TYPNR
                                     BDC_SUBSCR     SAPLCUKO                                8002POSITION
    SAPLCPCO     1040     X
                                     BDC_CURSOR     RC271-PLNNR
                                     BDC_OKCODE     =CONT
                                     RC27M-MATNR     4005242
                                     RC27M-WERKS     3000
                                     RC271-PLNNR
                                     RC271-STTAG     11.05.2011
    SAPLCPDA     1200     X
                                     BDC_OKCODE     /00
                                     BDC_SUBSCR     SAPLCPDA                                1291HEAD
                                     BDC_SUBSCR     SAPLCPDA                                1210GENERAL
                                     PLKOD-KTEXT     TEST Routing
                                     PLKOD-WERKS     3000
                                     BDC_SUBSCR     SAPLCPDA                                1211GENERALVW
                                     BDC_CURSOR     PLKOD-STATU
                                     PLKOD-VERWE     1
                                     PLKOD-STATU     4
                                     PLKOD-LOSBS     99.999.999,000
                                     PLKOD-PLNME     KG
                                     BDC_SUBSCR     SAPLCPDA                                5210LINE
                                     BDC_SUBSCR     SAPLCPDA                                1212QM
                                     BDC_SUBSCR     SAPLCPDA                                4215CHANGE_RULE
                                     BDC_SUBSCR     SAPLCPDA                                1213ADMINISTRA
    SAPLCPDI     1400     X
                                     BDC_CURSOR     RC27X-ENTRY_ACT
                                     BDC_OKCODE     =BU
                                     RC27X-ENTRY_ACT     1
    SAPLCUKO     2006     X
                                     BDC_OKCODE     =BACK
                                     BDC_SUBSCR     SAPLCUKO                                7032HEADER
                                     BDC_CURSOR     RCUKO-TYPNR
                                     BDC_SUBSCR     SAPLCUKO                                8002POSITION
    SAPLSPO1     0100     X
                                     BDC_OKCODE     =YES
    Thanks for any help
    Bye,
    Flavio

  • MB1C LSMW Recording fails with missing Prod Date for Batch Managed Material

    An LSMW recording for transaction MB1C that was batch managed was successfully recorded.  This included the entry of the Production Date before pressing enter to post the Good Receipts.  However, when the transaction was executed, the error came back, "Enter the date of production".  In looking at the screen in the lsmw batch results, it shows the date in the production date field.
    I also tried to create the recording in the Transaction Recorder (trancode SHDB), and process the recording simulating the background mode and got the same results.
    Any ideas why it seems to be ignoring the production date?  Any help will be greatly appreciated.

    An LSMW recording for transaction MB1C that was batch managed was successfully recorded.  This included the entry of the Production Date before pressing enter to post the Good Receipts.  However, when the transaction was executed, the error came back, "Enter the date of production".  In looking at the screen in the lsmw batch results, it shows the date in the production date field.
    I also tried to create the recording in the Transaction Recorder (trancode SHDB), and process the recording simulating the background mode and got the same results.
    Any ideas why it seems to be ignoring the production date?  Any help will be greatly appreciated.

  • How to handle the pop-up Screen in LSMW - Recording

    Hi,
       I am doing the LSMW-Recording for Pricing Conditions.there are so many condition types are there.
    my problem is while uploading the data from flat file,if record alredy exists in SAP system, it will display one Pop up screen,  says "the record already exists do you want to overlap it".so that time it has to hit enter and has to overlap the existing records.
    can any one please help me..this is very urget to me.
    Points will be awarded for correct response.
    Thanks,
    Shobha

    Hi,
    Go to Maintain Field Mapping and Conversion Rules
    Insert coding at __BEGIN_OF_PROCESSING.
    Like:
    Select .....
    if sy-subrc = 0. "Record found
      skip_record.
    endif.

  • LSMW/BDC FOR MIGO

    Hello Friends,
    I have created LSMW (recording) for Migo Transaction .
    After running the LSMW it is not storing data for fields BED,SED,ECS in Excise ItemTab in Migo.
    I have also created a BDC and done recording through SHDB.
    But still the problem remains the same.After running BDC also it is not storing data for fields BED,SED,ECS in Excise ItemTab in Migo.
    I have run the BDC/LSMW in foreground mode where it places the values to the corresponding  fields
    but does not save it.
    But Manually doing Migo Transaction it stores the values for above field.

    Hi,
    WA_GOODSMVT_ITEM-MATERIAL =      P_MATNR.                    "'000000000000001556'.
        WA_GOODSMVT_ITEM-PLANT  =        P_WERK.                     " '1000'.
        WA_GOODSMVT_ITEM-STGE_LOC =      P_LGORT.                    " '0001'.
        WA_GOODSMVT_ITEM-MOVE_TYPE =     'Z42'.
        WA_GOODSMVT_ITEM-VENDOR =         P_ZZORG.                   "'0000100224'.
        WA_GOODSMVT_ITEM-ENTRY_QNT =      P_BAG.                   " '1'.
        WA_GOODSMVT_ITEM-ENTRY_UOM =     S_MARA-MEINS.
        WA_GOODSMVT_ITEM-ENTRY_UOM_ISO = S_MARA-MEINS.
        WA_GOODSMVT_ITEM-MOVE_PLANT = P_WERKS.
        APPEND WA_GOODSMVT_ITEM TO T_GOODSMVT_ITEM.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
          GOODSMVT_HEADER          = T_GOODSMVT_HEADER
          GOODSMVT_CODE            = T_GOODSMVT_CODE
    IMPORTING
        MATERIALDOCUMENT           = V_MATERIAL
    TABLES
          GOODSMVT_ITEM            = T_GOODSMVT_ITEM
    RETURN                        = T_RETURN.
               EXPORT t_return  to MEMORY ID '123'.
               EXPORT V_MATERIAL TO MEMORY ID 'MAT'.
                CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           WAIT          = ' '.
    Thanks,
    Shailaja Ainala.

  • Lsmw upload for catalog

    Deal All
    when i am going to create recording for catalog in lsmw upload then in qs 41 screen apperas but no option to record codes, please tell me why same screen does not appear in lsmw recording for qs41 as it appears in normal sap.

    When making an LSMW recording for QS41, you can view the Codes by clicking in the menu above Table View > Other View then press the check mark. It'll go to the Code Groups screen. I can send you the recording I've made for it if you want

  • LSMW Recording Help

    When we run the transaction FB01 for Customer Document DA, the whole transaction goes smooth without asking for any CO object like profit center and gets saved.  But when we do LSMW recording of the same transaction code FB01 and every information same, when we are done with entering the second line item (Posting Key 50 - G/L migration acct 111111), and amount,  a window pops up asking for a profit center. THough it is not a Cost element, why are we getting prompted to enter a profit center. THis only pops up when doing LSMW recording. Ither wise when we are running this transaction , it does not ask for a profit center. Please help. It is very urgent. we are doing the LSMW recording for migrating customer open balances.
    Thnxs
    Lakshmi

    Alex,
    The name of file for Converted data is a system generated combination of your Project subproject and object followed by lsmw.conv  as   Project_Subproject_Object.lsmw.conv
    System has set a limit of a maximum of 45 characters. It the file name exceeds 45 characters, the system will throw the error.
    Just rename the file such that it is with in the 45 charcter limit....you will be fine
    Hope this helps
    Vinodh Balakrishnan

Maybe you are looking for