LSMW Recording source program editing

Hi All,
Can we edit LSMW recording source program so that i can implement  program logic? if so how can we do that.
Thanx,
GUNA

Hi Guna,
U can edit source program (but remember whenever u r executing the program its get changed), so my sincere request is dont go for that.
and if u want to write any logic best method is go for Mapping step(5th step)
in that there is Display variant icon , press that
u find pop-up screen in that check bottom three boxes and enter,
afterwards u find functions where u can write logic there what ever u want as per the requirement.
Reward for useful answers.
Thanks
Naveen khan

Similar Messages

  • XK99 lsmw or BDC program to copy vendors doesn´t update db records

    Hello people
    I am facing a requirement to copy a list of existing vendors into about 10 new company codes. Vendors all exist in the "main" company code, so I figured it would be a good idea to use the XK99 transaction as a basis for a mass upload via lsmw or bdc program.
    So
    So I performed a recording and applied my logic in lsmw, ran the batch input folder in SM35, seemingly without errors. But to my srprise I saw that no database records had been created in the LFB1 table.
    So I tried to incorporate the recording into a bdc program that uses call transaction, but the same thing happens. The batch input seems to be running OK, but no changes are actually made to db....
    So I was wondering what could I be doing wrong? I notice one strange thing though. After carrying out the selections in XK99 manually, one needs to mark columns to be transfered and then push the ´Perform mass update´ button and THEN click save. However, when in recording mode, one may click save directly, and no error is given and the recording ends.
    However, the select columns operation, if I try to do it during recording, doesnt seem to get captured....
    Any ideas of what I might be doing wrong here?
    Regards, Jorgen
    T    XK99                                 
    SAPMMSDL    0200    X                                                                                                                                                                                                                                                                               
                                                              BDC_OKCODE    =NEXT
                                                             BDC_SUBSCR    SAPMMSDL                                1000SUBTAB
                                                             BDC_CURSOR    MASSTABS-TABTXT(02)
                                                              MASSTABS-MARK(02)    X
    SAPLMASS_SEL_DIALOG    0100    X                                                                                                                                                                                                                                                                               
                                                              BDC_OKCODE    =NEW
                                                             BDC_SUBSCR    SAPLMASS_SEL_DIALOG                     0200SUB_ALL
                                                             BDC_SUBSCR    SAPLMASSFREESELECTIONS                  1000SUB_SEL
                                                              BDC_CURSOR    MASSFREESEL-LOW(01)
                                                             MASSFREESEL-LOW(01)    300011
    SAPLMASS_SEL_DIALOG    0100    X                                                                                                                                                                                                                                                                               
                                                              BDC_OKCODE    /00
                                                             BDC_SUBSCR    SAPLMASS_SEL_DIALOG                     0400SUB_ALL
                                                             BDC_SUBSCR    SAPLMASSFREESELECTIONS                  1000SUB_SEL
                                                              MASSFREESEL-LOW(01)    300011
                                                             MASSFREESEL-LOW(02)    7010
                                                             BDC_SUBSCR    SAPLMASSFREESELECTIONS                  2000SUB_PARA
                                                              BDC_CURSOR    MASSFREESEL_P-LOW(02)
                                                             MASSFREESEL_P-LOW(01)    300011
                                                             MASSFREESEL_P-LOW(02)    7000
    SAPLMASS_SEL_DIALOG    0100    X                                                                                                                                                                                                                                                                               
                                                              BDC_OKCODE    =CRET
                                                             BDC_SUBSCR    SAPLMASS_SEL_DIALOG                     0400SUB_ALL
                                                             BDC_SUBSCR    SAPLMASSFREESELECTIONS                  1000SUB_SEL
                                                              BDC_CURSOR    MASSFREESEL-LOW(01)
                                                             BDC_SUBSCR    SAPLMASSFREESELECTIONS                  2000SUB_PARA
    SAPLMASSINTERFACE    0200    X                                                                                                                                                                                                                                                                               
                                                              BDC_OKCODE    =SAVE
                                                             BDC_SUBSCR    SAPLMASSINTERFACE                       0202FIELDS
                                                             BDC_SUBSCR    SAPLMASSINTERFACE                       0210SUB_HEAD
                                                              BDC_CURSOR    HEADER_STRUC-FIELD2-VALUE-LEFT(01)
                                                             BDC_SUBSCR    SAPLMASSINTERFACE                       0212SUB_DATA

    Hello,
    first of all Transaction XK99 is more helpful in case of vendor change, not really creation.
    It was also intended to cover mass maintenance so it is used instead of LSMW or any other BDC custom program.
    I would say that you can go either with LSMW or CALL TRANSACTION custom program, but you should base your recording on XK/FK01 transactions.
    Regards,
    Grzegorz

  • LSMW Recording method is not working for transaction code FBL5N

    Hi Experts,
    I am trying to prepare LSMW to create dispute cases for customer line items through LSMW Recording method. When i was trying to do through SHDB Recording its working properly through Program. But its not working through LSMW Recording method means its not executing to next screen, immediately its displaying session completed screen.
    Please do let me know any soution for this.
    thanks,
    Sriram.

    Hi Sriram,
    If my memory serves me correctly, a BDC will not work correctly with a list. This is mentioned somewhere in the SAP help pages.
    Now I am not familiar on how to create dispute cases but using FBL5N does not sound to me the way to go.  I assume that you use FBL5N in order to determine to which documents to link the dispute to, however you should be able to get the requested info from the BSID/BSAD tables.
    Also in case you want to change the customer line item in the accounting document, check the data transfer workbench (SXDA) as SAP delivers a standard program for this.
    Kind regards,
    Robert
    Edited by: RJ. Schamhart on Jan 14, 2011 12:35 AM
    Edited by: RJ. Schamhart on Jan 14, 2011 12:43 AM

  • LSMW Recording...???

    Hi Experts,h
    I am doing migration with the LSMW recording process.  In the first step, I selected a recording method and entered the transaction code.  I selected the default all so that all the fields can be included.  I can see so many fields with same description.  When I go to field mapping step, I can only see two field and not all the field are included.  My source structure has so many fields upto 40 fields and I have a doubt that how I do the mapping with the source fields with that of target fields.
    Also, is it possible that you can give me information about the following fields, as to what they refer to..
    BDC_OKCODE:
    BDC_SUBSCR:
    BDC_CURSOR:
    BUS_LOCA_SRCH01_SEARCH TYPE:1
    BUS_LOCA_SRCH01_SEARCH_ID:4
    BDC_SUBSCR:
    I will really appreciate your answers..
    Thanks,
    Ken C.

    Hi Srinivas,
    I am working with SAP CRM and I am using Transaction BP.  I dont know whether this Tcode is general one or its specific to the client for whom I am working. I was working in ABAP but I am doing some conversion programs for SAP CRM using LSMW.  With the LSMW standard programs like BAtch input and Direct Input, I dont see the programs for Customer Master and Vendor Masters.  I spoke to my client and they even have a big doubt. 
    I have so many fields in the source structure and they told me to us Tcode BP and when I do a recording I can only see two field in the field mapping step.  So now the question is how do I map the field????
    Also, give me the description of the fields.
    Waiting for your reply.
    Regards,
       -Ken C

  • How do I get my old Surround Mixer recording sources back?

    I recently had my computer repaired where I basically had a complete overhaul. In the process they installed a second soundcard (the one that went with the new motherboard) alongside my original Creative Sound Blaster Audigy card (Sound Blaster Audigy Platinum eX). Before, when I would record audio into my computer, I opened the Surround Mixer software and in the record pulldown menu it showed all of the inputs as they relate to my Audigy interface (SPDIF, Aux In 2, Line In 2, etc.). Now when I open the Surround Mixer software, I only get generic options such as Analog Mix, CD Digital, Microphone, etc. and therefore I can't get any outside audio into my computer.
    I figured the computer?was defaulting to the?new sound card so I disabled the onboard audio in my BIOS and then installed the Creative Sound Blaster Series 2 Driver. I clicked on the driver and it said that it needed to uninstall another driver that was already there. The install went a little funny and it got hung up a couple of times. Then, I couldn't get Surround Mixer to work at all so I went to the Creative website and installed Software Auto Update. I downloaded and installed all the critical components?but that also went a little funny. It took about three tries and it didn't seem like it actually finished installing, but when I checked on Auto Update again, it said that I was up to date and that everything had installed. I noticed at the beginning that it installed a new version of Surround Mixer but when I opened it later, it still had those same generic options, not the the ones that match my external interface.
    What do I need to do to get my original settings back?
    Message Edited by audiodrome on 04-30-2009 06:46 PMMessage Edited by audiodrome on 04-30-2009 07:32 [email protected]

    >Re: How do I get my old Surround Mixer recording sources back?p audiodrome,
    Is the external Audigy Dri've properly connected? Does the Plat Ex have the rear jacks? If so, can you record from the rear LineIn or mic jack and play sound files through headphones or speakers? What happens when you run the Creative Diagnostic? What does Device Manager show? Otherwise, yes, uninstall and reinstall the Creative software. If your install CD has a repair option, try that first. However, you may find you need to remove the Audigy from your PC, reboot without it, and then reinstall everything. Some Soundblaster cards don't play well with some integrated soundcards, so you may also want to disable the integrated soundcard in BIOS.
    Message Edited by Katman on 05-04-2009 :00 AM

  • LSMW or ABAP Program:- I need BAPI function module or Direct input program

    hi experts,
    I have to develop the program which uploads the transportation pricing data for freight cost management.
    the transcation code is XK15 for the application A.
    There is a program called RV14BTCI which will uploads for the application V or M not for A.
    So i can use lsmw or direct input program in both lsmw and abap program so plz help me if there is any BAPI function module or Direct input program for Application A.
    thank you,
    waiting for u r reply.
    Edited by: SANTOSH MARUPALLY on Jan 22, 2008 6:27 AM

    Hi Santosh
    Am not really sure if RV14BTCI can not be used for other applications apart from V and M.
    You can try using BAPI: BAPI_PRICES_CONDITIONS. Over the forum you can find few example coding.
    Regards
    Eswar

  • 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

  • Select Recording Source issue on Audigy 2

    I unistalled and installed the program and can't get it to work. I have the Audigy 2 ZS plat. with the software and all. Problem I have when I open up the Organizer MediaSource Player everything works but the "select recording source" button or selection doesn't work. It's kind of blanked out as if I don't have that option at all. But when I go to the mixer I can here the line inputs but I can't record from it b/c I can't select it. If anyone has this issues let me know or how to solve it. I have windows XP and also my Audio Stream recorder doesn't work either.

    Ok I got it to work. This is the reply I got from Creative but I didn't remove the program from the add/remove option on the PC b/c that didn't work at first. I inserted the installation CD and remove it from that wizard. Rebooted and the PC found new hardware. I then installed the driver and software from the CD and now it works.
    For Mediasource. It appears something was corrupted in Mediasource or there is a conflict within the system.Please uninstall all software and drivers for the soundcard, from add/remove programs. Once this is done, shut down the system and changePCI slots for the soundcard, then turn the system back on, cancel the found new hardware wizard, disable all background applications (especially virus scanner, firewall, and any other background applications running in the bottom right hand corner of the system), andthen perform a full reinstallation of the drivers and software from the soundcard installation cd.
    CAT I hope you fix your sound card. Good luck.

  • Microphone input recording source while using Steam/Ventr

    I own the Sound Blaster Audigy 2 Zs. I also use a voice program called Ventrilo while
    playing CounterStrike/Steam. My problem occurs when I play counterstrike. I go into the
    surround mixer and choose Line-In 2 as my recording source as that is where I have my
    microphone plugged into. It works fine normally, but when I open up Counterstrike/Steam
    the surround mixer changes my recording source to the microphone, instead of Line-In 2.
    It also does it every time I restart my computer. I would like my recording sourece to
    always be Line-In 2 but for some reason it doesn't like to be that. Is there some file I
    have to change so that it will always remain as the Line-In 2 or something else I have to
    do? Any help will be much appreciated.

    dr_bay2,
    This was down to the game and it's setting. You can try the solution from Steam website and see if it hel
    ps.
    Jason

  • LSMW- Recording : Multiple Line Items

    I am trying to create an LSMW recording that simulates transaction O3I7.
    The thing is that we have different line items. This is similar to a sales order where we have header details and items details.
    I created a recording. Then I created two structures. One header Structure and one Item structure. I define the specific header fields under the header structure and the item fields under the item structure.
    However LSMW gives me an error. Because in LSMW each recording is considered as one target structure. I can't have more source structures than Target structures. Since I have One recording LSMW gives me an error.
    I tried to create two recordings but this does not work since LSMW will read each one as a different transaction.
    Does anyone know how to create LSMW recording with multiple line items so he/she can help?
    Thx

    Hi,
    Not sure about the transaction that you have mentioned. However, in LSMW recording, you can load the items along with the header in 2 steps using 2 data files.
    Step1: Create the header along with the first line item. Here you use a file which contains the header data along with the first line item data.
    Step2. Add subsequent line items to the header. In this case you need to enter the transaction in change mode. The data file may contain items data only. Please be sure to have an identifier at header level to add the items in that specific document.
    Hope this helps.
    Best Regards, Murugesh

  • 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

  • How to upload data for me01 using lsmw recording method

    *dear expert please tell me the complete procedure for how to upload data in me01 transaction using lsmw recording method.
    Moderator Message: Duplicate post locked.
    Edited by: Vinod Kumar on May 8, 2011 7:56 PM

    Hi,
    To be honest I don't understand your question. When You execute LSMW and create project, then all steps are shown in a very clear way with good description. With which one you have problems?
    Best regards
    Marcin Cholewczuk

  • How to handle table control in lsmw recording method

    hi expert please tell me the procedure for how to handle table control in lsmw recording method
    Locked for same reason as how to upload data for me01 using LSMW BDC METHOD
    Edited by: Matt on May 9, 2011 8:52 AM

    Sri,
    just search in SDN search box by giving table control in lsmw you will get hell lot of threads for same.
    Amit.

  • Lsmw recording does not read Scroll down

    Hi expers.
    This is not MM RElated question but there are more experts here..You may help us
    WE have mass data to introduce by VK11.WE want to use LSMW recording.
    But the problem;
    We input condition type,then we have to select key combination.But we have to scroll down to click key combination.And lsmw does not read sroll down and select the first key combination instead of ours.
    İs the any solution to solve tihis problem..
    Thanks in advance..

    Your BDC in lsmw will look something like this...
                                                  T   VK11     BS AA X   F
    SAPMV13A     0100     X                                                                               
    BDC_CURSOR      RV13A-KSCHL
                                                      BDC_OKCODE      =ANTA
                                                      RV13A-KSCHL      ZCON
    SAPLV14A     0100        X                                                                               
    BDC_CURSOR           RV130-SELKZ(03)
                                                      BDC_OKCODE       =WEIT
                                                      RV130-SELKZ(01)
                                                      RV130-SELKZ(03)      X          <<<<Change this number to the row number of the key combination
    You see the 03, it will put the radio button at row 3, if yours is 9, make it 09 and see.
    Edited by: Jeevan Sagar on Feb 3, 2012 6:01 PM

  • How to copy LSMW Recording to SHDB

    Hi
    I created some complex Recording in LSMW , now i need to use this recording in SHDB (to make an ABAP program for use BDC) ; but this LSMW recording does not appears in SHDB.
    Does somebody knows how can i copy to SHDB some recording created in LSMW ?
    Any help will be appretiated.
    Regards
    Frank

    Hi Frank,
    The only solution I see is to download LSMW project, only the recording, open it and work out the file in Excel to format the columns as to the upload file format in SHDB.
    Regards,
    Edgar

