Migrated material class data
Hi,
I will be migrating material master data using LSMW IDOC.
I also want to migrated associated material class data.
The question is:
How do I extract the material class data so that I can load them with LSMW IDOC CLFMAS after the materials are loaded ?
Regards,
Mariappan
Hi,
If it is 1:1 transfer for source SAP system to target SAP sytem ( without data modification ) you to establish the ALE interface and distriute by using the prg: RBDSECLF
If it is a transfer of CLF data between 2 SAP systems where you need to modify the data based on some rules after you extract the data from the source system, you could extrace the data from Legacy by BAPI: BAPI_OBJCL_GETDETAIL. Once you extract the data, you could process as per the reqmt, & load the data by LSMW either by DI or by IDoc method.
Thanks,
Sunitha
Similar Messages
-
LSMW: Material Master Data migration
I will be migrating material master data using LSMW IDOC.
I also want to migrated associated material class data.
The question is:
How do I extract the material class data so that I can load them with LSMW IDOC CLFMAS after the materials are loaded?Hi,
You have 2 possibilities.
1. If it is 1:1 transfer for source SAP system to target SAP sytem ( without data modification ) you to establish the ALE interface and distriute by using the prg: RBDSECLF
2. If it is a transfer of CLF data between 2 SAP systems where you need to modify the data based on some rules after you extract the data from the source system, you could extrace the data from Legacy by BAPI: BAPI_OBJCL_GETDETAIL. Once you extract the data, you could process as per the reqmt, & load the data by LSMW either by DI or by IDoc method.
Hope this helps.
Best Regards, Murugesh -
Que on Material Master Data Migration
Hi All
We are trying to allocate parallel currency to an existing co code, and since SAP recommends not to add parallel currency to an existing co code, we have decided to go ahead with a new co code - thereby transferring all master and transaction data as part of data migration..
However, my Qs is.. do we have to migrate the material master data aswell since when I make the material to plant assignment in customizing, it should then officially belong to the new co code too right?
Please advise
RSHello Jürgen
Thanks for your reply.
I dont think you fully understand my scenario..
we have an entity that wants to introduce a parallel currency to all their reporting.. therefore, addiding a parallel currency to an active company code is not possible and they are not keen to go with material ledger...
therefore, we suggested a brand new co code as of 01.01.2012. So the current co code is not going to be active after 31.12.2011. We are creating a brand new co code and doing data migration for all the master data and transaction data.
meaning, Vendor, Customer, GL, AP & AR item Data, GL item data and asset master and transaction data.
In customizing, after creating the new company, we will make the assignments to plant purchasing/sales org etc.
My Qs - do we also need to migrate the material master since it belongs to a Plant. Therefore, when we assign the co code to the Plant, it will automatically be available in the co code when creating a PO etc..
this is my Qs
thank you
RS -
Runtime error while creating material master data
hello sir,
i am facing one prolem while creating MATERIAL MASTER DATA.
AFTER GIVING ALL REQUIRED INFORMATION WHEN I AM GOING TO SAVE THE DOCUMENT ITS SHOWING ABAP RUNTIME ERROR.
MESSAGE TYPE: - MDS_KEYMAP.
MESSAGE CLASS: 001.
PLEASE TELL ME WHAT TO DO?
REGARDS..SIR THANK YOU FOR YOUR REPLY.
I ALREADY DONE THAT DUMP ANALYSIS.
SO PLEASE KINDLY GIVE ME IN DETAILS ABOUT THAT SOLUTION... -
Class data upload through LSMW using BAPI
Hi All,
Plz tell me how to upload class data through LSMW using BAPI.I also need some study material on BAPI.
Bye,
Mithilesh Tiwariits not possible with single file
for this you need to pass two files of data
1 ) Header data ZSOURCE_LIST_HEADER Source List Header
MATNR C(018) Material Number
Selection Parameter for "Import/
WERKS C(004) Plant
2) item data ZSOURCE_LIST_ITEM Source List Item
MATNR C(018) Material Number
LIFNR C(010) Vendor Number
EKORG C(004) Purchasing Organiz
WERKS C(004) Plant
VDATU C(008) Valid From
BDATU C(008) Valid to
for this use below LSMW IDOC method
Message Type SRCLST Source List
Basic Type SRCLST01 Source List -
Non-SAP to SAP Material Master Data Transfer
Hi Experts,
Please indicate any standard tools in SAP and how to use it wherein we can migrate non-SAP material master data to SAP.
Points will be awarded.
Regards,
LMHello Leo,
There are a number of options to do this. You can use the standard SAP tool named LSMW - Legacy System Migration Workbench (transaction LSMW) as a starting point.
Also please read this [Documentation|http://help.sap.com/saphelp_47x200/helpdata/en/0d/414538bc0fe927e10000009b38f8cf/frameset.htm] before undertaking the data migration activity via LSMW.
Additionally, there is also a Direct Input program available named RMDATIND - please go through the program documentation before you use it. You can use this program to transfer material master data to SAP but
make sure you assign this program through LSMW for mapping structures etc. The internet link above will give
more details and step-by-step instructions to follow.
Hope this helps,
Cheers,
Sougata.
p.s. It is sad to see useful answers remain unrewarded such as this one!
Edited by: Sougata Chatterjee on May 9, 2008 10:13 PM -
How to migrate pricing condition data using lsmw
Hello All,
can any one explain how to migrate pricing condition data using lsmw.
the scenario is we are trying to extend the pricing conditions from one sales area to other sales area on a combination of sales organization, distribution channel and division.Hi Sreedhar Kodali
Pricing conditions can be extended with the following options:-
1) Customer / material with release status
2) Sales Org / Dist. Channel / Cust group / Material
3) Price List category / Currency / material with release status
4) Material with release status
Assuming that your pricing condition in one sales area is different to another, first you have to create LSMW recording to extend the sales area and then pricing conditions can be uploaded accordingly.
Thanks
G. Lakshmipathi -
Bapi or Function Module to update Material Master Data
Hi Friends,
could anyone let me know any BAPI's or Function Modules for Material Master UPdate.
Thanks in Advance
Regards
Tinahi Tina,
check this BAPi BAPI_MATERIAL_SAVEDATA to create and change the material master .
Try ....
BAPI_MATERIAL_SAVEDATA
REPORT Z_BAPI_MAT.
STRUCTURE DECLARATIONS *
TABLES: BAPIMATHEAD, "Headerdata
BAPI_MARA, "Clientdata
BAPI_MARAX, "Clientdatax
BAPI_MARC, "Plantdata
BAPI_MARCX, "Plantdatax
BAPI_MAKT, "Material description
BAPIRET2. "Return messages
DATA:V_FILE TYPE STRING.
DATA:
BEGIN OF LSMW_MATERIAL_MASTER,
MATNR(018) TYPE C, "Material number
MTART(004) TYPE C, "Material type
MBRSH(001) TYPE C, "Industry sector
WERKS(004) TYPE C, "Plant
MAKTX(040) TYPE C, "Material description
DISMM(002) TYPE C, "Extra Field Added In the Program as itsrequired
MEINS(003) TYPE C, "Base unit of measure
MATKL(009) TYPE C, "Material group
SPART(002) TYPE C, "Division
LABOR(003) TYPE C, "Lab/office
PRDHA(018) TYPE C, "Product hierarchy
MSTAE(002) TYPE C, "X-plant matl status
MTPOS_MARA(004) TYPE C, "Gen item cat group
BRGEW(017) TYPE C, "Gross weight
GEWEI(003) TYPE C, "Weight unit
NTGEW(017) TYPE C, "Net weight
GROES(032) TYPE C, "Size/Dimensions
MAGRV(004) TYPE C, "Matl grp pack matls
BISMT(018) TYPE C, "Old material number
WRKST(048) TYPE C, "Basic material
PROFL(003) TYPE C, "DG indicator profile
KZUMW(001) TYPE C, "Environmentally rlvt
BSTME(003) TYPE C, "Order unit
VABME(001) TYPE C,
EKGRP(003) TYPE C, "Purchasing group
XCHPF(001) TYPE C, "Batch management
EKWSL(004) TYPE C, "Purchasing key value
WEBAZ(003) TYPE C, "GR processing time
MFRPN(040) TYPE C, "Manufacturer part number
MFRNR(010) TYPE C, "Manufacturer number
VPRSV(001) TYPE C, "Price control indicator
STPRS(015) TYPE C, "Standard price
BWPRH(014) TYPE C, "Commercial price1
BKLAS(004) TYPE C, "Valuation class
END OF LSMW_MATERIAL_MASTER.
INTERNAL TABLE DECLARATIONS *
*to store the input data
DATA:
BEGIN OF it_matmaster OCCURS 0.
INCLUDE STRUCTURE LSMW_MATERIAL_MASTER.
DATA:
END OF it_matmaster.
*for material description
DATA:BEGIN OF IT_MATERIALDESC OCCURS 0.
INCLUDE STRUCTURE BAPI_MAKT .
DATA:END OF IT_MATERIALDESC.
*to return messages
DATA:BEGIN OF IT_RETURN OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA:END OF IT_RETURN.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.
PARAMETERS:P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1 .
AT SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
TO UPLOAD THE DATA *
START-OF-SELECTION.
V_FILE = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = V_FILE
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = IT_MATMASTER
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA POPULATIONS *
LOOP AT IT_MATMASTER.
BAPIMATHEAD-MATERIAL = IT_MATMASTER-MATNR.
BAPIMATHEAD-IND_SECTOR = IT_MATMASTER-Mbrsh.
BAPIMATHEAD-MATL_TYPE = IT_MATMASTER-Mtart.
BAPIMATHEAD-BASIC_VIEW = 'X'.
BAPIMATHEAD-PURCHASE_VIEW = 'X'.
BAPIMATHEAD-ACCOUNT_VIEW = 'X'.
BAPI_MARA-MATL_GROUP = IT_MATMASTER-MATKL.
BAPI_MARA-OLD_MAT_NO = IT_MATMASTER-BISMT.
BAPI_MARA-BASE_UOM = IT_MATMASTER-MEINS.
BAPI_MARA-BASIC_MATL = IT_MATMASTER-WRKST.
BAPI_MARA-MFR_NO = IT_MATMASTER-MFRNR.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-OLD_MAT_NO = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-BASIC_MATL = 'X'.
BAPI_MARAX-MFR_NO = 'X'.
BAPI_MARC-PLANT = IT_MATMASTER-WERKS.
BAPI_MARC-PUR_GROUP = IT_MATMASTER-EKGRP.
BAPI_MARCX-PLANT = IT_MATMASTER-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
IT_MATERIALDESC-LANGU = 'EN'.
IT_MATERIALDESC-MATL_DESC = IT_MATMASTER-MAKTX.
append IT_materialdesc.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = BAPIMATHEAD
CLIENTDATA = BAPI_MARA
CLIENTDATAX = BAPI_MARAx
PLANTDATA = BAPI_MARc
PLANTDATAX = BAPI_MARcx
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
STORAGELOCATIONDATA =
STORAGELOCATIONDATAX =
VALUATIONDATA =
VALUATIONDATAX =
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA =
SALESDATAX =
STORAGETYPEDATA =
STORAGETYPEDATAX =
FLAG_ONLINE = ' '
FLAG_CAD_CALL = ' '
IMPORTING
RETURN = IT_RETURN
TABLES
MATERIALDESCRIPTION = IT_MATERIALDESC
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
WRITE:/ IT_RETURN-TYPE,
2 IT_RETURN-ID,
22 IT_RETURN-NUMBER,
25 IT_RETURN-MESSAGE.
IT_RETURN-LOG_NO,
IT_RETURN-LOG_MSG_NO,
IT_RETURN-MESSAGE_V1,
IT_RETURN-MESSAGE_V2,
IT_RETURN-MESSAGE_V3,
IT_RETURN-MESSAGE_V4,
IT_RETURN-PARAMETER,
IT_RETURN-ROW,
IT_RETURN-FIELD,
IT_RETURN-SYSTEM.
ENDLOOP.
Regards,
Naveen -
Material Classification Data extraction fron ECC
Hello Experts,
We are trying to extract material classification data from ECC 6.0 to MDM 7.1 using mdmgx T-Code. We are using the standard SAP list of tables which is uploaded in MDMGX. On performing 'Start Extraction' it gives us the following errors:
Class and characteristics info returned is blank
Blank XML returned for port LT_ClassAttributes
Class and characteristics info returned is blank
Blank XML returned for port LT_Classes
Kindy advice if we are missing anything.
Thanks in advance,
Elizabeth.Hi Eliza,
I think rather than class type there should be Class Name e.g.
-<ClassHierarchies>
<Class>LIQUID_SAMPLER</Class>
<ParentClass />Zparent<ParentClass />
<Name_English>LIQUID_SAMPLER</Name_English>
</ClassHierarchies>
-<ClassHierarchies>
<Class>Zparent</Class>
<ParentClass />
<Name_English>ZPARENT</Name_English>
</ClassHierarchies>
One of the <ClassHierarchies> should not have ParentClass because there must be one class which is parent of all classes e.g. here ZPARENT
You should check that may be 001 is here also defined as class-name not class type. I would also say check do you have other ParentClass as Class name or not, except 001. Try to import this data in the manner as shown in MDM import Manager Reference Guide page 162 onwards using Create Hierarchy, after import check with business/functional consultant. Please have a look into it,
http://help.sap.com/saphelp_nwmdm71/helpdata/en/4b/72b8e7a42301bae10000000a42189b/MDMImportManager71.pdf
You can also use predefined import map for pre-delivered repositories like Material, Product etc.
Also, refer http://wiki.sdn.sap.com/wiki/display/SAPMDM/eClassTaxonomyinCustomRepositories
Regards,
Mandeep Saini -
Functional module for Getting Material classification data.
Please tell me Functional module for Getting Material classification data like class type , class, characteristics and characteristics values for material.
Dear,
FM:
CLAF_CLASSIFICATION_OF_OBJECTS
Table KLAH Class Header Data
- KSML Characteristics of a Class
Regards,
R.Brahmankar -
Load 'Material Classification' data in to BW from R/3
Hi all,
We want to load the 'Material Classification' data in to BW from R/3. There is no 'Classification' tab with Tcode 'MM03' in R/3. We have very little MM functionality on R/3 with just MARA table. I have to start from the scratch on R/3 side. We don't have any MM Functional consultant.
I read the 'Understand the R/3 Classification System and How to Extract Classification Data into BW' document from BWExpertOnline. It will help on creating the DataSource.
How can I do the Material Classification on R/3 side and what is the best way to proceed on it?
If any one has worked on this type of request, could you please pass any document or share their knowledge, PLEASE ?
Thanks.Do you know what classification data you want to define/add in the R/3 system? I think it is not a technical exercise, more of a functional work where you first have to determine your classification requirements and configure the system accordingly. Do you know what classification you want to use (any examples of how you want a particular material to be classified)? If not, this is not going to work without functional help.
You can explore the config part in SPRO->Cross-application>Classification, and setup the data for classification from main R/3 menucross-application componentsclassification systemmaster data (characteristics, classes). -
Need Material Classification data function module
Hi all,
i have requirement to fetch material classification data through function module.
is there any point to know releted function modules of classification data of material data.
Thanks in advance,
BhaskarHi,
In KLAH you get the list of Classifications linked to a Material. Give OBJEK = MATNR.
By giving CLINT in KLAH you find the corresponding CLASS.
in BAPI:
BAPI_OBJCL_GETDETAIL
pass following values:
OBJECTKEY = KSSK-OBJEK
OBJECTTABLE = 'MARA'
CLASSNUM = KLAH-CLASS
CLASSTYPE = KLAH-KLART
KEYDATE = sy-datum
UNVALUATED_CHARS
LANGUAGE = sy-langu
the output would be in
ALLOCVALUESNUM
ALLOCVALUESCHAR
ALLOCVALUESCURR
based on the type of characteristic.
Best Regards, Murugesh AS -
Transfer of material master data with Classification view
Dear Experts
I want to transfer material master data between R/3 using ALE. We are able to send master data using BD10 without classification view.
Please let me know in detail the configuration, steps invloved in sending materail master along with classification view.
Regards
SamalHAI FRIENDS,
CHANGING CLASSIFICATION VIEW FOR MATERIAL USING BAPI
->CREATE CHARACTERISTIC USING TCODE CT04
->CREATE CLASS USING TCODE CL01 .
-> RUN THIS PROGRAM TO CHANGE THE CLASSIFICATION VIEW
PARAMETERS: P_MATNR TYPE MARA-MATNR. "MATERIAL
DATA: OBJECTKEY TYPE BAPI1003_KEY-OBJECT,
OBJECTTABLE TYPE BAPI1003_KEY-OBJECTTABLE,
CLASSNUM TYPE BAPI1003_KEY-CLASSNUM,
CLASSTYPE TYPE BAPI1003_KEY-CLASSTYPE,
ALLOCVALUESNUMNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_NUM WITH HEADER LINE,
ALLOCVALUESCHARNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_CHAR WITH HEADER LINE,
ALLOCVALUESCURRNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_CURR WITH HEADER LINE,
RETURN TYPE TABLE OF BAPIRET2 WITH HEADER LINE.
OBJECTKEY = P_MATNR.
OBJECTTABLE = 'MARA'.
CLASSNUM = 'MTS_CABLE_BIN1'. "CLASS(CREATED USING CL01)
CLASSTYPE = '023'. "CLASS TYPE (023 FOR BATCH)
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
OBJECTKEY = OBJECTKEY
OBJECTTABLE = OBJECTTABLE
CLASSNUM = CLASSNUM
CLASSTYPE = CLASSTYPE
STATUS = '1'
STANDARDCLASS =
CHANGENUMBER =
KEYDATE = SY-DATUM
NO_DEFAULT_VALUES = ' '
IMPORTING
CLASSIF_STATUS =
TABLES
ALLOCVALUESNUMNEW = ALLOCVALUESNUMNEW
ALLOCVALUESCHARNEW = ALLOCVALUESCHARNEW
ALLOCVALUESCURRNEW = ALLOCVALUESCURRNEW
RETURN = RETURN
LOOP AT RETURN.
WRITE: / RETURN-TYPE ,RETURN-MESSAGE.
ENDLOOP.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
BY VENKATESWARAREDDY D
MYTEC SOFT LTD -
Material Master Data Reporting with SAP BW?
Hello,
I have a question regarding the use of a SAP BW System. Do you guys think SAP BW is a appropriate System for modelling and analysing Queries for the Material master data of the R/3 System.
Focus:
Material master data
Bill of Material
Material Classification System
Iu2019m not sure if Infocubes are the right way to report such kind of requirement. I mean Infocubes always requires key figures and dates but the material master data are mainly characteristics. Can someone give me some advice?
Thanks & GreetingsHi,
I'd say yes. You can aalo use InfoObejct and DSO (like Tables) as well as InfoSets (Join ability).
Masteer Data and BoM shouldn't be a problem.
Material Classification System is always a bit tricky. Standard Class extractors are not able to extract multiple classifcations. There will be need of some Programming due to the poor standard solution.
I suppose some 10 - 15 days till it's finished an productive.
hth
cheers
Sven -
EREC / e-Rec : Migration of CV Data Bank
Dear Team
We need to migrate current CV data bank (.Net) to E-Rec System
Is there any way to do so. Hope, SAP might have provided some functionalities in E-Rec System
Request you all to provide us the way forward in this regard
Regards
BadariNHi,
there is nothing in standard available. You need to write your own reports using BAPIs or classes.
Best regards
Sebastian
Maybe you are looking for
-
Posting My iTunes Podcast URL On My Website
Earlier today Wrongway Peachfuzz taught me how to locate the url needed to ping iTunes that I had a new photo, description and info update, and now I'm hoping one of you can teach me... How to locate my iTunes podcast URL so I can post it on my websi
-
Mail won't send after Lion upgrade and AT&T won't help
I upgraded my new MBP to Lion and now I can't send mail if I'm on my network at home. After looking at other threads (like this one: https://discussions.apple.com/thread/3192956) and based on the symptoms I'm having, I think the problem is likely an
-
I want to learn data guard.Where should i start? Kindly suggest some good books with hands on exercise. oracle 11g
-
HT1338 How do I go from 8.6.2 to OS X Lion?
Do I need to buy earlier upgrades, or can I just buy OS X Lion?
-
5500-ac change the logging level from info to warnings
We have 4 Cisco Systems AIR-PWR-5500-AC's in our network with logging set to default of informational. This level of logging generates a lot of noise. I need to change the logging level from info to warnings, but cannot do so until I have a table tha