Settings in Customizing for Replenishment (Internal Company Code, Cross-Company Code, Consignment)

Purpose

Characteristic for both processes is the switch of SAP R/3 system. An exception to this is consignment processing in situations with one system. This is displayed as a stock transfer (PO type ‘NB’) without unchecked delivery. You can find further details on these processes in the process descriptions Cross-System Stock Transfer (Intra-Company-Code) , Cross-System Stock Transfer (Cross-Company-Code) , and Consignment .

  • Internal company code: Delivery within a company code from one business area to another business area.

  • Cross-company code: Delivery between two company codes within a business area.

  • Consignment: Delivery between two company codes. The ownership of the goods is only transferred at consignment withdrawal.

Prerequisites

  • Logical systems, ports and RFC destinations are ready for ALE Customizing

  • Master data distribution (especially material master data): ALE distribution models must be set up

  • The SAP APO integration must be active and functional

Procedure

We will only discuss in detail those features that are of interest with regards to the change of SAP R/3 system and/or any new objects (for example, unchecked delivery).

Make the following settings:

Ordering System

  1. Define the supplying external plants in table T001W_EXT.

  1. Start of the navigation path From the SAP IMG, choose : Enterprise Structure Next navigation step Definition Next navigation step Logistics General Next navigation step Define Plant Next navigation step . Next navigation step Define plant for cross-system flow of goods. End of the navigation path

  2. Enter the required plants.

  1. Assign the supplying plant to a vendor. To do this, from the SAP menu choose Start of the navigation path Logistics Next navigation step Materials Management Next navigation step Purchasing Next navigation step Master Data Next navigation step Vendor Next navigation step Purchasing Next navigation step Create End of the navigation path ; on the screen for purchasing data, choose Start of the navigation path Extras Next navigation step Purchasing Extras End of the navigation path in order to assign the supplying plant.

  1. Make the following settings for stock transport orders:

  1. To do this, from the SAP IMG choose: Start of the navigation path Materials Management Next navigation step Purchasing Next navigation step Purchase Order Next navigation step Set Up Stock Transport Order Next navigation step Plant End of the navigation path

  2. For the plant returning the delivery, enter the internal customer (debtor) for the returns delivery and the sales area for the returns processing.

  3. The debtor is used in the supplying system as the goods recipient in the delivery.

    The plants in this table are internal plants that should be viewed here as the ordering plant, or the returning plant in the case of returns orders

  4. To do this, from the SAP IMG choose: Start of the navigation path Materials Management Next navigation step Purchasing Next navigation step Purchase Order Next navigation step Set Up Stock Transport Order Next navigation step Assign delivery type/checking rule: End of the navigation path

  5. Assign the company-code-internal and cross-company-code delivery type and checking rule to the supplying plant.

  6. From the SAP IMG choose: Start of the navigation path Financial Accounting Next navigation step Financial Accounting Global Settings Next navigation step Business Transaction Events Next navigation step Settings Next navigation step Process function modules Next navigation step ...of a partner Next navigation step . End of the navigation path

  7. To do this, from the SAP IMG choose: Start of the navigation path Materials Management Next navigation step Purchasing Next navigation step Purchase Order Next navigation step Set Up Stock Transport Order Next navigation step Purchasing document type Next navigation step . End of the navigation path

  8. Maintain the purchase order type for the combination supplying/receiving plant.

  1. Make the following settings for returns:

  1. To do this, from the SAP IMG choose: Start of the navigation path Materials Management Next navigation step Purchasing Next navigation step Purchase Order Next navigation step Returns Order Next navigation step Returns to Vendor End of the navigation path .

  2. Assign the vendor returns delivery type to the plant returning the delivery.

  3. To do this, from the SAP menu choose: Start of the navigation path Logistics Next navigation step Purchasing Next navigation step Master Data Next navigation step Vendor Next navigation step Purchasing Next navigation step Change (Current) End of the navigation path .

  4. Select the relevant vendor.

  5. Choose Start of the navigation path Goto Next navigation step Purchasing org. data Next navigation step Purchasing data End of the navigation path .

  6. In the Control data area, set the "Returns with shipping processing" indicator.

  7. This indicator causes a dialog box to appear that enables you to assign a customer number with a sales area. This customer is used as the goods recipient in the returns delivery.

  8. Define and assign a partner determination procedure.

  9. From the SAP IMG, choose : Start of the navigation path Logistics Execution Next navigation step Shipping Next navigation step Basic Shipping Functions Next navigation step Partners Next navigation step Partner Control Next navigation step Define and Assign Partner Determination Procedures Next navigation step . End of the navigation path

  10. Select the Delivery field.

  11. Choose Start of the navigation path Goto Next navigation step Partner Determination Procedures End of the navigation path .

  12. Choose Start of the navigation path Goto Next navigation step Procedure Assignment End of the navigation path .

  13. You can then, for example, assign the procedure LO to the delivery type RL .

