Hello together,
due to an SCn error my Question just have been lost :-( so i try ask again far shorter:
For understanding, i am totally beginning trying to use BOBF and the most valuable information for me are the blog entries of Oliver Jaegele.
So, the chance is very high that i just cause trouble because of a lack of understanding..
I
I wanted to model some action preconditions and i tried to this not on validation but on base of a transient Determination.
Reason: i wanted to have the check if the action is allowed on load of the node , so i have the action disabled without any call of validation directly in the model (the "model" for me is the bobf itself).
I did not want to have any persistent change made in the determination, just to set the action inactive or active and thought, that should be allowed, even i will do change data persistent later in the action.
Result was: a dump with no information after executing the action in the test environment ( BO component local or unknown, Application Information empty). Debugging leads to a point, where a success message is sent but then after raise of event /bobf/if_tui_events~instances_changed , /BOBF/CL_TUI_CTRL_BO_TREE handels that event and dumpy accessing /BOBF/S_FRW_PROPERTY_K typed data of a node and dumps because a node type 'F' is found ..
After i changed to have the determination persistent and changed the triggering, the dump is gone and the action is processed as wanted.
Just the function is not what i wanted.
Is the use of the determination completely wrong and a action check validation has to be used?
As described above i intended to have the actions disabled on load, if some fields are not filled sufficiently.
No i need to ract on cahnges, even i do not need to make any change to evaluate, if the action shall be nabled or not
Any better solution, how i can keep the inforamtion, if the action is 'ok' in the model others than also add a validation, that does the "same" as the determination?
Thanks for any advice
Ulrich Becker