Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Enhancement Section

Former Member
0 Likes
315

Hi,

I've one enhancement section in my code as

ENHANCEMENT-SECTION es1 SPOTS ZSP1.
write: 'Original Section'.
END-ENHANCEMENT-SECTION.

I've defined two implementations for this enhancement section as

ENHANCEMENT 3  ZES1_IMPLEMENTATION.    "active version
write 'First Implementation'.
ENDENHANCEMENT.

and

ENHANCEMENT 4  ZES1_IMPLEMENTATION2.    "active version
write 'Second Implementation'.
ENDENHANCEMENT.

Both these implementations are active.

Now, the doubt I've is, this enhancement section is always getting replaced by first implementation . Why control never goes to second implementation?

G@urav.

1 REPLY 1
Read only

Former Member
0 Likes
272

Hi.

Enhancement Sections can have only one active implementation, enhance points can have more than one implementation. If you want more than one source code plugin then use the enhancement point.

Regards

Naren