Using BAPI in LSMW
© Wipro Limited, 2002, All Rights Reserved. This document is proprietary to Wipro Technologies, a division of Wipro Limited. You may not modify, copy, reproduce, republish, upload, post, transmit or distribute any material from this document, in any form or by any means, nor may you modify or create derivative works based on the text of any file, or any part thereof for public, private or commercial use, without prior written permission from Wipro Limited.
03/04/2002
Aravinda Kodlamogaru
1
Using BAPI in LSMW Introduction : This presentation illustrates the usage of BAPI method in the LSMW, a tool provided by SAP for migrating the data from Legacy Systems into SAP. This example demonstrates the migration of Purchase Order data into SAP . The various entities used for this example: 1.Business Object : BUS2012 2.Bapi : CreateFromData 3.Message Type : PORDCR 4.Basic Type : PORDCR02 Requirement : 1.The legacy data available in single or multiple tab delimited/fixed character text files in header and item format. 2.LSMW_ALL authorization with Idoc Inbound processing setup. Some info on BAPIs : 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.
03/04/2002
Aravinda Kodlamogaru
2
Using BAPI in LSMW Contd….. SAP has provided a generator which takes a BAPI and generates an appropriate ALE message type and an associated Idoc type. For our data transfer purposes using LSMW, we can use only those BAPIs which are linked to the ALE message types (refer slide 3). Conclusion : This example uses the configured data and has been developed in the development environment of the project ‘SAP SUPPORT SERVICES - Purchase to Pay Data migration’ in Transco.
Proceed to Demo…
03/04/2002
Aravinda Kodlamogaru
3
03/04/2002
Aravinda Kodlamogaru
4
03/04/2002
Aravinda Kodlamogaru
5
03/04/2002
Aravinda Kodlamogaru
6
03/04/2002
Aravinda Kodlamogaru
7
03/04/2002
Aravinda Kodlamogaru
8
03/04/2002
Aravinda Kodlamogaru
9
03/04/2002
Aravinda Kodlamogaru
10
03/04/2002
Aravinda Kodlamogaru
11
03/04/2002
Aravinda Kodlamogaru
12
03/04/2002
Aravinda Kodlamogaru
13
03/04/2002
Aravinda Kodlamogaru
14
03/04/2002
Aravinda Kodlamogaru
15
03/04/2002
Aravinda Kodlamogaru
16
03/04/2002
Aravinda Kodlamogaru
17
03/04/2002
Aravinda Kodlamogaru
18
03/04/2002
Aravinda Kodlamogaru
19
03/04/2002
Aravinda Kodlamogaru
20
03/04/2002
Aravinda Kodlamogaru
21
03/04/2002
Aravinda Kodlamogaru
22
03/04/2002
Aravinda Kodlamogaru
23
03/04/2002
Aravinda Kodlamogaru
24
03/04/2002
Aravinda Kodlamogaru
25
03/04/2002
Aravinda Kodlamogaru
26
03/04/2002
Aravinda Kodlamogaru
27
03/04/2002
Aravinda Kodlamogaru
28
03/04/2002
Aravinda Kodlamogaru
29
03/04/2002
Aravinda Kodlamogaru
30
03/04/2002
Aravinda Kodlamogaru
31
03/04/2002
Aravinda Kodlamogaru
32