Errror with LSMW
getting error in LSMW saying "no target structures could be found" and "no target fields".help me out
Hi deepthi
Have you checked in the first step maintain object attributes whether the recording does exits or not .If not it means that when you have copied the object the recording doesnot gets copied you need to copy the recording from your older object to the new object.Goto administration----->copy the recording.
Secondly in the step maintain field mappings and rules establish a relationship to the structure by clicking on the relationship tab.
If the reply is helpful please help yourself in awarding points else please revert back to forum if you face any issues.
Regards
Somnath
Similar Messages
-
Problems after transfering Cost centers with LSMW
Hi,
I have a problem after transfering Cost Centers with LSMW.
The first Batch input run created all cost centers in one CC Group erroneously - cause they should be placed in different CC groups.
I changed LSMW settings and made another batch input run - now the Cost centers were created in proper groups. I think that I deleted all CC's created in previous batch input run, but now I am not too sure, because there is a problem...
Cost centers exist both in their proper groups and in the one group mentioned by me before. So there is such situation that Cost center appears in Standar hierarchy twice at the same time.
When I delete cost centers - they are removed from their proper groups but the CC entry remains in that one group - all CC are there inactive.
How can I get rid of them. I tried deleting them - but it's impossible - the system doesn't see them.
When I run the batch input again - the same cost centers appear in proper groups and at the same time they become active in the one group. The standard hierarchy group is not UNIQE.
Please advice me how to delete these entries from standard hierachy.
Best wishes,
KarolHi,
Always recommended before loading into live system: upload in test system and check. check again just to make sure all is correct before real load.
In your case you probably would have been best to do a group change after incorrect upload.
Do Ambiguity check in stadnard hierarchy to explore all incorrect entries. Depending on your version yo ucan change in that function (ECC6) ore need to run a report. Before running the report check that CC master records have correct entry. The report is RKCORRH1
Again, try in QA first and run in Test Run
Good luck
Hein -
Problem with LSMW - G/L Account Centrally for 2 or more Company Codes.
Hi,
I have a problem with an LSMW G/L Account Centrally Master Data.
I used the Object: 0010 GL A/C Master Record, and the Method: 0001 Hier. structure.
I can create massives Accounts but I can't create Same Accounts with differents Company Codes.
Please, somebody can explain me, how create Same Accounts with differents Company Code in masive form with LSMW?
Thanks and Regards!Try this report RFBISA10: "Copy General Ledger Account Master Data: Send"
or RFBISA20: "Copy G/L Account Master Data in Target Company Code: Receive"
Bye. -
WITH LSMW USING BATCH INPUT/DIRECT INPUT/BAPI/IDOCS
IN WHAT SCENARIOS CAN WE USE BATCH INPUT/DIRECT INPUT/BAPI/IDOCS WITH LSMW.WHICH IS THE BEST ONE.PLEASE TELL ME THE SCENARIOS OF USAGE.
It really depends on what you are doing. There are a lot of "standard" LSMW objects for different business objects, for example, there is a std object for Creating Material Masters, in this case, it is a direct input program. So, the best choice here would be to use the standard program which has been provided, it just so happens that it is a direct input program. Creating Bill of Materials is another one, but this one is a batch input program, so you have no choice but to go with that. Of course if there is a BAPI for your business object that would be the next best thing, if a standard object does not exists.
REgards,
Rich Heilman -
Extended Purchase Info Record using with LSMW
HI guru's,
How to extend purchase infor record using with LSMW programm.. what is the T.Code and important fields.
regards
JKHi,
You will need to create an LSMW programme for this, the source fields will be as below
LIFNR Account Number of the Vendor
MATNR Material Number
EKORG Purchasing Organization
WERKS Plant
MAHN1 Number of days for first reminder/urging letter (expediter)
MAHN2 Number of days for second reminder/urging letter (expediter)
MAHN3 Number of days for third reminder/urging letter (expediter)
APLFZ Planned delivery time in days
UNTTO Underdelivery tolerance limit
EKGRP Purchasing group
NORBM Standard purchase order quantity
MWSKZ Tax on Sales/Purchases Code
NETPR Net price in purchasing info record
WAERS Currency Key
LTEX1_02 Long Text
LTEX2-02 Long Text
LTEX3-02 Long Text
LTEX4-02 Long Text
LTEX5-02 Long Text
LTEX6-02 Long Text
LTEX7-02 Long Text
Regards
Merwyn -
Customer master (XD02) with LSMW
Hi All,
I am trying to update customer master (XD02) with LSMW. But i the First step i.e. Maintain Object Atrributes... when I clic batch input recording & try to give a recording name in th second line... it throws an error saying "Enter a vali Value"... It does not accept a recording name & does not allo me to click Recording : Overview button .
Has this error to do anything with the settings??... The sandbo in which I am working has the component version "SAP R/ Enterprise"(found out by System --> Status) ... Please HelphI,
You will have to create recording first & then select from drop down box of "Batch Input".
To create recording pls follow this:
Go TO T code : LSMW
Create Project, Subproject & objects.
In Maintain Attributes - press F8
In menu bar
Goto---> recording overview
Now you can create your recorindg which wil be avaliable for selection.
rgds, -
Material master Upload with LSMW
Hi
When I make Material master Upload with LSMW, I could not find any entry in planning file.
Please explain.Mayuresh,
Not all LSMW transactions properly update Planning file.
You can run transaction MDAB to set up planning file in Background
You can run transaction MDRE to detect and correct Planning file inconsistancies in Background.
It is probably a good idea to run these jobs periodically, say, weekly, in most production environments.
Regards,
DB49 -
Data upload with LSMW in special period
Dear Experts,
I encountered an error message saying "Posting period 003 2007 is not open" when i tried to upload data with LSMW in specail period 13 2007.
The system kept on picking period 03 even i changed it to 13. I changed many times and press enter enter...error.
Finally i changed the posting date from "31/03/2007" to "31/12/2007", this time entry posted successfuly.
1.) Can anyone explains to me why I only can post these entries in period 13 2007 with posting date 31.12.2007?
I2.) Is that possible to post in period 13 2007 with posting date 31.03.2007 because my company's Statutory Audit is April 06 - Mar07 and we prefer to post with posting date 31/03/2007?
Thanks.
JackHi jack,
Actually you are facing the error in case of postings rather than LSMW.
Every company has it's fiscal year (accounting year), like April-March.And at the start of every month we have to open the period.
For any kind of such problems,
OBY6 - Check the fiscal year
OX18 - Remove the assignments of plant & company code
OMSY - Make month as current month ( like sept or octomber)
OX18 -Make assignment of plant & company code
OMWD - Give 0001 to plant
Also for periods opening and closing follow the following:-
IMG->Financial Accounting->Financial Accouting Global Settings->Document->Posting Periods->Open and close posting periods.
OB52
MM posting periods:
Logistics->Materials management->Material master->Other->Close period
MMPV (to open current period)
Logistics->Materials management->Material master->Other->Post to prev.period
MMRV (shows what is open)
Also check OB52 for type M
Thanks & Regards,
Savita Nevade. -
Hi All
We are creating transactions for legacy data migration with LSMW using inbound Idoc. We are able to do the same successfully. As per requirement for each transaction some word and Pdf files have to be attached. Is there any way to attach documents with Idoc through LSMW?
Thanks
AviHi Avineesh,
What you can do is use two LSMW.
First one to upload transaction data and get the transaction number of all the uploaded transactions using IDOC.
Secondly use LSMW with BDC to attach the files to that specific transaction.
Or
In option to above approach you can use LSMW with BDC to upload all the transaction along with attachment.
Best Regards,
Pratik Patel
<b>Reward with Points</b> -
hi all,
Any one has step by step procedure BAPI with LSMW.
BAPI with BDC.
sriHi Sri,
Please Go through this Link ,
BAPI And LSMW
Regards,
Ramganesan K. -
How to handle the table control While working with LSMW?
How to handle the table control While working with LSMW?
its possible in lsmw,
Hi,
LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
check that single charecter field, it that is X that means the header record is processed, and do the items.
and, this is another way, try this out also
YOu can do this in "Define Source Structures" step,
the HEADER is defined first,
then the DETAIL below the HEADER.
add the fields to the structures.
Both should have some common key field
Please take care that the name of the common field is the same.
Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
Thanks -
Hi all,
Please guid me how to work on LSMW using BAPIs.If any of u have an example please explain me step by step process and also where we can do the validation part.If any of you have any material forward to my mail .
[email protected]
Regards
PavanHi,
is step by step process .
Step-by-Step Guide for using BAPI in LSMW
Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
Introduction:
This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
Pre-requisites:
It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
Step-by-Step Procedure:
Details of the BAPI used in this scenario:
Business Object: BUS2012
Method: CreateFromData
Details of Message Type and Basic IDoc Type:
Message Type: PORDCR
Basic IDoc Type: PORDCR02
Lets have a look at the BAPI first, before proceeding to the LSMW:
1. Go to Transaction BAPI
2. Click on Search Button
3. Enter the value BUS2012 and select Obj.type(Technical Object Name
4. Press ENTER
5. Following screen appears:
6. On the left side of the screen, Expand the PurchaseOrder.
7. Select PurchaseOrder and double-click on the same for details.
Building LSMW using BAPI:
1. Go to Transaction LSMW.
2. Enter the Project, Subproject and Object information and click on CREATE.
3. Enter the descriptions for Project, Subproject and Object as prompted.
4. Now select Settings à IDoc Inbound Processing
5. IDoc Inbound Processing screen appears. Enter the required details as shown below:
6. Click on Activate IDoc Inbound Processing.
7. Click on Yes when prompted for Activate IDoc Inbound?
8. Hit on Back to return to the main screen.
9. Click on Continue (F8). Following Screen appears:
10. Select the Step 1 Maintain Object Attributes and select Execute.
11. Select the radio button Business Object Method and enter the following details:
Business Object: BUS2012
Method: CreateFromData
Hit ENTER
12. Save and click on BACK button. Following information message is displayed.
13. Now select step 2 Maintain Source Structures and click Execute.
14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on Create again to create the child structure. Following popup appears:
Select Lower Level and click on Continue. Enter the Item data structure name.
Click Save and hit BACK button to go to the main screen.
15. Select step 3 Maintain Source Fields and hit execute.
16. Enter the fields as shown below:
17. Click SAVE and return to main screen.
18. Select step 4 Maintain Structure Relations and click Execute.
Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
Select HEADERDATA and hit ENTER
Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
Click Save and return to main screen.
19. Select the step Maintain Field Mapping and Conversion Rules and click on execute. Maintain the Field Mapping as seen below:
20. Select step 7 Maintain Source Files and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
Save and return to main screen.
21. Select the step Assign Files and click on Execute.
Assign the file provided to the source structure. Here the same file is provided for both the structures.
Save and return to the main screen.
22. Select the step Read Data and click on Execute.
Click on Execute.
Return to the main screen.
23. Select the step Display read data and click on execute.
Click on the structure name to get the field level values.
24. Return to main screen and now select Convert Data.
25. Return to the main screen and select Display Converted data.
26. Return to main screen and select Start IDoc generation.
27. Now select the step Start IDoc Processing on the main screen.
28. Return to main screen and click on Create IDoc overview. Here the data record and status records of the IDoc could be viewed:
Please Go through these Links ,
BAPI with LSMW
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
For document on using BAPI with LSMW, I suggest you to visit:
http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
http://myweb.dal.ca/hchinni/sap/lsmw_home.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
Regards -
Need help with LSMW fro specific case
Hello,
I am going to create project on lsmw for data migration from legacy system. In this specific case it is not just migration of the data to SAP system but its processing the data an dthen creating objects in SAP system. Hence its very perfomarmace critical.
I amn using Idoc and BAPI in lsmw.
My question how to improve performance here .
My options:
1. Call the API(which is processing the data) in side the BAPI with new task for each independent set.
2. No need of (1) if I am doing parallel processing in step idoc processing. Here lsmw itself provides parallel processing of Idoc.
3. Use FPP . but since FPP can be integrated only for data in database, I would need to first store the incoming data in a temp tables and then call API in FPP run where API reads data from temp tables .
Can you please suggest from your experience which is the best technique to improve the perfromance in this situation ?Hello Suresh,
Thank you so much for resply.
My proiblem with lsmw is that I cannot call API in background job but it wil run in dialog process.
That was one reason to think of storing it temporarily and tehn processing it in FPP.
But just today I came across what is called as data transfer workbench help document where it says that you can process job in background . Can anyone confirm this ?
If yes then my next question is how to enable parallel processing using workbench -
Hi,
I am trying to change the item data on BOM's using Tcode CS02. I was thinking of using LSMW. Has anyone ever used LSMW with multiple line selections, and if so, how did you perform this process, i.e. did you use recording or some other method with LSMW.
Thank you,
Vicki SmithHI Viccki,
You can do the LSMW recording for BOM.
Only you need to take care while preparing a file.Just now i have done recording for Material BOM with two components.Following are the fields which you need to capture in your file.
MATNR Material Number
WERKS Plant
STLAN BOM Usage
DATUV Valid-From Date
BMENG Base quantity
STLST BOM status
EXSTL BOM group
IDNRK_01 BOM component 1st
IDNRK_02 BOM component 2nd
MENGE_01 Component quantity 1st
MENGE_02 Component quantity 2nd
POSTP_01 Item Category (Bill of Material)
POSTP_02 Item Category (Bill of Material)
POSNR BOM Item Number
IDNRK BOM component
MENGE Component quantity
MEINS Component unit of measure
SANKA Indicator for Relevancy to Costing
Regards,
Manish -
Upload of characteristics with LSMW
Hi,
I want to upload characteristics with LSMW. I have already created the classes and I want to assign several characteristics to a class. I tried with creating a recording but I just can upload the first 15 characteristics even though I write more than 15.
I'd appreciate if someone could tell a way to do it.
Thanks in advance,
GerardHello,
Check out following LSMW Objects:
0150/0000/RCCTBI01/B - Create Characteristics in first Step and
0140/0000/RCCLBI01/B - Create a Class attaching the Characteristics.
Detailed Documentation is provided in the BI Program.
Hope this helps.
Best Regards, Murugesh AS
Maybe you are looking for
-
Video clips do not play in PDF document, why?
What is the point of being able to import video clips (SWF, AVI, WMV, OLE object, etc) into FrameMaker 8 if you can not run them in the PDF? I still have to manually embed the clips in Acrobat. Am I missing something here or is this only function for
-
No drivers for 64 bit windows,
i cant get the msi 9800 pro drivers to work becuse there is none for windows 64 os but ati has drivers for 64 bit os,but the chips on the msi card dont?
-
Hi plz help me urgent on smartform
hi all, i created one PO smartform in second page(last page) terms and conditions page that is not printed.i given in page 2 output options i given page2.in page1 output options page2.but it is showing dump error. Thanks, murali.
-
Swing tips - a more creative GUI
Hi everyone I would like to have a more creative GUI using Swing. This article (http://java.sun.com/products/jfc/tsc/articles/swing2d/) give me usefull hints about transparency and gradient colors which made my application look very nice. But I want
-
Guidelines to create secondary index
Hi Guys, I'm trying to get a guidelines to create an optimize secondary index. For eg, how to analyze the list of fields should be included into the secondary index. What can be done and not. Pls place your comment. Thanks in advance.