on 2024 Jun 13 7:42 AM
Hi Masters,
I'm just a beginner at "Enhancement".
I want to create "enhancement" by clicking "Create Implementation" in the "ENHANCEMENT-POINT" line.
I cannot activate the "ZQM_ENH_MQEVAI10_RQEVA_CHANGE" enhancement I just created. "Statement is not accessible." I get an error.
Can you help me ?
Thanks.
Hello,
the issue is what it says = "Statement is not accessible". You are pasting some logic code in between two MODULES. Code in between of them will not run! Because it is simply not called. Modules are called.
But as Thomas says - it may depend on what you have in your Z* include. You can put there (global) data / type definitions, your own custom MODULEs, FORMs, Class definitions etc... but do not expect standalone code run there by itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to find suitable place where do you want to enhance standard logic. Only you or requestor of this change knows where. If you do not know, then try debug your test cases and look for a place. Maybe there is a BADI or userexit somewhere? Or at worst use Enhancements (implicit can be put in begining/end of FORMs, functions, methods...).
Please paste the code of the include.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a global class and e.g. a static method, where your "form routine code" is located. Call that static method in your enhancement. Then the declaration problem is delegated to the DDIC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.