I used the abap function module UPF_VARIABLE_USER_EXIT_HIER as a emplate from SAP to create my own function module, in order to feed a variable with a hierarchy node.
It works fine. When I navigate within the planning level and the planning package, I can request for the values of my variable and I am satisfied as I get the exact values posted below the hierarchy node (that I can check and maintain in transaction RSH1).
However, if I try to display or change the plan data by executing a layout, the variable is then empty. I do not see anymore the values that I got previously. And I get the message 'The conditions were adapted'.
Any idea ???