Maybe you are looking for

  • CDATA error.  Is it me or Sun?

    I have a sample xml below and Sun's java source code. When use jdk1.3.1 or 1.4 and jaxp as the parser, I got error when turn on validation. Also, the CDATA section does not show properly when turn of validation (only show: Diagram:). Why "Text" still

  • Photoshop CS4 Pen Tool Visibility Problem

    I recently upgraded to CS4 and started using Photoshop to do some work. Working on some clipping path with the pen tool I've come to notice how incredibly light the pen tool outline is. I cant see where or what im tracing cause I can't tell where the

  • HT201318 cannot delete icloud backup

    So I wanted to get rid of the ridiculous size of the a 5GB backup on my iPhone because I didn't want to take 5 hours to restore my new iPhone.  No matter where I go into it from, I cannot delete the photos or even the entire backup because it says it

  • Picture problem with developer 6i

    Hi all I am using BLOB data type for storing a picture in oralce 9i database server. I have image type item on my forms (Developer 6i). I am using following code to add picture to my image item. READ_IMAGE_FILE('mypicture.bmp','bmp','CAMPUS_PICTURE.P

  • OLE2 error.

    hi all i want to import data from excel to form but it is showing me error frm-40735.please anyone can check my code? i have 18 rows and 14 cols its in tabular form. here is the code please check it where is the error? PROCEDURE XLS IS BEGIN DECLARE