Material replication with LSMW  and R3AC1

Hi experts.
I'm using SRM 5.0 trying import the materiais from backend R3.
I'm doing material replication using LSMW with batch-input of R3AC1, however after I mapping R3AC1 the transaction behaves diference way. Using other screens weren't mapping.
Anybody Knows how I can change de Batch-input mapping ? Or other way to make this replication?
Thanks.
Paulo Afonso Cordeiro.

any special reason for using LSMW?
there is readymade CRM middleware available in SRM which acts as interface to get the cust objects(matl grps) & business objects(matl /service masters)
but you need to make some table settings & site settings for this
filtering can be done for matl/service in R3AC1
BR
Dinesh

Similar Messages

  • Materialized View  with Joins and Possibilities of Partitioning

    Hi,
    We have a materialized view which has a data to query around 12 gb. The query goes some thing like
    this.
      Select a.c1,a.c2,b.c1,b.c2,c.c1,c.c2
      from a,b,c
      where a.c1=b.c1
      --and the where condition goes on...
      --i.e Basically joining 3 different tables with complex join conditions but without any group functions and subqueries.
       Now i have few questions here.
    Firstly as the Mview is created with joins we will have to create separate logs for each tables and we have did the same. The logs are created with rowid and sequence for better performance during refresh.
    Question No 1
    Is this is a best approach for materializing a query with complex join conditions. Or Is it better to make 3 different materialized views for each 3 tables and join those 3 MViews and write a query for my report. I ask this question just to make sure the refresh time is brought down by this method. But as such as we have created 3 different logs for 3 tables the refresh must be happening separately.
    Question No 2
    Data is likely to grow faster and faster on this. So we have a idea of making this a partitioned Mview. Can the Pro's advice me on this and suggest me the right practice for the same and help me to correct links from where i can pick a example and continue from there.
    Question No 3
    How to find whether the materialized view has refreshed on a fast mode or complete mode after the last refresh.
    Apart from querying and checking the rowid which i feel is quiet cumbersome for a mview with a data volume like what we have. By default when i see the info in TOAD for this Mview it shows Refresh Mode as "Force". But how to ascertain this.
    Thanks in anticipation for a good round of discussion

    Hi,
    We have a materialized view which has a data to query around 12 gb. The query goes some thing like
    this.
      Select a.c1,a.c2,b.c1,b.c2,c.c1,c.c2
      from a,b,c
      where a.c1=b.c1
      --and the where condition goes on...
      --i.e Basically joining 3 different tables with complex join conditions but without any group functions and subqueries.
       Now i have few questions here.
    Firstly as the Mview is created with joins we will have to create separate logs for each tables and we have did the same. The logs are created with rowid and sequence for better performance during refresh.
    Question No 1
    Is this is a best approach for materializing a query with complex join conditions. Or Is it better to make 3 different materialized views for each 3 tables and join those 3 MViews and write a query for my report. I ask this question just to make sure the refresh time is brought down by this method. But as such as we have created 3 different logs for 3 tables the refresh must be happening separately.
    Question No 2
    Data is likely to grow faster and faster on this. So we have a idea of making this a partitioned Mview. Can the Pro's advice me on this and suggest me the right practice for the same and help me to correct links from where i can pick a example and continue from there.
    Question No 3
    How to find whether the materialized view has refreshed on a fast mode or complete mode after the last refresh.
    Apart from querying and checking the rowid which i feel is quiet cumbersome for a mview with a data volume like what we have. By default when i see the info in TOAD for this Mview it shows Refresh Mode as "Force". But how to ascertain this.
    Thanks in anticipation for a good round of discussion

  • How to create materialized  view with parameter and index ?

    Hi all,
    i am using oracle 11g.
    i want to create  parameter materialized view  with two parameter (STORED_VALUE, LOV_NAME) with  an index .
    i have below view
    CREATE OR REPLACE FORCE VIEW SR_MY_TEST(DISPLAYED_VALUE, STORED_VALUE, LOV_NAME) AS
      SELECT  DISPLAYED_VALUE , LOVVALUE.STORED_VALUE , lovname.lov_name
               FROM (SELECT T.LOV_VALUE_ID,
          T.LOV_ID,
          T.ORG_ENTITY_ID,
          T.STORED_VALUE,
          T.DISPLAYED_VALUE,
          T.ENTERPRISE_ID
         FROM MS_QS_LIST_OF_VALUES_T T) lovvalue, ms_qs_lov_names lovname
              WHERE lovvalue.lov_id = lovname.lov_id
                AND lovvalue.org_entity_id = 1
                and LOVVALUE.ENTERPRISE_ID = 100000
                AND LOVNAME.ENTERPRISE_ID = 100000;
    i want to create index on   STORED_VALUE, LOV_NAME
    Thanks
    Damby

    No.AFAIK, there's nothing called as "parameterized MV".
    Materialized View store data like tables (and not like Views). So, does it make sense when you say - "table with parameters" ?
    Could you please explain your business requirement?
    What is the purpose behind those 2 parameters?

  • Material replication between SAP and SRM

    Howdy friends.
    Is there any way to stop having to manually activate the material replication queue between SAP and SRM each time please?
    Our admin team go to transaction SMQ2 each day and for 2-3 years have been manually activating each queue manually and doing this several times per queue as the entries do not reach zero. Surely, it is possible to set this up to be automatic as a job?
    Ciao,
    Mike

    Hello,
    I could not find the SDN Weblog but here a link to an article that migh help you....[url]http://searchsap.techtarget.com/tip/0,289483,sid21_gci1245134_mem1,00.html[url]
    That should help you check your settings, et al and resolve your issue.
    Regards, Dean.

  • Problems with LSMW and TAXKD

    Hello all, first of all I want to state that I'm a total newbie to LSMW
    I'm trying to update our customer master with tax classifications.
    I have 19 rows to be updated with data and the problem is that the window where
    the data should be entered shows only 15 rows so I get the following message: Field KNVI-TAXKD(15) does not exist in the screen SAPMF02D 1350 (the same message for KNVI-TAXKD(16),KNVI-TAXKD(17),KNVI-TAXKD(18),KNVI-TAXKD(19).
    It took me alot of time to realize that the rows that gets updated is the first 15 that is visable in the window. Does anyone know how to get around this?
    BR
    Mats

    hi,
    i have used debmas to extend customer . you can also use this option to create customer. in case your customer is already created and you want to extend it for sales and company code view. use msgfn(message function) as 005 . in case you are creating a customer and all mandatory field values are provided in extract file then you can set value of msgfn as initial(dont map) and then use idoc to populate the data.
    this should solve your problem...
    reward points if found successfull.
    regards
    pragya

  • Uplaoding material master with LSMW

    Hi,
           I want to  create new 1000 material , i want to know the process for uplaaoding sales text and purchase order text is it  possbile with normal recording or for text uplaoding i have to folow different procedure,
      regards,
       zafar

    you should never load materials by recording method. Use standard/direct input method, BAPI or IDOC method.
    Material master is too dynamic to use a static recording.
    However, in any method it is possible to load texts.
    Texts can even be loaded with an extra LSMW import method after material master load.

  • Replication with Domain and Sub domain in Active directory sites and services

    I seen many AD enviroments and know that when you have mutiple DCs you use Active Directory Sites and services to replicate using the NTDS Settings. If you have a Domain and sub domain do you need to do this as well or does it sync up automatically because
    it's a sub domain? A see a couple of domains where the NTDS settings isn't being used to snyc with the child domain. Just wondering if that is normal or will it cause authentication errors?

    I seen many AD enviroments and know that when you have mutiple DCs you use Active Directory Sites and services to replicate using the NTDS Settings. If you have a Domain and sub domain do you need to do this as well or does it sync up automatically
    because it's a sub domain? A see a couple of domains where the NTDS settings isn't being used to snyc with the child domain. Just wondering if that is normal or will it cause authentication errors?
    Two way transitive trusts are configured automatically when you create a child domain or tree root domain. You don't have to worry about site/subnet or replication part at least from trust perspective. But make sure site's names are unique in each domain.
    How Domain and Forest Trusts Work
    http://technet.microsoft.com/en-us/library/cc773178%28v=ws.10%29.aspx
    http://technet.microsoft.com/en-us/library/cc730868.aspx
    http://blogs.technet.com/b/askds/archive/2008/09/24/domain-locator-across-a-forest-trust.aspx
    Awinish Vishwakarma - MVP
    My Blog: awinish.wordpress.com
    Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • Import materialized view with rowid

    We are upgrading the Data Warehouse and Source Database from Oracle 9i to 10G.
    For replication we use materialized views. Since in our source database we don't have any primary keys, we maintain materialized view logs based on rowids in Source/Master Database.
    Similarly in the Staging schema of or data warehouse we have defined materialized views with rowid and fast refresh option.
    We are using imp/exp utility for migrating both the source database and the data warehouse.
    Since our replication is based on rowid, when we migrate to new environment, all the rowids of the source tables would be redifined making the materialized view tables rowid obsolete.
    One way is to do compete refresh to bring both source database and Staging database baack in sync, but that would be expensive and time consuming.
    Is there any way we can preserve rowid or keep the materialized views in staging in sync with source database ?
    Thanks.

    WITH ROWID is used with REFRESH clause. Try
    SQL> CREATE MATERIALIZED VIEW xxca_project_status_mv
    2 REFRESH WITH ROWID
    3 AS
    do I have to create a log.Only if you want a fast refresh.

  • Material Master upload - LSMW direct input method - Internal Number problem

    Dear friends,
    I am uploading material masters with LSMW - Direct Input Method.
    The materials have internal numbers.
    I have four plants and I want to extend the same material in all plants.
    But LSMW is creating a new material for each row.
    Is there any way out or any indication I put in file to repeat the internal numbers created for all other plants?
    I can create another LSMW for material extension. But I want to know whether the problem can be solved in the current LSMW?
    Regards,
    Avinash

    http://www.sap123.com/a/98/
    Check the internal number range once.... before extending mateial...

  • Create a fast refresh materialized view with partitioned primary index

    Hi,
    I have a materialized view that is based on a table with primary key.
    I want to create a materialized view with a partitioned primary index . do you have any way of doing it?
    I tried to create a materialized view with rowid and then I created a partitioned primary index on it.
    It did not work as what I expected. I could not perform a fast refresh on it. the materialized view can only complete refresh
    thank you

    Hi,
    Here is some info from the Oracle Documentation.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10706/repmview.htm
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10810/basicmv.htm
    Determining the Fast Refresh Capabilities of a Materialized View
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10706/repmview.htm#BABEDIAH
    Regards,

  • Material replication from R/3 to SRM - Issue with Material group

    Hello All,
                      I am working on BADI PRODUCT_CUSTOMER2 and method MAP_R3_TO_CRM_MATERIALMaterial replication part from R/3 to SRM.
    I am using a Ztable to map r/3 material group to SRM material group(Product category).
    For example Material M1 with material group 100 is transferred to SRM. Material group(Product category) 100 exist in SRM, but I am changing the material group to 200 in the product_customer2 badi.  its working fine.
    In another scenario, Material with material M1 with material group 300. Material group(product category) 300 does not exist in SRM,
    I am changing the material group to 200 in the bdoc, in the product_customer2 badi. It is not working. The LUW is failing in SMQ2 transaction with the error "Error in Mapping (Details: transaction SMW01)". The BDOC is failing with error "Category for material group 300 does not exist"
    I tried to deactivate the badi PRODUCT_CUSTOMER2, even then the FM MAP_BAPIMTCS_AND_PROCESS is validating the material group from R/3.
    I tried to change the material group 300 to the existing material group 200 at initial stage in debugging in function module MAP_BAPIMTCS_AND_PROCESS but still the bdoc is failing with error "No storage form defined for product type 01 / logical system".
    I am doing my testing using the following steps.
    1. change the material descriptioni in MM02 in R/3.
    2. An item is displayed in the queue in SMQ2 in SRM.
    3. I have debugged the LUW and analyzed my badi by setting breakpoint at method MAP_R3_TO_CRM_MATERIAL, its changing the material group in the bdoc properly.
       that didnt work.
       also i tried to change the material group in the function module MAP_BAPIMTCS_AND_PROCESS before the badi is called.
    4. I am checking the BDOc status using tcode SMW01 and checking the material using tcode COMMPR01.
    can someone tell me how I can change the R/3 material group to SRM material group at the time of mapping in SRM?
    Thanks
    Sathish PM

    Hi find below for the product cat
    Steps to create the product category in SRM:
    1) Create MM material groups in ECC client. This will create a transport. Go to SRM Tcode R3AS and select the object u201CDNL_CUST_PROD1u201D from the list and run it. You can monitor the job using R3AM1 in SRM. This will bring the material group into SRM. This can be seen in TCode u201CCOMM_HIERARCHYu201D in SRM.
    2) Once it is done. Go to IMG in SRM and go to path SRM> SRM server> Cross app biz settings> Account aassigmnet> Define GL code for Acc *** Cat and Prod Cat. Maintain the GL code against this prod cat for all the account assignment codes. This is client specific setting and need to be done in every client by opening it. This GL code is given in the form in ticket.
    3) Do a test and check if the product category is available for procurement in SC.
    Regards,
    Satish

  • Vendor and Material Replication from ECC6 Ehp7 to SRM7.0

    Hi Experts,
                  I am facing an issue with replicating Material and Vendor Master from ECC to SRM system.
    ECC system - ECC6.0 Ehp 7 &  SRM system - SRM7.0
    Middleware setting is done as per Note 720819 and performed the object like DNL_CUST_BASIS3 , DNL_CUST_PROD0, DNL_CUST_PROD1 and found Sucess in SRM R3AM1.
    Errors :
    1. Material Replication Error in SMW01
    Mat. for Initial Download: Table not supported by function
    Alternative units of measure are inconsistent; correct the values  COM_PRODUCT_UNIT  COMM_PR_UNIT
    Alternative units of measure are inconsistent; correct the values
    Validation error occurred: Module COM_PRODUCT_MAT_VALIDATE, BDoc type PRODUCT_MAT.
    2. Vendor Replication Error in BBPGETVD
    Backend systems with Release 740 are not supported
    Message no. BBP_BUPA002
    What are all the compatabilty issues will be faced connecting SAP ECC6 Ehp7 with SRM7.0? Can any one list down.
    Please Suggest the valuable comments to resolve the problem as earliest.
    Thanks & Regards,
    Ramprakash N

    Dear Ramprakash,
    Please check below URL for #1.
    Alternative units of measure are inconsistent; correct the values in SMW01
    Please find the following note which might help you for issue #2.
    1313972
    1349825
    1372175
    Thanks
    Shuvrajyoti

  • Data Replication Between Sqlserver and Oracle11g using materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target.I need to populate the target daily with change data from source.
    for that we have created a dblink between sqlserver and oracle and replicated that table as a Materialized view in Oracle.
    problem we are getting here is Fast refresh option is not available.each day it will pick full data from the source.
    is there any way to use Fast refresh in this scenario??
    Thanks in advance.
    Regards,
    Balaram.

    Pl do not post duplicates - Data Replication Between Sqlserver and Oracle11g using materialized view.

  • Material master Upload with LSMW

    Hi
    When I make Material master Upload with LSMW, I could not find any entry in planning file.
    Please explain.

    Mayuresh,
    Not all LSMW transactions properly update Planning file.
    You can run transaction MDAB to set up planning file in Background
    You can run transaction MDRE to detect and correct Planning file inconsistancies in Background.
    It is probably a good idea to run these jobs periodically, say, weekly, in most production environments.
    Regards,
    DB49

  • 1:N relation between MARA and MARM using SAVEDATA with LSMW

    Hi,
    I wanna use LSMW for a data migration. Therefore I'm using the BAPI 'SAVEDATA' to transfer material data.
    So far I can transfer one material entity with just one unit of measure (UOM) for table MARM.
    However, I do have more than one UOM for a material entity. When I look in 'maintain structure relations', there the IDOC segement 'E1BP_MARM' is in the same hierarchy with the head data although N UOM's are requiered for one material entity. How can this work with the BAPI 'BAPI_MATERIAL_SAVEDATA' if I wanna use more than one UOM's?

    Hi,
    You can define multiple source structure in step no 2 of LSMW.In upper level structure provide header data fields and in lower level structure you can provide fields related to your UOM.
    While defining fields for both source structure provide an identifier for the starting field of both structure.
    Now in step no 3 assign header structure to header data segment and lower level structure to segment containing UOM.
    In step number 7 select radio button which says for multiple source structure and in next step assign the file to both structure.
    In this way you can upload N UOM for a particular material.
    Hope this solves your problem.
    Regards,
    Brajvir

Maybe you are looking for

  • Primary e-mail is wrong, can't change profile, can...

    I signed up for Skype yesterday using my Microsoft account. The primary e-mail Skype has on file for me is not correct, it is an old e-mail. I have double-checked my Microsoft account and sure enough my current e-mail is the correct and primary e-mai

  • Store document into Content Server

    Dear All; l have the following requirement for Content Server; - Generate the PR/PO form via print program.                          -Approver's signature will be display accordingly by the approval level.               EG:  1st level approver 'A' ha

  • How do I add a link to my website in mail signatures

    Hi all I am new to Apple Communities - I am trying to add a hyperlink to my website address in my Mail signature. I have had a look at so many posts and found this fairly useful:  http://mydesignpad.com/create-a-complex-html-email-signature-for-mail-

  • Exporting A PDF issue

    I've built an dialog window (figured out my issues with the ui from the last post). I'm having a problem exporting a file via a button "export" when I leave the code outside a function, it works fine. Builds the PDF with the preferences on build of t

  • Fastest way to removeAll

    I need to remove quite a few entries from a cache that match a certain criteria. There is cache.putAll(Map) for en-masse cache loading, but there is no equivalent cache.removeAll(Set keys). What is the fastest way to achieve this? I am thinking this: