09-15-2008 10:10 AM
Using Enhancement Point is better or using any user exit is better keeping in mind that we need acccess key to use user exit.
09-15-2008 10:15 AM
Hi,
There is nothing like best. It is case and situation based.
Definitely Enhancement points are preferable for the same reason you mentioned. no need to register the object.
Also try to use Modification assistant while working on standard programs which will be very helpful for upgrades, Notes installations, etc...
Cheers,
Kothand
09-15-2008 10:14 AM
Hi,
I think BADI is the best option.
Whenever u search for some enhancement, u should first search for BADI, then Customer exits and finally u should opt for User exit.
Hope this will help u.
Regards,
Mohammadi.
09-15-2008 10:15 AM
Hi,
There is nothing like best. It is case and situation based.
Definitely Enhancement points are preferable for the same reason you mentioned. no need to register the object.
Also try to use Modification assistant while working on standard programs which will be very helpful for upgrades, Notes installations, etc...
Cheers,
Kothand
09-15-2008 10:18 AM
Hi
In user exits we go by general method for enhancements
while BADIs we use objects (oops concepts)
methods for enhancement
UserExits r used for adding additional functionality to the
existing SAP standard transactions.Using UserExits we can
add additional functionality standard SAP functionality
without making any changes to the original code.BADI is a
standardized interface for ABAP sources that enables
partners and customers to enhance SAP-delivered programs in
their namespace.
Making enhancements using the transactions SMOD/CMOD has
the following disadvantages:
1) This enhancement technique assumes a two-tiered system
infrastructure (SAP u2013 customers).
2) The naming conventions in effect do not tolerate name
extension.
3) It can be called only once. i.e. A user exit can not be
assigned to more than one project.
Adavantages of BAdI
1) Fulfills the requirements of a system infrastructure
containing country versions, industry solutions, partners,
and customers.
2) Business Add-Ins should be considered generalized
Business Transaction Events that can be used to bundle
program, menu and screen enhancements into a single add-in.
3) Business Add-Ins can be created and employed in each of
the various software levels.
4) BAdI can be called namy times. i.e. BAdI implementation
can be assigned to more definations.
Regards
Pavan
01-27-2009 11:36 AM