voice написал(а):
мне кажется мы путаемся в понятиях и BADI и ENHANCEMENT-POINT - понятия одной технологии и работают в звязке. то есть NHANCEMENT-POINT - это точка для вхождения в instance BADI класса. то ли я неправильно sy-uname понял, то ли не до конца понимаю разницу.
Это разные способы(технологии) реализации расширений.
HELP(F1) написал(а):
Enhancement using BAdIs
As of release 7.0, BAdIs can be created in the Enhancement Builder as a part of the enhancement concept of the ABAP Workbench. These BAdIs, together with their calling points in ABAP programs, form explicit enhancement options of these programs are assigned to enhancement spots.
If BAdIs and their calling points have been defined in a system, enhancements can be made in follow-on systems by creating BAdI implementations in these systems. A BAdI mainly consists of a BAdI implementation class, whose instances functionally enhance an ABAP program at runtime in the form of an object plug-in. Within the enhancement concept, a BAdI implementation is an enhancement implementation element and is administrated by enhancement implementations.
HELP(F1) написал(а):
ENHANCEMENT-POINT
Syntax
ENHANCEMENT-POINT enh_id SPOTS spot1 spot2 ...
[STATIC]
[INCLUDE BOUND].
Extras:
1. ... STATIC
2. ... INCLUDE BOUND
Effect
: This statement defines an explicit enhancement option at the current position in the program at which a source code enhancement can be made. In program generation, the source code plug-ins of the assigned enhancement implementation that are available in the current system and have a switch in the status stand-by or on, are inserted at this position.