Below is the situation:
In the production order printout, we need to print all operations of actual order (which we are printing), operations of superior order (in collective tree) and operations of subordinate order.
For e.g. collective order is like:
Collective order 'A' : Operation '0010' and operation '0020'
Collective order 'B' : Operation '0010' and operation '0020'
Collective order 'C' : Operation '0010' and operation '0020'
So, when printing the production order 'B', it should print like (in a column in print form):
The superior order of any order (in collective tree) can be fetched from table 'CAUFV' - 'MAUFNR', but I am not able to find the logic to fetch 'subordinate order' for any order (in collective tree).
Kindly let me know how I can fetch the subordinate order of any order in collective tree. ( We need to print only one superior order and one subordinate order).
Thanks in advance.