2024 Jul 08 8:09 AM - edited 2024 Jul 08 8:14 AM
Hello, experts
I have a problem.
I have a management application with some associations. I tried to add behavior for the field which I want to set read-only if other field in this entity is being set to true/false (simple check box) if check box is true then field unrestricted else read-only such a simple requirement.
Behavior for entity you can find below
I implemented corresponding method in behavior pool, every object were activated class and behavior. When I ran application via testing environment, I mean I didn't deploy application just use testing in eclipse I had a short dump that "Handler not implemented; Method: INSTANCE_FEATURE, Involved Entities: ZC_PO_PLANNED_OFFER_PROD_CTP". Short dump is raised once I open entity where I added instance features for the field.
System is S4HANA on Premise version of ABAP platform 2022 SP02
Could somebody explain what I have been doing wrong?
Thank you in advance for the response
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Oleg_Vokh, thank you for help, but solution didn't work,
I added %features as you said but short dump is still here. That is odd because in FLIGHT examples everything works in our system/ FLIGHT example I downloaded from GIT.
I took my code from this example, and it works my code doesn't work
@Oleg_Vokh, looks like something went wrong during activation of behavior and behavior pool class. Look like during generation somehow relation between behavior pool class methods and behavior was not correctly registered in the system, I mean was not written to tables and kernel method couldn't found INSTANCE_FEATURE method for that behavior.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.