‎2010 May 20 4:34 AM
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
‎2010 May 20 4:44 AM
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