LSMW Direct input for Material Master
Hi,
I need to upload the following views data into SAP using direct input (RMDATIND)
Basic Data 1
Basic Data 2
Classification
Sales: Sales Org. Data 1
Sales: Sales Org. Data 2
Sales: General/Plant Data
Foreign Trade: Export Data
Sales Text
Purchasing
Foreign Trade: Import Data
Purchase Order Text
Work Scheduling
General Plant Data / Storage 1
General Plant Data / Storage 2
Accounting 1
Accounting 2
Costing 1
Costing 2
Is it possible to upload these views through direct input or is there any limitation with the direct input method because i'm able to map the below fields only once
Country of Origin
Region of Origin
Excemption Certificate
Ex. Certificate number
Issue date of Cert. No.
Indicator: Military goods
the above fields are repeated twice for the views
Foreign Trade: Export Data
Foreign Trade: Import Data
If anybody has done material master in lsmw please let me know.
Thanks in advance.
Poorna
Hi,
I need to upload the following views data into SAP using direct input (RMDATIND)
Basic Data 1
Basic Data 2
Classification
Sales: Sales Org. Data 1
Sales: Sales Org. Data 2
Sales: General/Plant Data
Foreign Trade: Export Data
Sales Text
Purchasing
Foreign Trade: Import Data
Purchase Order Text
Work Scheduling
General Plant Data / Storage 1
General Plant Data / Storage 2
Accounting 1
Accounting 2
Costing 1
Costing 2
Is it possible to upload these views through direct input or is there any limitation with the direct input method because i'm able to map the below fields only once
Country of Origin
Region of Origin
Excemption Certificate
Ex. Certificate number
Issue date of Cert. No.
Indicator: Military goods
the above fields are repeated twice for the views
Foreign Trade: Export Data
Foreign Trade: Import Data
If anybody has done material master in lsmw please let me know.
Thanks in advance.
Poorna
Similar Messages
-
Lsmw : Direct Input : 0020 Material Master :Error
hi all !
I'm onto making a lsmw for material master direct input.i'm facing the following error :
1.The field Marc-LADGR is defined as a required field : it doesnt contain an entry
2.You have not fully maintained the tax classifications.
in my flat file i have duly filled in the field MARC-LADGR
need help ,plz see if you can track wats the problem.
thanks and regards,
sachinya sachin ... as u r telling .. download from the std program... & continue the process....
my suggestion ... cross check again with ur fields of the source structure ....i mean decalre only fields .. which are required .. then do the field mapping again for the all the fields...
i believe there will be documentation for the std program .... check it & go thru with that ..map it ... wherever needed ....
try & let me know...
thanks,
manjunath ms -
LSMW --direct input for sales order
Hi frenz,
We are facing a problem in mapping the fields, sold-to-party and ship-to-party in structure BVBPAKOM.
I have already tried using partnerfunction(PARVW) and custno(KUNNR). Even then i got an error 'Specify ship-to-party or sold-to-party'. Can anyone help me regarding this problem.
Helpful answers will be rewarded with points and wishes.
---praveen.hi,
join this link dude
LSMW DIRECT INPUT FOR SALES ORDER
cheers,
sanjay. -
Hi All,
I m facing a problem in LSMW - direct input for XD01Transaction (Create Customer).
while testing the file from Application server using BATCH INPUT SESSION. At the end, my Session fails and it shows an error in the log "Function code cannot be selected" and under that line 1 more comment is there - "Transaction Error".
please help me in this issue.
Edited by: Rahul Gautam on Sep 17, 2008 1:53 PM
Edited by: Rahul Gautam on Sep 17, 2008 2:25 PMHi
I found the Solution
Thanks -
Step by step instruction for Using LSMW Recoding method for Material Master
Guys,
Can some one explain step by step procedure for uploading the materials master data to R/3 by using LSMW Recoding method. By the time you reply I will go through the rule of uploading the data..
Thanks guys,
Dhanu.Hi,
The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
The LSM Workbench covers the following steps:
(1)Read the legacy data from one or several files (e.g. spreadsheet tables, sequential files)
(2)Convert the data from source format to target format
(3)Import the data using standard interfaces (Batch Input, Direct Input, BAPI, IDoc).
The Steps for LSME are:
Example: Customer Master upload:
LSMW to Update Customer Master Records with Transaction Recording
Call Legacy System Migration Workbench by entering transaction code LSMW. Every conversion task is grouped together as Project / Subproject / Object structure. Create a Project called LSMW_DEMO and a Subproject as CUSTOMERS and Object as CUST_REC
Step 1: Maintain Object attributes
In this example, you will be updating the customer master records with the help of recording a transaction (XD02). Choose radio button Batch Input Recording and click on the recording overview icon to record the R/3 transaction. Enter the Recording name as XD02_REC, the description as Customer Master Updates Recording, and the transaction code as XD02.
Step 2. Maintain Source Structures
Give a name and a description to the source structure
Step 3. Maintain Source Fields
In this step, you need to list what fields are present in the source structure. The easiest way is to click on u2018Table Maintenanceu2019 icon to enter Fieldname, Type and Length for each field
Step 4: Maintain Structure Relations
Execute a step to u2018Maintain Structure Relationsu2019. Since, there is only one Source and Target Structure, the relationship is defaulted automatically.
Step 5: Maintain field mapping and conversion rules
Field RF02D-D0310 represents that you chose u2018Sales viewu2019 for the customer Master screen accordingly its value should be set to X. Keep your cursor on field RF02D-D0310 and click on Constant rule icon to choose the constant value of u2018Xu2019.
If your source file already has the field value, you choose rule u2018Source Fieldu2019.
Keep cursor on field u2018KUNNRu2019 and click on u2018Assign Source fieldu2019 icon to choose source field CUSTOMER from structure XD02S
Step 6: Maintain fixed values, translations, user-defined routines
You can also maintain re-usable translations and user-defined routines, which can be used across conversion tasks. In this case, that step is not required.
Step 7: Specify files
In this step, we define how the layout of the input file is. The input file is a [Tab] delimited with the first row as field names. It is present on my PC (local drive) as C:\XD02.txt.
Step 8: Assign files
Execute step u2018Assign Filesu2019 and the system automatically defaults the filename to the source structure.
Step 9: Read data
In this step, LSMW reads the data from the source file (from your PCu2019s local drive). You have the option to read only selected rows and convert data values to Internal format.
Step 10: Display read data
This step is optional. If required, you can review the field contents for the rows of data read.
Step 11: Convert data
This is the step that actually converts the source data (in source format) to a target format. Based on the conversion rules defined, source fields are mapped to target fields.
Step 12: Display Converted data
Again this is an optional step to view how the source data is converted to internal SAP format
Step 13: Create batch input session
Once the source data is converted in an internal format, you can create a batch session to process updates.
Step 14: Run Batch Input Session
You can execute the BDC session by Run Batch input session. Executing a batch input session is a standard SM35 transaction for managing BDC sessions. Once you have successfully executed the batch input session, the customer master records are updated in the system. You can confirm this by viewing the customer master records (XD03).
Follow the link for material master
http://www.sap123.com/showthread.php?t=98
Regards,
Biju K -
LSMW direct input for creating a BOM
Hi all ,
I am trying to create a new BOM using LSMW (direct input method ) .
I have created a structure for the header, an other structure as its child for the item data .
Now , i got a doubt regarding specify files ......
Since i have only one text file , how i have to mention the sequence of the header and item data .....
since i dont have the sample data ....
or ( should i use two text files , though i use 2 text files i cant use these two in the specify files .since i can upload only one file )
pls let me know , i have lots of the other questions but i cant specify in this....
Pls guide me .....
Regards,
RajHi,
You need to define the two structure header and detail. Both files should have the key fields:
For example: Both file have Plant, Material Number, BOM Usage & Valid From.
Then BGR00 and BICSK should be mapped to BOM_HEADER and BICSP to BOM_DETAIL structure.
Then just do the mapping and should work.
Hope this helps.
Regards,
Bharati Singh -
Issue in LSMW(Direct Input) for FB01 with (RFBIBL00)
Hi All,
I am developing a LSMW-Direct input method for TCode-FB01 using program RFBIBL00.
I am using one file as input file. I have below fields in the file.
STYPE
BLART
BUKRS
BLDAT
BUDAT
MONAT
WAERS
KURSF
XBLNR
BKTXT
XMWST
NEWBS
NEWKO
NEWUM
WRBTR
KOSTL
PROJK
AUFNR
PRCTR
SEGMEN
MWSKZ
WMWST
ZFBDT
ZUONR
SGTXT
My Data is as below: (Single record) 1 - Header data, 2-Item data
1 SA 1123 01062009 01062009 6 USD Test1 Testing
2 40 100005 10 Test Test
2 50 100005 10 Test Test
After 'Converted data' step it is displaying 7 rows instead of 3 rows for BGR00, BBKPF, BBSEG.
Is there any condition(logic) i need to write to make it to 3 rows.
All the data displayed above is for single record.
Because of this issue i am not able to create document through FB01.
How to solve this issue!
Thanks,
Deep.you need to pass 2 strctures like below
1 is header and 1 is item
here INDENT is link between 2 files
in your case 1 record: BGR00,
1 record : BBKPF
2 records: BBSEG
its only 4 records, i think you file contains space for 3 more record you check that.
and also in the last step you have option for creating the batch input method, create BI and run in foreground ....
YFIC_HEADER Header
INDENT C(010) Identifier
BLDAT C(008) Document Date
BLART C(002) Document Type
BUKRS C(004) Company Code
BUDAT C(008) Posting Date
MONAT C(002) Posting Period
WAERS C(005) Currency
KURSF C(009) Exchange rate
BELNR C(010) Document Number
WWERT C(008) Translation Date
XBLNR C(016) Reference
BVORG C(016) Cross-co. code no.
BKTXT C(025) Document Header Text
PARGB C(004) Trading part.BA
XMWST C(001) Calculate Tax
LDGRP C(004) Ledger Group
YFIC_ITEM Item Data
INDENT C(010) Identifier
NEWBS C(002) Posting Key
NEWKO C(017) Account
NEWUM C(001) Special G/L ind.
NEWBW C(003) Transact. type
WRBTR C(015) Amount
MWSKZ C(002) Tax Code
XSKRL C(001) W/o cash disc.
KOSTL C(010) Cost Center
AUFNR C(012) Order
GSBER C(004) Business Area
PRCTR C(010) Profit Center
RASSC C(006) Trading Partner
FKBER C(004) Functional Area -
Hi
I am uploading BOM throuh LSMW direct input ..... in this procedure i have got an error at step 7 specify files
i have specify file then i try to sve that step sysytem has given below error... pls could any guide me this procedure.
Error message:
"No logical path has been specified"
Message no. /SAPDMC/LSMW_OBJ_060046
Regards
H GVD
Edited by: hemanth.gvd on Feb 11, 2012 1:19 PMDuring file assignment when it asks for logical path and logical file for ".conv" file to be saved on the server(Double click on .conv file name). Just enter a path name and file name ( eg: ZPATH and ZFILE) and hit enter if the path doesn't exist it will create one, same with logical file name.
Look at this [screen shot.|https://lh6.googleusercontent.com/-AoGzW-nBdNs/Tzafs1eEmuI/AAAAAAAAAAk/7OY27NE3ijA/s720/image001.png] -
LSMW Direct Input for Roouting (CA01)
Hi,
I have a requirement for Routing .
I have to use Direct Input method for this Converstion.
How to do Routing ( CA01 ) in LSMW-Direct Input.
Thanks,
KumarHi
I found the Solution
Thanks -
LSMW Direct input for AFS Standard price on AFS Valuation tab
Hi
Iam trying to load AFS material data thru LSMW ..and iam successfully loaded the AFS specific data.
But when iam trying to create or update the AFS Valuation data,,,The standard price is not created or updated with price control field...Both fields are greyed out on the screen, but LSMW has the structure J_3ADI5 which has all the fields in AFS valuation to create, for some reason its not creating/updating....
there is a separate transaction to update or create the price but i wanted to do with LSMW.
I want to know whether LSMW supports Standard price load screen field (J_3AMADKA-PRICE) on the AFS valuation tab on Material master.
Object : 0020 (Material Master)
Method : 0000
Prog : RMDATIND
Prog type : Direct input
Can anybody has an idea or did this before?
Thanks in advanceI dont know AFS, but I know that SAP does not allow to change valuation price of standard material master after it was used, not even with MM02 transaction.
the reason is that the material master programs are there to create the master data, but price changes are transaction data where at least a price change document is to be created and dependend on stock situation as well an accounting document.
Can you update the the price with the usual maintenance transaction manually for your AFS material? -
LSMW Direct Input for BOM (CS01)
Dear all,
I am trying to do LSMW for Creating BOM using Direct Input
below is the step by step that i have done :
1. Maintain Object Attributes
Object 0030 Material BOM
Method 0001 Create
Program Name RCSBI010
Program Type B Batch Input
2.Maintain Source Structures
Source Structures
BOM_HEADER BOM_Header
BOM_ITEM BOM_item
3.Maintain Source Fields
Here i maintain the Header and item fields correctly
for the header :
IDENT (identifier who linked with item),MATNR, WERKS, STLAN, STLAL, BMENG, BMEIN, STLST
for the item :
IDENT, POSNR, POSTP, IDNRK, MENGE, MEINS, SANKA
4.Maintain Structure Relations
BGR00-Bom header
BICSK-BOM item
BICSP-Bom item
5.Maintain Field Mapping and Conversion Rules
I use the autofield mapping
6.Specify Files
Legacy Data PC Frontend = i create 2 file (header and item) (both characteristic are data for one source structure, tabulator)
Imported Data = TEST-PP_PP-BOM_PP-BOM-DI.lsmw.read
Converted Data = TEST-PP_PP-BOM_PP-BOM-DI.lsmw.conv
Logical Path BOM_HEADER
Logical File BOM_HEADER
7.Assign Files = I assign 2 files Bom Header and Bom Item
8.Read Data, Display Read Data, Convert Data, Display Convert Data = is all okay
9.Create Batch Input Session = this is where the problem is, i found message "E29 811 transaction not supported"
What is the problem for this error? and how to solve this problem?
Regards,
MarufatDear,
1. Maintain Object Attributes
Object 0030 Material BOM
Method 0001 Create
Program Name RCSBI010
Program Type B Batch Input
2.Maintain Source Structures
Source Structures
BOM_HEADER BOM_Header
BOM_ITEM BOM_item
3.Maintain Source Fields
Here you maintain the Header and item fields correctly
in the source filed you have to add one field called identifier in the header and the item.
4.Maintain Structure Relations
BGR00-Bom header
BICSK-BOM item
BICSP-Bom item
5.Maintain Field Mapping and Conversion Rules
Do the filed mapping here correctly
6.Specify Files
a.Before thie you need to create 2 files.
1 file for the header material and the other one for the component material
b.In the header file you will have only one entry for one bom and it will have a idetifier number unique for each bom header
c.inthe item you will fill the rquireed number of component and also the unique identifer number.
d.this identifier is the key which joins the header and the item
7.Read Data
now once the file are all mapped
read the data,dispaly the data and try to upload for one single material.
Hope it will help you.
Regards,
R.Brahmankar -
LSMW- DIRECT INPUT - FOR ME11-------- ?
hello
hi I want update purchase info records By using lsmw with direct input/bach input method
pls send documentation for this
thanksHi,
Use SAP standard program RM06IBI0.
LSMW Object 0060
Method 0000
You can also use FM ME_POST_INFORECORD
Regards,
Satish -
Could not open LSMW conversion file for Material Master uplo
Hi,
When i am uploading Material Master data the error says Could not open the file proj_subproj_obj.lsmw.conv file.
I could read the conversion data in LSMW but there is a problem with session creation. I have created a Job and assigned a variant to it.
Please sugget me to resolve this.
Thanks.The following files must be in the path described by
the environment variable "LIBPATH":
Check your env variables...
LIBPATH path must contain quoted libraries,
libicuuc30.a, libicudata30.a, libicui18n30.a
regards
Juan -
LSMW - Direct Input for XD01 transaction
Hi Experts,
I am facing an error while doing the LSMW - using batch Input session. In the last step of LSMW.. while running batch input session, i faced an error "Function code cannot be selected" this error is coming because the Function code(OK Code) of that screen is "KNZA".
the problem is that how can i change the OK code (function code) in the standard program. or is there any other way for solving this problem...
please help me out....Hi
I feel the problem is with the Sturcture relations step. Are you mapping the below structure?
BKNZA Customer Master Record Altern.Payer (Batch Input Structure) -
Ensure that for all the structures you are mapping here.. you need to provide elements in field mappings. Otherwise it may lead to such errors.
Try to check all the steps once again and then generate the program again and check. -
Direct Input for Purchase Order
Hi Gurus,
I want to create LSMW direct input for creating Purchase Order,
I have make to file for this, Header and Item,
for the Header, i only use this field : STYPE, BUKRS(Company Code), EKORG(Purch.Org), EKGRP(Purch Group), BSART(Order Type), LIFNR(Vendor), WAERS(Currency)
for the Item, : STYPE
EBELP
EMATN
MATKL
WERKS
EINDT
MENGE
MEINS
NETPR
WAERS
now, when i run this direct input program, it always error with this message " The Material xxxx does not exist or is not activated"
i have check the material, it already created and the purchasing tab also have created
what is the problem ? maybe i miss another field that i should entry in the source field LSMW ?
really need help for this issue
Regards,
MarufatTry to make 1 manual PO for that material check whether it is allowing to make,
Best option to use is BAPI_PO_CREATE1 for uploading PO.
LSMW does not provide the table control features in BDC or recording.
Check below link for more details,
[LSMW PO|http://forums.sdn.sap.com/thread.jspa?messageID=10155752#10155752]
Maybe you are looking for
-
My problems has been ongoing since December... Hardware Overview: Machine Name: PowerBook G4 15" Machine Model: PowerBook5,6 CPU Type: PowerPC G4 (1.2) Number Of CPUs: 1 CPU Speed: 1.5 GHz L2 Cache (per CPU): 512 KB Memory: 512 MB Bus Speed: 167 MHz
-
User defined func: Unavble to merge two arrays in result list
Hi I am trying to merge two arrays on the basis of "FEE" element in the input file; Actually there is an Attribute Name and Value pair array coming in the input file which has 5 pairs already(Notification + 100 , oversize + 8 etc.) see example below;
-
Problem with gray background in SmartForms
Hi all I have uploaded a logo via SE78. The logo have white background both in windows and in the print preview in SAP (SE78). When I insert the logo in my SmartForm the background gets gray, not white. I have tried just to upload a picture that is o
-
From table hard coded in query
(1)The below query i have encounterd in the code for which i m handling CR. kindly help me in understanding what does it means FROM TABLE inthe below query.. select distinct transport_mode, orgp_id_2 into p_transport_mode, p_consignee_id from packing
-
HELP! Loopable audio clip "transpose" commands are inactive
I have created an .aif audio loop with the Apple Loops Utility, but when I try to transpose it the "transpose" window components remain grey. Does anyone know how to turn the loop transposable? Thank you!