Use LSMW to create new MMR.

Hi All,
When using LSMW to create new MMR, for example material 202851 was created. However, when using MM03 to display this material, it says"The material 202851 does not exist or is not activated"
What does this mean?
Thanks.
Jason

I am doing migration project for more than 11 years. I load all kind of material masters with its individual depth in one go.
But I usually use IDOC method instead of the batch input.
Because most of my projects are migration projects from SAP to SAP. But it works either way, anyway.
Please tell in detail where your problems are, You say you loaded it, but SAP says you did not.  You have to trust SAP.
It does not find your data. It is just a program that tells you it does not find your values, so there are no emotions in the game.
In most cases the error is already in the source file.
But you have to know has well how the source file has to look to make your migration succesfull.
Search the forum, There have been many links to well documented LSMW documentation that show how the source file looks and what you need to do in batch input, to make it work.
By the way, SAP has issued a very good book on LSMW. Even it costs a lot bucks, it is worth. As well the SAP documentation at service.sap.com/lsmw is worth to be read.

Similar Messages

  • Could i use 'HR_MAINTAIN_MASTERDATA' to create new employee ?

    Dears
    it seems using PA40 to create new employee.
    i just want to create simple person with infotype 0000, but when i using 'HR_MAINTAIN_MASTERDATA' it will automitically jump into new screen of new infotype such as 0001 without push saving button the same as i use PA40.
    How could i control the screen sequence ?

    Hi,
    You cannot create  Employees using this FM HR_MAINTAIN_MASTERDATA. This FM can be used to maintain infotypes AFTER an employee/applicant has been created in SAP(pa40).
    i think there are no FMs to create Employees. There are FM's to create,update,delete,delimit etc other infotypes but IT0000(actions) Need to be performed either using PA40 or thru other mass data entry precedures like LSMW etc. where Recording of a transaction is performed.
    and coming to the jumping of screens u mentioned, it is initiated by Infogroups, where the sequence of infotypes to be maintained while performing an action are defined.
    you can remove the infotypes you dont want to maintain by identifying the infogroup and deleting it from there.
    also for this FM 'HR_MAINTAIN_MASTERDATA' the important import parameter itself is PERNR? how are u using this FM to create an employee?
    any special reason why u wanna use a Function module to create an employee?
    Message was edited by:
            Hruser

  • How to Use iSetup to create new environment in copy of clean master.

    Hi,
    I want to use iSetup to create a complete new environment. No manual setup has been done yet in the copy of the master (no Business Group, No OU, no Chart of Acc: nothing). Source environment is being setup rightnow by functional consultants
    Can one please provide me with a manual or guideline how to start this challenging job. Maybe a best practise can be used ?
    In the end we want to setup an environment based on a clean master.
    ( practical data: eBS 12.1.2 on linux )
    Thanks in advance
    Guido

    Hi Guido,
    You can get in touch with [email protected] who is the product manager for iSetup. He would able to assist you to go forward in the right direction.

  • Use USERID from DB and increment it using position() to create new USERID's?

    I'm trying to do the following in XSQL:
    <?xml version="1.0"?>
    <database connection="test" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-request-params/>
    <xsql:query id-attribute="" tag-case="lower" rowset-element="maxuserid" row-element="idnum">
    SELECT MAX(USER_ID) AS "USERID"
    FROM LKUP_USER
    </xsql:query>
    <xsql:insert-request table="LKUP_USER" transform="/dvd/xsl/admin/createusertransform.xsl"/>
    </database>and XSL:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/">
    <ROWSET>
    <xsl:choose>
    <xsl:when test="/request/parameters[not(row)]">
    <xsl:for-each select="/request/parameters">
    <xsl:call-template name="generate-rows"/>
    </xsl:for-each>
    </xsl:when>
    <xsl:otherwise>
    <xsl:for-each select="/request/parameters/row">
    <xsl:call-template name="generate-rows"/>
    </xsl:for-each>
    </xsl:otherwise>
    </xsl:choose>
    </ROWSET>
    </xsl:template>
    <xsl:template name="generate-rows">
    <ROW>
    <FIRSTNAME><xsl:value-of select="firstname"/></FIRSTNAME>
    <LASTNAME><xsl:value-of select="lastname"/></LASTNAME>
    <PASSWORD><xsl:value-of select="password"/></PASSWORD>
    <EMAIL><xsl:value-of select="user-email"/></EMAIL>
    <ACCESSLEVEL><xsl:value-of select="accesslvl"/></ACCESSLEVEL>
    <USER_ID><xsl:value-of select="/maxuserid/idnum/userid + position()"/></USER_ID>
    </ROW>
    </xsl:template>
    </xsl:stylesheet>which returns the following:
    <?xml version="1.0" ?>
    - <!-- <?xml-stylesheet type="text/xsl" href="/dvd/xsl/admin/createeditdeleteuserconfirm.xsl"?>
    -->
    - <database>
    - <request>
    - <parameters>
    <password>test</password>
    <lastname>test</lastname>
    <firstname>test</firstname>
    <accesslvl>5</accesslvl>
    <user-email>test</user-email>
    </parameters>
    - <session>
    <access>1</access>
    <emailparam>[email protected]</emailparam>
    <adminfirstname>Malik</adminfirstname>
    <adminlastname>Graves-Pryor</adminlastname>
    </session>
    - <cookies>
    <JServSessionIdroot>57ta3u4mns</JServSessionIdroot>
    </cookies>
    </request>
    - <maxuserid>
    - <idnum>
    <userid>17</userid>
    </idnum>
    </maxuserid>
    - <xsql-error action="xsql:insert-request">
    <message>'java.sql.SQLException: ORA-01722: invalid number ' encountered during processing ROW element 1. All prior XML row changes were rolled back. in the XML document.</message>
    </xsql-error>
    </database>You can see what I'm trying to do, but I can't figure out exactly how to implement it. I want to avoid the problem of conflicting USER_ID values in the Oracle DB, so I figured, pull out the max USER_ID before submission and use that when 'row-ifying' the data to create new USER_ID which are incremented based on the position() function.
    Help? Is this even possible?
    p.s.: I realize that I might not be able to do this because the query is not a "request". Is there another way of accomplishing this task?
    p.p.s.: I don't have my XSLT book yet..
    Malik Graves-Pryor

    My book, Building Oracle XML Applications, has lots of XSLT material and examples :-)
    You should use:
    <xsql:set-stylesheet-param>
    to accomplish this. Remember again that the XML that the <xsql:insert-request> sees is not the XML of your data page, but the POSTED XML. The posted XML document will not have the maxid value in it. So, instead just use a top-level stylesheet parameter in your stylesheet:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <!-- Top level stylesheet parameter -->
    <xsl:param name="maxid"/>
    <xsl:template match="/">
    Rest of template here.
    Refer to value of maxid in any XPath expression
    in the stylesheet with $maxid
    </xsl:stylesheet>then in your XSQL page, you use <xsql:set-stylesheet-param> instead of <xsql:query> like this:
    <xsql:set-stylesheet-param name="maxid">
    select max(user_id) from lkup_user
    </xsl:set-stylesheet-param>However -- and this is not an XSQL issue, but a general database thing -- you need to be careful about concurrency issues using the SELECT MAX() trick. If two requests come in simultaneously, they will both SELECT MAX() and get the same current maximum number, then both try to insert a new user. One will (presumably) violate your primary key constraint.
    It's better to use database SEQUENCES instead, so the numbers are guaranteed to be unique. To use a sequence you would just change your SQL statement above to be:
    SELECT yoursequencename.NEXTVAL FROM DUAL
    instead of the SELECT MAX() query.

  • Why can't I find the field remark when I use LSMW to create customer master

    I want to create customer master data with LSMW.
    Object               0050   客户主记录
    Method               0000
    Program Name         RFBIDE00
    Program Type         B   Batch Input
    but I can't find the field 'Comments' which is in view general data -> address.
    pls help me to find it.
    tks!

    Hi,
    This is quiet simple.
    See when you enter your Tcode in LSMW & start recording, on the first screen where you enter the customer details to create, you see a tick below "Use central adress management"
    Just tick this & record you will get comment in your recording
    Hope this helps you
    Regards,
    Dhananjay

  • [SOLVED] Use clonezilla, or create new partitions then copy?

    I'm migrating my Arch for the first time. What would you recommend for a complete newb in this area, cloning the disk with some tool like clonezilla, or creating partitions manually and copying everything over?
    I saw a few threads on how to make partitions and copy stuff over, but they all leave me with uncertainties. Would cloning the hard drive be an easier option?
    Last edited by trusktr (2012-04-01 21:50:09)

    trusktr wrote:
    Hey graysky thanks for the answer. Could you also provide some insight into why not using clonezilla?
    For a someone doing this for the first time ever (like me), creating the new Linux partitions seems kind of tricky. The only time I've ever created partitions was from the Arch Install CD which made them automatically. I'd imagine that I would create each partition with the same size, except for the putting all the extra space of the new hard drive into the home partition.
    Best for learning now.  Making a partition is easy to do.  Just be sure you carefully keep track of drive letters when doing it.  Plus, the last time I looked, clonezilla wasn't updated for several years and didn't support ext4.  This may have changed though.
    Advice: draw out on paper your partition scheme, sort of like a map. ie
    / 15 GB /dev/sda1
    /boot 200 MB /dev/sda2
    /var 10 GB /dev/sda3
    /home <<rest of drive>> /dev/sda4
    Then use a util like fdisk or gptdisk to do the partitioning itself.  If using GPT, make sure to have an empty 1 MB partition for the BIOS!
    https://wiki.archlinux.org/index.php/GPT
    Here is a nice walk through using GPT --> https://wiki.archlinux.org/index.php/SS … DED_METHOD

  • Use Automator to create new subfolders in a selected folder

    This seems like it should be easy to accomplish, but I have had no luck.
    I want to be able to select a folder, and then run an Automator Service to create a specific set of subfolders within the selected folder.
    I am able to set up automator to create the subfolders, but it does so in the folder containing the selected folder.
    Any suggestions on how to accomplish this simple task?

    Which type of variable should I choose? I tried "text" but there's no way to set it to "input"? There are many Variables in the Library.
    Here's how I have things set up now, I thought the "Service receives selected 'folders' in 'Finder'" (at the very top of the workflow area) would pull in the selected folder.
    Thanks!

  • String contains class name: how to use it for creating new objects

    Hi All
    I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example:
    String s = "MyClass" ;
    MyClass mc = new s() ; // or: s mc = new s() ;
    if ( mc instanceof s ) { ..... }
    Is something like this possible ?
    Thnx in advance
    LuCa

    jeanluca wrote:
    I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example:
    Is something like this possible ?AFAIK, it is only possible in a very limited way as noted above and is nearly always not recommended and definitely not necessary. The variable name has little importance, but OTOH the object reference has great importance. Instead learn about arrays, Lists, and Maps.

  • Using iSetup to create new operating within an existing application

    Hi
    We have a requirement to replicate multiple operating units and related config within Finance, Procurement, Inventory and EAMS ... so we have previously configured the operating units again in each new environment - crp, dev, sit, uat, prod -
    There are multiple selection sets available which include operating unit setup (we are on 12.0.5) including Financials Operating Unit Level Setup, Financials Setup and Organisation structure.
    There seems to be overlap the ... Which is the best to initially migrate the OU
    Is there a document or metalink note which covers the dependency for various migration requirements?
    In our case we are migrating within the Business group, legal entity and set of books so would expect we could load it via selection sets with little intervention.
    thanks for your assistance, the forum is excellent.
    Regards

    This is Mugunthan, Development manager for iSetup.
    Yes, you are right. Operating Unit is available in multiple selection sets. The idea is that it is grouped wherever it makes sense so that you need not switch over to other selection set to load the data.
    For example, you cannot load most of the financial, hrms and manufacturing related data without loading operating unit. So, we have added the same API under multiple theme. But essentially it is the same API which is getting reused everywhere.
    Coming to hierarchy document, it is available. You can send a mail to [email protected] I will send you the doc. I will publish it to metalink as well soon.

  • Used LSMW  to create  some vendor in test

    HI expert
    i managed the fields as follow
    ZBLF00                   
         TCODE                          C(004)    Transaction Code
         LIFNR                          C(010)    Vendor
         BUKRS                          C(004)    Company Code
         KTOKK                          C(004)    Account group
    ZBLFA1                   
         NAME1                          C(035)    Name 1
         FISKN                          C(010)    Fiscal address
         SORTL                          C(010)    Search term
         ORT01                          C(035)    City
         LAND1                          C(003)    Country Key
    ZBLFB1                   
         LNRZE                          C(010)    Head office
         AKONT                          C(010)    Reconciliation acct
         ZUAWA                          C(003)    ZUAWA
    That seem correct but I can not in "Convert Data" level
    Can you tell me how a managed the good structure please.
    Thanks for help.
    Edited by: patience  broohm on May 15, 2008 10:50 PM

    What you should do is determine why the archiver failed. I think em110954 is probably correct as the most common cause of archiver failure is the target file system has filled due to the fact you have not copied your older archived log files off to tape and removed them from the disk. If you are using rman you should be having it back up the archived redo logs and then removing them.
    Another possible cause of failure if the target directory is not full is that the OS level permissions were changed and Oracle no longer has write to the directory.
    If the flashback database area is in use and is the target for the archived redo logs it can be too small to hold all files necessary for recovery in which case Oracle cannot remove older files from it. Another form of full condition.
    HTH -- Mark D Powell --

  • Error while generating DDL commands using startSQLRepository for a new Repository

    Hi,
    I am trying to generate DDL Commands using startSQLRepository for my new repository SubashRepository so that I can use them to create new table structure.
    All the repository related changes looks good. i can see my repository in ACC
    When I run the command:
    startSQLRepository -m SupremeATG –repository /com/supreme/SubashRepository /com/supreme/subashRepository.xml -outputSQLFile C:/ATG/ATG9.3/SupremeATG/config/com/supreme/subashRepositoryDDL.txt
    I get following error:
    Table 'SUBASH_MEMBER' in item-descriptor: 'member' does not exist in a table space accessible by the data source.  DatabaseMetaData.getColumns returns no columns
    Note:
    * errors related to definition file were cleared as the same command threw relevant exception while trying to store a array property with out creating a multi table.
    * Now this is the only exception i see
    * Some DDL are getting generated in the output file, but those are related to inventory repository (I am not sure why this is happening as I have specifically gave the path to my definition file).
    Any help in resolving this is highly appreciated.

    Pl post in the ATG forum

  • How to create new field while upgrading from CRM 4.0 to 7.0

    Hi ,
    How do we create new field on UI and store data into existing field in database?
    Is there any option in AET to skip the creation of new field in the database table ?
    Custom field is already created in GUI and database table while using CRM 4.0
    Now, after upgrading to 7.0 EHP3 , I need to bring this field on the UI .
    Using AET may create new field again in the database table.Please suggest.
    New filed needed to be created in Marketing Campaign Element Header data.
    Thanks
    Jayasri

    Hi Jayasri,
    As a custom fields are already there in crm 4.0. You don't need to use AET again to add field.
    These enhancements still exist after the upgrade. Dependent on the enhancement object and type some manual steps are necessary.
    For example regarding a single field enhancement for the BP the whole framework is enhanced after the upgrade. There is only one manual step to bring the field on the relevant view(s) via the UI Configuration Tool. For whole BP tables some more manual steps are necessary, these steps are described in the note 1069791 - CRM WebClient UI for EEW enhancements (reference to more notes regarding the EEW after the upgrade).
    For set types, we need to generate UI With the help of the UI configuration tool the settypes could become visible in the Web UI.
    I didn't understood your scenario, can add little more information why you want to add field by AET if available in DB?
    Refer
    FAQ - SAP CRM Upgrade from release 4.0 to 7.0 
    Regards,
    Arjun

  • Report template error when creating new report via SAP menu

    Hi everybody,
    we have the following error on our system:
    When trying to create a new crystal report on a SAP query, using the entry "Create new report from a SAP query" in the SAP menu an error occurs: An error ocurred while generating a new report template
    The error message appears after the SAP logon and the SAP query selection.
    I think this error is related to the report templates of Crystal...
    Is there any default template for SAP integrated queries?
    We are using Crystal Report 2008 SP2 with SAP Integration Kit.
    Thanks for any helps and comments.
    Sebastian

    The following SAP note might help you
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333363337333633343330%7D.do]
    Regards,
    Raghavednra.G

  • Creating new categories values in Answers (Presentation). How?

    I tried to create three different groups of objects according to their values, in Answers on BI 10
    What I did was adding a new column and writing inside something like this:
    CASE WHEN Value."Value" >= 100000 THEN 'FirstGroup' WHEN Value."Value" between 50000 and 100000 THEN 'SecondGroup' ELSE 'ThirdGroup' END
    This works in table view, but I would like to use the three groups to create charts (a pie chart, for instance).
    Anyone can suggest me how to accomplish this, just by using Answers? More generally, is there a simple way to use Answers to create new groups, according to given rules?
    Regards,
    Fabio

    Hello,
    I think you can use the BIN functionality, it might be helpful to you. please follow the below blog by sai.
    http://varanasisaichand.blogspot.com/2010/01/using-bins-in-obiee.html
    Please let us know if its helpful to you.
    thanks

  • Assignment of components to operations using LSMW

    Hi
    i created routing using LSMW.
    i created all the operations using direct nput methode
    and  material to group assignmebt using batch input methode.
    but i was not able to assign my components of the BOM to my routnig operations.
    How to do this.
    which one is the best and easy way. direct or batch input methode.

    Dear,
    Now I am clear.
    You need to create different 2 BOM and with BOM items, as below,
    example - total requirement of material A is say 10.
    Semi finished Product- X BOM
    BOM item 1 - material A-qty 8
    BOM item 2 - material B-qty -5
    Finished material Y - BOM
    BOM item 1 - semifished material X-qty 10
    BOM item 2 - material C-qty 10
    BOM item 3 - material A-qty 2
    BOM item 4 - material D-qty -2
    You need to create above 2 BOM's if you want to see semifished product into inventory, if not proceed as below
    Finished material Y - BOM
    BOM item 1 - material A-qty 8 assign it to routing operation 10
    BOM item 2 - material B-qty -5 assign it to routing operation 10
    BOM item 2 - material C-qty 10 assign it to routing operation 20
    BOM item 3 - material A-qty 2 assign it to routing operation 30
    BOM item 4 - material D-qty -2 assign it to routing operation 30
    I think this is the only way you can map it.

Maybe you are looking for

  • I can't import any movie files in FCPX (even files that previously imported)

    I am currently in this interesting position of not being able to import any videos into FCPX. Not just one, or a few odd ones, but none whatsoever. I have previously imported some videos into FCPX, so it seems like the software is... deteriorating. I

  • Can't redownload and open an App

    I Was updating my Instagram app when my phone lost battery. I charged up back up but them I realized Instagram had been deleted. When I went to the App Store, I wasn't given the option to redownload it but rather "Open" I clicked on open but nothing

  • Outlook 2013 UI issues and glitches

    We recently upgraded from Office 2010 to 2013. Outlook 2013 ( corporate license ) is having a very annoying issue displaying correctly on my machine as you can see from the link below, part of the desktop or background applications is sometimes displ

  • Vendor accumulated balnacess

    Dear experts; We are preparing vendor balancess businessa area  wise for this we are using 0FI_ap_3 data source and 0fiap_o03 ods iam geting debt credit blancess period wise but here we need accumulated balancess for this which field i have  to take

  • Twitter API authentication

    HI, I'm making a flex mobile app which should shome some feeds with a certain hashtag. After a long search i found the guide from adobe , build first mobile flex app pdf, with the twitter trends. But i got stuck at excercise 3. I got an error from th