cancel
Showing results for 
Search instead for 
Did you mean: 

location timezone

Former Member
0 Kudos

A function Module to get the TimeZone of a location in APO?

Thnks

Accepted Solutions (0)

Answers (2)

Answers (2)

srinivas_krishnamoorthy
Active Contributor
0 Kudos

Try out TZ_LOCATION_TIMEZONE

Former Member
0 Kudos

hi gallardo,

Integration of Locations

Use

In this section, you find information about how APO Core Interface (CIF) transfers location master data (plant, customer, vendor, and so on) from the ERP system to the locations in SAP Advanced Planning and Optimization (SAP APO).

Integration

The ERP 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.

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 ERP 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 /SAPAPO/LOCMAP table, but only an attribute in the /SAPAPO/LOC table.)

Transfer of ERP Master Data to the SAP APO Location Master

Question

Answer

How is the data transfer from the ERP 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 the ERP system), 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 the ERP system. You have to maintain these parameters in SAP APO, as you cannot transfer them from the ERP system.

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

As of SAP R/3 4.0, you can define plants as distribution centers 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 the ERP system, these plants will be transferred as location type 1002 (distribution center). The transfer of the individual ERP plant settings (in the ERP system, a distribution center is nothing more than a plant) occurs in the same way as for production plants.

How is data transferred from the storage location MRP area of the ERP system (as of SAP R/3 4.5)?

See Integration of Storage Location MRP Areas.

How is the transfer of customer data from the ERP system carried out?

Customer data is transferred from the ERP system as locations with the type 1010 (customer).

Sales orders are generated in the ERP system and transferred to SAP APO as transaction data. If the customer to which an ERP 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 to SAP APO, the transportation zone to which the customer is assigned in the ERP system is transferred as well as the actual customer location. This is done under location type 1005 (transportation zone). The missing data that is 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 the ERP system carried out?

Vendors are transferred from the ERP system as locations with the type 1011 (vendor). Transportation zones are transferred in the same way as customer data.

You can create the location type Subcontractor for subcontracting in SAP APO.

How is the transfer of shipping data from the ERP system carried out?

Shipping points are transferred to SAP APO as locations as the type 1003 (shipping point).

To change the shipping point transfer data before sending it, you can use the BAdI CIF_ENHANCED in Customizing for ERP.

Which customer exits exist?

SAP R/3 function module:

CIF_PLANT_LOCATION_MAP

SAP R/3 customer exit:

EXIT_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

You must include the relevant locations in an integration model for the integration. 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.

Change transfer using change pointers

You can use ALE change pointers to log changes to customer and vendor master data. They can then be transferred using the program RCPTRAN4 (transaction CFP1) without reactivating the integration model.

Online transfer of customer and vendor master data using BTE

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 the ERP system.

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 the ERP system and have been locally changed in SAP 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 transfer the data to SAP APO if you carry out the change directly in the fields of the material master record. Changes to the customizing or profile tables may also mean 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 Sublocation field only exits in the MRP area

thanks

swamy

reward me if usefull