LSMW -Recording Index issue
Hi,
I was trying to add partners to a customer through XD02.
I need to add multiple Partners to a customer.
I recorded transaction but I have index issue .
For example when I recorded it is 6th line where i need to enter but for next record it should add in 7th line.
but 6th line is getting repalced.. how do i resolve this issue?
Should I code something in FIELDMAPPING?
Regards
Prasad
Hai Vara
I am giving Material master Upload through LSMW Direct Input Method
Just Follow The Steps
Using Tcode MM01 -- Maintain the source fields are
1) mara-amtnr char(18)
2) mara-mbrsh char(1)
3) mara-mtart char(4)
4) makt-maktx char(40)
5) mara-meins char(3)
the flate file format is like this as follows
MAT991,C,COUP,Srinivas material01,Kg
MAT992,C,COUP,Srinivas material02,Kg
AMT993,C,COUP,Srinivas material03,Kg
MAT994,C,COUP,Srinivas material04,Kg
MAT995,C,COUP,Srinivas material05,Kg
goto Tcode LSMW
give Project Name
Subproject Name
object Name
Press Enter -
Press Execute Button
It gives 13 radio-Button Options
do the following 13 steps as follows
1) select radio-Button 1 and execute
Maintain Object Attributes
select Standard Batch/Direct Input
give Object -- 0020
Method -- 0000
save & Come Back
2) select radio-Button 2 and execute
Maintain Source Structures
select the source structure and got to click on create button
give source structure name & Description
save & Come Back
3) select radio-Button 3 and execute
Maintain Source Fields
select the source structure and click on create button
give
first field
field name matnr
Field Label material Number
Field Length 18
Field Type C
Second field
field name mbrsh
Field Label Industrial Sector
Field Length 1
Field Type C
Third field
field name mtart
Field Label material type
Field Length 4
Field Type C
fourth field
field name maktx
Field Label material description
Field Length 40
Field Type C
fifth field
field name meins
Field Label base unit of measurement
Field Length 3
Field Type C
save & come back
4) select radio-Button 4 and execute
Maintain Structure Relations
go to blue lines
select first blue line and click on create relationship button
select Second blue line and click on create relationship button
select Third blue line and click on create relationship button
save & come back
5) select radio-Button 5 and execute
Maintain Field Mapping and Conversion Rules
Select the Tcode and click on Rule button there you will select constant
and press continue button
give Transaction Code : MM01 and press Enter
after that
1) select MATNR field click on Source filed(this is the field mapping) select MATNR and press Enter
2) select MBRSH field click on Source filed(this is the field mapping) select MBRSH and press Enter
3) select MTART field click on Source filed(this is the field mapping) select MTART and press Enter
4) select MAKTX field click on Source filed(this is the field mapping) select MAKTX and press Enter
5) select MEINS field click on Source filed(this is the field mapping) select MEINS and press Enter
finally
save & come back
6) select radio-Button 6 and execute
Maintain Fixed Values, Translations, User-Defined Routines
Create FIXED VALUE Name & Description as MM01
Create Translations Name & Description as MM01
Create User-Defined Routines Name & Description as MM01
after that delete all the above three just created in the 6th step
FIXED VALUE --MM01
Translations --MM01
User-Defined Routines --MM01
come back
7) select radio-Button 7 and execute
Specify Files
select On the PC (Frontend) -- and click on Create button(f5)
give the path of the file like "c:\material_data.txt"
description : -
separators as select comma radiao- button
and press enter save & come back
8) select radio-Button 8 and execute
Assign Files
Save & come back
9) select radio-Button 9 and execute
Read Files
Execute
come back
come back
10) select radio-Button 10 and execute
Display Imported Data
Execute and press enter
come back
Come back
11) select radio-Button 11 and execute
Convert Data
Execute
come back
Come back
12) select radio-Button 12 and execute
Display Converted Data
Execute & come back
13) select radio-Button 13 and execute
Start Direct Input Program
select the Program
select continue button
go with via physical file
give the lock mode as 'E'
and execute
Thanks & regards
sreeni
Similar Messages
-
Remove System Warnings for LSMW recording-Warning wont process data
Hello,
We have created a LSMW recording to upload Maintenance Plans. The maintenance plans being uploaded has cross company setting that our company utilizes. But, that corss company setting will provide a system warning when IP42 (Create Maintenance Plan) is run. When we manualy create a maintenance plan ,we can over write the warning by just pressing enter, but the lswm recording cant overwrite the system warning. The exact warning is: Message no. IO233 (Maint Plant 2000 and work center plant 1000 have different company codes).
Does anyone know how to remove the system warning in "Config" for Plant Maintenance or for this exact issue.
Thanks.Check,Define System message in maintenance and service processing node.
-
Cannot process links - int error: bad record index
Opening a publication I have recently been working on suddenly fails with "Cannot process publication's links - Internal error - bad record index".
And then Pagemaker dies. Is there anyway to get this publication back? Hours of work.
Only possibly anomaly I see is that the .pmd file was moved from one computer to another before this started happening, but we do this all the time in our shop. As a matter of fact it was moved on a memory stick, not as an email attachment or some less reliable means. The version on the stick fails the same way.Well that sounds close, but I (1) don't have any graphics on master pages, and (2) never performed a "diagnostic recomposition", and (3) can't do anything anyway since pagemaker crashes immediately after issuing the error message about the links.
-
Soundblaster 4 & recording latency Issues
Hi. I'm new to this board and to Soundblaster. I'm hoping that its ASIO capabilities can resolve recording latency issues I'm having. I'm a voice over actress and singer and need to hear myself over the headphones while I'm recording in real-time. I have a split-second delay in the headphones, making it impossible monitor live. I have a brand new PC and just installed the SoundBlaster Audigy 4 card yesterday. I have several recording/editing programs (Acid Pro 3, Audacity, Cakewalk Express) and can't get it to work correctly.
I downloaded a program from asio4all, but it doesn't seem to make any difference. Can someone wiser than myself help me resolve this issue?
Thanks!
Joni
email: [email protected]
www.jonilambert.comDoes any of your software support ASIO (eg. ACID 3 PRO since Audacity and Cakewalk Express don't support)?
If not, since you propably are familiar w/ ACID, you can download a freeware version of Sony ACID 5 Express to get ASIO supported. It's a bit limited from PRO but least it's newer than v3 that you listed.
There are other similiar software available as freeware (some don't have MIDI features):
Kreatives Kristal - http://www.kreatives.org/kristal/
Mutools Luna FREE - http://www.mutools.com/products.html
Cockos Reaper (free up to version 0.999) - http://www.cockos.com/reaper/index.php
etc.
jutapa -
Re: Dynamic Action is not triggering in LSMW Recording
Hello All,
In SAP HRMS personnel actions if i do using LSMW Recording it is not triggering the dynamic actions.
Is there any mechanism to Trigger dynamic action in LSMW Recording ?
How to find the differences in process with and with out recording ?
Small help is also highly appreciated.
With Regards,
Sunil,
+91-9903695384.Yes. Do one thing. First study the dynamic action. Try to understand what the dynamic action is doing. Is it creating data in other infotype or is it updating some other table. Once it is clear what the dynamic action is doing then you can try to implement the same logic in LSMW. In LSMW there is a provision to add more than one recording and this recording can be called based on some logic..
Thanks & Regards,
Sandip -
LSMW Recording for multiple line items
Hello Gurus,
I just wanted to know if task list has more than one operation can be loaded thru LSMW recording ? If yes,
COuld anyone tell me the process of recording step by step as I am new to recording and not sure what is the flow.
I have created spreadsheet with some data to test and went into LSMW and assign the mode as recording and also had given the values in the respective tcode and save it..after that do I need to perform all the 14 steps ?
Pls advice
MaheeHi
Please go through the below document. It is difficult to explain you completely.
LSMW while creating first 6 steps need to be once. Later on same LSMW can be used directly from step 7.
The below explain is for some other tcode. but steps will remain same in LSMW for your tcode.
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc -
How to handle the pop-up Screen in LSMW - Recording
Hi,
I am doing the LSMW-Recording for Pricing Conditions.there are so many condition types are there.
my problem is while uploading the data from flat file,if record alredy exists in SAP system, it will display one Pop up screen, says "the record already exists do you want to overlap it".so that time it has to hit enter and has to overlap the existing records.
can any one please help me..this is very urget to me.
Points will be awarded for correct response.
Thanks,
ShobhaHi,
Go to Maintain Field Mapping and Conversion Rules
Insert coding at __BEGIN_OF_PROCESSING.
Like:
Select .....
if sy-subrc = 0. "Record found
skip_record.
endif. -
LSMW Recording method is not working for transaction code FBL5N
Hi Experts,
I am trying to prepare LSMW to create dispute cases for customer line items through LSMW Recording method. When i was trying to do through SHDB Recording its working properly through Program. But its not working through LSMW Recording method means its not executing to next screen, immediately its displaying session completed screen.
Please do let me know any soution for this.
thanks,
Sriram.Hi Sriram,
If my memory serves me correctly, a BDC will not work correctly with a list. This is mentioned somewhere in the SAP help pages.
Now I am not familiar on how to create dispute cases but using FBL5N does not sound to me the way to go. I assume that you use FBL5N in order to determine to which documents to link the dispute to, however you should be able to get the requested info from the BSID/BSAD tables.
Also in case you want to change the customer line item in the accounting document, check the data transfer workbench (SXDA) as SAP delivers a standard program for this.
Kind regards,
Robert
Edited by: RJ. Schamhart on Jan 14, 2011 12:35 AM
Edited by: RJ. Schamhart on Jan 14, 2011 12:43 AM -
LSMW recording for different numbers of materials
Dear all,
In the LSMW recording-trcode at VBO1- I enter material codes. But the number of material codes are changeble. For instance for a customer I can enter 5 material codes; for another customer I can enter 12 material codes. For this reason,
I created recording template for 15 materials.
When I run the LSMW it gives errror. because I entered 3 material for a spesific customer. It wants other 12 material codes.
As result;
How can I create a template for various numbers of materials?
For example
customer1 I want to run LSMW for 3 materials
customer2 I want to run LSMW for 5 materials.
ThanksHi
I am not exactly sure of the problem, but you have 15 material columns refering to the line items possible in ALL sales orders/contracts. Ensure that you have a ZERO in the colomns not being posted to. The zero in Excel has to set to text I think, but check the SDN for further on that matter. When you save as a text file, or CSV file, open it with wordpad. You should see the 0 there, if not search SDN.
Something else you can do is the have the field names that become you source field in the LSMW. See Maintain source fields in the LSMW. Use the field names that you have given there as the excel file's header line. i.e. line 'A'. When you select your file to be loaded under 'specify fields', tick the box : - Field names at start of file.
It will then only take the amounts that are there and not put the amount in the next place. I am not sure with recording in SD, but record the item numbers from a static 10,20,30,40,50 .....ETC TO 150. Then have source fields for all 15 line items.
You could have another material created as a non-valuated material and so it won't post anywhere. Add this material where necessary.
Hope this is of help
Kind regards
Dawn -
Hi All,
i have an BIA-Index issue,The query-result is wrong when i executes with BIA-Index in transaction RSRT .
But when i checked the master data of infoobject is consistent. I have checked this in transaction RSRV.
Could you please give any ideas how to correct this?
Thanks,
Vikram.Hi,
Most likely you need to run an attribute change run. Attribute change run updates BIA index according to data stored in a InfoObject. You can do it from both a Process Chain or manually through Administrator Workbench -> Tools -> Hierarchy/Attribute Changes.
Regards,
Adam -
LSMW- Recording : Multiple Line Items
I am trying to create an LSMW recording that simulates transaction O3I7.
The thing is that we have different line items. This is similar to a sales order where we have header details and items details.
I created a recording. Then I created two structures. One header Structure and one Item structure. I define the specific header fields under the header structure and the item fields under the item structure.
However LSMW gives me an error. Because in LSMW each recording is considered as one target structure. I can't have more source structures than Target structures. Since I have One recording LSMW gives me an error.
I tried to create two recordings but this does not work since LSMW will read each one as a different transaction.
Does anyone know how to create LSMW recording with multiple line items so he/she can help?
ThxHi,
Not sure about the transaction that you have mentioned. However, in LSMW recording, you can load the items along with the header in 2 steps using 2 data files.
Step1: Create the header along with the first line item. Here you use a file which contains the header data along with the first line item data.
Step2. Add subsequent line items to the header. In this case you need to enter the transaction in change mode. The data file may contain items data only. Please be sure to have an identifier at header level to add the items in that specific document.
Hope this helps.
Best Regards, Murugesh -
I am trying to do LSMW recording method for T code MB1C Movement type 561inicial stock entery. with serial numbers.
so i have one material with 70 qty with different serial numbers. how can i prepare the EXCEL sheet for the data. i creted with one serial number only i am not abule to create with 70 diferent serial number can u pls explain me the how to create excel sheet for the LSMW recording method for material entery MB1C 561 mov type.
Regards,
Anthyodaya.LSMW is a house,
BAPI just a room in this house.
Means that these are not 2 independed ways, LSMW is a workbench that gives you the option to choose from batch
/direct input method, BAPI and IDOC as well as recording.
There is no big difference for the LSMW steps.
Recording is just meant to be the last option, in case that SAP has not given method.
Beside of the BAPI, for goods movement you have IDOC and batch input method given.
There is really no need for a recording.And you do not need to do any more ABAP for BAPI than you have to do for recordings.
A recording is a static method.
For any little variation you wouild need to do an extra recording.
the SAP given methods are flexible. -
Handling lsmw recording for multiple items
how to handle one header and multiple line items using lsmw recording. can anyone please send the code for that for iw31 transaction.
Regards,
SridharHi Sridhar,
You have to define two structures. One as header and the other as Its subordinate in Maintain Source Structures.
Then you can define what are all the fields at header level and what are the fields at Item level in maintain Source fields.
Then you can map the corresponding fields to the target structure in the Maintain fixed values, translations, user-defined routines step.
Regards,
Ravi -
How to upload data for me01 using lsmw recording method
*dear expert please tell me the complete procedure for how to upload data in me01 transaction using lsmw recording method.
Moderator Message: Duplicate post locked.
Edited by: Vinod Kumar on May 8, 2011 7:56 PMHi,
To be honest I don't understand your question. When You execute LSMW and create project, then all steps are shown in a very clear way with good description. With which one you have problems?
Best regards
Marcin Cholewczuk -
Uploading data in Background - for CJ27 LSMW recording or BDC
Hi
1. please suggest the BAPI for creating project with reference to standard project definition/WBS similar to CJ27 or CJ20N with copy project method
2. we tried to upload the data in background for LSMW recording and BDC but geting runtime error with raise exception and GUI can not be reach error
recording done using t.code. cj27
suggest the suitable method or solution for aboveHi,
Refer to this link..creation of project definition and wbs element
Maybe you are looking for
-
Error while deploying my application
Hi, I am getting the following error while deploying my application. com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'password' missing at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457) at com.sap.mw.jco.Mi
-
Change to page does nogt appear in browser
I added a line to an ASP (classic) page which is supposed to say: New: Make sure your mail meets USPS standards for optimal postage rates. Click here. And here is the code for that line: <td colspan="6" align="center"><div align="left"><strong><span
-
Problem adding permanent ARP entry
I tried to add permanent ARP entry but without success. Alway expires after 30 sec. Does anyone have idea what to do/check. >sudo arp -S 192.168.1.254 0:f:94:25:ea:41 ifscope en1 >arp -axn Neighbor Linklayer Address Expire(O) Expire(I)
-
Not able to change delivery address in PO having account assignment cat M
Hi All We have a scenario where we are creating SO then a PR is getting created from this SO and finally buyer is converting Preq in to PO (account assignment is M as it is against a customer order), now by default the delivery address in PO is comin
-
Trying to download foxfire on a Mac. It begins but goes for hours and never finishes.