LSMW with BAPI too slow
Hi,
I have created a LSMW project which reads an excel file of materials and creates WM views for them. It does this by using the SAVEDATA method of the business object BUS1001006.
It works, but is too slow: about 35 sec for each material. After some debugging I found that most of this time was spent executing a COMMIT WORK in the function module TRANSACTION_END.
Does anyone if it possible to speed this up?
Slath
Hello Sir,
I am a student who is pursuing a project that deals with JCo 3.
I read your question on the forum and think that you have done the JCo stuff and can answer my questions.
Kindly, try to shed some light on following question:
Q1: I simply want to start with connecting my SAP system. I have a user ID and password for the same.
I saw some examples where they use "JCo.createClient(....)" and "JCo.client.connect()" to simply connect the client but
when I type in the code it shows me an error, because they are using package "com.sap.mw.jco" but since I am using JCo3,
I don't have that package instead I have "com.sap.conn.jco" which do not have createClient function.
Q2: By setting the classpath for "sapjco.jar" I was able to compile one of the sample programs but could not run it. Do you
know how to run the SAP JCo program.
Your guidance will be highly appreciated
-Thanks
-Dmukhi
Similar Messages
-
LSMW with bapi BAPI_REQUISITION_CREATE
Hi
I'm creating an LSMW for create purchase requisition with Bapi (BAPI_REQUISITION_CREATE)
I'm trying to upload 2 items for a PR but the LSMW is creating 2 PR with each item.
How can I tell to the LSMW that I have to item for the same PR?
Remember this bapi doesn't has header.Hi,
you need to define hierarchy in your in put file to merge required lines into one BAPI call. You can find some examples how to create order with multiple items (for example [this one|http://www.scribd.com/doc/6646673/Lsmw-With-Bapi]). So you can easily adapt it to your BAPI.
Cheers -
I want to upload material master (MM01) using LSMW with BAPI method
I want to upload material master (MM01) using LSMW with BAPI method and also later on I may need to change the updated data.
Which business object and Method I should use so that i can do both.
Thanks
kumar nHi,
The business object is BUS1001.
Thanks,
Murali -
EDI_SEGMENTS_ADD_BLOCK is empty - LSMW with BAPI
Hi everybody!
I'm trying configure a LSMW with BAPI, but when I try to do the step "Start IDoc Generation" I receive the message "EDI_SEGMENTS_ADD_BLOCK is empty".
I already configured the Ports, Partner Type and Partner Number, but I am still receiving the message.
My Example Scenario is:
- A test LSMW to change flight table using the BAPI "BAPI_FLIGHT_SAVEREPLICA".
- The Port is FILE type and the file is local (PC).
-The Partner Type is LS.
- The Partner Number is using FLIGHT_SAVEREPLICA message type in Inbound parameters.
Anybody knows the possible cause of this?
TksAfter search I tried many things to solve it, in the end I just rebuild the LSMW step by step again and the problem does not appeared again...
-
How to do the lsmw with bapi?
hi
while upload the vendor master data using (xk01) from nonsap to sap
how to do the lsmw with bapi? pls could u give the steps with scren shot to me.
regards
eswar.Hi
BAPI - BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet.
BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology.
LSMW- No ABAP effort are required for the SAP data migration. However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW.
The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
More and more medium-sized firms are implementing SAP solutions, and many of them have their legacy data in desktop programs. In this case, the data is exported in a format that can be read by PC spreadsheet systems. As a result, the data transfer is mere child's play: Simply enter the field names in the first line of the table, and the LSM Workbench's import routine automatically generates the input file for your conversion program.
The LSM Workbench lets you check the data for migration against the current settings of your customizing. The check is performed after the data migration, but before the update in your database.
So although it was designed for uploading of legacy data it is not restricted to this use.
We use it for mass changes, i.e. uploading new/replacement data and it is great, but there are limits on its functionality, depending on the complexity of the transaction you are trying to replicate.
The SAP transaction code is 'LSMW' for SAP version 4.6x.
Check your procedure using this 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
<b>Reward points for useful Answers</b>
Regards
Anji -
While LSMW with BAPI method doing is any prerequisite required.
Hi,
When i entered the business object in lsmw with bapi method.
i am getting the error messge is enter the valid value. when i press f4 its showing the object.but when enter the method its giving the error messge is enter the value. when i checked through BAPI tcode its avaliable.
Object name is BUSISM007.
method is CREATEFROMDATA.
if anybody knows it would be helpful.
regards
Divacheck it BUSISM007---->not found
Maintain the default values for IDoc inbound processing..
in initial screen of lsmw(project, subproject)..
setting--->idoc inbound processing -
I am trying to do LSMW with BAPI for transaction mm01. can anybody tell me how to do that, with steps.
Thanks
Ganesh vidyarthiHi Ganesh
Please check the following Links
https://forums.sdn.sap.com/click.jspa?searchID=274344&messageID=2796820
https://forums.sdn.sap.com/click.jspa?searchID=274344&messageID=2532904
https://forums.sdn.sap.com/click.jspa?searchID=274344&messageID=2124208
https://forums.sdn.sap.com/click.jspa?searchID=274344&messageID=282539
https://forums.sdn.sap.com/click.jspa?searchID=274344&messageID=2549249 -
Send me the step step process of LSMW with BAPI
hI
Plz send me realetd document that expalins step step process of LSMW with BAPI
Thankshttp://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
-
LSMW with BAPI for BAPI_CONTRACT_CREATE
Hi,
I am using LSMW with BAPI for creating purchasing contract.
I got status of the Idoc as " 64 " means Idoc is ready to transferred to application but when i go to next step ...
I am getting dump when I executing the step "Start Idoc Processing"
The errors shows like this: - "Object cannot be assigned to null"
Any help on this:-yes ..
I can see the data into the idoc.
But when processing this idoc into application...then going into dump.
Any ideas...Please let me know. -
Newbie with "disk too slow" issues
Hi folks,
TOTAL newbie (Mac newbie, audio newbie) here, up front disclaimer. I've just been trying to play the "Numbers Game" demo project in Logic Pro on my new MacBook Pro and I'm getting the "disk too slow" message (error 10010)...This is a 2.66 GHz MacBook with 4GB of RAM. I'm just using the internal drive (500 GB, 5400 RPM)...The system is new, so it's clean.
All my software is up to date...Logic Pro is 9.1.2. The same thing happens in 32 or 64 bit mode, at the same spot in the playback (about 41 seconds in).
I've read various threads here regarding this message and have tried some of the suggestions (like disabling the Airport). I've tried both extremes (32 and 1024) on the disk buffer size, etc...
Like I said, total newbie so I'm probably doing something stupid. Has anyone else had this particular issue? I notice this demo project is rather complex...so maybe it really is overloading the system?
Thanks in advance for any suggestions.
WillNope, not trying to play from the optical... I'm not quite that much of a newbie.
Never hurts to ask
BTW, if you hit that spot and get the overload message, and then start playback over again from the beginning, will it play back the project without incident? If so, you've run across one of the longtime and well documented issues of Logic. Once you play through that first time around, you're good to go.
If it's doing it every time you playback the project even if you haven't closed Logic, then it is indeed bogging down your system. Fuzzy is right, you'll have better performance if you put the project and its contents on an external drive. Also, if you have a Unibody MBP, the HD's are super easy to swap out. Mine came with a 500GB 5400RPM drive, and I put in a 500GB 7200 speed drive, and it makes a HUGE difference. The original drive is in an external enclosure that I use for a back-up. It's a very nice set-up.
Good Luck! -
LSMW with BAPI for Person's Qualification Profile - BAPI_QUALIPROF_CHANGE
All,
I tried to use BAPI 'BAPI_QUALIPROF_CHANGE' to upload the qualification profile for an employee. The corresponding object type for the function module is BUS7017 (& the method is CHANGE). But in standard SAP, in the initial LSMW attributes screen, it supports only those objects with an ALE interface. But, BUS7017 does not have an ALE interface.
It is possible to create an ALE interface for a BAPI in the transaction 'BDBG'. After creating an interface, I get the business object in the F4 help for the Business object (LSMW attributes screen). But, I get an error in the step 'Maintain structure relations'. It is saying 'target structure could not be found'.
Can you please tell me what I am missing here. Also let me know how to generate a function module for the inbound/outbound processing of an ALE with BAPI?
Thanks in advance.
Regards,
Parvath.Hi,
Did u get any solution to this . I am trying to upload cost centers and facing the same problem. If you have found any solution , please pass it.
Sutapa -
Hi,
Please tell me step by step lsmw recording method with bapi.
it's argent.Hi,
Check this
https://www.sdn.sap.com/irj/sdn/directforumsearch?threadid=&q=lsmw+tutorial&objid=f50&daterange=last90days&numresults=15
aRs -
Hello everybody,
I have an application which a call a BAPI in an ECC System. This BAPI is a specific one, and it is developed in Batch input to create a Billing document from a sales order.
This call take too much time and my java program don't wait for the answer of it. I have done some performance check on the program and this call take more of 1 minutes to finish.
Here is my program :
//-Fill the entry parameter-
//Import parameter
paramImport = function.getImportParameterList();
paramImport.setValue(SalesOrder, Constants.IV_VBELN);
//Define Export parameter list for the returning Data
paramExport = function.getExportParameterList();
//Execute the BAPI
client.execute(function.getName(), paramImport, paramExport);
The fact it is developped in Batch input could be a problem ? Tell me if there is a solution to speed up the process or to say to my java program to wait until the answer of the BAPI.
Thanks.Hello Sir,
I am a student who is pursuing a project that deals with JCo 3.
I read your question on the forum and think that you have done the JCo stuff and can answer my questions.
Kindly, try to shed some light on following question:
Q1: I simply want to start with connecting my SAP system. I have a user ID and password for the same.
I saw some examples where they use "JCo.createClient(....)" and "JCo.client.connect()" to simply connect the client but
when I type in the code it shows me an error, because they are using package "com.sap.mw.jco" but since I am using JCo3,
I don't have that package instead I have "com.sap.conn.jco" which do not have createClient function.
Q2: By setting the classpath for "sapjco.jar" I was able to compile one of the sample programs but could not run it. Do you
know how to run the SAP JCo program.
Your guidance will be highly appreciated
-Thanks
-Dmukhi -
hi experts,
by using bapi_po_create, i have to upload the data by using lsmw.please help me.what are the step to upload the data?
thank you
with regards,
rohitRefer these links:
1. BAPI And LSMW and
2. Getting BAPIs into LSMW?
Regards,
Ravi -
Initializing Vector with ResultSet(too Slow!)
Hi
I'm createing a JTable with two Vectors. Im am initializing the Vectors in a while loop, but it is way to slow with large ResultSets.
Does anyone know how I can speed this process up?
Thanks!Heres the full method Ive removed some of hte code in the for loop. But that makes no difference to the speed
private Vector getData(int columns[]) throws Exception
rows = new Vector(queue.count);
while (res.next())
Vector newRow = new Vector(columns.length);
for (int i = 0; i < columns.length; i++)
newRow.addElement(res.getString(columns));
rows.addElement(newRow);
return rows;
Maybe you are looking for
-
Atualizar - Tabela/campo definido pelo usuário
Senhores, como já disse antes, sou novo no SAP, e estou buscando conhecimento constantemente, quando aparece alguma demanda pra resolver venho pedir ajuda. Hoje o que eu preciso é o seguinte: No meu ambiente de Serviços - Chamado de Serviço, quando d
-
I had just updated my Mac to 10.6.1. When it finished, I had tried to open up Itunes but it says it requires 10.6.8 or later. When i had tried to update my mac it asked for my adiminstartor password. I dont know my password. Any way to reset it witho
-
I have an I tune account I started on a PC, how can I access that account and library on my IMac?
-
update to 10.10.3 doesn't work
-
How to close the command prompt
Hi, I am new to Java. I am using Swing. i used System.exit(0) to close my frame when a condition is met. But the command prompt is not closed. How do i close that automatically