2016 Jun 30 8:04 AM
Hi,
The problem is I have created an implicit enhancement implementation for VA01 transaction, in include: MV45AFZZ, in form: USEREXIT_PRICING_PREPARE_TKOMP.
I got the implicit point inside the mentioned FORM.
In my implementation I have created an include where I am writing my enhancement code, but the complier is not able to reach there and throwing error: 'Statement is not accessible'. Any idea how can I solve this problem.
Any help is much appreciated.
Regards,
Mayank
2016 Jun 30 10:54 AM
Mayank,
Have you tried activating your code? Does it still throw the same error?
I have noticed that at times when I do a syntax check on implicit enhancements I get the the same error. But the enhancement gets activated and works.
Try doing a Check --> Main program.
Thanks,
Sowbhagya
Mayank,
Have you tried activating your code? Does it still throw the same error?
I have noticed that at times when I do a syntax check on implicit enhancements I get the the same error. But the enhancement gets activated and works.
Try doing a Check --> Main program.
Thanks,
Sowbhagya
2016 Jun 30 8:11 AM
Hi Mayank,
Instead of writing your code inside Include did you try writing the code inside the implicit enhancement implementation itself.
Thanks and Regards,
Vinay Mutt
2016 Jun 30 8:20 AM
Hi Vinay,
I tried writing a dummy If condition which seems to be working in implementation.
The same if condition is throwing error in include.
As per our enhancement framework I have to write the code in include only.
Regards,
Mayank
2016 Jun 30 8:48 AM
Hi Mayank,
If you have defined the Subroutines inside your INCLUDE try calling the subroutines in the Implicit Enhancement (Outside Include) by using PERFORM.
Thanks and Regards,
Vinay Mutt
2016 Jun 30 8:57 AM
Hi Vinay,
There are no subroutines defined there. Only three other include. And I am not been able to write any accessible code, e.g. IF condition or global function call, over there only can write declaration code, e.g. DATA statement.
Regards,
Mayank
2016 Jun 30 8:31 AM
Hi Mayank,
The User exit is not suitable for your enhancement. Kindly debug where the control flows.
Regards,
Srinath
2016 Jun 30 8:46 AM
Hi Srinath,
Thanks for your reply, I tried debugging it. I get the control flow one statement before and one statement after the include. Which means the control should inside include as well, I guess.
Regards,
Mayank
2016 Jun 30 10:25 AM
Hi Mayank,
The enhancement which you have done is in active version? Statement accessible occurs due to inactive enhancements.Check this.
Regards,
Srinath
2016 Jun 30 10:58 AM
Hi Srinath,
Yes, the enhancement is in active version.
Regards,
Mayank
2016 Jun 30 9:18 AM
Did you define your include as a type 'I' include, the enhancement as a 'code' enhancement?
Else could post the code in the MV45AFZZ include wrapping your include statement.
form userexit_pricing_prepare_tkomp.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1)*$*$-Start: 1)-------------------------------------------------------------------------------$*$*
enhancement 1 ztest. "active version
include ztest.
endenhancement.
Regards,
Raymond
2016 Jun 30 11:09 AM
Hi I created the include by double clicking on it after giving the name in the code, I am not sure of the type.
The enhancement is a 'code' enchancement.
Raymond Giuseppi wrote:
Did you define your include as a type 'I' include, the enhancement as a 'code' enhancement?
Else could post the code in the MV45AFZZ include wrapping your include statement.
form userexit_pricing_prepare_tkomp.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1)*$*$-Start: 1)-------------------------------------------------------------------------------$*$*
enhancement 1 ztest. "active version
include ztest.
endenhancement.
Regards,
Raymond
2016 Jun 30 10:54 AM
Mayank,
Have you tried activating your code? Does it still throw the same error?
I have noticed that at times when I do a syntax check on implicit enhancements I get the the same error. But the enhancement gets activated and works.
Try doing a Check --> Main program.
Thanks,
Sowbhagya
2016 Jun 30 10:58 AM
Hi Sowbhagya,
I am getting the same error while activating the include.
Regards,
Mayank
2016 Jun 30 11:14 AM
Mayank,
Did you try Check --> Main program in the include?
Try activating all enhancements in MV45AFZZ.
Thanks,
Sowbhagya
2016 Jun 30 11:14 AM
Hi Mayank,
Please try to insert Start-of-selection. Try this.
Regards,
Srinath
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |