on 04-06-2024 8:25 AM
Hello Fellow Experts,
I am currently implementing a custom development using ABAP RESTful Application Programming Model on our client's SAP On-Premise environment and building a Fiori App.
I am trying to implement a Dynamic Feature Control using Behavior Definition but doing so results in this error when accessing the Fiori App:
Looking further here is the Dump
However I seem to have implemented the code properly as here is my Behavior Definition
And even have the handler as the Dump claims is not yet created.
But on debugging it doesn't even reach this part of the code.
I tried this development in our internal SAP Sandbox environment and it worked. I debugged both systems and the difference I noticed is when calling the class
CL_ABAP_BEHV_FJOB->GET_BEHAVIOR the method CL_ABAP_BEHV_CTRL=>GET_IMPLEMENTATIONS_KRN is being called to get the appropriate Behaviors (BDI_OPS)
BDI_OPS doesn't return a record with OPERATION = I ( for Instance) only Operation S. Our Sandbox environment picks up both records at this point.
I checked the Behavior Definition (D010BEHV) table and this record exists:
I even added the entry in debugger and I was able to get to the Handler Method and it was working fine. So, for some reason, at this point of the program this particular record isn't getting picked up. I am not sure why as everything was working in our other Sandbox SAP system.
Unfortunately this is as far as I can go the method CL_ABAP_BEHV_CTRL=>GET_IMPLEMENTATIONS_KRN is a Kernel Module so I can check any closer.
If anyone has an idea what is wrong here, I would greatly appreciate some assistance.
Thanks everyone in advanced
Hello
Did you implement the read method first?
Without read method implemented, read syntax gives handler issue.
see this example here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.