!--a11y-->
Prerequisites: Stock Transport Order with
Delivery and Billing Document/Invoice (Cross-Company-Code) 
For cross-company-code stock transport orders with delivery and billing document, note the prerequisites described below.
● Supplying plant
In the material master, you must record the following data:
○ Basic data
○ Shipping data
■ For example, item category group NORM (view Sales: Sales Org. Data 1)
■ If required, availability check, loading group, and transportation group (view Sales: General/Plant Data)
○ Accounting data
○ MRP data

You can work with both valuated and non-valuated sales order stock (E) using the one-step procedure (movement type 645) and the two-step procedure (movement type 643).
In the material master (view MRP 4), you define which stock the issue comes from, by using the dependent requirements indicator for individual and collective requirements. You have the following options:
■ Indicator BLANK (individual and collective requirements): issue from sales order stock
■ Indicator 1 (individual requirements only): issue from sales order stock
■ Indicator 2 (collective requirements only): issue from normal unrestricted-use stock
● Receiving plant
In the material master, you must record the following data:
○ Basic data
○ Purchasing data
○ Accounting data
○ Sales area data for the sales organization units for internal clearing
This is used to determine the item category group.
● Vendor master – supplying plant
Create the vendor for the purchasing organization of the receiving plant. Assign the vendor to the supplying plant in the vendor master record.
From the menu, choose Logistics ® Materials Management ® Purchasing ® Master Data ® Vendor ® Purchasing ® Change (Current). Go to the Purchasing View and choose Extras ® Additional Purchasing Data.
● Customer master – receiving plant
Create a customer master record for the receiving plant. From this, both the address and the data that is relevant for shipping point determination, such as transportation zone and shipping condition are taken.
From the menu, choose Logistics ® Sales and Distribution ® Master Data ® Business Partner ® Customer ® Create.
● Different company codes (receiving plant and supplying plant)
Stock transfers that include deliveries and billing documents/invoices are only possible between plants belonging to different company codes.
You assign the receiving plant and the supplying plant to the relevant company codes (Enterprise Structure ® Assignment ® Logistics - General ® Assign plant to company code)
The company code of the internal invoice is the supplying company code – the company code of the supplying plant.

If you want to carry out a cross-company-code stock transport order with delivery, but without a billing document, you must define that the item category is not relevant for billing (indicator Billing Relevance – data element FKREL in Customizing for Sales under Sales and Distribution ® Sales ® Sales Documents ® Sales Document Items ® Define Item Categories)
● Sales organization – supplying plant
Define the sales area data for internal clearing with the supplying plant (Enterprise Structure ® Assignment ® Sales and Distribution ® Assign sales organization - distribution channel - plant).
● Shipping point – supplying plant
The delivery is handled by the shipping point that is responsible for the stock transfer transaction.
Assign shipping points to supplying plants (Enterprise Structure ® Assignment ® Logistics Execution ® Assign shipping point to plant).
● Purchasing organization – receiving plant
Assign the receiving plant to a purchasing organization (Enterprise Structure ® Assignment ® Materials Management ® Assign purchasing organization to company code).
● Goods recipient – receiving plant
Assign the customer number to the receiving plant (Purchasing ® Purchase Order ® Set up Stock Transport Order ® Define Shipping Data for Plants).

The goods recipient is determined from the assignment of a customer number to the receiving plant. This setting is also used to determine the goods recipient in the replenishment delivery.
● Sales area – issuing plant
Assign the sales area data (sales organization, distribution channel, and division) to the supplying plants in Customizing (Purchasing ® Purchase Order ® Set up Stock Transport Order ® Define Shipping Data for Plants).
● Delivery type – issuing plant
Assign delivery type NLCC to the combination of order type NB and supplying plant (replenishment delivery for cross-company-code stock transfers) (Purchasing ® Purchase Order ® Set up Stock Transport Order ® Assign Delivery Type and Checking Rule).

A delivery type must be assigned in the purchasing document type. If the document type does not have a delivery type, you can post the goods issue only in Inventory Management.
For more information about the stock transfer with delivery in purchasing, see SAP Note 498143 – FAQ: Stock transfer with delivery in purchasing.
● Schedule line categories
Assign schedule line categories and movement types in Customizing for Sales and Distribution, under Sales ® Sales Documents ® Schedule Lines ® Assign Schedule Line Categories.
Possible schedule line categories and movement types:
○ Schedule line category NC – cross-company-code stock transfer
○ Movement type 645 – one-step procedure
○ Movement type 643 – two-step procedure
For more
information about the prerequisites for goods issue in shipping, see
Goods Movements via
Shipping.
● Shipping point determination
Shipping point determination depends on the supplying plant, the shipping condition of the customer master record belonging to the receiving plant, and the loading group of the material.
Assign shipping points (Logistics Execution ® Shipping ® Basic Shipping Functions ® Shipping Point and Goods Receiving Point Determination ®Assign Shipping Points).
● Billing type, delivery type, and order type
Define the settings you require for order type, delivery type, and billing type in Customizing (Logistics Execution ® Shipping ® Deliveries ® Define Delivery Types).