How to activate/deactivate characteristic relationships
Ì´ve created two function modules to activate and deactivate a characteristic relationship.
This is the code of the function module:
SET USED = ' '
WHERE INFOPROV = 'xxxx'
AND OBJVERS = 'A'
AND STEP = 1.
These function modules are called using FOX planning function.
What I need to do is to deactivate a CR, execute a planning function and activate the CR again.
I´ve tried this in one planning sequence and in three steps, but it is still not working in the planning scenario within AO.
This seems to be due to a needed refresh of the planning application.
Executing the deactivation sequence, starting rsplan again, executing the planning function is working. But without the restart it isn´t.
Does anybody have a solution for that?