I am trying to find exactly where and how can we assign a sales order, while it is being created from an IDOC (ORDERS01), to a contract (background).
Detail : Contract number is being sent on the IDOC and we want that it should create the sales order and assign the order to the contract. Previously, we tried using segment E1EDK02, qual 043 to achieve it, but what it does in that scenario, is that it creates the sales order w.r.t the contract.....and copies all items into the sales order (as copy control is set on items)....
Please advise if someone has done this assignment to contract via background processing in order creation process....