07-09-2008 7:16 AM
hai
why we r working with idoc in lsmw,we can directly update from
internal tables??
07-09-2008 7:27 AM
Hi,
IDocs has specific structure to update the data.
Just enough to populate the fields to the IDoc segments.
You don't need to write the code.
IDoc standard function modules will update the data into database.
And we can easily monitor the IDocs.
Other wise you have to write the code manually.
Regards,
07-09-2008 7:26 AM
Hello Sudhir,
LSMW is mainly use to transfer data from legecy system i.e. non sap to SAP R/3 system.
There are three ways to to that and one of the way is via IDOCS.
Now suppose u have 10 thousand records in ur file then, either u have to do with BDC or LSMW.
It's easy to develop a LSMW tool compaire to fetch all the value in internal table first then to update the data base.
Rewards points if it is usefull.
Thanks
Satyam
07-09-2008 7:27 AM
Hi,
IDocs has specific structure to update the data.
Just enough to populate the fields to the IDoc segments.
You don't need to write the code.
IDoc standard function modules will update the data into database.
And we can easily monitor the IDocs.
Other wise you have to write the code manually.
Regards,
07-09-2008 7:27 AM
one transaction will update sevaral tables
based on some conditions some filed of the tables may be filled or may not
but if you want to do it by using the intrenal tables you need to take care of each and every check
if you for got even a single step it will leads to data inonsistancy
and difficult morevoer
07-09-2008 7:30 AM
Hi,
This is one of the methods in lsmw.
IDOC
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system.
Idocs are processed asynchronously and no information whatsoever is returned to the client.
The target system need not be always online. The IDOC would be created and would send the IDOC once the target system is available (tRFC concept). Hence supports guaranteed delivery.
With asynchronous links the sub-process on the client can be finished even if the communication line or the server is not available. In this case the message is stored in the database and the communication can be done later. The disadvantage of asynchronous links is that the sub-process on the server cannot return information to the calling sub-process on the client. A special way for sending information back to the client is required. In addition, a special error handling mechanism is required to handle errors on the receiving side.
IDOCs may be more changeable from release to release.
IDOCs are poorly documented.
IDoc Status Codes ? Outbound
Hope this helps you.
Reward points if helpfull.
Thanks & Regards,
Y.R.Prem Kumar
07-09-2008 7:36 AM
hi,
There are many methods through which we can upload data in LSMW.
We are using IDOCS bcoz it has a structure in which data is stored.
Moreover if u r using internal tables you have to keep in in mind each and every check that was created during table creation.
reward if useful...
Thanks,
Manish
07-09-2008 7:38 AM
hi
IDocs has specific structure to update the data.
Just enough to populate the fields to the IDoc segments.
one transaction will update sevaral tables
IDoc standard function modules will update the data into database.
And we can easily monitor the IDocs.
but if you want to do it by using the intrenal tables you need to take care of each and every check
if you for got even a single step it will leads to data inonsistancy
and difficult morevoer
Other wise you have to write the code manually.
thanks
Satish
07-09-2008 8:02 AM
hi,
Because instead of individual tables or field contents, the LSMW tool migrates user-defined datasets (known as objects), which are combined according to business criteria. In addition to using standard import techniques, you can also generate user-specific objects.
please reward if it helps.
thanks