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.
Similar Messages
-
I have uploaded Material Master thr LSMW but Materials are not saved.
Hi
i have uploaded Material Master through LSMW but unfortunetly Matreials are not saved in system.Hi
Check first with one record you are able to create the material Manually by using tcode MM01.
Or Rerun the batch Input in Foreground mode so that you can see the error or whether Materila no is created
I do not think so any test mode in Batch Input session.
Check the Log in SM35 for your session if you have any error messages.
Hope it helps
Karthik -
Upload sales text for material master using LSMW direct input method
Hello Experts,
I was trying to upload sales text for a material master using LSMW direct input method.
I followed the following steps for the same
Tab dlimited Text file format
MATNR LONGTEXT LINE
MATERIAL1 LONGTEXT FOR MATERIAL MATERIAL1 1
Step1 -> Maintain object attributes
Object -> 0001
Method-> 0001
Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type -> D
Step2 -> Maintain Source Structure
Source structure -> LONG_TEXT Source structure for long text
Step 3-> Maintain souce file
Source Fields
ZLONG_TEXT Source structure for long text
MATNR C(018) MATNR
LTEXT C(132) LTEXT
Step 4-> Maintain structure relationship
Structure Relations
/SAPDMC/LTXTH Long Texts: Header <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTH .
/SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTL .
Step 5-> Maintain Field mapping and conversion rules
Here i have assigned constan rules to couple of them like
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME Name
Source: ZLONG_TEXT-MATNR (MATNR)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
ID Text ID
Rule : Constant
Code: /SAPDMC/LTXTH-ID = '0001'.
SPRAS Language Key
Rule : Constant
Code: /SAPDMC/LTXTH-SPRAS = 'E'.
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
TEXTLINE Text Line
Source: ZLONG_TEXT-LTEXT (LTEXT)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
Step6 -> Specify file
Legacy Data On the PC (Frontend)
Data D:\Sales_Longtext.txt
Step7 -> Assign File
ZLONG_TEXT Source structure for long text
Data D:\Sales_Longtext.txt
Step8 -> Read data
Output result
Source Structure Read Written Not Written
ZLONG_TEXT 1 1 0
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 1
Step 8 -> Display read data
Field Name Field Text Field Value
MATNR MATNR MATERIA1
LTEXT LTEXT SALES TEXT FOR Material MATERIAL1
Step 9 -> Convert data
File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
Step 10 -> Display converted data
1 /SAPDMC/LTXTH 1MVKE MATERIAL1 0001E
2 /SAPDMC/LTXTL 2/ SALES TEXT FOR Material MATERIAL1
Step 11 -> Start direct input program
Output result for the same
Legacy System Migration Workbench
Project: ZNRD_PRJ1 ORH
Subproject: ZNRD_SUBPRJ2 Upload long text
Object: ZNRD_LTEXT Long text tru direct input
File : ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Now when i check the material master sales view -> sales text it is empty.
Please help me with the same.
Regards,
Ranjith NHello Experts, I was trying to upload sales text for a material master using LSMW direct input method.
I followed the following steps for the same
Tab dlimited Text file format
MATNR LONGTEXT LINE
MATERIAL1 LONGTEXT FOR MATERIAL MATERIAL1 1 *************************************************************************************************************
Step1 -> Maintain object attributes
Object -> 0001
Method-> 0001
Program name -> /SAPDMC/SAP_LSMW_IMPORT_TEXTS
Program type -> D
Step2 -> Maintain Source Structure
Source structure -> LONG_TEXT Source structure for long text
Step 3-> Maintain souce file Source Fields
ZLONG_TEXT Source structure for long text
MATNR C(018) MATNR
LTEXT C(132) LTEXT
Step 4-> Maintain structure relationship
Structure Relations
/SAPDMC/LTXTH Long Texts: Header <<<< ZLONG_TEXT Source structure for long text
Select Target Structure
/SAPDMC/LTXTH . /SAPDMC/LTXTL Long Texts: Row <<<< ZLONG_TEXT Source structure for long text
Select Target Structure /SAPDMC/LTXTL .
Step 5-> Maintain Field mapping and conversion rules
Here i have assigned constan rules to couple of them like
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MVKE'.
NAME Name
Source: ZLONG_TEXT-MATNR (MATNR)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = ZLONG_TEXT-MATNR.
ID Text ID
Rule : Constant
Code: /SAPDMC/LTXTH-ID = '0001'.
SPRAS Language Key
Rule : Constant
Code: /SAPDMC/LTXTH-SPRAS = 'E'.
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = '/'.
TEXTLINE Text Line
Source: ZLONG_TEXT-LTEXT (LTEXT)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = ZLONG_TEXT-LTEXT.
Step6 -> Specify file Legacy
Data On the PC (Frontend)
Data D:\Sales_Longtext.txt
Step7 -> Assign File ZLONG_TEXT
Source structure for long text
Data D:\Sales_Longtext.txt
Step8 -> Read data
Output result
Source Structure Read Written Not Written
ZLONG_TEXT 1 1 0
Transactions Read 1
Records Read: 1
Transactions Written: 1
Records Written: 1
Step 8 -> Display read data
Field Name Field Text Field Value
MATNR MATNR MATERIA1
LTEXT LTEXT SALES TEXT FOR Material MATERIAL1
Step 9 -> Convert data
File Read: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.read
File Written: ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
tep 10 -> Display converted data
1 /SAPDMC/LTXTH 1 MVKE MATERIAL1 0001 E
2 /SAPDMC/LTXTL 2/ SALES TEXT FOR Material MATERIAL1
Step 11 -> Start direct input program
Output result for the same
Legacy System Migration Workbench Project:
ZNRD_PRJ1 ORH
Subproject: ZNRD_SUBPRJ2 Upload long text
Object: ZNRD_LTEXT Long text tru direct input
File : ZNRD_PRJ1_ZNRD_SUBPRJ2_ZNRD_LTEXT.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0
Now when i check the material master sales view -> sales text it is empty. Please help me with the same.
Regards,
Ranjith N -
Report For list of material Master with PO text
Hi all,
I need a report whether it is available in Standard SAP or a customized, for List of Material Master with their PO text.
If any one can help, please reply to this theard.
Regards,
Kapil KulkarniTo get the material number combined with the PO text you will need the help of an ABAP programmer. The programmer can create a report for you using the function module READ_TEXT in the function group STXD. The tables to use are:
STXH - STXD SAPscript text file header
STXL - STXD SAPscript text file lines
The selection screen should have at least the following:
OBJECT - STXH-TDOBJECT
NAME - STXH-TDNAME
LANGUAGE - STXH-TDSPRAS
TEXTID - STXH-TDID
You find the information for these fields by going to the PO text entry screen and displaying the header information under Goto -> Header. For materials, the object is MATERIAL, the name is "material number", the language is "EN", and the text ID is BEST. You can use this program to get long text in lots of places like information records, purchase order texts, etc.
Hope this helps. -
How to create a material master with referrence to exsisting material maste
hi experts
how to create the material master with reference to an existing material master ?
please explain in steps
regards
jaiDear,
It is very simple.
Enter MM01 t-code.
Enter your existing material code in field of reference material code.
If your material number range is external number range then enter number of material otherwise direct enter industry sector and material type.
After enter basic detail system ask you plant/storage location detail and view detail.
Select reference plant and storage location in left sight of diglog and enter plant and storage location in right sight of diglog screen for which you want to maintain material master.
Then click on all view, If you want to change some detail change it.
Due to reference material all detail is come from reference material.
Then click on save.
NOTE: - You can create new material with reference of old material but it is prerequest material type should be same of both material old and new.
Regards,
Mahesh Wagh -
Mandatory in material master with material type wise
Dear all
Is it possible to make a field mandatory in material master with material type wise?
kindly helpHi
See the below config
Check in OMS2 for your material type for "field reference". then
Spro>logistics general>Material master-->field selection.
Here you need to group required fields under one field selection group. then in Maintain field slection for data screen, you can make Field group madatory for the field reference (material type)
If required take help from MM consultant
Regards
Antony -
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,
Avinashhttp://www.sap123.com/a/98/
Check the internal number range once.... before extending mateial... -
I want validation while creating material master with profit center
Dear Experts,
I want validation while creating material master with profit center.
If 0001 plant having 100100 profit center
0002 plant having 200200 profit center
Material A cant be created for 0001 plant for with wrong profit center 200200.
Kindly help & provide me solution clearlyHi,
Profit centers are assigned to controlling areas. And controlling areas can have many plants under them. So as long as both the plants and profit centers are in the same controlling area users will be able to extend the materials.
You should put in your validation control in the material master user exit. One of the exits you can use is
MGA00001 Material Master (Industry): Checks and Enhancements
Thanks & regards
Hameed Parvez -
Upload Material master with long text using LSMW
Hello,
i want ot upload material master data via MM01 using LSMW in following views: basic data 1 ,2, purchasing, purchase order text, plant data 1,2.
i have to upload long text in purchase order text with length more then 132 char. (approx 700 char long text). and i have text file in which long text is maintained in a single row. then how can i do it without formating text file or anyother possible solution.
please help.ca u clarify how can i do it.
suppos i have longtext "Air cooled type air-conditioning unit complete with following components & distance between indoor & outdoor unit is 10 RMT. A).Indoor evaporating unit comprising of cooling coils,insulated drain tray,20 micron HDPE washable filters,blower,motor,electical junction box etc. B).Outdoor condensing unit comprising of hermatic/semiharmetic compressor's.condenser coils,propeller/axial fans,motors,pressure switches/cutout etc.C).Charging of refrigerant gas & oil.D).Inter connecting refrigerating piping of copper duly insulated with EXPANDED POLYETHYLENE tubing.E).Complete electical power wiring of AL.&Control wirng of copper required from indoor & outdoor units.Earthing of the complete system with 8 G G.I.wire. F).Electrical panel will be completed with necessary starter,fuses,switches,timers,over-load relays,contactors,push button and indicating lamps,single phasing preventer etc..and also with remote control with cording. G).The panel should have 1 no.potential free contactor to connect with central fire detection system.The panel should have voltage scanner to ensure stabilized power input to the machine.H).Outdoor unit shall be mounted on MS angle base frame structure duly black painted with synthetic epoxy paint.I).The frame structure shall be mounted on MS plate & serrated rubber pads."
then what i have to do changes in lsmw.? -
LSMW datamigration material master with multiple distribution channels
Hi,
We plan on using the LSMW to migrate our customer's material master to a ECC 6.0 system.
Currently we use the BMM00 and BMMH1 structures, but there I can specify only one distribution channel.
Does anyone know how to include multiple distribution channels in LSMW material master migration?
Thanks in advance for your support.
Edited by: Mohammed Qasim Malik on Jan 21, 2008 10:01 AMyou need an extra record in your source per distibution channel.
Alternative you can create the extra record with a small Abap code in LSMW in section __END_OF_RECORD__
There you habe in standard the code:
transfer_record.
just add after this statement a statement that gets the additional wanted distribution channel into the distribution channel field.
BMM00-VTWEG = 'xx'.
transfer_record. -
Hai guys,
I want to upload material using lsmw for material master.i am following all the steps in the lsmw. i am using the batch input method for uploading.If the sales unit is different from the unit of measure..i will be getting the conversions data like numerator and denominator fields.
i am getting the same fields if the issue unit is also different.so i couldnt able to map it correctly with the conversion fields..this repeating fields are not captured in the recording for the target fields.
so i couldnt able to map it.please help me to solve this problem..
with regards,
sathish..Hi,
Please close this duplicate thread..
Thanks,
Naren -
Upload Material Master using LSMW BAPI BUS1001006-SaveData
Hi Gurus,
I'm working with material master upload using the BAPI BUS1001006-SaveData.
I'm wondering on how can I know what structure should I populate on step 4 of LSMW "Maintain Field Mapping and Conversion Rules".
Seen some tutorials on material master upload but it wasn't explained there why or what structure should be populated..
Thanks and Regards.I just check each structure one by one to which the field is appropriate depending on its description....
-
Material master with profit center
Dear All,
Pl advice me regarding following - (Version - ECC 6.0 with Doc Splitting Active)
The client is into Engg, Construction industry. We are having Project System. There are around 20-30 projects going on. Client wants to track receivables / payables on Each Project along with the Profit & Loss Statement for the project.
1) Decided to create each project as a Profit Center.
2) Problem is with material code & plant.
3) To track material / vendor transactions Project wise - EACH Project can be created as a Plant. So we can maintain Plant wise data for each material & maintain the Profit Center in Plant Data.
But we want to avoide creating Number of Plants. Instead planning to create only One Plant & create number of storage locations = number of Projects.
Here the Material / Vendor Transactions will be posted (in General Ledger view) with Only common Profit Center maintained in Material master.
Can we overcome this? Can we derive the Project wise Profit center some where from Srorage location or any other area (using substitution etc) without affecting sanctity of Document Splitting Function?
Pl help. This is very important.
Thanks,
mukeshHi
The basic purpose of having plants is to have different valuation area. Unless you define your project sites as individual site how you are planning to handle the inventory/procurement/payment of each project separately. ForvBalance sheets you need to have plant for each site. Moreover Storage Locations are virtual and does not help you in balance sheet calculation. materials can be extended to all plants with individual prices and other unique values as ity differs from plant to plant if not all at least price will vary.
Regards -
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 -
Initialize some fields in material master with default values
Hi,
I would like to initialize some fields in material master MM01 with default values.
for exemple in the view MRP1 there is a field MRP type I would like to initialize PD in the field as default value.
but when I go to the technical information there is no parameter id that I can use in SU3.
Do you know how I can the initialize the field those don't have parameter ID?
thank
DedeDear Glenn,
This is possible in SAP for this use T code MMD1 and create MRP profile and assign this MRP profile while creating material using MM01 in the organisation level put this created MRP profile. The values you maintained in this profile get copied to the material by default.
To maintain MRP profile go to MMD1->give your profile name...........> click on selection screen push button--->give here profile description--->select what MRP field which u want to make fixed one/default. if make fixed later you can not change--
>click on data screen 1 push button and maintain your value and save
sree
Maybe you are looking for
-
Mini Displayport to VGA Adapters Keep Braking
Hi Guys, I was wondering if anyone else has had the same problem as me. I have managed to go through 3 Mini Displayport to VGA Adapters in a very short space of time. The last one only lasted two days. My Macbook Pro is only sat at a desk and there d
-
I've been thinking about getting the Alu/Glass 24" iMac (waiting until at least Leopard's arrival) but after having read a number of threads here I thought I'd better go and check for myself... I still use a PowerBook G4 15" at home and use a second
-
Managing Voice Mailboxes for Multiple Sites
I'd like some help coming up with a solution for a problem we are having. We have 15 small branch offices that sometimes need to close due to the weather and they need to have an alternative voicemail greeting set when this happens. In certain situat
-
Pop ups and ads totally covering my screen
I just bought a Mac today, I was downloading programs and I accidentally download this video player, and now whenever I open my web browser it is filled with ads and whenever I try to click a link it redirects me to this site. Please help I can't ge
-
Tomahawk how can i hide folders icons in t:tree?
Hi, i use the tag t:tree in myfaces. I have added my own icons to the tree, but i don't know how can i hide old folders icons of tree. Can anybody help me? Thanks and Best Regards, Sergey