We have a requirement to derive the functional area during the settlement of internal order. WE have written a substitution to check if the IO is not blank and Order type is 01 (for IO) and accounting indicator is not balnce, then the functional area should be derived based on the IO table.
This substitution is being called at the time of settlement but the IO field in COBL structure is coming blank, hence the prerequisite is not met and derifvation of functional area is not happening correctly.
Does anyone knows, if it is a standard SAP behaviour and how IO number can be passed to COBL structure during settlement run.
Thank you in advance.