Replicating the LSMW

Hi,
We have different servers DEV and DEV1. i have written a LSMW in DEV. Now i want to replicate the same to DEV1. Can we do that?  if yes, how to do that
Regards
Shekhar

Hi Shekar,
You can export / import a LSMW project from the menu 'Extras' / 'Export Project and 'Import Projects'.
I have added LSMW documentation as under -
Export Project
In the initial screen, select Extras / Export project. This first displays the structure tree of the selected project. Via Select / Deselect you can select whether the entire project or parts of the project are exported. Then select Export. The program then creates an ASCII file.
Export Project: Project Table of Contents
  Note: The selected elements are exported together with their documentation.
Import Project
The exported mapping and rules can be imported into another R/3 system.
On the selection screen, select Extras -> Import. The program then prompts you to enter the name of the PC file. The file is imported and the contents are analyzed. After the analysis, a list of the subprojects and objects found is displayed.
You can now mark the objects to be imported. Project data existing already are check-marked. They are overwritten by the import.
You can prevent a project already existing in the target system from being overwritten by using function "Import under different name".
Note: The selected elements are imported together with their documentation
HTH.
Cheers,
Ashok.

Similar Messages

  • Use of global variables like g_cnt_transactions_transferred in the LSMW

    Hi SapAll.
    when i had a look at the some of the LSMW's whic use IDOC as the object of uploading data into SAP from external Files i have found in the coding under the step "Maintain Field Mapping and Conversion Rules" that they use some of the global variables like below
    .if p_trfcpt = yes or sy-saprl >= '46A'.
      EDI_DC40-DOCNUM = g_cnt_transactions_transferred + 1.
    endif.
    .EDI_DC40-CIMTYP = g_cimtyp.
    .EDI_DC40-MESTYP = g_mestyp.
    .EDI_DC40-MESCOD = g_mescod.
    .if p_filept = yes.
      EDI_DC40-SNDPOR = g_fileport.
    elseif p_trfcpt = yes.
      EDI_DC40-SNDPOR = g_trfcport.
    endif.
    my doubt is where i can find these variables 'g_cnt_transactions_transferred ','g_cimtyp','g_mescod','g_fileport','g_trfcport' in the LSMW and what is the use of the variable  'g_cnt_transactions_transferred ' in the LSMW.
    I have treid to find out the above listed variables looking in step 'Maintain Field Mapping and Conversion Rules' under global variabels list and the other lists also but i couldnt found.
    can any one help me in this ?
    regards.
    Seetha.

    Hi Seetha,
               In the LSMW Workbench go to the option user menu.  And check the option display conversion program.
    Now when you execute with the radio button on dislplay conversion program, you ll see the code that got generated in the background while you built your LSMW.
    The global variables that you have mentioned are bound to be there in this program generated in the background..
    You can put a break point here and see for yourself what the value of these global variables are at runtime.
    File port, TRFC port , no. of transactions executed by one run of the LMSW Idoc program , message type are some of the fields that you have asked for .
    Regards,
    Arun

  • Error while Replicating the Data Source in Quality System....

    Dear Expert,
       I have created a generic data source in R/3 Dev system and I replicated the data source to BW DEV system.  Everything is fine in DEV system.
    I have transported the Data Source to R/3 Quality System. And transported the related  objects in BW DEV system to BW QUALITY system.
    Now I am getting the error as follows :
    BW QUA System --> RSA1 --> Source System --> Data source Overview --> Sales & Distribution --> _REPLICATE_
    *DATASOURCE*.( clicked )
    Its moving to another screen (R/3 QUALITY) , but it is coming as a LOGIN screen. Its askong for the USER name and Password. And when I click on BACK button , its givin following pop-up
    RFC connection to source system LOGSYS is damaged  ==> no Metadata upload
    What could be the issue ?? Please suggest.
    Thanks,
    Sanjana

    Hi saveen,
    Yes I transported in that manner.
    I checked in Source System ( RSA13):
    Its giveng the pop-up  ,
                                    RFC connection check failed. Check connection
    Please suggest, how can I proceed ?
    Thanks,
    Sanjana

  • Error in the LSMW for vendor master using standard batch/direct input

    I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
    Batch Input Interface for Vendors
    FB012                    Session 1 : Special character for 'empty field' is /
    FB007                    Session 1 session name VNDR_CREATE_ was opened
    FB104                    Trans. 2 XK01 : Acct already exists; general area not being processed
    FB125                    ... Data in table BLFA1 cannot be processed
    FB016                    ... Last header record ...
    FB014                    ... BLF00-STYPE 1
    FB014                    ... BLF00-TCODE XK01
    FB014                    ... BLF00-LIFNR 300951
    FB014                    ... BLF00-BUKRS 402
    FB014                    ... BLF00-EKORG /
    FB014                    ... BLF00-KTOKK VEND
    FB017                    ... Last data record ...
    FB014                    ... BLFA1-STYPE 2
    FB014                    ... BLFA1-TBNAM BLFA1
    FB014                    ... BLFA1-ANRED /
    FB014                    ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
    This is because when we use XK01 to create the vendor by using the

    Please check this answered link:
    Re: LSMW for Vendor Master
    LSMW Upload vendor master data
    Edited by: Afshad Irani on May 5, 2010 12:42 PM

  • Replicating the app functionality from OIM 10g to OIM 11gR2

    Hi,
    I have a resource object with an object form and a process form and approval, provisioning configured in OIM 10g design console. Provisioning is manual provisioning assigned to a particular group based on a task assignment adapter. For replicating the same in OIM 11gR2 i followed the following steps.
    1. Created a Resource object in Design console.
    2. Created a dummy IT Resource ( Since while creating app instance it is having IT Resource as Mandatory field. * Is there any way to skip this as i do not have any IT resource in my original app as it is going for manual provisioning?)*
    3. Created a process form in Design Console with the same fields as present in my 10g app process form.
    4. Now i need to Create an app instance and select the created resource object and IT resoource. Also i need to create a form associated with the app instance in which i will add the fields as present in the object form in my 10g app. ( Here i am not understanding how data will flow from object form to process form since there is no data flow mapping here)
    5. Other steps like creating the SOA composite with human tasks and deploying it and after that creating approval policies is pretty much clear.
    Please clarify whether the steps are correct and also the queries which i have posted in between. Thanks in advance.
    Regards,
    Durgaprasad
    Edited by: Durgaprasad on Jan 17, 2013 3:38 AM

    Thanks Gyanprakash. Wll disconnected resource trigger our custom approval process if we select the resource name properly in scope in operational level approval policy. Have you tried a disconnected resource with your custom approval process. Because i read the following lines in admin guide
    Oracle Identity Manager supports provisioning of disconnected resources by using the SOA worklist for manual provisioning of disconnected resources. After the role-based provisioning decision or SOA request approval is complete and the corresponding application instance is determined to be a disconnected application instance, a new SOA workflow is started. This new SOA workflow is assigned to the manual provisioning administrator.
    So i thought disconnected app instance will have its own approval process configured during the creation and it will route accordingly. So just wanted to clarify how to make disconnected app instance to trigger our approval. will approval policay take care of it as i am going to select the name of the disconnected app in the scope field.

  • Global variable in the LSMW

    Hi
    I declared variable in the __GLOBAL_DATA__ declaration part of Maintain Field Mapping and Conversion Rules step.
    But LSMW system understands it as fixed value.
    How to declare real variable and use it globally?

    Global Data means global within the LSMW-Object
    data: gv_date type sydatum.
    you can use GV_DATE in all forms of that one LSMW-object

  • Hi, I've just started as a fresher in sap fico and I'm upto the LSMW part and I'm wondering why I keep getting an error in Run batch step when I do everything else correct could you help?  Please help I'm really trying to learn it as fast as possible

    Please help I'm really trying to learn it as fast as possible?  I've posted the file with all my screen shots going through the enitre process of me creating the LSMW file.

    First, I will try to address the iPod issue: If youve tried EVERYTHING on the website, your only other option is probably to contact Apple, I recommend by phone, and informing them of the problem. You are covered by warranty and therefore they are liable to assist you. Try that and come back with a status update
    Now I will address your attitude about it:Its absolutely understandable to be upset over something like this, especially with such an expensive product, but you are generalizing far to much. You may think Apple is being unproffesional by not warning potential buyers of the iPods common faults, but do you really think they would? they are out to sell these things, they arent going to point out the bad in their product. And not all iPods have problems, in fact only a fraction do. That gopes for the rest o Apples products as well. You are too hasty assuming all Apple products are junk, and one of many reasons as to why that is unfair of you is becuase you dont own any other Apple products.

  • Strange result of IDoc processing in the LSMW

    Hi
    I am using MATMAS_MASS_BAPI IDoc in the LSMW to transfer material master data into client's SAP system. After IDoc processing I got green message with text that application document was successfully processed (IDoc
    status = 53). But I can't view created materials using MM03 transaction. Then, records number in the MARA table before and after launching of LSMW is equal.  What may be a reason of this situation? How to solve this problem?
    Edited by: Marat on Nov 4, 2008 5:24 PM

    Hi there
    take a look at the Idoc overview, there should be a t100 message in there if there is a data issue with the idoc BAPI load. However this could be something inconclusive such as 'Inconsistent characteristics' or suchlike. In which case you'll have to check the data and that it matches the requirement for the object

  • Error in replicating the SAP BI 4.x Environment

    Hi All,
    I am following the below blog to replicate content of prod in Sandbox.
    Replicating the SAP BI 4.x Environment
    However while Creating a new SIA node   i am encountering errors as  the new SIA node getting added with out any default servers.
    I was able to achieve the above in a different environment where there were no clusters.But in the current scenario i have my prod which has a  cluster environment with windows AD auth where as  sandbox is installed in a single system with enterprise Auth.I have attached the error logs which i got while adding the new node with default servers in CCM.
    ENV:
    SAP BI 4.0 sp5
    Sql server 2008 R2
    Windows
    Thanks in advance for all your help and guidance
    Regards
    Kishore.
    Replicating the SAP BI 4.x Environment

    Hi Asma/Satish,
    I have added a new node with cms and SIA port 7400 and 7410.But same issue occured.
    While trying to add a node to  use "Start a Temporary New CMS" and select "recreate node" the error says port 6400 already in Use.
    This is how the Manage server looks after i added a node with node with cms and SIA port as  7400 and 7410
    from the log files what i understood is that it is not able to add the default services and writes the below error
    OutOfBoxAdaptiveProcessingServer.
    FAILED: could not find server with cuid AfRmWmX2jhJOnbtEuIXTmF4. Query returned 0 infoobject(s)
    and
    utOfBoxCentralManagementServer.
    FAILED: could not find server with cuid AS3zRDnsuv9KonM9nLcyROg. Query returned 0 infoobject(s).
    Generating DFO files for OutOfBoxOutputFileRepositoryServer...
    Regards
    Kishore

  • Replicating the PersistenceMgrSO

    In our Forte application, so far, we had single instance of PersitenceMgrSO.
    Now we have replicated (replication count is 3) it for load balancing.
    W.r.t. the replication, I have a question here.
    When we make a call to PersitenceMgrSO, it will go to any one of these
    PersitenceMgrSO's (selected by the router). And from within that instance of
    PersitenceMgrSO, if we make another call to PersitenceMgrSO, we are not sure
    whether the call will get processed in the same service object or will go to
    the router for another instance of the same PersitenceMgrSO. In our
    application, almost all entity handlers make the call to PersitenceMgrSO for
    business rules and other data validation.
    Please clarify as to what will happen in this situation, as it very much
    crucial for our Beta release.
    (also, I noticed that two active partitions of the router for this load
    balanced partition, are running, though we have not replicated it. Isn't it
    strange? Can we replicate router partitions , and if can, how these router
    partitions will coordinate among themselves in directing the messages to SO's
    thanks
    Thiru.
    Get free email and a permanent address at http://www.netaddress.com/?N=1

    We never call an SO from within an SO. Instead we do the following :
    MySO is mapped to MySOclass.
    MySOclass is a facade which has an attribute for every Policy Manager
    related to this SO.
    Each Policy manager is instanciated in MySOclass.
    Each Policy manager has an attribute called Parent.
    Parent is defined by MySOclass to be self.
    If two Policy managers need to work together we invoke methods via the
    parent attribute :
    Example
    I have a partition for Enrolments.
    It has three Policy Managers within it
    a Students Policy Manager (with a Add, Delete, Get methods)
    a Courses Policy Manager (with a Add, Delete, Get methods).
    an Enrolments Policy Manager (with a Add, Delete, Get methods).
    To enable this partition we have defined :
    EnrolmentsSO (environment visible, message duration) with the EnrolmentsMgr
    class as its related class.
    The EnrolmentsMgr class has the following methods and attributes :
    Methods :
    AddStudent
    AddCourse
    AddEnrolment
    GetStudent
    GetCourse
    GetEnrolment
    DeleteStudent
    DeleteCourse
    DeleteEnrolment
    All of these methods do a one line return statement, simply passing the
    method invocation to
    the appropriate Policy Manager. For example AddStudent would say
    Return theStudentPM.AddStudent(pInStudentParams : pInStudentParams)
    : pOutStudentParams
    In the Init method for the EnrolmentsMgr we instanciate the following
    attributes :
    theStudentPM (which is typed to the StudentPM class)
    theCoursePM (which is typed to the CoursePM class)
    theEnrolmentsPM (which is typed to the EnrolmentsPM class)
    Also in the Init method we set an attribute (called parent) on each
    PM to the value of Self.
    Then when one PM needs to invoke a method on another PM we simply do :
    For example in the theEnrolmentPM.GetEnrolment method we need to get
    Students and Courses
    thus we code :
    Parent.GetStudent(pInStudentParams = pInStudentParams) : pOutStudentParams
    Parent.GetCourse((pInCourseParams = pOutStudentParams.CourseStuff) :
    pOutCourseParams
    Build Enrol details based on student / course stuff.
    Return EnrolmentParams.
    Hope this makes sense.
    Regards,
    Chris Will, Dept. of Educ. Training, ITB, Sydney, Australia
    -----Original Message-----
    From: Peter Sham [mailto:[email protected]]
    Sent: Friday, 8 October 1999 9:35
    To: [email protected]; [email protected]
    Subject: Re: (forte-users) Replicating the PersistenceMgrSO
    Hi,
    Whenever you make a call to your load-balanced SO, it
    would go through the router. That is what I
    understand. No matter you make the call from inside
    or outside the SO.
    Secondly, you can turn on the "fail-over" option of a
    router but not load-balanced it. On these routers,
    you can check their instruments to see which one is
    really running.
    Hope this help.
    Regards,
    Peter Sham.
    --- [email protected] wrote:
    In our Forte application, so far, we had single
    instance of PersitenceMgrSO.
    Now we have replicated (replication count is 3) it
    for load balancing.
    W.r.t. the replication, I have a question here.
    When we make a call to PersitenceMgrSO, it will go
    to any one of these
    PersitenceMgrSO's (selected by the router). And from
    within that instance of
    PersitenceMgrSO, if we make another call to
    PersitenceMgrSO, we are not sure
    whether the call will get processed in the same
    service object or will go to
    the router for another instance of the same
    PersitenceMgrSO. In our
    application, almost all entity handlers make the
    call to PersitenceMgrSO for
    business rules and other data validation.
    Please clarify as to what will happen in this
    situation, as it very much
    crucial for our Beta release.
    (also, I noticed that two active partitions of the
    router for this load
    balanced partition, are running, though we have not
    replicated it. Isn't it
    strange? Can we replicate router partitions , and if
    can, how these router
    partitions will coordinate among themselves in
    directing the messages to SO's
    thanks
    Thiru.
    Get free email and a permanent address at
    http://www.netaddress.com/?N=1
    For the archives, go to:
    http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To
    unsubscribe, send in a new
    email the word: 'Unsubscribe' to:
    [email protected]
    =====
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to: [email protected]

  • Addint a child domain process hangs in Replicating the schema directory partition

    Hello everyone,
    for practice proposes and exam preparations I have my own virtual private network setup on an PowerEdge R905 Machine (which is a beast) I have two networks and windows server 2008R2 on a DMZ zone setup as router to rout traffic between two of my networks.
    My two networks are 192.168.10.0 - and 192.168.20.0. the 10 network has its own active directory setup, now on my 20 network I am trying to deploy a child domain. during the process everything is going just fine BUT the process of promoting the domain gets
    stuck on Replicating The Schema Directory Partition. Can anyone tell me what the issue might be ? I tried everything that I could think of such as:
    made sure the 20 network server is pointed to the DNS on the 10th server.
    you can ping the IP address and the FQDN of 10 network from the 20 network.
    I made sure all firewalls are disabled on both networks
    on my 10 network I have created sites  and assigned the right subnets for each site
    so please any hint and explanation is greatly appreciated

    If firewalls are disabled between the 2 subnets then you are sure that all of the below ports are opened:
    Client Port(s)
    Server Port
    Service
    49152 -65535/UDP
    123/UDP
    W32Time
    49152 -65535/TCP
    135/TCP
    RPC Endpoint Mapper
    49152 -65535/TCP
    464/TCP/UDP
    Kerberos password change
    49152 -65535/TCP
    49152-65535/TCP
    RPC for LSA, SAM, Netlogon (*)
    49152 -65535/TCP/UDP
    389/TCP/UDP
    LDAP
    49152 -65535/TCP
    636/TCP
    LDAP SSL
    49152 -65535/TCP
    3268/TCP
    LDAP GC
    49152 -65535/TCP
    3269/TCP
    LDAP GC SSL
    53, 49152 -65535/TCP/UDP
    53/TCP/UDP
    DNS
    49152 -65535/TCP
    49152 -65535/TCP
    FRS RPC (*)
    49152 -65535/TCP/UDP
    88/TCP/UDP
    Kerberos
    49152 -65535/TCP/UDP
    445/TCP
    SMB
    49152 -65535/TCP
    49152-65535/TCP
    DFSR RPC (*)
    Then make sure that the other subnet is across route not across NAT to avoid a lot of additional configurations.
    Regards,
    Housam Smadi

  • How to download the LSMW SCRIPT

    Hi,
    I would  like to know how I can download the lsmw script. I mean when you creat a lsmw you know that it records the process and the mapping and stuff like that. It must be recorded somewhere , I think like a script or something like that.  That is what I need to download. Thank you for your help.

    Hello David,
    in the initial screen of transaction LSMW, you can export projects or parts of projects to a local file (in the menu extras -> export project). You can also upload (import) them into another system.
    Best regards
    Stephan

  • How to export and import the lsmw

    Hi Friends,
    How to export and import the objects in lsmw
    from dev to qas(quality) systems........
    its urgent.........
    regards,
    venu.

    best way is to create a transport and move it to other enviroments
    There are two ways of Transporting for this. Can choose any one.
    Goto the LSMW Transaction
    1)Extras>Export Projects>(Give the Project name)
    In next screen(Choose what subproject, routines, etc.. you wan to copy then, Export Rules-->Export((Will prompt for file name)
    A text file will be downloaded.
    In the Target System
    Goto LSMW Extras-->Import Projects and give the text file which was downloaded.
    2)Extras-->Generate Change Request
    Assign a change request which is basically a transport request and you can then get this transported from one system to another through the basis route.

  • Replicating the data source

    Hi,
    I have an attribute data source and when I have replicated the data source again from the source system, the type has changed from attribute to hierarchy.
    Can you please tell me how can this happen and what needs to be done to revert it back to attribute data source.
    Regards,
    Harikiran Gunnala

    Hi Hari,
    it cannot change automatically like hierarchy........See    for....another...data source,which data source ended with _ATTR......................
    Hope it helps
    Regards
    chandra sekhar

  • Can we transport the lsmw recording

    Can we transport the LSMW recording from one client to other client.  If it can, how it be.

    Yes.you can.Just go to LSMW --in the menu path go to --Extras ---Export Projects - select the project u want to export - and save to your PC.It will get saved into a note pad format.
    Then go to the client where u want to import ---go to LSMW --in the menu path go to --Extras ---Import Projects-browse and select the file u have already saved.
    try and confirm
    Abul

Maybe you are looking for