Beruflich Dokumente
Kultur Dokumente
Welcome, Guest
Login
Store
Register
Products
About SCN
Downloads
Industries
Partnership
Developer Center
Lines of Business
University Alliances
Innovation
Activity
Communications
Actions
Brow se
Share
Tw eet
Like
vino kumar
3934 View s
nagaraj kumar nishtala Nov 20, 2007 11:30 AM (in response to vino kumar)
Re: Difference between lsmw,bdc & bapi
Hi,
Check the below links
http://www.geekinterview.com/question_details/33450
http://www.allinterview.com/showanswers/1646.html
Reward if helpful.
Regards,
Nagaraj
Like (0)
Manish Kumar Nov 20, 2007 11:32 AM (in response to vino kumar)
Re: Difference between lsmw,bdc & bapi
Hi Satish,
Difference between BDC and BAPI
BDC is traditional way of coding the transactions for uploading the legacy data, Sap is changing all
transactions to Object oriented programming. Since BAPI is Object based and supports all the new
transactions it is preffered over BDC. More over BAPI's process data faster than BDC.
BAPI is a SAP-supplied function module with a defined interface, which allows you to interact with
various business objects. SAP guarantees the integrity of your database for anything updated using a
BAPI. BDC is a method of driving screens programatically, for updating SAP data. BAPIs are generally
scn.sap.com/thread/640283
1/9
8/31/13
A BAPI is a method of a SAP Business Object. BAPI enables SAP and third party applications to
interact and integrate
with each other at the Business Object / Process level.
Check this link to know more about BAPI.
http://www.sapgenie.com/abap/bapi/example.htm
http://sappoint.com/abap/
Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since
the early versions of R/3. BDC is not a
typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is
not bi-directional.
BDC works on the principle of simulating user input for transactional screen, via an ABAP program.
Typically the input comes in the form
of a flat file. The ABAP program reads this file and formats the input data screen by screen into an
internal table (BDCDATA). The
transaction is then started using this internal table as the input and executed in the background.
scn.sap.com/thread/640283
2/9
8/31/13
Like (0)
Like (0)
Satish Panakala Nov 20, 2007 11:37 AM (in response to vino kumar)
Re: Difference between lsmw,bdc & bapi
Hi Satish,
<b>BDC:</b>
About Data Transfer In R/3 System
When a company decides to implement the SAP R/3 to manage business-critical data, it usually
does not start from a no-data situation. Normally, a SAP R/3 project comes into replace or
complement existing application.
In the process of replacing current applications and transferring application data, two situations
might occur:
The first is when application data to be replaced is transferred at once, and only once.
The second situation is to transfer data periodically from external systems to SAP and vice versa.
There is a period of time when information has to be transferred from existing application, to SAP
R/3, and often this process will be repetitive.
The SAP system offers two primary methods for transferring data into SAP systems. From non-SAP
systems or legacy system. These two methods are collectively called batch input or batch data
scn.sap.com/thread/640283
3/9
8/31/13
Like (0)
scn.sap.com/thread/640283
4/9
8/31/13
scn.sap.com/thread/640283
5/9
8/31/13
Like (0)
Nehru NehruPandidurai Nov 20, 2007 12:03 PM (in response to vino kumar)
Helpful Answer Re: Difference between lsmw,bdc & bapi
hi,
Main diff between LSMW , BDC and BAPI.
when we will use LSMW means minimum of data we want to uplode we will go for LSMW. this is for
function concultent work why because here there is no coding so thats y easily the will uploade the
data form lecacy system to sap system.
When we will go for BDC while we have used in customer Exit in our tcode so that time we want go
for bdc otherwise we will go for bapi why because in BAPI is standard Function module so if we r
using BAPI which t code having the Enchansment we can't upload the data.
In BAPI we will transfer the data from no sap( like java...) to sap .
In BDC we can't.
regards,
S.Nehru.
Like (0)
Gavin Richardson Nov 20, 2007 12:22 PM (in response to vino kumar)
Re: Difference between lsmw,bdc & bapi
Hi there,
We used LSMW for uploading some legacy data and it was a NIGHTMARE!
The next time we uploaded some data we used a program along the lines of this:
[there are no exceptions or validation in this version - but it should get you started... just copy and past
then use an excel sheet with the correct no. of columns and with the CORRECT DATA types in the
excel sheet and you'll see how easy it is :)]
COPY INTO NEW PROGRAM VIA SE80
____________________________________________
REPORT ZGAVAMEXBTU1.
TABLES: BSEG, BKPF, COBL, RF05A, INVFO, ACGL_ITEM.
TYPES: BEGIN OF ttab ,
Lower line level detail to read - declare here - used to concatenate other details into
(details being itab-trvl_dest itab-trvl_dept itab-trvl_sname)
LongText type ACGL_ITEM-KONTO_TXT,
col 001 in xcel file
*************** NEED TO CHECK WHETHER THIS IS REQUIRED
**************************************
*InvoiceText type ACGL_ITEM-KONTO_TXT,
col 003 in xcel file - where traveller is going to
trvl_dest(6) type c,
col 004 in xcel file - travellers departure date - used in concatenation of LongText so format
unimportant
trvl_dept(8) type c,
col 005 in xcel file - who is travelling
trvl_sname(13) type c,
col 008 in xcel file
scn.sap.com/thread/640283
6/9
8/31/13
scn.sap.com/thread/640283
7/9
8/31/13
---........
---FORM upload_data.
DATA: file TYPE rlgrap-filename.
DATA: xcel TYPE TABLE OF alsmex_tabline WITH HEADER LINE.
file = p_file.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename
= file
i_begin_col
= '1'
i_begin_row
= '4'
i_end_col
= '20'
i_end_row
= '500'
TABLES
intern
= xcel
EXCEPTIONS
inconsistent_parameters = 1
upload_ole
=2
OTHERS
= 3.
LOOP AT xcel.
CASE xcel-col.
WHEN '0001'.
itab-InvoiceText = xcel-value.
WHEN '0003'.
itab-trvl_dest = xcel-value.
WHEN '0004'.
itab-trvl_dept = xcel-value.
WHEN '0005'.
scn.sap.com/thread/640283
8/9
8/31/13
47
TRVLR_INIT
CUST_REF
TRVL_REF
CHRG_BAL
MIS_REF
REF_NO
258333302 594000
________________________________________________
Just name the excel file as per code. Have fun!
Kind Regards,
Gavin
Like (0)
Share
Site Index
Privacy
Tw eet
Contact Us
Terms of Use
scn.sap.com/thread/640283
Like
Copyright
Follow SCN
9/9