Customizing Settings for Cross-System Deliveries

Purpose

A cross-company-code delivery essentially exists where the selling company code in a sales order is different from the supplying company code, and the delivery to the customer takes place immediately from the selling company code without a temporary goods receipt. An internal billing document is created between the company codes. The selling company code invoices the external customers. This process is also supported within cross-system flows of goods across system boundaries (see also: Cross-System Stock Transfer (Intra-Company-Code ).

An intra-company-code delivery can only take place when the selling organization at header level of a sales document is assigned to a different profit center node from the delivering organization at item level, but the company code does not change. In this case you should perform a profit center settlement between the two profit centers. The intra-CC transfer price should by displayed in the sales order.

In the scenarios for cross-system flows of goods, intra-company-code deliveries can be a ‘system-oriented’ cross-system delivery when the delivering plant at item level is managed in a different system than the system where the sales order is stored.

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

  • The master data must be agreed upon between all systems involved

  • Comparison of sales (at least one conversion must exist)

  • Comparison of quantity agreements (minimum order quantity, minimum delivery quantity), delivery priority, partial deliveries

  • For automatic distribution of batch data using the IDoc BATMAS, the batch class must have the same name in both the ordering and supplying systems. The batch characteristics can be different.

  • Make sure that, for example, the terms of payment are maintained identically in all involved systems.

Procedure

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

Make the following settings:

Ordering System:

  1. Maintain the external plants.

  1. From the SAP IMG, choose: Start of the navigation path 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.

Create a CIF integration model and activate it. To do this, enter the external plants that belong to the business system group, in Customizing.

Switch off the availability check if you are not using APO. If you do not do this, the availability check will run, and there will be no confirmable quantities due to the missing plant data. Without confirmed quantities, no unchecked deliveries can be generated (no generation of IDocs). Make the following settings to switch off the availability check:

  1. Enter the availability check group KP for the corresponding external plant. From the SAP IMG, choose: Start of the navigation path 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. Schedule line category determination should find a schedule line category such as CN . The schedule line category CN prevents the availability check . You can achieve this using the item categories and the MRP type blank . For external plants, the system does not find any MRP types (due to the missing plant view). It can then use the item categories to find a schedule line that switches off the availability check. To do this, choose from the SAP Reference IMG: Start of the navigation path Sales and Distribution Next navigation step Sales Next navigation step Sales Documents Next navigation step Schedule Lines Next navigation step Assign Schedule Line Types End of the navigation path

  1. Create the pricing conditions for the selling sales organization

  2. 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 Conditions Next navigation step Create End of the navigation path

  3. In the material master, maintain the tax classification for the country of the supplying plant (sales view 1).

To do this, from the SAP menu choose: Start of the navigation path Logistics Next navigation step Materials Management Next navigation step Material Master Next navigation step Material End of the navigation path .

Note Note

The external plants proposed by the system in the SD view of the material master are only copied into the order items when the combination of material/plant has been included in the integration model CIF (in other words, an ATP check using SAP APO is possible).

End of the note.
  1. Set up copying control for billing documents.

  1. From the SAP IMG, choose : Start of the navigation path Sales and Distribution Next navigation step Billing Next navigation step Billing Documents Next navigation step Maintain Copying Control for Billing Documents Next navigation step Copying control: Sales document to billing document. End of the navigation path

  2. Assign the order item types relevant for a cross-system flow of goods to the copying requirement 400.

Condition 400 accesses the supplying system using a function module. This means that delivery texts, packaging information, batch information, and shipping information is read from the supplying system. Perform copy control in relation to orders, in other words, sales after billing.

If you are working with postdated invoices (invoice before goods issue), then you need to copy the copying requirement 400 to a new copying requirement, and then make some changes to the new copying requirement. Above all, you should make sure that the different statuses are reconciled.

Supplying System:

  1. Create the sales organization and the distribution channels for the ordering system.

  1. To define a sales organization, from the SAP IMG choose : Start of the navigation path Enterprise Structure Next navigation step Definition Next navigation step Sales and Distribution Next navigation step Define, Copy, Delete, Check Sales Organization Next navigation step . End of the navigation path

  2. To define a distribution channel, from the SAP IMG choose : Start of the navigation path Enterprise Structure Next navigation step Definition Next navigation step Sales and Distribution Next navigation step Define, Copy, Delete, Check Distribution Channel Next navigation step . End of the navigation path

  3. To construct the sales area, 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 Set Up Sales Area Next navigation step . End of the navigation path

  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. Assign the sales area to the delivering plant for intercompany billing.

From the SAP Reference IMG, choose: Start of the navigation path Sales and Distribution Next navigation step Billing Next navigation step Intercompany Next navigation step Billing Next navigation step Assign Next navigation step Organizational Next navigation step Units Next navigation step by Next navigation step Plant End of the navigation path

  1. Define common distribution channels and divisions.

  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 Division to Sales Organization Next navigation step . End of the navigation path

  2. Define common distribution channels and divisions.

  1. Extend the materials that can be ordered for delivery from external systems by including the sales view from the external selling distribution channel. (You must of course also maintain the material for the distribution channel assigned to the supplying plant in table T001W. However, this case is a standard SD procedure (case with one system)).

  1. To do this, from the SAP menu: Start of the navigation path Logistics Next navigation step Materials Management Next navigation step Material Master Next navigation step Material Next navigation step Create (General) Next navigation step Immediately End of the navigation path .

  2. Select the relevant materials and extend these by including the sales view from the external selling distribution channel.

  1. Maintain the external customer/goods recipient.

  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 Partner Next navigation step Customer Next navigation step Create Next navigation step Sales and Distribution End of the navigation path .

  2. Create the external customer.

  1. Create the internal customer for internal billing between the company codes.

  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 Partner Next navigation step Customer Next navigation step Create Next navigation step Sales and Distribution End of the navigation path .

  2. Create the internal customers.

  1. Assign the internal customers for internal billing between the company codes to the external selling sales organization.

  1. From the SAP IMG, choose : Start of the navigation path Enterprise Structure Next navigation step Definition Next navigation step Sales and Distribution Next navigation step Define Sales Organization Next navigation step . End of the navigation path

  2. Maintain the entries.

  1. Create the conditions for the prices in internal billing

  2. 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 Conditions Next navigation step Create End of the navigation path

  3. 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 results from your Customizing settings for the delivery type.

  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. Create a billing type for internal billing documents before goods issue.

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

  2. Create a billing type for internal billing documents.

  1. Create a copying control for billing documents that does not check the goods issue indicator. You must assign this to the previously created billing type.

  1. From the SAP IMG, choose : Start of the navigation path Sales and Distribution Next navigation step Billing Next navigation step Billing Documents Next navigation step Maintain Copying Control for Billing Documents Next navigation step Copying control: Delivery document to billing document. End of the navigation path

  2. Maintain the entries.

Note Note

This copying requirement must not have a query about the billing status. If you use the copying requirement 11 as a template, then you must remove the query " IF VBUK-FKST EG ' '......ENDIF " from form " BEDINGUNG_PRUEFEN_011 " in the include " LV60A011 ".

End of the note.
  1. Attributes of the BAdI VOR_WA_FAKTURA: The billing type defined in the above step must be used when an internal billing document is required, and must therefore be simulated.

  1. To do this, choose from the SAP menu: Start of the navigation path Tools Next navigation step ABAP Workbench Next navigation step Utilities Next navigation step Business Add-Ins Next navigation step Implementation End of the navigation path .

  2. Enter VOR_WA_FAKTURA and edit this entry.

Optional Settings for Cross-System Deliveries

If you are working with the scenario for cross-system deliveries, you need to make the following settings in the supplying system, so that the changed delivery type and the item category in the IDoc DELIVERYPROCESSING_EXECUTE are converted to the required values in the supplying system:

  1. From the SAP IMG, choose : Start of the navigation path Logistics Execution Next navigation step Shipping Next navigation step Deliveries Next navigation step Key Convert Document Types for Cross-System Flow of Goods. End of the navigation path

  2. From the SAP IMG, choose : Start of the navigation path Logistics Execution Next navigation step Shipping Next navigation step Deliveries Next navigation step Key Convert Item Categories for Cross-System Flow of Goods. End of the navigation path

Note Note

Note here, that you must also substitute the order type.

End of the note.