There are 2 company code fields in WO. One in location tab. Other in additional tab.
Now our design is such that in the WO, we are populataing different values in these two fields.
For getting the additional data Comp Code, we can get BUKRS from AUFK table, passing AUFNR.
I am not getting any logic to get Location tab Comp Code.