‎2008 Jun 20 10:16 AM
Hii,
I would like to know the difference in approach used between the normal bapi and the lsmw-bapi.
In the material master, i.e material save data, we can use both the approach, so why these two had been built.
What is the exact difference in them?.
Thanks,
shekar
‎2008 Jun 20 10:55 AM
Hi,
BAPIs are normally called synchronously in order to get feedback immediately.A synchronous call will only work if the system we want to access is up and running.For some purposes like data transfer, SAP wanted BAPIs to invoke asynchronously so that the calling application could proceed even if the remote system was currently unavailable.
Hence these BAPIs are linked to ALE (Application Linking and Enabling),an asynchronous message passing mechanism with guaranteed delivery.ALE uses Idocs as the containers for messages. Idocs are instances of Idocs types, which in turn are associated ALE message types.
Inorder to work with LSMW , we need BAPIs for async processing.
AP has provided a generator which takes a BAPI and generates an appropriate ALE message type and an associated Idoc type.
Thanks and regards.