sap web gui login

http://molgaard.consolut.eu/sap/bc/gui/sap/its/webgui

Wednesday, July 30, 2014

Differences Between Classic and New BAdIs

Differences Between Classic and New BAdIs 

Classic and new BAdIs differ in a number of features that are important for migration:
  1. BAdI object
                            a.      With classic BAdIs, a BAdI object is created by calling a factory method, and referenced via a reference variable of the type of the BAdI interface.
                            b.      With new BAdIs, a BAdI object is created via the ABAP statement GET BADIas a handle for the calls of BAdI methods, and referenced via a reference variable of the type of the BAdI. A BAdI object is an instance of an internal BAdI class, which otherwise is invisible to the outside.
  1. Passing comparison values for the filter
                            a.      With the classical BAdIs, the filter values are stored in a structure and passed with the call of the BAdI methods.
                            b.      With the new BAdIs, the comparison values for the filters used to search for implementations are passed when the BAdI object is created with the GET BADIstatement.
There is no way of migrating the call of the factory method one-to-one into the ABAP statement, because GET BADI can also return an existing BAdI object, which is not possible with the factory method.
  1. Calling BAdI methods
                            a.      A classic BAdI can be called only once and the call positions are registered centrally.
                            b.      With new BAdIs, multiple calls are possible and the call positions are not registered centrally.
For the above reasons, an automatic call migration is not possible.

0 comments:

Post a Comment