How to lock LSMW Obj.

Hi ,
    How to Lock LSMW Object. Restrict other users for changing.
Thanks
vinod.

Hi!
I don't know how to lock, but if you don't want other changes, just download the project (or object) to local PC. Before using next time, upload again.
That's also good to get 'immediate' transport to other systems, you don't have to bother with transport requests when in a hurry.
Regards,
Christian

Similar Messages

  • How to lock record in a remote database ???

    Hi All!
    How to lock record in a remote table ??? Is it possible to lock by using the RPC ??? What are the options available ??
    thanks
    Sanjeeb Bose
    HCL Infosystems Ltd
    Kolkata India

    DBLinks may be one option...
    --Shirish                                                                                                                                                                                                                       

  • How to call LSMW from a Report program

    Hi,
    I have a requirment of extending vendor master data (Companycode data and Purchasing Organization data ) through Tcode XK02 using LSMW.Also I need to generate an error log file for validating the data from flat file and  must have an export option of the error log file.
    Can you help me how to proceed on this in steps.
    Also pls let me know how to call LSMW transaction through a Report.
    Based on the selection criteria I need to maintain two source structues,one for companycode data and the other for Purchasing Orgnization data for uploading  data thru LSMW.How to do this?
    pls respond ASAP,
    Thanks,
    Nagendra

    Hi,
    create 2 LSMW object (under same project and subproject)..
    one for extended vendor master data for company code data and other for  extended purchase organization data for company code data.
    Now check the radio buttons and based on that populate ur LSMW object.
    Store project
      project = < >.
    Store subproject
      subproj = < >.
    Store object
      object  = '6GSC022_TS3'.
    if r_ccode = 'X'.
    Store object
      object  = < >.
    else.
    Store object
      object  = < >.
    endif.
    Call the function module to display object (LSMW) maintenance screen
      CALL FUNCTION '/SAPDMC/LSM_OBJ_STARTER'
        EXPORTING
          project        = project
          subproj        = subproj
          object         = object
        EXCEPTIONS
          no_such_object = 1
          OTHERS         = 2.
    Generating error log:
    After the checking the field if u think for this u need to generate error message then In the Maintain Field Mapping and Conversion Rules option under the required field write the following code:
    data: v_msgtxt(100) type c.
    message  <msg ID>    <message type>   <message no>
                     with   <var1>  <var2>
                     into v_msgtxt.
    write v_msgtxt.
    Follow the next step in LSMW object till you reach the option  Convert Data.
    After you execute this option you will get the desired message here.
    Regards,
    Joy.

  • How to lock multiple user for a transcation code at same time is der any tc

    how to lock multiple user for a transcation code at same time is der any tc
    suppose i hav 15 user and i want to lock 10 user for mm02 who can i to it

    Basis can do a export and import transport, still if don't have connection between boxes.
    or
    check this
    http://www.sap-basis-abap.com/abap/copy-program-variants-from-one-to-another.htm

  • How to lock the Printer of LaserJet Pro 500 Color MFP m570dw

    how to lock the Printer of LaserJet Pro 500 Color MFP m570dw

    You can set a control panel lock security level and password for your HP LaserJet series printer. To lock your printer, follow below link:
    http://h20564.www2.hp.com/hpsc/doc/public/display?​docId=emr_na-bpl03612

  • How to use LSMW on CRM for bulk master data creation?

    Hello Experts,
    I need your help to able to use LSMW on CRM for bulk master data creation. Below is described my detailed requirement; -
    We have CRM 2007 integrated with SAP ISU (ECC6.0). As per business process all Business Master Data (BP details, Business Agreement details etc) and Technical Master Data (Connection Object, PoD etc.) is created in CRM and then it is replicated in ISU. We are going to start Assembly Test soon. Now we need to have all master data in place. Tool we want to use is LSMW.
    Now can you help me right from scratch on how to use LSMW for bulk master data creation in CRM?
    Please give me documents / links etc that is relevant.
    Regards,
    Rohit

    Hi,
    I have looked into your query.
    These are some information which might be useful to you.
    What is LSMW?
    Legacy System Migration Workbench or LSMW is SAP standard program that can be used to easily load / change master data or transactions in SAP without any programming at all. It can be used to upload data at cutover, such as: open orders, contracts, materials, vendors, stock on hand. It can also be used in a production system to make changes to existing data. Very limited authorization checks are available on the transaction, so the use of it must be very well controlled.
    One input file can be used to create all the views of the material master. For all the material types. Even if different views and fields are used for the different materials.
    Steps to take
    1. Create text file with data to be loaded
    2. Set up and run LSMW
    The following link will provide good information on LSMW Idoc method:
    [http://help.sap.com/saphelp_nw04/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm]
    I hope this helps.
    Regards,
    Venkat

  • File Lock - How to lock and unlock a file ? Can we do that for an FTP File?

    Hi All,
    I like to retrieve a file from the FTP server using Apache Commons Net libraries.
    for example if the file size is 20MB. When the file is in the progress of copying or transferring from the FTP server i need to lock the local file which is in our local directory so that no other process will use the same local file which is in the process of copying otherwise partially copied files will be used by another process.
    the file should be locked when it was in the progress of copying from the server. I have an automatic process which will access file objects at certain time and try to process the files.
    I like to know the simplest and easiest way to lock and unlock a file object locally which is trying to copy a file from the FTP server which is of huge size.
    And also i like to know how to lock and unlock a file in general?
    Thanks,
    J.Kathir

    we can set it read only only when it complete finishing the writing.
    can we able to make the file as read-only while transferring data to file.
    How to achieve it ? pls give me some sample code

  • I'm trying to loack a document with mac os x 10.6.8  They only have infor. on how to lock it with lion 7.0 on the help button.  Can I lock it with snow leopard?

    I'm trying to lock a document with mac os x 10.6.8  I only found infor. on how to lock a document with os x lion 7.0 on the help button.  Can I lock it with 10.6.8 operating system?

    Thank you.  I did what you suggested and it worked. 

  • How to lock a drive and/or folder if there is no lock icon in the get info field?, how to lock a drive and/or folder if there is no lock icon in the get info field?

    how to lock a drive and/or folder if there is no lock icon in the get info field?, how to lock a drive and/or folder if there is no lock icon in the get info field?

    You can create an encrypted disk image.
    http://www.macworld.com/article/1154559/password_protect_folders.html

  • How to make like Encarta encyclopedia and basic screen settings and how to lock the documents in the entire data.

    dear guys how can i make like a off line Encarta encyclopedia and basic screen settings and how to lock the documents in the entire data in visual studio.                 
       thank you. 
                                                              Million
    Getu

    Dave,
    I will +1 Pixelan's products. They are great, simple, and have about the best support that I know of. When you explore, say Pixelan's SpiceMaster, dig deeply. Things appear rather mundane, on the surface, but there is so very much power lurking, just below the surface. I could almost imagine a 1000 page manual to cover every possible aspect of that program... Every time that I use it, I learn something new, and wonderful.
    Good luck,
    Hunt

  • How to lock Profit Center in SAP B1 8.8 PL10

    Hi All,
                I am Using Profit cneter feature as Location for one of my client. Totally there are 12 locations( Profit centers). Now I got a situation where I need to lock few Locations (Profit Centers). Bcoz they are non Operative as of now.
                Somebody please let me know how to lock profit center in SAP B1 8.8 PL 10.
    Thank you,
    Dasari.

    Try this for A/R Invoice:
    if @object_type = N'13' and @transaction_type in (N'A', N'U')
    BEGIN
    If exists (Select T0.DocEntry From INV1 T0
    Where T0.DocEntry=@list_of_cols_val_tab_del and T0.Project
    in ('P1', 'P2'))
    Begin
          Set @error = 13
          Set @error_message = 'Project Code inactive!'
    End
    END

  • Does anyone know how to lock a specific application, such as e-mail in Ipad?

    I have my company email in my Ipad and I want to lock it in order to prevent whoever uses my Ipad to login to my email. Does anyone know how to lock a specific application or it cannot be locked?

    There is a somewhat clunky way to do it. First, go into your mail (Settings - Mail/Contacts/Calendars) and turn off (dont' disable) any accounts you don't want to be seen. Then go into Restrictions - Accounts and select "Don't Allow Changes." This will prevent anyone from turning the mail back on. When you're ready to turn it back on, go into Restrictions and either Disable Restrictions or go into Accounts and select Allow Changes.

  • How to use LSMW using the IDOC to upload and maintain cost center group

    Hi Everyone,
    Is there anyone who knows how to use LSMW using the IDOC functions instead of the recording. I wanted to upload the alternative cost center group I created in the system. 
    reply would be greatly appreciated
    Warm Regards

    Hi Praveen,
    There is a risk trying to migrate data directly into standard tables because this can generate database inconsistences or wrong inserted data according to what is customized in the target system. I do not recommend migrate like this. 
    With LSMW you use objects like direct input programs, idocs, bapis and recorded batch input. Try to create a project and use an standard object for your data. Also, check in SXDA transaction (Goto-->DX programs) if there is a standard program for your data.
    Anyway, if you want to upload data directly to tables, read below thread:
    ["UPLOAD  CSV  FILE";
    [how to upload .csv file into a custom table;
    Regards,
    Roger

  • How to Lock a data base table for write access.

    Hi All,
    I have a requirement where in I have to insert a bunch of data into a standard table using some function module. I want to lock the table for the others to insert/modity the records during my insertion. Please help me provide the procedure how to lock a table for write access for others.
    thanks and regards,
    Naresh

    Hi,
    See to this link it may help you.
    http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm

  • How to lock a function while it is in processing?

    i am using threads to write my game server side. anyone have any idea on how to lock a function while it is in process? then it wl continue after a process. appreciate very much

       public void run() {
            try {
                char charBuffer[] = new char[1];
                // --- while we have an incoming stream
                while(in.read(charBuffer,0,1) != -1) {
                    // --- create a string buffer to hold the incoming stream
                    StringBuffer stringBuffer = new StringBuffer(8192);
                    // --- while the stream hasn't ended
                    while(charBuffer[0] != '\0') {
                        // --- add the character to our buffer
                        stringBuffer.append(charBuffer[0]);
                        in.read(charBuffer, 0 ,1);
                    if(stringBuffer.toString().equals("IP")){
                        getMachineId(this.getIP());
                       } else{
                        // --- analysis the XML
                        parseReceivedXML(stringBuffer.toString());
            } catch(IOException ioe) {
                server.writeActivity("Client IP: " + ip + " caused a read error "
                        + ioe + " : " + ioe.getMessage() + "and has been disconnected.");
            } finally {
                killClient();
        }above is my run() code. i want to lock the function parseReceivedXML() and release it to the waiting thread after a thread finish process. i want the threads queue up to run in this function. please help

Maybe you are looking for

  • When I attempt to sync my nano I get an error message: "The ipod cannot be synced. The required file cannot be found."

    When I attempt to sync my nano I get an error message: "The ipod cannot be synced. The required file cannot be found."

  • How to install Windows 7?

    After having problems with Parallels I am giving Boot Camp a try. However, the assistant only mentions Windows Vista and XP. So which instructions should I follow? Or are there some updated ones for Windows 7. Also, could you give me any suggestions

  • Using a .JSP file for the webservice

    Hello, I am using a .JSP file to view my webservice, just like in this tutorial: http://otn.oracle.com/tech/webservices/htdocs/series/news/content.html But when I try to run my JSP file i get this error: 500 Internal Server Error OracleJSP: JSP Error

  • How to disable a particular record in a block???help

    Hi i am form in which there is a db block.the block shows 12 records at a time...also the block has 12 db items but only 8 are on the canvas..4 four of these eight items are display items My requiremnt is that if the value in..say..item_5 is 17 at an

  • Update rules mapping

    Hi Friends, I have ZSTCSDF coming from transfer structure now I need to map this field with InfoCube field ZCUSTOMER. ZSTCSDF is using ZCUSTOMER as a reference characteristic. If it is an attribute then I can map that in update rules but it is refere