LSMW for MR21
Hi Experts,
What we are trying to do is to change prices for 106 products for 26 plants. So when we try to record LSMW it is giving materials and plants as index. Like MATNR_01 MATNR_02 and NEWVALPR_01NEWVALPR_02.
How will we make the file based on this then the columns will be too many in excel. Please let me know steps for recording LSMW for MR21.
-- Syed Abid Hussain
Hi,
the LSMW recording must be created for 20 line items (material, new price, maybe new price unit) and is stored then, thus 20 price changes are posted using ONE document number (it works like that).
After you have created youe LSMW-project with that recording, go to T-code LSMW enter the project and than "Goto / recordings". Edit your recording in a way that the field for "material number, new price, new price unit" which appears 20 times is changed to "material1, material 2, material 3,... material20" (the other repeating fields as well) to make them unique within your recording.
Your MS Excel source can look like that (columns):
Plant, Material1, New price1, New price unit1, material2, new price2,...material20,new price20, new price unit20.
Now do the field mapping in LSMW and try...
Best regards, Christian
Similar Messages
-
Hi,
Can anyone help me in creating a BDC for MR21:
Create a batch input recording and generate a program that can be modified. A transaction code should be created to run the program, and users must have the transaction included in their profiles. The program must allow BDC sessions to be created (rather than only offering a call transaction option). In the case of large files, the BDC session may be scheduled to run in background. Whereas a program running a call transaction can only run in foreground, if the file is being uploaded from the PC / network.
or an LSMW for MR21.
Create a batch input recording through LSMW, and create the dataload using that. Since the data will be provided in SAP format, it is not strictly necessary to have an LSMW, but the developer may decide this is the simplest development method anyway.
Please help me in this regard.
Thanks,
Saihie
for a BDC program for MR21 go to transaction SM35. Recording --> New Recording -->enter the a suitable name for the recording name and transaction MR21 and start to carry out the recording with the help of a functional guy. After you the process has gone through press save and back. Highlight your recordings name and press program. fill in the required name and on the filed contents radio button select Transfer form recording. After this you will have your BDC program ready.
Create another program with type Executable. Copy and paste your BDC program into that one. We do this so that you can assign a transaction code to your program. For the transaction code go to transaction SE93 and fill in a relevant transaction code for your program. Press Create and fill in a relevant description for your transaction code. On the start Object radio button select option Transaction with parameters (parameter transaction) since we will have a parameter for picking the logical destination for the file to be uploaded.
Make adjustments to your program according to your requirements.
I would be happy to assist further.
Regards
PrinceIsaac -
Dear ALL
Recorded an LSMW for PA40 hiring actions which includes infogroup - [ IT 0000, 0001, 0002, 0105-ZVEN (Sub type)]
This is for external vendor employees hiring actions.
While recording or manually running the process, it is working fine.
When in foregroud or background process, the alternate pernr is getting generated. Say for 1st record , pernr generated is 80023, then for next it is 80025, 80027so on.
Kindly suggest me in this issue.
Thanks
MJHi,
1-you keep no range as external and assign PERNR sequentially so that it remains same as you want it
2-kindly go through the LSMW abain to see what have you assigned in field mapping & conversion rules
3- check one record created thru LSMW and see if next (alternate number gets assigned to Ref PERNR in IT0000)
Check the alternate number to see if anything gets assigned to it.
salil -
How to create LSMW for a transaction having scroll bar
Hi all,
I am trying to create an LSMW for MP)! transaction for Uploading AMPL (Approved Manufacturer Parts list data) data.
For this LSMW is not working fine when i need to upload more number of records. Suggest me some way to solve it out,Also provide me some code samples and process if it can be handled with BDC.
Thanks,
Pavan.you can solve it with bdc:
e.g. a table control contains only 10 entries , you've to program the dynpro-change ( in german "Bildwechsel")
with sth like this:
ERG = BUZEI MOD 10 .
IF ERG = 1.
Dynpro darf nur alle 10 Zeilen prozessiert werden -
PERFORM BDC_DYNPRO USING 'SAPMF10B' '0150'. "ins
ENDIF.
add 1 to buzei.
A. -
Error in the LSMW for vendor master using standard batch/direct input
I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
Batch Input Interface for Vendors
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VNDR_CREATE_ was opened
FB104 Trans. 2 XK01 : Acct already exists; general area not being processed
FB125 ... Data in table BLFA1 cannot be processed
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE XK01
FB014 ... BLF00-LIFNR 300951
FB014 ... BLF00-BUKRS 402
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK VEND
FB017 ... Last data record ...
FB014 ... BLFA1-STYPE 2
FB014 ... BLFA1-TBNAM BLFA1
FB014 ... BLFA1-ANRED /
FB014 ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
This is because when we use XK01 to create the vendor by using thePlease check this answered link:
Re: LSMW for Vendor Master
LSMW Upload vendor master data
Edited by: Afshad Irani on May 5, 2010 12:42 PM -
Error in LSMW for MM41 - "No batch input data for screen SAPLMGMW 0100"
I'm trying to create an LSMW for MM41 to create new Retail articles en Mass. This will be used to only create the Basic view as other LSMW's already exist to maintain the other views. I've created the Recording and setup the LSMW already. My data is read correctly from the source file. When I execute the batch session it fails with the following error - "No batch input data for screen SAPLMGMW 0100".
I assume the fields in MM41 screen are not setup for batch processing. Could someone with more knowledge or experience in SAP Retail please confirm my assumption and explain where this is setup or provide an alternative to creating new articles en Mass via MM41? The direct input method is more suited for MM01 and not MM41.
Regards
FawaazHi Guys,
Thanks so much for all the prompt responses. My issue is now resolved.
The issue, I'm sure, was my default settings in the MM41 screen which the recording probably took into account or the batch program didn't like. I deleted my recording and created a new one but before I started the recording, I went into the MM41 screen and removed all default values AND view selections. I made my Basic view selection constant in my recording and also in my field mapping. My LSMW for MM41 is now working perfectly.
Just to answer some of the questions above, my LSMW was Reading and Converting the data in my source file fine. When I display the Read and Converted data, it shows the data fields in the correct place.
Thanks again.
Regards
Fawaaz -
Classification view creation via LSMW for Material master
Hi,
We are planning to have an LSMW for creation of material master along with classification view for configurable materials.
Though we see a flag to indicate classification view - XEIC1 Indicator: take Classification view into account
We do not see a structure where in we can pass all the characteristics and the corresponding values.
Is this something possible only with BAPIs such as -> BAPI_OBJCL_CREATE after creation of other view for that material.
Regards,
HRHi,
Thanks for the response. This is helpful.
However, we were intending to use a single LSMW for creation of all views of material master including classification view. Right now we are using Program RMDATIND as direct input method in LSMW.
Please let me know if there is a way to use single LSMW for creation of all views of material master.
Thanks
HR
Edited by: Hema Rao on Jan 8, 2009 7:58 AM -
Issue in LSMW for material master using standard input program RMDATIND!!
Hello guys,
I have a issue in LSMW for material master.
I have a custom field in MARA table. which I want to add in my LSMW.
I added the field in BMMH1 structure. I'm passing the value to this field, But it is not populated in the table when I run it.
Is there anything else I need to do apart from addition of field in the structure BMMH1.
Thanks in advance for your help.
Regards,
Sumeet....see oss note 44410, it gives you a step by step overview.
https://service.sap.com/sap/support/notes/44410 -
Creation of lsmw for updation of position and pers area
Hi friends,
I am tried many time to update position and personnel area through lsmw for all employees ,at time of recording its coming.But once compltion of lsmw preparation i am uploaded my inputs through tabfile that time its updating only personnel number and infotype and its asking the save the action screen (At the same time its showing one popup below screen like there is no recording for mp000000).Can you tell any one there whats the problem.At the same time is it possible to upload the position and personnel area through lsmw.
Thanks,
arjun.Hi Arjun
Are you performing a hiring actions, if you are performing a hiring action, when you start with LSMW, the recording should be correct with hire date or start date, personnel number, reason for hire, position number, personal area, employee group and subgroup.
The source field you specific should contain the required field name, type, length and field discription. The field mapping should be done perfectly and assign the specified file in txt format and try to upload.
If you are facing any problem, let me know. I think I can help you
Regards
Santhosh.S -
Is it possible to create LSMW for PQ10, PQ13?
Hi Fridz,
I have created the OM actions, now I'm trying to create LSMW for the actions PQ10 (creation of org unit), PQ13 (Creation of Position) but while recording LSMW relationships are not creating under - Maintain Field Mapping and Conversion Rules in LSMW. Please advice on this whether these transactions are possible to create LSMW with fore & backgroung.
$NarayanaHi Narayana,
Use BDC's for better maintainance of relationship. which worked fine for me.
thanks,
vasu. -
Hi,
I am not able to find an LSMW for creating GR for outbound delivery. I tried using recording in MIGO but it did not work. Also MB1C is not working for outbound delivery. Please help.
Regards,
AnubhavHi
I think it is better to write a Z program/ BDC to have a mass GR creation of an outbound delivery.
or
You have an Auto Goods receipt using confimations. If we activate Auto GR in customizing for Confirmation control key. Once confirmations(ASN) is created a GR will be created automatically.
Hope this helps
Regards,
Sasi -
A small logical problem in LSMW for MM01...
I need to create a LSMW for MM01 transaction, wherein I have to check the initial four
digits of the material as 'ORCL'. If initial four digits of the
incoming material are 'ORCL', then create this material as it is.
Else replace these four digits with 'SAPM' (for sap material) while
creating this material.
This will differentiate between materials coming from Oracle and non
oracle system.
I know that I need to create a new rule in the step 5 of LSMW: "Maintain Field Mapping and Conversion Rules", under the ABAP heading.
But, how should the rule proceed??
Pls help me out!!!awesome! thnks a lot naimesh.... you are tooo goood!
Can you please help me again...??
Now, I need to replace the records which are not 'ORCLXXX' with SAPXXX format. For example, say a record has the material number as ORCL007. This will pass on and created as ORCL007. If a record has the material number as MMMM007, this should be converted to SAPM007.
Should I use fieldsymbols for this, or just replace the strings??
This will be the last, I promise.... -
Hi Guys,
I am using LSMW for uploading the Purchase order. This I could able to do without any problem for single line item P.O.
This was done by recordning method.
Can some one explain how to upload purchase order for more that one line item.
Thanks,
Dhanu
Edited by: Dhananjayappa E on Jul 30, 2008 4:40 PM
Edited by: Dhananjayappa E on Jul 30, 2008 4:40 PMIt is Somewhat Difficult to Contol Screen Variables While Using LSMW. If the Data is Bulk Use BDC with the Help of Abaper.
http://aspalliance.com/1130_Batch_Data_Communication_BDC_in_SAP_R3
http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html
http://it.toolbox.com/wiki//index.php/Bdc
Regards,
Ashok -
Lsmw for purchase requisition and purchase order
hi all
can anyone brief me for lsmw for PR & PO.In lsmw in first step selec the option one standard object
Object 0085 Purchase Order
Method 0001 Purchase order
Program Name RM06EEI0.
Program Type D Direct Input
then save and come back and then go to object overview here u will find all the fields use in this object u can upload.
After this follow the normal step.
for pur req use object 0080. -
Hi Guys,
I have a requirement where i create lsmw for bom upload using batch input. I m trying to create only one source structure and source fields assigned to this source structure but when finally im executing it its creating the first line item correctly but for all the second line items onwards its saying that Alternative already exists... My functional guy says that its creating just the first component in the bom and for the second component its trying to create another bom...and while its checking for the header which is already created its giving us error..
I dont know how to handle this.....guys its a little urgent....plz help me out.
here is a snap shot of the errors..
10:25:44 Session BOM-CREATE is being processed by user KALVALV in mode N on server psdux07 0 0 S 00 300
10:25:44 Creating BOM for material 10000240 CS01 1 SAPLCSDI 0140 7 S 29 030
10:25:45 Transaction was processed successfully CS01 1 0 S 00 355
10:25:45 Alternative 1 already exists CS01 2 SAPLCSDI 0100 1 E 29 003
10:25:45 Transaction error CS01 2 0 S 00 357
10:25:45 Creating BOM for material 10000346 CS01 3 SAPLCSDI 0140 7 S 29 030
10:25:45 Transaction was processed successfully CS01 3 0 S 00 355
10:25:45 Alternative 1 already exists CS01 4 SAPLCSDI 0100 1 E 29 003
10:25:45 Transaction error CS01 4 0 S 00 357
10:25:45 Creating BOM for material 10000347 CS01 5 SAPLCSDI 0140 7 S 29 030
10:25:46 Transaction was processed successfully CS01 5 0 S 00 355
10:25:46 Alternative 1 already exists CS01 6 SAPLCSDI 0100 1 E 29 003
10:25:46 Transaction error CS01 6 0 S 00 357
10:25:46 Creating BOM for material 10000785 CS01 7 SAPLCSDI 0140 7 S 29 030
10:25:46 Transaction was processed successfully CS01 7 0 S 00 355
10:25:46 Alternative 1 already exists CS01 8 SAPLCSDI 0100 1 E 29 003
10:25:46 Transaction error CS01 8 0 S 00 357
10:25:46 Creating BOM for material 10001252 CS01 9 SAPLCSDI 0140 7 S 29 030
10:25:46 Transaction was processed successfully CS01 9 0 S 00 355Hi,
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
Maybe you are looking for
-
Nano Plus no longer plays any wma fil
I've had my Zen Nano Plus for over a year, and during that time it played both MP3 and WMA files with no problem. Now it won't play WMA files. I can transfer them to my player but it just skips those songs. This includes WMA files I downloaded from L
-
Logical System for R/3 IDoc processing
Is there a way to use one logical system when data is coming from multiple sender communication channels? We get data from several MQ Queues via JMS Sender Communication Channels. There is a separate queue per plant. No matter which queue a file co
-
How to get rid of missing font "Wingdings Light Italic"?
The screenshot shows a bulleted list. The text is set in Myriad Pro Light Italic. The bullet is a square symbol from Wingdings, which I guess is trying to adapt to the styles from the body text, resulting in Wingdings Light Italic, which obviously do
-
Is there a way to add a Firewire port or PCMCIA port on my HP Pavilion g7-1075dx? Without resorting to USB - with the severe quality loss in conversion, that's not an option. If not, I'd be really really interested in knowing the reason why, when FW
-
OCR and Voting Disk Migration to new media
Hello, We need to move OCR,voting disk and ASM from one storage media to another .I think ASM related files are very easy to move/re map but how OCR and Voting Disk files will be migrated to the new storage media? Thanks, S.Mann