Sales order with reference to purchase order 

We have several company codes. Each of them uses sales and purchase orders.
CoCo A creates, prints and sends a purchase order to CoCo B. Then CoCo B reads the printed purchase order from CoCo A and creates a sales order typing all its contents AGAIN.
Is there a way to create a sales order in CoCo B with reference to a purchase order issued by CoCo A in the same SAP system and thus avoid having to type the same info twice?
 
 
There might be at least three options:
1. Let the system cretate the sales order when saving or printing the purchase order with a batch input. (I would not use this option, since it requires a lot of ABAP coding)
2. Customize workflow to create the sales order when saving or printing the purchase order.
3. Use ALE to create the sales order when saving or printing the purchase order. This will give you alot of Idocs sent from and received by the same system.
 

I am happy to see that there are so many options, though it makes me sad that none of them seem to be a nice pure customizing-kind of solution.
Is there any?
If not, then where can I start with ALE? We want to avoid ABAP extensive programming. 
 
 
Since you are transferring product from one company code to anothe company code, you could use cross company functionality. This eliminates the sales order.
 

Here is a copy of the SAP help. As you can see it is possible to automate the process without ABAP.

"Intercompany business processing describes business transactions which take place between two companies (company codes) belonging to one organization. The ordering company orders goods from a plant which is assigned to another company code.
The following intercompany business transactions are possible:

· intercompany sales processing
A sales organization which is assigned to the ordering company code creates a sales order ordering goods from a plant assigned to another company code.
The plant in the delivering company code delivers the goods to the customer for whom the sales organization placed the order.

· intercompany stock transfer
A purchasing organisation which is assigned to the ordering company code creates a purchase order ordering goods from a plant assigned to another company code.
The plant in the delivering company code delivers the goods to the plant for which the purchasing organisation ordered the goods.

Because the two companies balance their accounts independently, the delivering company must bill the ordering company for the goods. This internal billing transaction is carried out by means of an intercompany billing document. The delivering company bills the ordering company at a price that allows the delivering company to cover its costs.
 
Beam Back to SD Index
Beam Back -> SAP Cafe for Sales and Distribution

Beam Back to Main Index
SAP Cafe for SAP Professional