Differences 1 2
Differences 1 2
• You cannot use this include structure • This is a mechanism to enhance the SAP
(Created by you) in standard table. Standard table.
Database Table Structure
1. It must contain at least one field as 1. It doesn’t contain any primary fields.
primary field.
2. It contains the permanent data. 2. Structure doesn’t contain any data.
3. We must provide the size of the database 3. We only use to provide the size of the
table structure.
4. We must provide the delivery class to the 4. We no need to provide the delivery class to
table. the structure.
5. Foreign key is possible. 5. Foreign key is not possible.
The database table has the The database table has different The database table has
same name, same number of name, different number of fields different name, different
fields and the fields have the and fields have different names number of fields and fields
same names have different names
There is only a single table Table pools contain more tables Contains less tables than table
than table clusters pools
BDC LSMW
(BATCH DATA COMMUNICATION) (LEGACY SYSTEM MIGRATION WORKBENCH)
1. It is basically a program which is either 1. It is a more user-friendly tool, through
generated by SAP after a recording or which one can do the same work as the
programmed by a abaper. It’s like BDC. One just has to follow the 14 steps.
running the the transaction manually
but all the data is populated in the
screens automatically.
2. It simply makes use of recording. There 2. It provides various methods for migration
are two ways of implementing BDC, the of data, namely those of Direct Input,
call transaction method and the session Batch Input recording and IDOC.
method.
3. It is one has to provide explicit mapping 3. In this, mapping is taken care of with the
directors. help of SAP.
4. In this, we can schedule the job, so the 4. It has to be done at once only. So, through
uploading can be done at the same LSMW, we cannot upload huge amount of
time or later periodically. data.
5. We use BDC to upload records more 5. We use LSMW for updating or inserting
than 5000. below 5000 records.
6. BDC is mainly used by technical 6. LSMW is devised specially for functional
consultants, who perform coding. consultants who do not perform coding.
OR
BDC LSMW
1. BDC is nothing but a Data Conversion
1. LSMW is a Data migration tool.
method.
2. BDC is User Defined program not 2. LSMW is R/3 Based Application tool provides
provided by SAP. by SAP.
3. In BDC’s the Data was Converted into SAP 3. In LSMW the Data was Imported/ Migrated
Database. into SAP Database.
4. In BDC’s we can Communicate the Data 4. In LSMW we can migrate the Data via 4
Via 3 methods, there are:
methods, there are: a. Direct Input
a. Direct Input method, b. Batch Input
b. Session method, c. BAPI’s
c. Call transaction method. d. IDOC’s
5. In BDC’s we can write Coding is Very
5. In LSMW we can’t write coding in Flexibly.
flexible.
6. In BDC the flat file is either .TXT file or
6. In LSMW the flat file must be .TXT file.
Excel sheet.
7. LSMW is only possible for standard transaction
7. BDC is possible for any transaction code.
code.
6) Changes remain after the upgrade 6) Changes are lost after upgrade
8) User exits are created with SAP 8) Customer Exits are created by Custom
namespace only. namespace.
COMMIT WORK ROLLBACK
COMMIT validates the modifications made by the ROLLBACK erases the modifications made by
current transaction. the current transaction.
COMMIT occurs when the transaction gets ROLLBACK occurs when the transaction is
executed successfully. aborted in middle of the execution.
ENHANCEMENTS MODIFICATIONS
1. Enhancements are provided by SAP. 1. Modifications does not provided by SAP.
2.In Enhancements, system does not ask any 2. In Modifications, system asks object access
object access key. key.
3. In Modification, SAP does not provide any
3.In Enhancements, SAP provides some options
options and directly go to the program and ADD
for Enhance to the standard logic.
or change the Standard logic.
3.Enhancement options are provided by SAP
3. Modifications does not support future up
and supports future up gradation of SAP
gradation of SAP software.
software.
4.In Enhancements we can easily identify the 4. In Modifications we can’t identify Impact of
Impact of changes. changes and only identify proper changes.
CUSTOMER EXITS BADI’s
1. Customer exits are Old and Pure
1. BADI is an Interface.
enhancement technique.
2. Customer exits are available only in SAP level 2. BADI’s are available in Customer level,
and Customer Level. Company code level and Partner level.
3. Customer exit doesn’t support multiple
implementations. Implement in only one 3. BADI’s Supports multiple implementations
project
4. We can’t possible to create Custom
4. We can possible to create a Custom BADI’s.
Customer exits.
5. In Customer exits we can Implement the 5. In BADI’s we can Implement the Logic within
Logic within the Function modules exit. the Class
6. Customer exit is the procedural approach. 6. BADIs are object-oriented approach. So, it
So, it takes some extra time to enhancing. takes very less time to enhancing.
7. In the screen exit the screen number is fixed 7. In the screen BADI we provide our own screen
which is provide by SAP. number.
8. By using CMOD transaction we can 8. By using SE19 transaction we can implement
implement the customer exit. the BADI.
PARAMETER SELECT-OPTIONS
1) Parameter is the keyword which accepts 1) Select-options is the keyword which
the single value at run time. accept the single value, multiple single
values, single range & multiple ranges.
2) Without provide input parameter we 2) Without providing input select-options
can’t get data. we can get the entire data from
database.