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

Explicit enhancement point implementation

Former Member
0 Likes
291

Hi

I want to use explicit enhancement point in CASE and ENCASE statement. How i can introduce new WHEN statement.

for example (SAP Standard Code)

CASE TAX CATEGORY

WHEN '1'

CODE LOGIC

WHEN '2'

CODE LOGIC

WHEN OTHER

ENDCASE

In this example, i want to introduce WHEN '3" and associated logic before WHEN OTHER

Appriciate your opinion.

Thanks

Pravin

1 REPLY 1
Read only

mvoros
Active Contributor
0 Likes
263

Hi,

explicit enhancement point needs to be defined in the source code. So if you can't see any enhancement point there then you can't implement it. The implicit points are predefined spots in the source code such as end of function where you can add your enhancement. Unfortunately, there is no implicit enhancement point for CASE statement. The enhancement framework is a really powerful tool but it has some limitations. So basically you can't achieve your requirement by adding new WHEN statement.

Cheers