You are on page 1of 34

Cross-Company-Code Stock Transfer

1. Defining New Document Types and Sales Order Types

 Stock Transfers:
In Customizing for Materials Management, choose Purchasing -> Purchase Order ->Define
Document Types.
For each process, create a new document type as a copy of the document type Standard Purchase
Order (NB), for example:
o Document type NBCR for the Stock Transfer to Receiving Valuated BST process (transfer
of title at goods issue)
o Document type NBC2 for process Stock Transfer from Issuing Valuated CST to Receiving
Plant (transfer of title at goods receipt)
o Document type NBC3 for process Stock Transfer from Issuing Valuated CST via Receiving
Valuated CST to Receiving Plant (transfer of title during transit)
Note:
The same document types are used for intra-company-code stock transfers. Cross-company-code
and intra-company-code are differentiated in the vendor's master data.
 Returns:
For the return processes the same document types are used as for the stock transfer processes.
To enable the system to find the corresponding delivery type, you must have flagged the purchase
order item in question as a return item in the stock transport order.
Note:
For customizing reasons, different document types are used for the stock transfer processes than
for intra-company-code returns processes.
 Delivery to Customer Location:
In Customizing for Sales and Distribution, choose Sales -> Sales Documents -> Sales Document
Header -> Define Sales Document Types.
Create the new sales document type Delivery from Issuing Valuated Stock in Transit (ORNC) as a
copy of the sales document type Standard Order (TA).

2. Defining New Delivery Types


In Customizing for Logistics Execution, choose Shipping -> Deliveries -> Define Delivery
Types.

 Stock Transfers:
Ensure that a new delivery type has been created as a copy of delivery type Cross-Company-Code
Replenishment (NLCC) for each process, for example:
 Delivery type NCCR for the Stock Transfer to Receiving Valuated CST process (transfer of title at
goods issue)
 Delivery type NCC2 for process Stock Transfer from Issuing Valuated CST to Receiving
Plant (transfer of title at goods receipt)
 Delivery type NCC3 for process Stock Transfer from Issuing Valuated CST via Receiving Valuated
CST to Receiving Plant (transfer of title during transit)
 Returns:
Ensure that a new delivery type has been created as a copy of delivery type Return, Cross-
Company-Code Stock Transport Order (NCR) for each process, for example:
 Delivery type NCRR for the Return Stock Transfer from Originally Receiving CST to Originally
Issuing Plant process (transfer of title at goods receipt)
 Delivery type NCR2 for the Return Stock Transfer from Originally Receiving Plant to Originally
Issuing Valuated CST process (transfer of title at goods issue via return delivery)
 Delivery type NCR3 for the Return Stock Transfer from Originally Receiving CST via Originally
Issuing Valuated CST to Originally Issuing Plant process (transfer of title during transit)
 Delivery to Customer Location:
Ensure that for the process Outbound Delivery with Transfer of Title at Customer Location the new
delivery type Delivery from Issuing Valuated Stock in Transit (NCCU) has been created as a copy
of the delivery type Outbound Delivery (LF).

3. Assigning the New Delivery Type to New Document Types / Sales Order Types

 Stock Transfers:
In Customizing for Materials Management, choose Purchasing -> Purchase Order ->Set up Stock
Transport Order -> Assign Delivery Type and Checking Rule.
For the entries that contain the document type Standard Purchase Order (NB) and the delivery
type Cross-Company-Code Replenishment Delivery (NLCC), create copies with the following
changes (you change the delivery type in the respective Delivery Type for Stock Transfers Between
Two Company Codes field):
Note:
If you have already created a document type assignment for the intra-company-code process
(delivery type in Delivery Type for Stock Transfers within a Company Code field), add the delivery
type for cross-company-code deliveries to the data row in question.
 For each issuing plant of the Stock Transfer to Receiving Valuated CSTprocess, change the
document type from NB to NBCR and the delivery type from NLCC to NCCR.
 For each issuing plant of the process Stock Transfer from Issuing Valuated CST to Receiving Plant,
change the document type from NB toNBC2 and the delivery type from NLCC to NCC2.
 For each issuing plant of the process Stock Transfer from Issuing Valuated CST via Receiving
Valuated CST to Receiving Plant, change the document type from NB to NBC3 and the delivery
type from NLCC toNCC3.
 Returns:
In Customizing for Materials Management, choose Purchasing -> Purchase Order ->Returns
Order -> Store Return / Return Plant to Plant.
 For each originally issuing plant that you use in the Return Stock Transfer from Originally Receiving
Valuated CST to Originally Issuing Plant process, create an entry with document type NBCR and
delivery typeNCRR.
 For each originally issuing plant that you use in the Return Stock Transfer from Originally Receiving
Plant to Originally Issuing Valuated CSTprocess, create an entry with document type NBC2 and
delivery typeNCR2.
 For each originally issuing plant that you use in the Return Stock Transfer from Originally Receiving
CST via Originally Issuing Valuated CST to Originally Issuing Plant process, create an entry with
document typeNBC3 and delivery type NCR3.
 Delivery to Customer Location:
In Customizing for Sales and Distribution, choose Sales -> Sales Documents -> Sales Document
Header -> -> Define Sales Document Types.
In the Shipping section of the detail view, assign the appropriate delivery type, NCCUto the sales
document type Outbound Delivery from Issuing Valuated Stock in Transit (ORNC

4. Defining New Item Categories


In Customizing for Sales and Distribution, choose Sales -> Sales Documents -> Sales Document Item -
> Define Item Categories.

 Stock Transfers:
Ensure that for each process a new item category has been created as a copy of item
category Cross-Company-Code Stock Transfer Item Category (NLC), for example:
 Item category NCCR for the Stock Transfer to Receiving Valuated CSTprocess
 Item category NCC2 for process Stock Transfer from Issuing Valuated CST to Receiving Plant
 Item category NCC3 for process Stock Transfer from Issuing Valuated CST via Receiving Valuated
CST to Receiving Plant
 Returns:
Ensure that for each process a new item category has been created as a copy of item
category Return, Cross-Company-Code Stock Transfer Item Category (NCRN), for example:
 Item category NCRR for the Return Stock Transfer from Originally Receiving CST to Originally
Issuing Plant process
 Item category NCR2 for the Return Stock Transfer from Originally Receiving Plant to Originally
Issuing Valuated CST process
 Item category NCR3 for the Return Stock Transfer from Originally Receiving CST via Originally
Issuing Valuated CST to Originally Issuing Plant process
 Delivery to Customer Location:
Ensure that the new item category Delivery from Issuing Valuated Stock in Transit(NCCU) has
been created as a copy of the item category Standard Item (TAN).

5. Defining Item Category Determination in Deliveries


In Customizing for Logistics Execution, choose Shipping -> Deliveries -> Define Item Category
Determination in Deliveries.

 Stock Transfers:
Ensure that for each process, for all entries a copy of the delivery type Cross-Company-Code
Replenishment (NLCC) has been created and altered as follows:
 Delivery type NLCC has been changed for each entry to delivery typeStock Transfer to Receiving
Valuated CST (NCCR).
Item category Cross-Company-Code Stock Transfer Item Category (NLC) has been changed for
each entry to NCCR.
 Delivery type NLCC has been changed for each entry to delivery typeStock Transfer from Issuing
Valuated CST to Receiving Plant (NCC2).
Item category NLC has been changed for each entry to item categoryNCC2.
 Delivery type NLCC has been changed for each entry to delivery typeStock Transfer from Issuing
Valuated CST via Receiving Valuated CST to Receiving Plant (NCC3).
Item category NLC has been changed for each entry to item categoryNCC3.

 Returns:
Ensure that for each returns process, for all entries with delivery type Return, Cross-Company-
Code Stock Transport Order (NCR), a copy has been created and altered as follows:
 Delivery type NCR has been changed for each entry to delivery typeReturn Stock Transfer from
Originally Receiving CST to Originally Issuing Plant (NCRR).
Item category Return, Cross-Company-Code Stock Transfer Item Category (NCRN) has been
changed for each entry to NCRR.
 Delivery type NCR has been changed for each entry to delivery typeReturn Stock Transfer from
Originally Receiving Plant to Originally Issuing Valuated CST (NCR2).
Item category NCRN has been changed for each entry to item categoryNCR2.
 Delivery type NCR has been changed for each entry to delivery typeReturn Stock Transfer from
Originally Receiving CST via Originally Issuing Valuated CST to Originally Issuing Plant (NCR3).
Item category NCRN has been changed for each entry to item categoryNCR3.
 Delivery to Customer Location:
Ensure that for all entries with delivery type Outbound Delivery (LF), a copy has been created and
altered as follows:
 Delivery type LF has been changed for each entry to delivery typeDelivery from Issuing Valuated
Stock in Transit (NCCU).
 Item category Standard Item (TAN) has been changed for each entry to item category Delivery
from Issuing Valuated SiT (NCCU).
6. Defining New Schedule Line Categories in Deliveries
In Customizing for Sales and Distribution, choose Sales -> Sales Documents ->Schedule Lines -> Define
Schedule Line Categories.
See also release note LOG_MM_SIT: Movement Types (New).

 Stock Transfers:
Ensure that for each process a new schedule line category has been created as a copy of schedule
line category Cross-Company-Code Replenishment (NC), for example:
 Schedule line category N1 for the Stock Transfer to Receiving Valuated CST process, detailed
data:
Movement type: 683 (Stock Transfer to Receiving Valuated CST)
 Schedule line category N2 for process Stock Transfer from Issuing Valuated CST to Receiving
Plant, detailed data:
- Movement type = 681 (Stock Transfer to Issuing Valuated CST)
- Movement Type for Issuing Valuated Stock in Transit = 685 (Stock Transfer from Issuing Valuated
CST)
- Specification for Issuing Valuated Stock in Transit = 2 ( Goods Issue from Issuing Valuated Stock
in Transit to Receiving Plant)
 Schedule line category N3 for the Stock Transfer from Issuing Valuated CST to Receiving Valuated
CST process, detailed data:
- Movement type = 681 (Stock Transfer to Issuing Valuated CST)
- Movement Type for Issuing Valuated Stock in Transit = 685 (Stock Transfer from Issuing Valuated
CST)
- Specification for Issuing Valuated Stock in Transit = 1 (Goods Issue from Issuing Valuated Stock
in Transit to Receiving Valuated Stock in Transit)
 Returns:
Ensure that for each process a new schedule line category has been created as a copy of schedule
line category Return, Cross-Company-Code Replenishment (NS), for example:
 Schedule line category R1 for the Return Stock Transfer from Originally Receiving Valuated CST
to Originally Issuing Plant process, detailed data:
Movement type: 693 (Stock Transfer, Return from Originally Receiving Valuated CST)
 Schedule line category R2 for the Return Stock Transfer from Originally Receiving Plant to
Originally Issuing Valuated CST process, detailed data:
- Movement type = 691 (Stock Transfer, Return from Originally Issuing Valuated CST)
- Movement Type for Issuing Valuated Stock in Transit = 695 (Stock Transfer, Return to Originally
Issuing Valuated CST)
- Specification for Issuing Valuated Stock in Transit = 2 ( Goods Issue from Issuing Valuated Stock
in Transit to Receiving Plant)
 Schedule line category R3 for the Return Stock Transfer from Originally Receiving CST to
Originally Issuing Valuated CST process, detailed data:
- Movement type = 691 (Stock Transfer, Return from Originally Issuing Valuated CST)
- Movement Type for Issuing Valuated Stock in Transit = 695 (Stock Transfer, Return to Originally
Issuing Valuated CST)
- Specification for Issuing Valuated Stock in Transit = 1 (Goods Issue from Issuing Valuated Stock
in Transit to Receiving Valuated Stock in Transit)
 Delivery to Customer Location:
Ensure that for the process Outbound Delivery from Issuing Valuated Stock in Transitthe new
schedule line category NU has been created as a copy of schedule line category Materical
Requirements Planning (CP), detailed data:
- Movement type = 687 (Goods Delivery to Issuing Valuated Stock in Transit)
- Movement Type for Issuing Valuated Stock in Transit = 601 (Goods Issue for Delivery)
- Specification for Issuing Valuated Stock in Transit = 3 (Sales-Order-Related Goods Issue from
Issuing Valuated Stock in Transit)

7. Assigning New Schedule Line Categories to the New Item Category


In Customizing for Sales and Distribution, choose Sales -> Sales Documents ->Schedule Lines -> Assign
Schedule Line Categories.

 Stock Transfers
Ensure that for each process, new entries have been created as a copy of the entry with item
category Cross-Company-Code Stock Transfer Item Category (NLC) and schedule line
category Cross-Company-Code Replenishment (NC) with the following changes:
 Item category NLC has been changed to item category Stock Transfer to Receiving Valuated
CST (NCCR).
Schedule line category NC has been changed to schedule line categoryStock Transfer to
Receiving Valuated CST (N1).
 Item category NLC has been changed to item category Stock Transfer from Issuing Valuated CST
to Receiving Plant (NCC2).
Schedule line category NC has been changed to schedule line categoryStock Transfer from Issuing
Valuated CST to Receiving Plant (N2).
 Item category NLC has been changed to item category Stock Transfer from Issuing Valuated CST
via Receiving Valuated CST to Receiving Plant (NCC3).
Schedule line category NC has been changed to schedule line categoryStock Transfer from Issuing
Valuated CST to Receiving Valuated CST(N3).

 Returns:
Ensure that for each process, new entries have been created as a copy of the entry with item
category Return, Cross-Company-Code Stock Transfer Item Category Return (NCRN) and
schedule line category Return, Cross-Company-Code Replenishment Return (NS) with the
following changes:
 Item category NCRN has been changed to item category Return Stock Transfer from Originally
Issuing CST (NCRR).
Schedule line category NS is changed to the corresponding schedule line category R1.
 Item category NCRN is changed to item categoryReturn Stock Transfer from Originally Receiving
Plant to Originally Issuing Valuated CST(NCR2).
Schedule line category NS is changed to the corresponding schedule line category R2.
 Item category NCRN is changed to item categoryReturn Stock Transfer from Originally Receiving
CST to Originally Issuing Valuated CST(NCR3).
Schedule line category NS is changed to the corresponding schedule line category R3.
 Delivery to Customer Location:
Ensure that a new entry has been created as a copy of the entry with item categoryStandard
Item (TAN) and schedule line category Material Requirements Planning(CP) with the following
changes:
 Item category TAN has been changed to item category Delivery from Issuing Valuated Stock in
Transit (NCCU).
 Schedule line category CP has been changed to schedule line categoryDelivery from Issuing
Valuated Stock in Transit (NU).
Cross Company Stock Transport Orders
--> Configure using transaction OMGN.
--> Depending upon the sending and receiving plants, maintain sales organization and customer
data in customizing.
--> Maintain the supplying plant as a vendor and attach the plant to the vendor in the Vendor Master.
--> Material type has to be HALB or HAWA.
--> Ensure that the company with sales Organization has a plant to take care of stocking.
--> The PO used is NB and not Stock Transfer PO.
Configure SD for inter-company billing to enable picking up the pricing procedure for billing.
--> Carry Out delivery through process delivery due list and billing through process billing due list.
Otherwise, you need to configure your Stock Transport Order settings for your Cross-Company:
Business Transaction to work with:
1. Customer No. for the Goods Receiving Plant - OMGN
2. Availability Check- Checking Rule (if necessary) - OMGN
3. Assign a Delivery Type for the Delivering Plant - OMGN (for Stock Transport Orders, NLCC)
4. PO type (which i belive you have done) - OMGN
5. Assign Vendor No. to the Supplying Plant (done) - VK02
6. Assign Customer No. to the Purchasing Plant for the Inter-Company Invoice (but you need to
assign this to the Sales Organization pre-assigned to the Purchasing Plant),
SPRO>IMG>Sales and Distribution>Billing>Intercompany Billing-->Define Internal Customer No. by
Sales Org
Important: For the Invoice to work between Cross-Company Plants, you need also to have a Sales
Org for the Supplying Plant and a Pricing Determination Procedure.
Also, Check with:
[Configuring the Stock Transport Order|http://www.sap-basis-abap.com/mm/configuring-the-stock-
transport-order.htm]
[Configure Intercompany Stock Transport Order|http://www.sap-img.com/sap-sd/configure-
intercompany-stock-transport-order.htm]
Prerequisites:

1. Knowledge of MM & SD
2. Two organization structures: one for purchasing and another for sales

Purchasing: Company Code:8888, Plant: 8881, Sto. Loc: 0002, Purchase Organization: 8881,
Sales: Company Code:6666, Delivering Plant: 6661, Sto. Loc: 0001, Sales Area:6666, 66, 66,
Shipping Point 6666.

Step1. In Transaction XK01, Create Vendor Master to represent Supplying plant(6661) in receiving
company code(8888) & Pur.Org(8881).

In Purchasing Data, Goto Menu Bar, Extras > & click on Additional Purchasing Data. Here Maintain
the supplying plant(6661) so that it is linked to the vendor master.
Note: A Plant can only be assigned to one vendor number. So we have to extend the same vendor
number to different Pur.Org if required.
Step2. In Transaction XD01, Create Customer Master to represent Receiving Plant(8881) in
Supplying Company Code(6666) & Sales Area(6666,66,66).
In Sales Area Data, Shipping tab, Maintain Delivery Priority, Shipping Condition & Delivering
Plant(6661) as shown below.
Step3. Create Material Master with below selected views, in Supplying Plant(6661), Sto.Loc.(0001),
Sales Org(6666), Dist.Ch(66).
In Basic Data1 View maintain Division(66) & General Item Category Group Ex. Norm(Standard Item)

In Sales Org1 View, Maintain Delivering Plant(6661) & Tax Details as shown below
Note: If You are not able to see tax condition types or not maintaining any tax indicators then it is not
possible to Create a delivery against STO. Same applies to Customer Master in Step2.
In Sales Org2 View, Maintain Item category Group Ex. Norm (Standard Item)
.
Note: The Item Category group maintained here is preferred over general item category group and
used to determine ‘Item Category in Delivery’ Ex. NLC(For Inter Company) NLN(For Intra-
Company).
In Sales General Plant Data, maintain Availability Check Group(Ex.01), Transportation
Group(Ex.0001), Loading Group(Ex.0001).
Step4. Extend the Material Created in Step3 to Purchasing plant(8881) & Sto.Loc(0002) with below
selected views.
Configuration Settings

Step5. Define Shipping Data for Plants in below path


SPRO > Materials Management > Purchasing > Purchase Order > Setup Stock Transport Order

For Supplying Plant(6661), assign Sales Area(6666,66,66) as shown below.


For Receiving Plant(8881), assign Customer Number(100216) Created in Step2.
Step6. If required Create a Checking Rule by entering a two digit code & Description. Ex. B – SD
Delivery(Standard)
Step7. Define Checking rule Created in Step6 in combination with Availability Check Group(01)
assigned in material master Step3. Here select the stocks, receipts & requirements as per
requirement.
Step8. Assign Delivery type & Checking rule
Here Assign Delivery type(NLCC) & Checking rule(B) to the Purchase order Document type(NB) &
Supplying plant(6661) Combination as shown below.
Step9. Assign Document type, One Step Procedure & Under delivery Tolerance.
Here for Supplying & Receiving Plant(6661 & 8881 respectively) Combination Assign PO Document
Type(NB).
Select One step Check box to post the Goods receipt while doing PGI itself. Otherwise Goods
Receipt have to be carried out in another step.

If You Select tolerance limits check box, Then SAP closes the STO by marking final delivery Check
box, if delivered Quantity is within the under delivery tolerance limits maintained in delivery tab of
PO. It depends on Partial deliveries allowed or not. Then the remaining quantity will not be shown as
open in requirements.
Step10. Define Shipping Point Determination in below path
SPRO > Logistics Execution > Shipping > Basic Shipping Function > Shipping point Determination >
Assign Shipping Points.

Here assign Shipping Point(6666) for the Combination of Shipping Condition(01) (customer master
step2), Loading Group(0001) (material master step3) & Supplying Plant(6661).

Step11. Define Item Category Determination in Deliveries in below path


SPRO > Logistics Execution > Shipping > Deliveries > Define Item Category Determination in
Deliveries

Here assign Item Category (NLC – Replenishment delivery inter Company) for the combination of
Delivery Document type (NLCC), Item Category Group (NORM), Usage V (Purchase order) & Higher
level item category group ( ‘ ‘-blank) as shown below.

Assign Sales pricing procedure ICAA01 to the combination of Sales Area(6666,66,66), Document
pricing grp ‘ I ‘ (for billing doument type IV) & Costomer pricing grp ‘1’

Testing:
Make sure You have sufficient stock in issuing storage location(0001) of supplying plant
Step1. Create Purchase Order in Transaction ME21N with Document type NB, Vendor(2122),
Material(2116), PurOrg(8881) Pur Grp(001), Company Code(8888), Receiving Plant(8881).
Note: If you are using one step procedure the enter the receiving storage location(0002).

Here Observe the shipping tab with the above details as shown. Here first of all SAP checks for any
plant assigned in vendor Master. if not assigned then it will be a standard PO

Note: You Can process inter Company STO by using PO document type UB with Clearing accounts,
without delivery, w/o billing, w/o invoice(Mov.types 351 &101). If You are using document type NB
then it is only possible with delivery & trigger point is vendor master.
make sure you have proper sales tax setup in SD > Basic Functions > Taxes.. Customer & Material
Master is assigned to tax indicators. Create condition record for output tax condition type in
Trasaction VK11. Ex. MWST output tax
In Transaction VK11 Create Condition Record for Condition type PR00 with the sales price if
required.

Note: To adopt price from purchasing in to billing create a condition type with same name as PB00.
In copy control enter reference as application purchasing & condition type PB00. Now assign this
condition type in procedure ICAA01 after step of condition type IV01. Now the PO price is adopted
in to billing.
Step2. Generate Outbound delivery against purchase order in Transaction VL10G or VL10D
Here make sure that delivery date is in between the dates entered. & enter the shipping point
triggered in PO shipping tab. Then Execute.
Then Select the Purchase order line item & click on back ground.
Note: If you are able to see an extra line item with status green proceed to next step or else click on
log button as shown above.
Now click on line item & click on notes. now you will see some error messages & solve them.

Step3. Select the Line item & Click on Log Icon. Now click on documents & note down the outbound
delivery document number.

Go to Transaction VL02N. Enter the outbound delivery document number & Click enter. Here in
picking tab enter the issuing storage location & picked Quantity.
Check the Delivery item Category NLC. In Goods Movement tab observe the movement type 643(
two step). In item Conditions Tab Observe conditions as shown below.

Note(movement type 645 is for one step procedure)


Carry out the post goods Issue.

If You are not able to process PGI, then check WM is activated in storage location or if one step
procedure check PO whether receiving storage location entered or not.

Check The Accounting Document where stock account from BSX is credited & Cogs Account from
GBB-VAX is debited with the price as per supplying plant material master
Step4. In Transaction VF01 Create billing document with reference to outbound delivery.
Create Condition record for Condtion type PI01 in transaction VK11.
The Condition type PR00 & PI00 are for Information purpose only & the Condtion type IV01 is the
main condition type which is based on PI01.

Make Sure Account determination has been done and Save the billing document. Observe the
accounting document. Where Customer account is debited with the sum of revenues(credited) &
Tax(credited).
Step5. In Transaction MIGO do Goods receipt wrt Outbound delivery. Enter the receiving storage
location & post the goods receipt.
Check the accounting document. Whre stock account from BSX is debited & GR/IR account from
WRX is Credited with the price in PO.
Step6. In transaction MIRO carryout Logistics Invoice verification in receiving company code(8888).
Post the invoice & observe the accounting document. Where the vendor account is credited with the
sum of amount entered in PO to GR/IR A/c(debited) & Input tax account(debited)

NAVICUTS (Check Points for Error Messages):-


1. Not possible to determine shipping point for item 00010 Message no. 06855
Check Step2, Step3, Step10
2. There is no item category available in item category determination in the delivery (table T184L) for
the following entries: NLCC NORM V
Error Message No. VL320

Check Step3, Step11


3. Enter Stor. Location Message no. M7018
Check Step1 in Testing
4. No sales and distribution data maintained for material & Message no. 06854
Check Step3.
5. No delivery type defined for supplying plant 6661 and document type NB Message no. 06694

Check Step8
6. Please maintain sales org./division/distr. channel in supplying plant 6661 Message no. 06846

Check Step5
7. Customer does not exist (please change entry in plant 8881)
Message no. 06849
Check Step5
8. Not possible to determine shipping data for material & Message no.06280

This Error Message will not come in inter company stock transport orders & Will only come in Intra
company STO with Delivery & W/o Billing

You might also like