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,
Marufat
Dear,
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
Similar Messages
-
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 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 -
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 -
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 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.
PoornaHi,
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 -
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 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 -
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] -
Problem while Creating BOM using LSMW Direct Input
Hi all ,
I am trying to create the BOM Using LSMW Direct Input Method .
I am getting problem at step 9 that is Read Data.
It is able to read the values from header and item files .
but it is not able to write , so the Written is 0 always .
I put the field names first in the flat file and correcponding values below it with tab delimited.
Please let me know where the Problem would be.... I am trying this from long time ..
Regards ,
Rajhi ,
Yes i am specify files i am attaching 2 files .
ones is header and the other is line item data .
my strucure is :
Hi ,
I am still getting problem while for writing the records after reading the data .....
my header structure :
STYPE
MATNR
WERKS
SELAL
STLAN
DATUV
ZTEXT
my item structure :
STYPE
MATNR
WERKS
SELAL
POSTP
MENGE
my header data :
STYPE MATNR WERKS SELAL STLAN DATUV ZTEXT
1 388 0110 20 1 06.01.2009 SAMPLE ZTEXT
my item data :
STYPE MATNR1 WERKS SELAL POSTP MENGE
1 388 0110 20 N 1234
1 382 0110 20 N 12345
Above text files are delimited by tabulator.
Please guide me . The files are reading but unable to write .....
Regards,
Raj -
LSMW direct input method - Equipment BOM
Hi Experts,
We have already written program for equipment BOM master in LSMW direct input method. I do not know about this direct input method.
Here they have maintained 2 source structures and relavant source fields. one for BOM header and other for BOM items. The first field they maintained is LINK in both the source fields. I really do not know what that field is all about. I checked in step specify files and found that they have previously mentioned two files, one for BOM header and other for BOM items. but when I tried to save in this step it gives me error that " No logical path specified". Can anybody tell me what is this error is all about.Please heip me to get out of this problem.
Thanks and best regards,
PraveenHi praveen,
LSMW does not accept two files.
In the step create source strcture
crte one structure with BOM header like with ZBOM_H.
Under that create another structure for item ZBOM_I.
ZBOM_H
ZBOM_I like this structure will will be.
In the step source fields.
crate onne variable with indicatoe header.While creating the variable we have field 'identify field content ' field in pop up screen 'H'.
assign all header files under identifier 'H'.
then under ZBOM_I create identifier with 'I'.
Assign all the item fields to this.
then map the fields.
In the file should be H header fields.
I item fields.
I
I.
Then Header .It should be like this.
in saptechnical u will get the examples go though them once.
Thanks -
Error log table for LSMW-Direct input
Can any one tell me , What is the table for storing the error messages in LSMW-Direct input?
Regards,
Nageshfor LSMW-Direct input method you can use EXCUTE IN BACK GROUND. the job is running and see the job name in SM37 . after completion of your job , select you job name and press the SPOOL button there you can find the you job error log.
Maybe you are looking for
-
Safari doesn't startup; icon bounces once
Hi, i have 4 accounts on the computer and Safari on my account won't startup. The icon just bounces once and then nothing. Tried re-downloading but that didn't solve it.
-
Upgrade Processors from 1.8 ghz to 2.4 ghz of my Windows Hyper V 2012 R2 Host Server
If I get new processors, do I need to re-install the Host OS, or can we power it down, swap them out, and we're back in business with out issue on my guest machines?
-
Hiding Fields with the same name
I have multiple fields across a form with the same name TxtName#1 TxtName#2 TxtName#3..... TxtName#24 They are all share the same name because they should all have the same data. I want to be able to hide some of these fields, based on the number ent
-
All pdf files come up in code no optin to open with
all pdf files come up in code no way to change to word no option to open with ?
-
Touch Screen not working - C7 - 00
Hi, I have bought this Nokia C7 just two months ago, to my surprise, the touch screen is not working from this morning. I tried switching off and removing the battery, has to take it to the Support people. Any suggestions or some one faced such type