Location 

Use

In this section you will find information about how location master data is transferred from SAP R/3 to the locations in the SAP Advanced Planner and Optimizer (SAP APO).

Integration

The SAP R/3 master data objects plant, customer and vendor are transferred to SAP APO as locations.

They differ from each other through their respective location types. The function of a location is therefore dependent upon the location type.

Master Data in SAP R/3

Master Data in SAP APO

Plant

Location type 1001 production plant

Customer

Location type 1010 customer

Vendor

Location type 1011 vendor

Transportation zone

Location type 1005 transportation zone

 

Location type 1006 stock transfer point

From SAP R/3 Release 4.0, plant with indicator Distribution Center (DC)

Location type 1002 distribution center

Material Requirements Planning (MRP) area

Location type 1007 MRP area

 

Location type 1020 carrier

Note that the location type does not belong to the location table key and that this can lead to naming conflicts.

If both the vendor and the customer have the same number in the SAP R/3 system (for example, customer and vendor 1000), you need to rename one of them when entering them into SAP APO by using the customer exit for the vendor master record (for example, you can rename the vendor S1000). If you do not do this, the system is unable to differentiate between the two locations.
(Reason: The location type is a key field in the table /SAPAPO/LOCMAP, but only an attribute in the table /SAPAPO/LOC.)

Transfer of SAP R/3 Master Data to the SAP APO Location Master

Question

Answer

How is the data transfer from the SAP R/3 production plant carried out?

A plant is transferred to the SAP APO system with the location type 1001 (production plant). For this, all basic settings associated with the plant are transferred: name, address, time zone and regional assignment.

Additional data in the SAP APO location:
You can maintain the short text for SAP APO locations in several languages (in comparison to the plant in SAP R/3), so that the relevant short text appears when logging on in a particular language.
SAP APO locations generally contain a large number of additional planning parameters for which there is no equivalent in SAP R/3. You have to maintain these parameters in SAP APO, as you cannot transfer them from SAP R/3.

How is the data transfer from the SAP R/3 distribution center carried out (as of SAP R/3 Release 4.0)?

As of SAP R/3 Release 4.0 you can define plants as distribution centers in SAP R/3 within the context of Distribution Resource Planning (DRP) functions. For this, you need to maintain the associated entry in the customizing table in the basic settings of DRP customizing (customizing step Node Type Assignment – Maintain Plant).

If you transfer the plants to SAP APO that are defined as distribution centers in SAP R/3, these plants will be transferred as location type 1002 (distribution center). The transfer of the individual SAP R/3 plant settings (in SAP R/3 a distribution center is nothing more than a plant) occurs in the same way as for production plants.

How is the data transfer from the MRP area of the SAP R/3 storage location carried out (as of SAP R/3 Release 4.5)?

As of SAP R/3 Release 4.5, there are MRP areas available in SAP R/3 that differentiate requirements planning below the plant level. MRP areas in storage locations (type 2 MRP areas) can be transferred to SAP APO as locations with location type 1007.

In SAP R/3, MRP areas are organizational levels below the plant level. As a result, they are assigned to one plant only. This plant assignment is retained in SAP APO.

You can only transfer MRP areas in storage locations to SAP APO if they are assigned to precisely one storage location corresponding to the receiving storage location (note: there are no storage locations in SAP APO). You cannot transfer subcontracting MRP areas. MRP areas in plants are not explicitly transferred; rather the plants themselves are transferred.

A SAP R/3 material master record can also contain MRP area segments under the plant MRP data. These enable the planning of this material in different MRP areas. If you transfer such materials to SAP APO, you can also transfer the MRP area data. In this case the product master will exist in SAP APO for the location plant and the location MRP area.

For further information on integrating the MRP area see Material Requirements Planning Areas.

How is the transfer of customer data from SAP R/3 carried out?

Customer data is transferred from SAP R/3 as locations with the type 1010 (customer).

Sales orders are generated in SAP R/3 and transferred to SAP APO as movement data. If the customer to whom a SAP R/3 sales order is assigned also needs to be displayed in SAP APO, the corresponding location must exist in SAP APO. A transfer is, however, not obligatory for a simple production planning process.

When transferring a customer master record from SAP R/3 to SAP APO, the transportation zone to which the customer is assigned in SAP R/3 is transferred as well as the actual customer location. This is done under location type 1005 (transportation zone). The missing data needed to use the transportation zone for planning in SAP APO has to be entered manually after the transfer.

How is the transfer of vendor data from SAP R/3 carried out?

Vendors are transferred from SAP R/3 as locations with the type 1011 (vendor).

What customer exits are available?

SAP R/3 function module:
CIF_PLANT_LOCATION_MAP
SAP R/3 customer exit:
XIT_SAPLCLOC_001 (CIFLOC01)

SAP R/3 function module:
CIF_VENDOR_LOCATION_MAP
SAP R/3 customer exit:
EXIT_SAPLCLOC_002 (CIFLOC01)

SAP R/3 function module:
CIF_CUSTOMER_LOCATION_MAP
SAP R/3 customer exit:
EXIT_SAPLCLOC_003 (CIFLOC01)

SAP R/3 function module:
CIF_MRPAREA_LOCATION_MAP
SAP R/3 customer exit:
EXIT_SAPLCDC5_001 (CIFLOC02)

SAP APO function module:
/SAPAPO/CIF_LOC_INBOUND
SAP APO customer exit:
EXIT_/SAPAPO/SAPLCIF_LOC_001
(APOCF001)

SAP APO function module:
/SAPAPO/DM_LOCATION_MAINTAIN
SAP APO customer exit:
EXIT_SAPMMDUSER_004 (APOMD004)

You can find usage examples and example coding for the customer exits in the relevant documentation.

What BAPIs are there and what is their operation?

Object type: BUS10002
BAPI: BAPI_LOCSRVAPS_SAVEMULTI_30A
Customer exit: EXIT_SAPL10002_001 (APOBP003)

How is the transfer of location master data initiated?

There are three possibilities:

Initial data transfer

For the integration between SAP R/3 and SAP APO you must include the relevant locations in an integration model. When you activate the integration model the locations are sent to SAP APO and created there.
A necessary prerequisite for a sequence of processes and for the transfer of changes is that the objects are contained in an active integration model.
You can also repeat the initial data transfer if the integration model is deactivated in the meantime.

Transfer of data changes using change pointers

Using ALE change pointers you can transfer changes to the customer and location master data without a repeat activation of an integration model.

Online Transfer of Customer and Vendor Master Data via BTE

From Release PI 2000.2 you can also transfer customer and location master data using a Business Transaction Event (BTE). You can set the system so that the transfer of changed and newly created customers and vendors is directly initiated when the master data is updated in SAP R/3.

When transferring changes the system always transfers the complete master data record and not just the changed fields. This means that those fields in SAP APO that originate in SAP R/3 and have been locally changed in APO are overwritten by the system. You can prevent this information being overwritten in SAP APO by using a customer enhancement.

In this case, the system can only automatically recognize that a location has been changed, and so transfer the data to SAP APO, if you carry out the change directly in the fields of the material master record. In contrast, changes to the customizing or profile tables can also have the result that you have to transfer the locations again. Changes that only indirectly influence the master record cannot be automatically recognized by the system.

How is the sublocation converted?

SAP APO cannot currently convert the functions of the storage location. The field sublocation only exits in the MRP area.