How to prepare LSMW environment?
Hi experts,
I was asked to prepare the LSMW environment for an SAP core system project integration. But I don't know what is that for.
could someone tell me how to extract needed fields name from a screen or T-code automatically? By that way, I think it's possible to prepare for each object a migration file.
Thanks for your helps.
Regards,
Hermann
Check the following link:
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/LSMW_tutorial.html
http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
for Long texts Upload
Please take a look at this..
http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm
LSMW with TABLE CONTROL
Refer the links -
lsmw table control
Re: Table control in LSMW
Table control in LSMW
Table Control in LSMW
Re: Table Control in LSMW
just refer to the link below
http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
Similar Messages
-
How to prepare env to install product with pkgadd -R option
Hi,
Do you know what steps need to be done to install Storage Foundation with rootpath option?
With rootpath option packages are installed with -R option.
I thought that I can install product on non-default location. But I was wrong.
Installer help description:
The -rootpath option is used to re-root the install of all packages to the given path. On Solaris, -rootpath passes -R <root_path> to pkgadd. On HPUX, it passes -I <root_path> to swinstall. The -rootpath option is not supported on AIX or Linux
Please tell me how to prepare Solaris environment to install SF to re-root the install?
Kind regards,
DanielHi,
Finally I created alternate boot environment using command:
# lucreate -c c1t0d0 -n c1t1d0 -m /:/dev/dsk/c1t1d0s0:ufs
File systems:
[root@sun1 /]# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 14G 5.8G 8.5G 41% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 5.2G 1.5M 5.2G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
14G 5.8G 8.5G 41% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
14G 5.8G 8.5G 41% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 5.2G 88K 5.2G 1% /tmp
swap 5.2G 48K 5.2G 1% /var/run
/dev/dsk/c1t0d0s3 4.8G 4.9M 4.8G 1% /oracle
/dev/dsk/c1t0d0s4 4.8G 4.9M 4.8G 1% /oradata
/dev/dsk/c1t0d0s7 39G 1.2G 38G 4% /export/homeThen activated alternate boot environment:
[root@sun1 /]# lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
c1t0d0 yes yes yes no -
c1t1d0 yes no no yes -
[root@sun1 /]# luactivate c1t1d0
[root@sun1 /]# lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
c1t0d0 yes yes no no -
c1t1d0 yes no yes no -Then run commands:
# init 0
ok> boot
But after bootin system is booting from c1t0d0 disk not from alternate boot envrionment:
[root@sun1 /]# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 14G 5.8G 8.5G 41% /
...Do you know what is the problem? -
How to call LSMW from a Report program
Hi,
I have a requirment of extending vendor master data (Companycode data and Purchasing Organization data ) through Tcode XK02 using LSMW.Also I need to generate an error log file for validating the data from flat file and must have an export option of the error log file.
Can you help me how to proceed on this in steps.
Also pls let me know how to call LSMW transaction through a Report.
Based on the selection criteria I need to maintain two source structues,one for companycode data and the other for Purchasing Orgnization data for uploading data thru LSMW.How to do this?
pls respond ASAP,
Thanks,
NagendraHi,
create 2 LSMW object (under same project and subproject)..
one for extended vendor master data for company code data and other for extended purchase organization data for company code data.
Now check the radio buttons and based on that populate ur LSMW object.
Store project
project = < >.
Store subproject
subproj = < >.
Store object
object = '6GSC022_TS3'.
if r_ccode = 'X'.
Store object
object = < >.
else.
Store object
object = < >.
endif.
Call the function module to display object (LSMW) maintenance screen
CALL FUNCTION '/SAPDMC/LSM_OBJ_STARTER'
EXPORTING
project = project
subproj = subproj
object = object
EXCEPTIONS
no_such_object = 1
OTHERS = 2.
Generating error log:
After the checking the field if u think for this u need to generate error message then In the Maintain Field Mapping and Conversion Rules option under the required field write the following code:
data: v_msgtxt(100) type c.
message <msg ID> <message type> <message no>
with <var1> <var2>
into v_msgtxt.
write v_msgtxt.
Follow the next step in LSMW object till you reach the option Convert Data.
After you execute this option you will get the desired message here.
Regards,
Joy. -
How can I use environment variables in a controller?
Hi all,
How can I use environment variables in a controller?
I want to pass a fully qualified directory and file name to FileInputStream and would like to do it by resolving an env variable, such as $APPLTMP.
Is there a method somewhere that would resolve this??
By the way,Did anyone used the class of "oracle.apps.fnd.cp.request.RemoteFile"?
The following is the code.
My EBS server is installed with 2 nodes(one for current,and other is for application and DB).I want to copy the current server's file to the application server's $APPLTMP directory. But the result of "mCtx.getEnvStore().getEnv("APPLTMP")" is current server's $APPLTMP directory.
Can anyone help me on this?
private String getURL()
throws IOException
File locC = null;
File remC = new File(mPath);
String lurl = null;
CpUtil lUtil = new CpUtil();
String exten;
Connection lConn = mCtx.getJDBCConnection();
ErrorStack lES = mCtx.getErrorStack();
LogFile lLF = mCtx.getLogFile();
String gwyuid = mCtx.getEnvStore().getEnv("GWYUID");
String tmpDir = mCtx.getEnvStore().getEnv("APPLTMP");
String twoTask = mCtx.getEnvStore().getEnv("TWO_TASK");
// create temp file
mLPath = lUtil.createTempFile("OF", exten, tmpDir);
lUtil.logTempFile(mLPath, mLNode, mCtx);
Thanks,
binghaoHowever within OAF on the application it doesn't.
what doesnt work, do you get errors or nothing ?XX_TOP is defined in adovars.env only. Anywhere else this has to go?
No, it is read from the adovars.env file only.Thanks
Tapash -
Join us at 2:00pm Pacific time for a LIVE video tutorial of how to prepare for system backup and recovery! The video features HP experts who work with the products every day!
I am an HP employee.#test
-
How to use LSMW on CRM for bulk master data creation?
Hello Experts,
I need your help to able to use LSMW on CRM for bulk master data creation. Below is described my detailed requirement; -
We have CRM 2007 integrated with SAP ISU (ECC6.0). As per business process all Business Master Data (BP details, Business Agreement details etc) and Technical Master Data (Connection Object, PoD etc.) is created in CRM and then it is replicated in ISU. We are going to start Assembly Test soon. Now we need to have all master data in place. Tool we want to use is LSMW.
Now can you help me right from scratch on how to use LSMW for bulk master data creation in CRM?
Please give me documents / links etc that is relevant.
Regards,
RohitHi,
I have looked into your query.
These are some information which might be useful to you.
What is LSMW?
Legacy System Migration Workbench or LSMW is SAP standard program that can be used to easily load / change master data or transactions in SAP without any programming at all. It can be used to upload data at cutover, such as: open orders, contracts, materials, vendors, stock on hand. It can also be used in a production system to make changes to existing data. Very limited authorization checks are available on the transaction, so the use of it must be very well controlled.
One input file can be used to create all the views of the material master. For all the material types. Even if different views and fields are used for the different materials.
Steps to take
1. Create text file with data to be loaded
2. Set up and run LSMW
The following link will provide good information on LSMW Idoc method:
[http://help.sap.com/saphelp_nw04/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm]
I hope this helps.
Regards,
Venkat -
How to prepare consolidated petty cash journal report?
Dear All,
How to prepare cash journal consolidated report for Check Receipt and cash receipt and cash payment expenses do through cash, we need cash journal report, that report including (Check Receipt, Cash Receipt and Cash outgoing payment).
Tell me how to prepare consolidated petty cash journal report.
Thanks & Regards
SelvaDear All.
Cash Journal con report Use This T.Code: S_P6B_12000118
Thanks & Regards
Selva -
How to Prepare Flat File for Vendor Open Items for RFBIBL00
Hi Experts,
I have to prepare a flat file structure for vendor open items to use in RFBIBL00.
I tried to take structure from the structures BBKPF and BBSEG structures.
I have 59 fields in my file and I need to map these fields with the structures BBKPF and BBSEG to prepare the structures for
Header and Items for vendor open items.
Can any body help me how to prepare the flat file structures.
Thanks & Regards,
Sudheer
Edited by: sudheer kumar on Dec 4, 2009 11:09 AMRFBIBL00 has a documentation please check it
-
How to Prepare for a Job Interview of Oracle DBA ?
How to Prepare for a Job Interview of Oracle DBA ?
Like, What books, PDF's, Websites to refer to get selected for the post of Oracle DBA.
Edited by: sdmuzdba on Mar 25, 2009 7:10 PM
Edited by: sdmuzdba on Mar 25, 2009 7:13 PM
Edited by: sdmuzdba on Mar 25, 2009 7:24 PMsdmuzdba wrote:
How to Prepare for a Job Interview of Oracle DBA ?
Like, What books, PDF's, Websites to refer to get selected for the post of Oracle DBA.
Well , you won't go for shopping when there are already guests in your home , will you? In case, that didn't make much sense, I meant that you won't start reading books, pdfs, looking at websites when you are going to have an interview already scheduled for you. I can bet my money( whatever little I have) that even doing this, won't bring you any good. If your question directly or indirectly is related to the questions that the interviewer may ask, once again, this would be a total wrong approach to go for an interview. In almost no time, it can be find out whether you are speaking some crammed line or from yourself. I had a chance to sit on the other side of the hot seat and the guy in front of me was giving all teh bookish answers. I twisted the questions and I was sure that he must have not read them anywhere, guess what happened. he started fumbling and finally gave up.
Interview is what you know, what you have done so far. Its not to start picking up LOTS of books, looking for the questions/answers and just think that the interview will happen from that only. I have some questions whose answers, at least the complete answers , you won't find anywhere. My suggestion is to just go for the interview, be honest about what you know and more about , what you don't know. You haven't committed a crime by not knowing some thing. I know nothing and I am never scared from the interviews ;-) .
Not sure that did help or not but still, best of luck.
Aman.... -
How to use LSMW using the IDOC to upload and maintain cost center group
Hi Everyone,
Is there anyone who knows how to use LSMW using the IDOC functions instead of the recording. I wanted to upload the alternative cost center group I created in the system.
reply would be greatly appreciated
Warm RegardsHi Praveen,
There is a risk trying to migrate data directly into standard tables because this can generate database inconsistences or wrong inserted data according to what is customized in the target system. I do not recommend migrate like this.
With LSMW you use objects like direct input programs, idocs, bapis and recorded batch input. Try to create a project and use an standard object for your data. Also, check in SXDA transaction (Goto-->DX programs) if there is a standard program for your data.
Anyway, if you want to upload data directly to tables, read below thread:
["UPLOAD CSV FILE";
[how to upload .csv file into a custom table;
Regards,
Roger -
How can I pass environment variables to the child process?
How can I pass environment variables to the child process? This is what I tried and it didn't work.
static public void main (String[] args) throws Exception {
ProcessBuilder b = new ProcessBuilder("java", "-cp", ".", "Child");
Map<String, String> map = b.environment();
map.put("custom.property", "my value");
b.redirectErrorStream(true);
Process p = b.start();
BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
String line = null;
while (null != (line = reader.readLine())) {
System.out.println(line);
public static void main(String[] args) {
System.out.println("The value of custom.property is : " + System.getProperty("custom.property"));
}and the result is:
The value of custom.property is : nullComplete test:
static public void main (String[] args) throws Exception {
ProcessBuilder b = new ProcessBuilder("java", "-Dcustom.property=my property value", "-cp", ".", "Child");
Map<String, String> map = b.environment();
map.put("custom.property", "my environment value");
b.redirectErrorStream(true);
Process p = b.start();
BufferedReader reader = new BufferedReader (new InputStreamReader(p.getInputStream()));
String line = null;
while (null != (line = reader.readLine())) {
System.out.println(line);
public static void main(String[] args) {
System.out.println("Property value of custom.property is : " + System.getProperty("custom.property"));
System.out.println("Environment value of custom.property is : " + System.getenv("custom.property"));
} -
How to create ios environment with adobe id?
Hi , i am trying to create ios environment in windows platform.
can any one please tell me, how to create IOS environment with adobe id.
I a created adobe id and inserted code into it. But its running (Since one hour), and no response.
Any one have idea on it, please let me know.
Thanks in advance....
Message was edited by: pathi rskumarHi,
If you have already set the number range as an external range.
Then just passing the transaction type to field 'process_type' and external id to field 'object_id' of table ct_orderadm_h. Sales order will created with the assigned external id.
Hope this help.
cheers, -
How to Prepare Invoice in ADF to be Printed ???
I am trying to finish my project and I am now Searching for how to prepare an Invoice to be printed. I have items and its prices I want to add total prices for items and its quantities. I want also to calculate the sum of all items bought. Can anybody help
ADF - Groovy for Total Sum of a Column in a Table | Techartifact
Table Total and Formating Oracle ADF Jdeveloper 11g R2 - YouTube
https://forums.oracle.com/message/
Oracle Fusion Middleware Blog by - Mohammed Tanveer: Table Column Sum / Table Footer Displaying Sum of Column
then use the PrintPageBehavior to take out the printout...'
Another option to download the excel using exportCollection or use Apache POI api -
HOW TO PREPARE TECH SPEC FOR OOPS PROGRAM
Hi..
This is Sri .I Created a Report program in oops. can any one help how to prepare tech spec for this oops report,,can i need to mention Classes ,Methods, ref-classes,screens in preparation of Spec..
Thanks in advance..I surly reward with points if my prob is solved,,,,,,
SRIHi Sri,
Tech Spec is nothing but a document containing some technical information about
the object you have developed/coded. Normally this should be prepared before you code and not the other way round.
You should mention relevant classes created / used. If you have created / added some class components like attributes/methods/events/interfaces mention that too.
You can also mention functionality to be coded in methods of the class. Please understand it is not a replica of your program but some useful technical info that the coder will use to code and later people will use for maintainance purpose.
It is better if you have some defined template for the tech spec, else just put the info in a structured and readable manner.
Regards
Indrajit. -
Requesting all to help me how to create lsmw using idoc method
hi
thanx for ur answer
requesting every body in the forum to help me how to create lsmw using idoc method.
regards,
balajiHi Balaji,
LSMW using IDOC is similar to using flat file method. Here you are getting data from IDOC container and mapping data with Idoc segments insted of flatfile column.
Hope this is what you are looking for. If helpful then dont forget to reward me for that
Darshan
Maybe you are looking for
-
In upgrade of OBIEE 10g to 11g does one have to merge the RPD.
In Oracle's documentation they mentioned that the RPD and catalog need to be merged (Section 3.22 and 3.23) . However, i have successfully run upgrade assistant to upgrade the old catalog and rpd. Is there still a need to do the merges. http://itwiki
-
How do you un sync your facebook from iPhoto?
There is an option to be able to sync you iPhoto with you Facebook so you can easily import photo's to facebook without having to go in and browse choose etc. I want to Unsync my Facebook from iPhoto because someone else will be taking over the compu
-
Report to identify Actuals Vs Accruals
Hi SAP Experts, Is there any report in SAP or BW that could identify Actuals Vs Accruals per lowest detail (eg: WBS)? Thanks Alex
-
Problem starting managed server.
Hi, I have my weblogic server running on UNIX server which has 2 users (UserA and UserB). The Admin server has been started with UserA and the nodemanager with UserB. I have 3 clusters with 2 managed servers each configured in my server. When i start
-
How can I add fonts to Muse like Brandon Grotesque or Proxima Nova?
I thought that by having access to typekit I will be able to use those fonts everywhere, and in Muse the choise of web fonts is very small, and only a few have polish signs for me!!! Please tell me how I can add fonts like Brandon Grotesque to Muse (