专栏介绍
本专栏主要是介绍EWM&TM中仓储计费(Warehouse Billing)的使用,从系统层面包含系统的后台配置和前端操作,从功能层面包含协议(仓储合同)管理,业务量统计,费用计算以及结算等主要功能。
前言
本章节主要是对系统进行对应的配置,以便后续系统能够进行演示操作。
系统环境
S/42020 Embedded TM and Embedded EWM。
BC SET配置方式
如果不想手工一个个配置,则SAP也是提供了一个示例的BC SET,可以导入直接下载到本地,然后导入到系统。
参考notes:2151729 - BC sets for EWM warehouse billing process
如下所示:
Symptom
This SAP Note contains BC sets that facilitate the configuration of SAP ERP, TM and EWM for the EWM warehouse billing process:
BC set ZWB_CUSTOMIZING_ERP for the customizing of warehouse billing in ERP side
BC set ZWB_CUSTOMIZING_EWM for the customizing of warehouse billing in EWM side
BC set ZWB_FORWARDING_TM for the customizing of LSP scenario of warehouse
BC set ZWB_FREIGHT_TM for the customizing of shipper scenario of warehouse
For the details of each BC set, please refer to the Warehouse Billing Configuration Guide.
Reason and Prerequisites
If you are using the LSP scenario, please activate the following BC sets:
BC set ZWB_CUSTOMIZING_ERP
BC set ZWB_CUSTOMIZING_EWM
BC set ZWB_FORWARDING_TM
If you are using the shipper scenario, please activate the following BC sets:
BC set ZWB_CUSTOMIZING_ERP
BC set ZWB_CUSTOMIZING_EWM
BC set ZWB_FREIGHT_TM
Solution
- Upload the BC set ZWB_CUSTOMIZING_ERP attached to this SAP Note to your ERP test system. To do this, you must first unpack the zip file. Then call transaction SCPR3 and choose the function "BC Set" -> "Upload".
- Use trasaction SCPR20 to activate the BC set.
- Upload the BC set ZWB_CUSTOMIZING_EWM attached to this SAP Note to your EWM test system.
- Activate the BC set.
- Check which BC set on TM side is required for your process or scenario.
- Uplad the BC set attached to your TM test system and activate the BC set.
手工配置方式
EWM端配置
You customize SAP EWM to define and set up the warehouse billing. Customizing includes the following activities:
- Define No. Range Intervals for Request for Warehouse Billing Measurements
- Define No. Range Intervals for Specification for Warehouse Billing Measurements
- Define Number Range Intervals for Warehouse Billing Measurements
- Define Warehouse Billing Measurement Types
- Define Request Types for Warehouse Billing Measurement
- Define Measurement Item Types
- Map Charge Types to Measurement Item Types
- Define Factory Calendar
- Set Snapshots
- Schedule Snapshot Persistency Report
Defining Number Range for Request for Warehouse Billing Measurement (BC Set)
You can use this procedure to create a number range. Later, the number range can be assigned to a request type for measurement type of warehouse billing.
Procedure
1. In Customizing for SCM Extended Warehouse Management, choose Extended Warehouse Management → Billing → Define No. Range Intervals for Request for Warehouse Billing Measurements.
2. Choose Change Intervals, and then choose Insert Line.
3. Create a number range with the following data:
No | From No. | To Number | NR Status |
01 | 1000000000 | 1999999999 | 1000000000 |
Defining Number Range for Specification for Warehouse Billing Measurement (BC Set)
You can use this procedure to create a number range for specification for warehouse billing measurement.
Procedure
1. In Customizing for SCM Extended Warehouse Management, choose Extended Warehouse Management → Billing → Define No. Range Intervals for Specification for Warehouse Blng Measurements.
2. Choose Change Intervals, and then choose Insert Line.
3. Create a number range with the following data:
No | From No. | To Number | NR Status |
01 | 1000000000 | 1999999999 | 1000000000 |
Note: please do maintain number range “01” for the specification for warehouse billing measurement because number range “01” is hard coded.
Defining Number Range for Warehouse Billing Measurement (BC Set)
You can use this procedure to create a number range. Later, the number range can be assigned to a measurement type of warehouse billing.
Procedure
1. In Customizing for SCM Extended Warehouse Management, choose Extended Warehouse Management → Billing → Define Number Range Intervals for Warehouse Billing Measurements.
2. Choose Change Intervals, and then choose Insert Line.
3. Create a number range with the following data:
No | From No. | To Number | NR Status |
01 | 1000000000 | 1999999999 | 1000000000 |
Note: do have number range “01” maintained.
Defining Warehouse Billing Measurement Type (BC Set)
You can use this procedure to create a warehouse billing measurement type. The setting of the measurement type of warehouse billing influences how the system processes the warehouse billing measurements.
Procedure
1. In Customizing for SCM Extended Warehouse Management, choose Extended Warehouse Management → Billing → Define Warehouse Billing Measurement Types.
2. Create 2 warehouse billing measurement types with the following data:
Warehouse Number | BM Type | Description | No. Range |
<Warehouse No.> | LSP | CUSTOMER | 01 |
<Warehouse No.> | SHP | SERVICE PROVIDER | 01 |
Defining Request Type for Warehouse Billing Measurement (BC Set)
You can use this procedure to create a request type for warehouse billing measurement. The setting of the request type influences how the system processes the request for warehouse billing measurement.
Procedure
1. In Customizing for SCM Extended Warehouse Management, choose Extended Warehouse Management → Billing → Define Request Type for Warehouse Billing Measurement.
2. Create 2 request types with the following data:
Warehouse Number | WBMR Type | Description | Usage | Default | No. Range | BM Type |
<Warehouse No.> | LSP | Request Type - Buying Warehouse Service | Customer | X | 01 | LSP |
<Warehouse No.> | SHP | Request Type - Selling Warehouse Service | Service Provider | X | 01 | SHP |
Defining Measurement Item Type (BC Set)
You can use this procedure to create a measurement item type. The measurement item type is assigned to a snapshot entity.
Procedure
1. In Customizing for SCM Extended Warehouse Management, choose Extended Warehouse Management → Billing → Define Measurement Item Types.
2. Create the measurement item types with the following data:
Warehouse Number | Measurement Item Type | Measurement Item Type Description | Snapshot |
<Warehouse No.> | IB_01 | Inbound Service Charge in TON | INBOUND_DELIVERY |
<Warehouse No.> | OB_01 | Outbound Delivery Note Printing Charge | OUTBOUND_DELIVERY |
<Warehouse No.> | OB_02 | Outbound Service Charge | OUTBOUND_DELIVERY |
<Warehouse No.> | ST_01 | Storage Service Charge - Large HUs | PHYSICAL_STOCK |
<Warehouse No.> | ST_02 | Storage Service Charge – Small/Mid Parts | PHYSICAL_STOCK |
<Warehouse No.> | WT_01 | Exceptional Penalty Charge for Clarification Activities | WAREHOUSE_TASK |
<Warehouse No.> | WT_02 | Packing Service Charge - Number of Pallets Packed | WAREHOUSE_TASK |
Assigning Charge Types to Measurement Item Type (BC Set)
You can use this procedure to assign charge types to measurement item types.
Procedure
1. In Customizing for SCM Extended Warehouse Management, choose Extended Warehouse Management → Interfaces → TM Integration → Map Charge Types to Measurement Item Types.
2. Map the charge types to measurement item types as follows:
Warehouse No. | Business System | Charge Type | Measurement Item Type |
<Warehouse No.> | <Business System> | IB_01 | IB_01 |
<Warehouse No.> | <Business System> | OB_01 | OB_01 |
<Warehouse No.> | <Business System> | OB_02 | OB_02 |
<Warehouse No.> | <Business System> | ST_01 | ST_01 |
<Warehouse No.> | <Business System> | ST_02 | ST_02 |
<Warehouse No.> | <Business System> | WT_01 | WT_01 |
<Warehouse No.> | <Business System> | WT_02 | WT_02 |
Note:
• The mapped charge type ID and measurement item type ID must be the same.
• When you release the agreement in SAP TM, only the charge lines that have the charge type assigned to measurement item type are shown in the SAP EWM system.
Defining Factory Calendar (Mandatory)
You can use this procedure to create a factory calendar. The factory calendar determines the aggregation period of the warehouse activities.
Procedure:
1. In customizing for SCM Extended Warehouse Management, choose SCM Basis → Master Data → Calendar → Maintain Factory Calendar → Factory Calendar → Display.
2. Create a factory calendar.
3. Choose Special rules to maintain the periods. For example, the aggregation period is from
25th of last month to 24th of current month.
Valid from | Valid to | Workday | Text |
24.12.2014 | 24.12.2014 | X | 24.12.2014 |
24.01.2015 | 24.01.2015 | X | 24.01.2015 |
24.02.2015 | 24.02.2015 | X | 24.02.2015 |
24.03.2015 | 24.03.2015 | X | 24.03.2015 |
Note: Factory calendars are specified both in the SAP TM and SAP EWM system. The factory calendars have the same settings with same aggregation periods.
Setting Snapshots (Mandatory)
You use this procedure to activate the snapshots and set the offset day and the package size.
The offset day specifies the additional number of days after the specified snapshot date that the system takes the actual snapshot. For example, the inbound delivery after good receipt date is 12.04.2015, and you have specified an offset days of 2 for the inbound delivery snapshot. The system creates the snapshot of this inbound delivery on 14.04.2015.
Procedure
1. In Easy Access for SCM Extended Warehouse Management, choose Extended Warehouse Management → Setting → Billing.
2. Create the snapshot setting with the following data:
Warehouse Number | Snapshot | Activate | Offset Day | Pack. Size |
<warehouse no.> | INBOUND_DELIVERY | X | <offset day> | 9000 |
<warehouse no.> | OUTBOUND_DELIVERY | X | <offset day> | 9000 |
<warehouse no.> | PHYSICAL_STOCK | X | <offset day> | 9000 |
<warehouse no.> | WAREHOUSE_TASK | X | <offset day> | 9000 |
Scheduling Snapshot Persistency Report
You use this procedure to schedule the snapshot persistency report. The snapshot persistency report is scheduled on a daily basis to store the transaction data into snapshot table every day.
Procedure
1. In Easy Access for SCM Extended Warehouse Management, choose Extended Warehouse Management → Billing → Snapshots → Create Snapshots.
2. Enter the warehouse number, party entitled to dispose and uncheck Simulation.
3. Choose Goto → Variants → Save as Variantto, save a variant, for example, VAR01.
4. In Easy Access for Tools, choose CCMS → Background Processing → Define Job.
5. Enter the job name.
6. Choose Start condition. Set the schedule start date and set period to daily.
7. Choose Step. Set the following data:
ABAP Program Name | Variant |
/SCWM/WB_SNAPSHOT | e.g. VAR01 |
8. Save the job.