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

How to deactive Enhancements in code

Former Member
0 Likes
572

How shall we deactivate an enhancement in the code extract? Please refer to the code that needs to be deactivated. Can anyone guide me on how to deactivate the Enhancement...

Please refer to the Code segment:

*$$-Start: (1 )----


$$*

ENHANCEMENT 1 ZBUPA_DIALOG_BEFORE_CREATION. "active version

***

    • When a user presses the 'Create new person' button, a modal dialog*

    • window is required to be displayed. The user must enter the BP who*

    • is confirming privacy and must click on 'Yes' to proceed. If 'No' is*

    • selected, then the transaction will terminate.*

if iv_partner_type eq '1'. "Create Person record

call function 'Z_ZBP6_CALL_SCREEN_0100'.

endif.

ENDENHANCEMENT.

*$$-End: (1 )----


$$*

How shall we deactivate an enhancement in the code extract? Please refer to the code that needs to be deactivated. Can anyone guide me on how to deactivate the Enhancement...

Please refer to the Code segment:

*$$-Start: (1 )----


$$*

ENHANCEMENT 1 ZBUPA_DIALOG_BEFORE_CREATION. "active version

***

    • When a user presses the 'Create new person' button, a modal dialog*

    • window is required to be displayed. The user must enter the BP who*

    • is confirming privacy and must click on 'Yes' to proceed. If 'No' is*

    • selected, then the transaction will terminate.*

if iv_partner_type eq '1'. "Create Person record

call function 'Z_ZBP6_CALL_SCREEN_0100'.

endif.

ENDENHANCEMENT.

*$$-End: (1 )----


$$*

2 REPLIES 2
Read only

Former Member
0 Likes
533

Hi,

Try to use SE19, New BADI.

Regards,

Lim...

Read only

Former Member
0 Likes
533

1) Open SE38-->program

2) Menu-->Program -->Enhance

3) Right click on the enhancement --->Change

4)No the enhancement will be in Inactive mode.

5) Don't activate enhancement now.

Regards,

Gurpreet