When you make this setting, the system automatically enters the goods recipient in the delivery when it is created from a returns delivery.

  1. Intercompany billing

  1. The "GR-based inv. verif." indicator must not be set in the PO item or the purchasing info record.

  2. For intercompany billing of a stock transfer, you must use the message variant "MM" and process code INVL (=Logistics Invoice Verification) in the partner profile.

Supplying System

  1. Create internal customers and goods recipients.

  1. To do this, from the SAP menu choose : Start of the navigation path Logistics Next navigation step Sales and Distribution Next navigation step Master Data Next navigation step Business Partners Next navigation step Customer Next navigation step Create Next navigation step Sales and Distribution End of the navigation path .

  2. Create the internal customers.

Note Note

The goods recipient is made known to the system by the IDoc DELIVERYPROCESSING_EXECUTE . It is identical to the customer stored in the ordering system, in Customizing for stock transfers at the ordering plant.

End of the note.
  1. Settings for stock transport orders

  1. To do this, from the SAP IMG choose: Start of the navigation path Materials Management Next navigation step Purchasing Next navigation step Purchase Order Next navigation step Set Up Stock Transport Order Next navigation step Plant End of the navigation path

  2. Enter the sales area for the supplying plant.

Note Note

This setting is relevant for cross-company-code direct selling cases, since you have to perform intercompany billing here.

End of the note.
  1. Assign the supplying plant to the sales organization and the distribution channel.

  1. From the SAP IMG, choose : Start of the navigation path Enterprise Structure Next navigation step Assignment Next navigation step Sales and Distribution Next navigation step Assign Sales Organization – Distribution Channel - Plant Next navigation step . End of the navigation path

  2. Assign the supplying plant to the sales organization and the distribution channel.

  1. Define common distribution channels and divisions.

  1. From the SAP Reference IMG, choose: Start of the navigation path Sales and Distribution Next navigation step Master Data Next navigation step Define Common Distribution Channels End of the navigation path and Define Common Divisions .

  2. Define common distribution channels and divisions.

  1. Make settings for determining the delivery type.

  1. From the SAP IMG, choose : Start of the navigation path Logistics Execution Next navigation step Shipping Next navigation step Deliveries Next navigation step Define Delivery Types Next navigation step . End of the navigation path

  2. The delivery type is copied from the default order type in the delivery. The IDoc tells the system the delivery type.

  3. The shipping condition is copied from the default order type. If this is blank, then the shipping condition is read from the customer master record. If the indicator TVAK-INFLS(=Read customer material info record) is populated in the default order type, then the delivery priority and the partial delivery indicator are copied from the customer material info record. If the delivery priority and the partial delivery indicator are not populated in the customer material info record, then they are copied from the customer master record.

  1. The delivery priority and the partial delivery indicator are taken from the customer material info record.

The system reads the customer material info record, including the sales area of the supplying plant and the goods recipient number, in order to determine the delivery priority and the partial delivery indicator.

  1. Transportation group and loading group.

The system determines the transportation and loading group from the shipping view of the material.

  1. Settings for shipping notifications

  1. From the SAP menu choose : Start of the navigation path Logistics Next navigation step Sales and Distribution Next navigation step Master Data Next navigation step Messages Next navigation step Shipping Next navigation step Create End of the navigation path .

  2. Create a condition record for the message type LAVA (GR) and LALE (AG).

  1. Settings for billing-relevance

  1. From the SAP IMG, choose : Start of the navigation path Sales and Distribution Next navigation step Sales Next navigation step Sales Documents Next navigation step Sales Document Item Next navigation step Define Item Categories Next navigation step . End of the navigation path

  2. Select the stock transfer item category and make an entry in the Relevant for billing field.

  • ‘D’ = intercompany billing

  • ‘J‘ = Relevant for deliveries across EU countries

You use the billing-relevance to specify whether the replenishment is company-code-internal or cross-company code.

  1. Convert the item category during consignment deliveries.

The item category in the consignment delivery can be converted using table TVLPAIP.

The key fields in table TVLPAIP must contain the following values:

ITEM_CATEGOR_PRE = _

DOC_TYPE_PREDECE = ‘KBN’

DOC_CATEGORIE = ‘L’

SENDERSYSTEM = Sender number of the IDoc

DELIVERYPROCESSING_EXECUTE

  1. Invoice IDoc for intercompany billing

You must use the message variant ‘MM’ in the partner profile for intercompany billing of a stock transfer . The process code INVL (= Logistics Invoice Verification) is used for the outbound message /BARL/BAID_SD09 (= function module IDOC_OUTPUT_IV_MM with outbound IDoc) and for the incoming message.

  1. Make the following settings in Materials Management for account determination in FI:

  1. From the SAP Reference IMG, choose Start of the navigation path Materials Management Next navigation step Valuation and Account Assignment Next navigation step Account Determination Next navigation step Account Determination without Wizard Next navigation step Configure Automatic Postings End of the navigation path

  2. Choose Cancel .

  3. Choose Account Assignment .

  4. Select the entry Offsetting entry for inventory posting and select Start of the navigation path Edit Next navigation step Choose End of the navigation path .

  5. Enter the chart of accounts.

  6. In the Account assignment area, create an entry that does not have a Valuation modification constant or a Valuation class .