sap dynamic edge processing essential functions service - configuration guide public 2 table of...

134
SAP Dynamic Edge Processing Business Essential Functions Service - Configuration Guide Version 3.0

Upload: phungdang

Post on 11-May-2018

232 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

SAP Dynamic Edge Processing Business Essential Functions Service - Configuration Guide Version 3.0

Page 2: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

2

Table of Contents ABOUT THIS DOCUMENT ................................................................................................................................ 4 Glossary ........................................................................................................................................................... 4

SOLUTION OVERVIEW ..................................................................................................................................... 7 Edge Synchronization ..................................................................................................................................... 7 Prerequisites .................................................................................................................................................... 8 SAP Dynamic Edge Processing System Landscape ................................................................................... 9 Implementation and Configuration – Basic Settings ................................................................................... 9 SAP SQL Anywhere Database ........................................................................................................................ 10 Setting Up MobiLink Server .......................................................................................................................... 10 Generating MobiLink System Objects ............................................................................................................. 10 Synchronizing MobiLink Step-by-Step ............................................................................................................ 10

SAP ERP CONFIGURATION ..........................................................................................................................14 Project Administration .................................................................................................................................. 14

SET-UP REQUIREMENTS ..............................................................................................................................14

SAP ADD-ON CONFIGURATION ...................................................................................................................14 Overview ......................................................................................................................................................... 14

GENERAL CONFIGURATION .........................................................................................................................15 SAP Work Manager ....................................................................................................................................... 15 Activate BCSET (SCPR20) ............................................................................................................................. 15 Create PMBATCH user in SAP ERP ............................................................................................................... 16 Create PMBATCH user for Agentry and SAP ERP ......................................................................................... 16 Configure Agentry System Technical setting .................................................................................................. 18 Configuration Tables .................................................................................................................................... 18

CONFIGURATION FOR SYNC JOBS .............................................................................................................19 Configure Background RFC Queue ............................................................................................................. 19 Assign the SAP ERP instance to an RFC Server Group................................................................................. 19 Create an RFC (Logical) Destination .............................................................................................................. 20 Create an RFC Inbound Destination ............................................................................................................... 23 Create Supervisor Destination Define EBEF_LOCAL as a supervisor destination. ...................................... 25

PLANT SPECIFIC CONFIGURATION OVERVIEW ........................................................................................26 Equipment Classification set-up .................................................................................................................. 34

WORK ORDER CONFIGURATION .................................................................................................................37 Overview ......................................................................................................................................................... 37 Create PM Order type ZM01 .......................................................................................................................... 38 Assign Order type ZM01 to EBEF MTCE Plants ......................................................................................... 39 Create External Number Range – Add to Group ........................................................................................ 40 Maintain User Status Profile ......................................................................................................................... 42 Create Control Keys EXT2 and ZINT............................................................................................................ 45 Maintain Default Control Key Order Type ZM01 ......................................................................................... 46 Create Activity Type for ZM01 Orders ......................................................................................................... 48 Assign Maintenance Activity Types to Order Type ZM01 ......................................................................... 49 Maintain Default Activity Type for Order Type ZM01 ................................................................................. 50 Configure Automatic Notification Creation During Work Order Creation ............................................... 51 Define Control Parameters for Completion Confirmations ....................................................................... 52

PURCHASE REQUISITION SPECIFIC CONFIGURATION ............................................................................54 Enhance CI_EBANDB and CI_EBANDBX Structures ................................................................................. 54 Add Components to Structure CI_EBANDBX ................................................................................................. 57 APPEND STRUCTURE CI_EBANDBX to table EBAN ................................................................................... 58 Implement BADI /EBEF/BADI_MM_PREQ_NUM_LC .................................................................................. 58 Change Purchase Requisition Order Type ................................................................................................. 64 Change Purchase Group .............................................................................................................................. 65

Page 3: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

3

CONFIGURATION OF FILE TRANSFER ........................................................................................................66 Configure Attachment File Transfer Settings ................................................................................................. 67 Configure Reports Management Settings ....................................................................................................... 67 Create the Subdirectories on the SAP ERP server ......................................................................................... 68 Define the directories in SAP ERP .................................................................................................................. 69 Add entries to the EBEF configuration table /EBEF/A_DEF ........................................................................... 70

CONFIGURATION OF WEB DYNPRO SERVICE ..........................................................................................73

RUN INITIAL LOAD .........................................................................................................................................75 Data Tables - Initial Load ................................................................................................................................. 75 Complex Tables – Initial Load ......................................................................................................................... 79 Object Tables – Initial Load ............................................................................................................................. 84

CONFIGURE RETENTION PERIOD FOR DATA PRIVACY AND PROTECTION PROCESSING ................89

SET VARIANTS USED FOR BACKGROUND JOBS .....................................................................................90 Variant DT ........................................................................................................................................................ 90 Variant CT ........................................................................................................................................................ 92 Variant OBJ ..................................................................................................................................................... 93 Variant Standard .............................................................................................................................................. 95 Variant /EBEF/HOURLY .................................................................................................................................. 97 Variant /EBEF/DAILY ...................................................................................................................................... 99 Variant /EBEF/MONTHLY ............................................................................................................................. 101 Variant /EBEF/YEARLY ................................................................................................................................. 102 Variant /EBEF/ONDEMAND .......................................................................................................................... 103 Variant UPLOADATTACH ............................................................................................................................. 104 Variant DWNATTACH_EBEF ........................................................................................................................ 105 Variant GET_MDKE ...................................................................................................................................... 106 Variant TRANSACTION ................................................................................................................................ 107 Variant MASTER ........................................................................................................................................... 108

DOCUMENTATION OF BACKGROUND JOBS ...........................................................................................109 /EBEF/GET_DT – Get Data Tables (3.1.2.1) ................................................................................................ 109 /EBEF/GET_CT - Get Complex Tables ......................................................................................................... 113 /EBEF/GET_OBJ - Get Object Tables........................................................................................................... 114 /EBEF/TRN - Process Uploaded Transactions ............................................................................................. 114 /EBEF/HOURLY_REPORTS - Run Hourly Reports in Background and Send to Remote Sites .................. 114 /EBEF/DAILY_REPORTS - Run Daily Reports in Background and Send to Remote Sites ......................... 114 /EBEF/MONTHLY_REPORTS - Run Monthly Reports in Background and Send to Remote Sites ............. 114 /EBEF/YEARLY_REPORTS - Run Yearly Reports in Background and Send to Remote Sites ................... 114 /EBEF/ONDEMAND_REPORTS - Run On-Demand Reports in Background and Send to Remote Sites ... 115 /EBEF/ATTACHMENTS_UP - Attach Documents Uploaded from Remote Sites ......................................... 115 /EBEF/ATTACHMENTS_DOWN - Download Attachments from ECC Business Objects to Remote Sites .. 115 /EBEF/GET_MDKE - Download Stock Wanted List to Remote Sites ........................................................... 115 /EBEF/PERS_TRN – Delete transaction record ............................................................................................ 115 /EBEF/PERS_MST – Mask user’s personal information for master data/read-only data ............................. 115 Schedule parameters for maintenance orders ......................................................................................... 116

SECURITY INFORMATION ...........................................................................................................................117 Authorization Concept ................................................................................................................................ 117 Roles .............................................................................................................................................................. 118 Mapping Remote Location Users with Roles ................................................................................................ 118 Privacy and Data Protection ....................................................................................................................... 122 Security-Relevant Logging and Tracing ................................................................................................... 122 LDAP Setup .................................................................................................................................................. 122

APPLYING SQL PATCH TO SAP DYNAMIC EDGE PROCESSING ...........................................................124

MULTI-LANGUAGE SUPPORT ....................................................................................................................129

APPENDIX A: SCANNING ATTACHMENTS FOR MALWARE ...................................................................130

APPENDIX B: RESTARTING THE DATABASE SERVER AND MOBILINK CLIENT ON LINUX...............131

Page 4: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

4

ABOUT THIS DOCUMENT

This configuration guide provides a central starting point for the technical implementation and configuration of SAP Dynamic Edge Processing, Business Essential Functions Service. It describes all activities necessary for implementation and configuration of components that perform integration with the ERP system. This is not an installation document. Refer to the appropriate installation notes for instructions about installing the underlying components. This document is intended for the following target audiences:

• Consultants

• Partners

• Customers Glossary

Term Abbreviation Definition

Agentry The installation components SMERP 600_700 and SMFND 600_700 are the Agentry SAP Framework ERP Add-On and Integration Foundation.

Bill of Material BOM A list of parts grouped together for one piece of equipment, configured in SAP ERP.

Complex Table CT Master data staging table; data in these tables is common to all edge or remote locations.

Component The raw material, part, or subassembly that goes into a higher-level assembly. Example: A part is entered as a component.

Edge Server Plant A local representation of unique SAP ECC plant. This edge server plant is operated locally and synchronized with the ECC back-end.

Equipment Master Master data that describes an individual piece of equipment.

Goods Issue GI A withdrawal from warehouse stock, such as in the issue of materials to a work order.

Goods Receipt GR An addition to warehouse stock, such as goods received from external vendors or from in-plant production.

Hypertext Markup Language

HTML HTML is the language your browser understands. It's a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on World Wide Web pages.

Inter-Plant Transfer The transfer of materials from one plant or remote location to another and the resulting goods movement.

Page 5: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

5

Lightweight Directory Access Protocol

LDAP A software protocol for enabling anyone to locate organizations, individuals, and other resources such as files and devices in a network.

Local Area Network

LAN Computer network that interconnects computers within a limited area.

Material Goods that are manufactured or purchased, such as a repair part. They are identified by their unique Material Number.

Material Document Evidence of one or more material movements, providing information for downstream applications. A material document contains one or more items and can be printed as a slip to accompany physical goods movements (GR/GI slip).

Measuring Point A physical or logical place from where a status is collected. Example: Runtime hours of a piece of equipment. The status is described using measurement readings. Measuring points are stored in the SAP ERP as master data.

MobiLink MobiLink synchronization is a component of SAP SQL

Anywhere that allows two-way synchronizations.

Notification Maintenance notifications are created for maintenance processing in the event of a malfunction or other situation requiring attention. They document maintenance tasks and can be used for planning and execution of tasks or later analysis. They are created in tandem with work orders.

Operation A task that instructs the user doing the work order. Example: Inspect exhaust system.

Physical Inventory PI Counting material at a specific point in time. The counted quantity of a material for each storage location is contained in a physical inventory document.

Plant Maintenance PM The measures taken to keep a facility operating efficiently. Also, the module of SAP ERP that manages these measures.

Purchase Order PO A request from a buyer to a seller to deliver a specified quantity of material, or perform a specified service, at a specified price within a specified time.

Purchase Requisition

PR A document which defines the needs for a good or service and contains details of the purchase to be made.

Page 6: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

6

SAP SQL Anywhere

A proprietary relational database management system (RDBMS) product from SAP. It includes the MobiLink client and web server.

SAP Work Manager

SMERP SMFND

The components SMERP and SMFND are the ABAP add-ons from SAP Work Manager that are used in this solution.

Service Entry Sheet

SES An invoice for services provided by a third party. Example: Purchase service such as sanding or welding.

Stock Goods or merchandise in inventory.

Work Order WO The entity containing the work to be done for maintenance and repair of equipment.

Important SAP Notes

Recommendation

Read the SAP Notes below before you start implementing the software. The SAP Notes contain the latest information about the installation as well as corrections to the installation information. Also make sure that you have the most current version of each SAP Note, which is available on SAP Support Portal at http://support.sap.com/notes.

SAP Note Number Title Description

2068253 xChange EFI for Physical Inventory Document /SYCLO/MM_EFI_IBLNR_EX_INCL is always disabled

Fix that enables the exchange table and also supports the xChange for physical inventory count (MI04) and difference posting (MI07) using the same exchange EFI

2215310 Purchase Order Exchange - Does not trigger if only Purchase Order Header is updated.

A fix that triggers the exchange table of purchase order /syclo/ebeln_ex when there is only a purchase order header change.

Page 7: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

7

SOLUTION OVERVIEW

Business Essential Functions Service provides uninterrupted SAP functionality anywhere, anytime. It is always available, and provides LAN-based speed whether it's connected or disconnected. Now the distributed locations of a company can run 24x7 and are continuously synchronized, regardless of connectivity. Business Essential Functions Service consists of the following components:

• SAP ERP integration

• Synchronization server

• Edge database and edge web server The architecture consists of a database server running on the edge (remote site) as a distributed data store (remote database). Through staging tables in a central consolidated database, functionality is extended in the areas of:

• Plant Maintenance (PM)

• Inventory Management (IM)

• Materials Management (MM) ABAP programs execute in regularly scheduled jobs to populate the exchange or staging tables. The staging tables in SAP ERP are synchronized with the staging tables at the remote location using the synchronization server. Applications at the remote location can use a web services that interct with data in the edge database. Edge Synchronization Synchronization is initiated by the edge database server. Changes are uploaded to the synchronization server through the network layer. Conflicts that result from the upload are resolved at the central SAP ERP database. Changes in SAP ERP data are then downloaded from the consolidated database (the SAP ERP database with the Exchange staging tables) to the edge database server. The synchronization server can operate in a single or multi-tiered distributed architecture. The synchronization server uses internal system tables to keep track of the synchronization progress of users. This information is kept both at the edge database and the consolidated SAP ERP database. The synchronization client keeps track of the transaction log progress and the last successful synchronization timestamp to ensure that the next synchronization of a user is in step. During upload processing, the synchronization server ensures all or nothing updates at the consolidated database. In other words, the synchronization server rolls back all transactions for the current upload if anything fails during the upload process. During the download, the synchronization client operates in the same fashion to ensure all or nothing updates at the edge. The synchronization client guarantees transaction integrity by synchronizing only committed transactions. The synchronization client picks up committed transactions by scanning the transaction log. If solution data is not properly scoped under database transactions, then the synchronization can leave the consolidated database in an inconsistent state.

Page 8: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

8

System and Application Landscape

Recommendation

For performance, scalability, high availability, and security reasons, we strongly recommend that you do not use a minimal system landscape as your productive landscape. For more information about creating productive system landscapes, see SAP Service Marketplace at https://service.sap.com. The system landscape consists of local PCs connecting to the SAP SQL Anywhere 17.0 database server that resides on a LAN at the remote location. The SAP SQL Anywhere 17.0 server also functions as a web server and has a MobiLink connector agent.

Landscape Components

The following form the basis of Business Essential Functions Service:

• SAP ERP

The MobiLink server uploads the data from the edge site database and places the data in the transaction tables of the EBEF staging tables.

The synchronization framework processes the uploaded transactions from the transaction tables, then updates SAP ERP data, subsequently updating the object tables, via the delta BAPI wrappers.

• Headquarters

The technical user (for example, mlsyncuser) must have full access rights to the SAP\RIGS folder to

read and write attachments and reports.

• Network

TCP port 5555 must be open between the application server and the MobiLink server.

Prerequisites The software prerequisites for using Business Essential Functions Service include:

Software Version

SAP ERP 6.0 EHP4 or above

SAP Work Manager components (included in the Business Essential Functions Service (Backend Integration Components) download)

SMERP 620_700, plus support packages; SMFND 620_700, plus support packages

SQL Anywhere with MobiLink client Windows: 17.0.8.4003 or above Linux: 17.0.8.4003 or above

MobiLink server (part of SQL Anywhere package)

Windows: 17.0.8.4003 or above Linux: 17.0.8.4003 or above

One of the following database options is also required:

Database Option Version

Microsoft SQL Server Server 2008 or above

Oracle Database 11g or above (also requires Oracle JDK 1.6 or above)

HANA 1.95 or above (also requires HANA Client and HANA Real-Time Replication)

Page 9: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

9

SAP Dynamic Edge Processing System Landscape

Implementation and Configuration – Basic Settings This configuration guide contains the information necessary to configure the SAP system to meet customer requirements. The SAP ERP configuration is done in the implementation guide (IMG; transaction SPRO). It

covers all steps of the implementation process as well as the SAP standard (factory) customizing settings and the system configuration activities. The customizing activities and their documentation are structured from a functional perspective. Installation:

• Install SAP add-ons (SMFND and SMERP) on SAP ERP, and activate permissions. Please refer to SAP Note 2516741 for more information. - SMFND:

o Initial - K-620AGINSMFND.SAR

o All service packs o Files can be found on the SAP DYNC EDGE PROCESSING (SUPPORT PACKAGES AND

PATCHES) downloads page at SMFND 620_700 SUPPORT PACKAGES

- SMERP

o Initial - K-620AGISMERP.SAR

o All service packs o Files can be found on the SAP DYNC EDGE PROCESSING (SUPPORT PACKAGES AND

PATCHES) downloads page at SMERP 620_700 SUPPORT PACKAGES

- EBEF300

o Initial - K-300AGINEBEF.SAR

o All service packs o Files can be found on the SAP DYNC EDGE PROCESSING (INSTALLATIONS AND

UPGRADES) downloads page

• Install MobiLink software (SAP SQL Anywhere 17.0) on the ML synchronization server. Files can be found on the SAP DYNC EDGE PROCESSING (SUPPORT PACKAGES AND PATCHES) downloads page in the SYNC SERVER folder. - If installed on Windows machine

o Select the appropriate platform from the dropdown menu and download the .zip file o Run .msi file that is in the .zip file to install MobiLink Server, SQL Anywhere and tools

- If Installed on Linux machine o Select the appropriate platform from the dropdown menu and download the .zip file o Extract to target directory to install MobiLink Server, SQL Anywhere and tools

• Install MobiLink server scripts and configuration on the ML synchronization server. Files can be found on the SAP DYNC EDGE PROCESSING (SUPPORT PACKAGES AND PATCHES) downloads page in the EDGE BUSESSENTIAL SYNC DATABASE SYSTEM folder by selecting the appropriate database type from the dropdown.

Page 10: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

10

SAP SQL Anywhere Database The SAP SQL Anywhere database is also known as the MobiLink client database. There are a number of technical components in the SAP SQL Anywhere relational database:

• The schema that extends from the staging tables of SAP ERP via MobiLink synchronization. It holds the data to be used by the client application.

• The relational database, which is running as a Windows service

• SAP SQL Anywhere 17.0 is configured and run as a standard database connectivity and HTTP service, which acts as a web server

• Install SAP SQL Anywhere 17.0 on the client system. Files can be found on the SAP DYNC EDGE PROCESSING (SUPPORT PACKAGES AND PATCHES) downloads page in the EDGE DB folder. Make sure to select the appropriate platform for the target system from the dropdown.

Relational database objects used:

• Stored procedures that extend the data as retrieval API

• Stored procedures that accept data and store the data into the relational database

• Web Service to extend the stored procedures

• Events to process background actions such as file transfers

• Synchronization running as a service For more information about SAP SQL Anywhere 17.0 and MobiLink synchronization, see: http://dcx.sap.com/index.html#sqla170/en/html/36323b3ab0c2475bb6ccb140c411aa8a.html Many installation and configuration possibilities are supported, and we strongly recommend that you perform a proper analysis of the best options before beginning your installation. Setting Up MobiLink Server Generating MobiLink System Objects

The MobiLink system objects are provided with your SAP SQL Anywhere installation in the folder <SQL

Anywhere installation>\MobiLink\Setup. The files syncxxx.sql are required for the SAP ERP

database to set up MobiLink.

Relation Database Management System (RDBMS) used as SAP ERP database (consolidated database)

File in setup folder

Microsoft SQL Server Syncmss.sql

Oracle Syncora.sql

HANA Synchana.sql

MobiLink synchronization uses:

• Synchronization scripts, which are called by synchronization events.

• Synchronization stored procedures, which are invoked by synchronization scripts to process the uploads and downloads between remote sites and SAP ERP.

• File share mounted by MobiLink synchronization, which handles uploading and downloading non-relational objects such as reports and attachments. The file share is also used as a deployment database file transfer.

Synchronizing MobiLink Step-by-Step

Prerequisites

• Install Java JDK 1.6 or higher

• Install Apache ANT 1.9 or higher

• Downloaded ML synchronization scripts (See install section above)

Page 11: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

11

Setting up HANA Remote Data Sync (RDSync, HANA only)

Ensure the “Real-Time Replication” option has been installed. Any references to MobiLink Server also apply to RDSync. Set up the ODBC (Open Database Connectivity) connection for RDSync:

o install the HANA client o set the ODBC data source using HDBODBC version 1.00.09.00 or higher from HANA client.

Establish proper credentials for the SAP ERP database to be used by RDSync.

Create user ML_SYSTEM. Any user with USER ADMIN privileges can create the ML_SYSTEM user. o ML_SYSTEM must have the SELECT, UPDATE, INSERT, DELETE privileges for all the objects

within the namespace /EBEF/*.

Move the contents of the ml_hana folder (downloaded above) to a temporary folder. Don’t nest the folder too

deep. For example, your folder structure may look like the following: o C:\EDGE BUSESSENTIAL SYNC HANA-3.0.0\mobilink_hana (this filepath will be represented below

by $ML_FOLDER$) Configure the build script to point to the SAP ERP database. Change the consolidated host/port/uid/pwd in the build.xml file to point at the SAP ERP server.

- cons.host (localhost) - cons.port - cons.uid = ML_SYSTEM - cons.pwd = <ML_SYSTEM password> Note: Replace all "a0a" with your SAP ERP system ID, such as "PRD".

Setting up MobiLink Server (MSSQL Server only)

MobiLink server software (SAP SQL Anywhere 17.0) is installed (downloaded above). Set up the ODBC (Open Database Connectivity) connection for MobiLink:

o set the ODBC data source using MSSQL Native client (install the MSSQL client first). Establish proper credentials for the SAP ERP database to be used by MobiLink.

a) Create a schema from the MobiLink system. This is where the MobiLink system object resides: - CREATE SCHEMA ML_SYSTEM

b) Create a technical user to start MobiLink. o CREATE LOGIN <technical user> WITH PASSWORD ='<password>', DEFAULT_DATABASE =

<database instance> o CREATE USER <technical user> FOR LOGIN <technical user> o EXEC sp_addrolemember 'db_owner', ‘<technical user>' o GRANT VIEW SERVER STATE TO <technical user> o ALTER USER <technical user> WITH DEFAULT_SCHEMA = ML_SYSTEM

Move the contents of the ml_mssql folder (downloaded above) to a temporary folder. Don’t nest the folder

too deep. For example, your folder structure may look like the following:

o C:\EDGE BUSESSENTIAL SYNC HANA-3.0.0\mobilink_mssql (this filepath will be

represented below by $ML_FOLDER$) Configure the build script to point to the SAP ERP database. Change the consolidated host/port/uid/pwd in

the build.xml file to point at the SAP ERP server.

- cons.host - cons.port - cons.uid = <technical user> - cons.pwd = <technical user password>

Page 12: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

12

Setting up MobiLink Server (Oracle)

MobiLink server software (SAP SQL Anywhere 17.0) is installed (downloaded above). Set up the ODBC (Open Database Connectivity) connection for MobiLink:

o set the ODBC data source using the SQL Anywhere Oracle driver (install the Oracle Admin client first).

Establish proper credentials for the SAP ERP database to be used by MobiLink.

a) Create two technical users to serve as schema (ML_SYSTEM as acts as a technical user that starts MobiLink).

o ML_SYSTEM - schema contains all the MobiLink system objects that come with the standard MobiLink product

o ML_R1 - schema contains all the MobiLink synchronization logics that are related to SAP Dynamic Edge Processing

b) Assign proper privileges to the technical users: o GRANT SELECT ON V_$TRANSACTION TO ML_SYSTEM; o GRANT SELECT ON V_$SESSION TO ML_SYSTEM; o GRANT SELECT ON GV_$TRANSACTION TO ML_SYSTEM (for Oracle grid computing); o GRANT SELECT ON GV_$SESSION TO ML_SYSTEM (for Oracle grid computing); o GRANT SELECT ON V_$TRANSACTION TO ML_R1; o GRANT SELECT ON V_$SESSION TO ML_R1; o GRANT SELECT ON GV_$TRANSACTION TO ML_R1 (for Oracle grid computing); o GRANT SELECT ON GV_$SESSION TO ML_R1 (for Oracle grid computing); o GRANT RESOURCE TO ML_SYSTEM; o GRANT CREATE VIEW TO ML_SYSTEM; o GRANT CREATE SYNONYM TO ML_SYSTEM; o GRANT RESOURCE TO ML_R1; o GRANT CREATE VIEW TO ML_R1; o GRANT CREATE SYNONYM TO ML_R1

c) Grant all /EBEF/ table objects (individually) to ML_SYSTEM and ML_R1 the SQL script in the zip

$ML_FOLDER$\cons\sql\grant\application_table_grant.sql.

Move then contents of the ml_oracle folder (downloaded above) to a temporary folder. Don’t nest the folder

too deep. For example, your folder structure may look like the following:

o C:\EDGE BUSESSENTIAL SYNC HANA-3.0.0\mobilink_oracle (this filepath will be

represented below by $ML_FOLDER$) Configure the build script to point to the SAP ERP database. Change the consolidated host/port/uid/pwd in

the build.xml file to point at the SAP ERP server.

- cons.host - cons.port - cons.ml.uid = ML_SYSTEM - cons.ml.pwd = <ML_SYSTEM password> - cons.ml.sync.uid = ML_SYSTEM - cons.ml.sync.pwd = <ML_SYSTEM password> - cons.ml.code.uid = ML_R1 - cons.ml.code.pwd = <ML_R1 password>

Note: You can obtain the host and port number for the system ID from the tnsnames.ora file on the

MobiLink server.

Setting up MobiLink Server/RDSync (all databases)

If using HANA, references to MobiLink Server also apply to RDSync. Install MobiLink system tables in the SAP ERP database using the ML_SYSTEM user.

o Use Apache Ant to run the target install_consolidated_ml. It is in the same folder as the

build.xml file.

Page 13: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

13

Set up a file share to be used by the MobiLink server for file upload and download. This file share is used by MobiLink to transfer files between the client and MobiLink, and between MobiLink and SAP ERP. The file share is also used by SAP ERP for files and reports to be synchronized to the remote site.

o Create the file share as part of the ABAP setup. o Create the necessary file shares on the share drive. The file share defined on the SAP ERP server

must be mounted as a share by MobiLink server, and must be at least two levels deep, for example, C:\MobiLink_fileshare. The attachment folder must be created in C:\MobiLink_fileshare. MobiLink must mount C:\MobiLink_fileshare\XXX as its upload and download folder. A read/write permission should be extended to the MobiLink service. o For the attachment folders (ATTS_BUS2007, ATTS_BUS2012, ATTS_BUS2091,

ATTS_BUS2105) o For the report folder o For the template database folder

Create the MobiLink Server service by modifying and running the ExampleCreateMLService.bat file, which

is located in $ML_FOLDER$\cons\bin. Make sure you have the correct DSN (data source name),

synchronization user ID, password, port, MobiLink installation folder, and so on. The port number should be the port that the MobiLink server is listening on (usually 5555). The file share in the service should reflect the mounted share above.

To start the MobiLink service, add command dbsvc -u SAAPML to the command file.

Modify the Edge Configuration Settings file.

a) Extract the SQL.zip from the business_essential_service_backend.zip folder downloaded

above, into a temporary folder. For example, the folder may look like the following: a. C:\EDGE BUSESSENTIAL SQL-3.0.0\sqlanywhere. (this filepath will be represented below

by $SQL_FOLDER$)

Generate MobiLink synchronization logic.

a) Generate the reference database o Run ant –DsyncUser=ref from the command line under the directory path $SQL_FOLDER$.

b) Configure SyncObjectGenerator file under folder $ML_FOLDER$.

o Under the folder $ML_FOLDER$util\SyncObjectGenerator modify build.xml:

- Modify the target “generate” to change the –C switch for the SAP client number, for example: - <arg value="-C" /> - <arg value="200" /> - Modify the –S switch to specify the schema for the SAP ERP tables, for example: - <arg value="-S" /> - <arg value="SAPERP" />

c) Generate synchronization logic by running ANT from the command line in

$ML_FOLDER$\util\SyncObjectGenerator (this runs the default target).

Install MobiLink support tables by running the following under directory $ML_FOLDER$:

o ANT install_sync_support_schema Install synchronization logic under directory $ML_FOLDER$:

o ANT build_sync_logic Generate a template database:

a) Set up a template user mapping in the SYNC_USER_MAPPING table in the consolidated or SAP ERP

database. o Connect to the database and add the following SQL:

- INSERT INTO SYNC_USER_MAPPING VALUES;

o Within $SQL_FOLDER$, modify the following variables in the file build.xml

- Location of the MobiLink server, for example: - <property name="ml.host" value="${ml.host.z0v}" /> - <property name="ml.port" value="${ml.tcpip.port}" /> - Location of the file share to store the transfer file, for example: - <property name="ml.ftr_share" value="\\myfileshare\ SAP\RIGS”/>

Generate a template database to be downloaded to the folder RIG_XXXX for each RIG under the folder

$SQL_FOLDER$ by doing the following:

Page 14: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

14

o Generate an empty remote database. o Make sure the following is correct: <property name="rem.db.rootDir"

value="${ml.ftr_share}" /> - ANT –DsyncUser=RIG_XXXX where XXXX is the plant number (specifically SAP ERP field WERKS)

o Populate the remote database by performing an initial sync:

- Go to the $SQL_FOLDER$\bin folder and modify the scheduled_template_sync.cmd

(scheduled_template_sync_linux.cmd for deploying to linux machines) command file to point

to the proper plant template database. For example, if the plant number is 0101: - REM template 0101 - dbmlsync -c "dsn=DEP_RCS_rem_RIG_0101;uid=saap;pwd=sql123" -x -qc -os 4M -o "c:\MobiLink\logs\dbmlsync_log_RIG_0101" - dbstop -c "dsn=DEP_RCS_rem_RIG_0101;uid=saap;pwd=sql123" - In the same file change the ml_ftr_share property to point to the proper fileshare location, the line should look like the following: - SET ml_ftr_share=\\server555.sap.corp\MobiLink_Fileshare\DEP\RIG_0101\ - In the same file set the rem_host_name to the host name of the remote site and set rem_root_dir to the file path of the root directory being used - Run the batch and pass in the sync user as the only argument to the batch script

- e.g. scheduled_template_sync.cmd 0101

SAP ERP CONFIGURATION

Project Administration SAP Dynamic Edge Processing implementation can either be documented in a separate project or embedded in an existing implementation project. The language must be English. Documents to be uploaded into SAP Solution Manager must use a common readable format (PDF is recommended). SET-UP REQUIREMENTS

There are a few things that need to be in-place to complete the backend configuration

- Install SMFND and SMERP components on the SAP ERP system - The user making the changes must have the following SAP ERP authorizations (to create users in

Agentry):

Authorization Object Field Value

S_ICF ICF_FIELD SERVICE

S_ICF ICF_VALUE SYCLOADM

S_TCODE TCD /EBEF/*

S_TCODE TCD /SYCLO/*

SAP ADD-ON CONFIGURATION

Overview SAP Dynamic Edge Processing implementation requires some customer-specific configuration in SAP ERP. Install SMFND and SMERP components on the SAP ERP system. SAP Dynamic Edge Processing utilizes these two components from SAP Work Manager and SAP Inventory Manager.

There are configuration tables that are specific to SAP Dynamic Edge Processing: /EBEF/CONF_SYNC,

/EBEF/CONF_SYNCP, /EBEF/CONF_SYNCM, /EBEF/LOCALUSER, /EBEF/S_ROLES and /EBEF/A_DEF. Maintain

these tables using transaction SM30.

You must also configure the file transfer that occurs for attachments, both to and from remote sites. Finally, define background jobs to control the synchronization process using transaction SM36.

Page 15: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

15

GENERAL CONFIGURATION

SAP Work Manager Activate BCSET (SCPR20) Activate the DEP specific Work Manager Component. This is the component that all the following changes will be made on.

1. Go to SCPR20

2. Enter /EBEF/WORK_MANAGER_53 into the BCSET field

3. Click the ‘Activate BC Set’ icon to activate the BCSET

4. Copy Variable field values (click ‘Copy Values’) (if pop-up appears)

5. Click ‘Execute’ on the next pop-up (to overwrite data)

Page 16: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

16

6. A message should appear saying ‘Activation Successfully completed’

Create PMBATCH user in SAP ERP Create users in SAP ERP via transaction SU01. Create user PMBATCH as a communication user who has

authorization to execute batch jobs. Make sure to create users with roles according to their responsibilities so that business transactions submitted by each user are processed correctly in the batch jobs. For example, users who submit edits to work orders should have roles that allow them to edit work orders for the appropriate plant and work order types.

1. Go to transaction SU01

2. Enter the user PMBATCH and click the ‘Create’ icon 3. Assign permissions to the PMBATCH user so that they can execute batch jobs

Create PMBATCH user for Agentry and SAP ERP For data synchronization to operate, create the PMBATCH user in the Agentry system for both the SAP Work Manager and SAP Inventory Manager solutions. Use the transaction /SYCLO/ADMIN.

The following SAP ERP authorizations are required to create users in Agentry:

Authorization Object Field Value

S_ICF ICF_FIELD SERVICE

S_ICF ICF_VALUE SYCLOADM

S_TCODE TCD /EBEF/*

S_TCODE TCD /SYCLO/*

The first user you need to set up in Agentry is the batch user PMBATCH, which runs batch jobs in SAP ERP.

2.

1. Go to /n/syclo/admin and login 2. In the System Administration & Monitoring Portal select Administration → User Management and

click ‘Create’

Page 17: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

17

3. Fill in details for PMBATCH, work manager user and Save

Mobile Application:

User Name: Middleware License No:

Device User ID:

EBEF Work Manager 5.3.0 PMBATCH SAP_WORK_MANAGER_53 PMBATCH

4. Create another user – PMBATCH for Inventory manager and Save

Mobile Application:

User Name: Middleware License No:

Device User ID:

EBEF Inventory Manager 3.2.0 PMBATCH SAP_INVENTORY_MANAGER_32 PMBATCH

Page 18: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

18

Configure Agentry System Technical setting Next, maintain the technical settings in the Agentry configuration panel.

1. Go to transaction /n/syclo/configpanel

2. In Agentry SAP Framework Configuration, go to Technical Settings. 3. The Technical Settings Detail screen should already be populated; if it is not, click Add, then

save the screen with the information that appears in the fields. 4. Click ‘Change’, edit the fields and click ‘Save’

5. A confirmation of the save appears:

Configuration Tables There are a number of configuration tables. Some tables have existing entries; others require customer-specific modifications. Access these tables through transaction SM30 or through a customer-specific

transaction.

Page 19: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

19

- Maintain remote plant synchronization master (/EBEF/CONF_SYNC) - this table should already be set up

with all the valid settings for SAP Dynamic Edge Processing. If you do need to modify it, or view its

entries, use transaction /EBEF/CONF_SYNC.

- Maintain remote plant synchronization - BAPI Wrapper Parameters (/EBEF/CONF_SYNCP) - this table

should already be set up with all the valid settings for SAP Dynamic Edge Processing. If you do

need to modify it, or view its entries, use transaction /EBEF/CONF_SYNC.

- Maintain remote plant synchronization of parameter mapping (/EBEF/CONF_SYNCM) - you should need

to modify this table only for a few default values, as specified in this document. Do not modify any other values, as they are the valid settings for SAP Dynamic Edge Processing. To view the entries,

use transaction /EBEF/CONF_SYNCM.

- Maintain roles and security (/EBEF/S_ROLES) - this table specifies the system functionality that can be

performed by each customer-defined role or work center. (Note work centers for the client functionality are not the same as SAP ERP work centers). Typically, a role will perform only portions of a business process. For example, an electrician role or work center may not have the ability to create work orders and add components. A specific implementation can utilize this table to govern

access to certain features in a user interface. Maintain the table using transaction /EBEF/ROLES.

- Maintain Remote Site Users (/EBEF/LOCALUSER) - this table has a link between front-end user names

and back-end user names. It also has a link to the role assigned to the user (see table

/EBEF/S_ROLES). Maintain the table using transaction /EBEF/LOCALUSER.

- Maintain Directory for Attachment File Transfer (/EBEF/A_DEF) - this table includes the directory and

subdirectory locations for the folder used to transfer attachments between SAP ERP and remote

sites. Maintain the table using transaction /EBEF/DEF.

- Maintain Syclo GUID (/syclo/mdw00) for back-end batch user (such as PMBATCH) - this table

provides a GUID for each back-end user, which is used for remote site users (/EBEF/LOCALUSER).

The GUID is required for some transactions, such as approvals, to run correctly. In addition, before you set up batch jobs, you must also generate a valid GUID for the batch user ID PMBATCH. Maintain this table using transaction /syclo/admin and selecting User Management.

CONFIGURATION FOR SYNC JOBS

For synchronization jobs to execute properly, you must configure the following components Configure Background RFC Queue Assign the SAP ERP instance to an RFC Server Group

1. Go to transaction rz12

2. Assign the SAP ERP instance to a new RFC Server group

i. Click the ‘Create’ icon to create a new RFC Server Group

Page 20: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

20

ii. Select the server group and enter a name for the Instance. Then click ‘Copy’ to add

the instance to the list 1. The logon group can be named based on company preferences. 2. The instance name is typically the concatenation of the server name,

system ID, and instance number (for example, USCHI3100_PRD_00).

iii. The instance should be added to the list. Make sure the status indicator is green:

iv. Take note of the logon group for the ‘Create RFC Inbound Destination’ step

3. Assign the SAP ERP instance to a server group

Create an RFC (Logical) Destination Create an RFC destination to connect from the ABAP system to the external system

4. Go to transaction SM59 to define a logical destination

5. Select ‘Logical Connections’. If EBEF_LOCAL is not created click the ‘Create’ icon

Page 21: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

21

6. Enter details and ‘Save’

Page 22: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

22

7. Select ‘EBEF_LOCAL’ and click the ‘Edit’ icon (pencil). Select the ‘Logon & Security’ tab

Page 23: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

23

8. Define the logon info for the logical destination, then click ‘Save’.

9. Navigate to the ‘Special Options’ tab and set the transfer protocol to ‘Classic with bgRFC’

10. Save the logical destination info.

Create an RFC Inbound Destination You must create the background RFC inbound destination in each system to run the synchronization batch job.

11. Go to transaction SBGRFCCONF

Page 24: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

24

12. Select the ‘Define Inbound Destination’ tab and click the ‘Create’ icon

13. Enter in applicable details:

a. Define the Inb. Dest. Name as /EBEF/SYNC_INB_TRANS b. Define the Logon/server group as the RFC server group created in transaction

RZ12

c. In the Add Queue Prefix field enter /EBEF/SYNC, then click Add (to add the prefix)

Page 25: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

25

d. Click Save on the popup. /EBEF/SYNC_INB_TRANS will be added to the list.

14. Save the bgRFC Configuration.

Create Supervisor Destination Define EBEF_LOCAL as a supervisor destination.

1. Go to transaction SBGRFCCONF to define a supervisor destination

2. Select the Define Supervisor Dest tab 3. Click the Create icon and set the Destination to the appropriate RFC connection. Enter in the

PMBATCH user and password.

4. Click ‘Save’ to save the supervisor destination

Page 26: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

26

PLANT SPECIFIC CONFIGURATION OVERVIEW

SAP Dynamic Edge Processing groups work by maintenance plant, which must also be the same Plant ID as the materials management plant and the maintenance planning plant. An edge site is considered a single plant. The functional locations and equipment used at the edge site must be linked or extended to the edge plant. Define filters for the respective plant and order types that will be used We recommend that you consider filters for Equipment and Functional Location as well as the Planning Plant (Planning Plant instructions are below).

Note: Make sure that the data filters do not exclude plants of interest. For example, if you are implementing maintenance for plant 1000, ensure the data filters are set to include data for maintenance plant 1000. You can learn about defining filters in the SAP Work Manager documentation. SAP Dynamic Edge Processing does not currently use parameters, so you can set to inactive any filters using parameters.

1. Go to transaction /n/syclo/configpanel

2. Select ‘Mobile Data Object Configuration’ 3. Expand ‘CT – Complex Table’

Page 27: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

27

4. Double Click /EBEF/SWM53_PM_PLANNING_PLANT to select it from the CT List

5. Go to the ‘Data Filter’ Tab and expand the ‘GET_PLANNING_PLANT’ section in ‘Defined Filters’

6. Click the PLANNING_PLANT filter and click the ‘Change’ icon at the top of the page to edit

Page 28: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

28

7. Click the ‘Create’ icon to add a new rule (for planning plant) to the list. If there are already rules listed, ensure they are for the plants being used.

8. Change the following fields: DOF Rule Type: Static Value in Range Format Sign: Inclusive Option: = Low Value: <Plant Used> (in this case 1000) High Value: only use if plants are in sequential order. If being used, enter the highest plant number here. Click ‘Create’ to add the plant to the list:

Page 29: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

29

9. If the plants used are not sequential, each individual plant must be added to the list. To add another plant to the list, click ‘Create’

10. Enter the applicable details:

DOF Rule Type: Static Value in Range Format Sign: Inclusive Option: = Low Value: <Plant Used> (in this case 1000) High Value: only use if plants are in sequential order. If being used, enter the highest plant number here.

Page 30: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

30

11. Repeat steps 9-10 for all plants that need to be added. 12. Once all plants are added, click ‘Save’ to save your changes.

13. Select /EBEF/SWM53_PLANNING_PLANT_ORD_TYPE from the CT list

Page 31: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

31

14. Go to the ‘Data Filter’ table, expand the ‘Defined Filters’ section and open the PLANNING_PLANT

15. Click ‘Change’ to edit the data object.

16. ‘Create’ icon to add a new rule (for planning plant) to the list. If there are already rules listed, ensure

they are for the plants being used.

17. Change the following fields: DOF Rule Type: Static Value in Range Format Sign: Inclusive Option: = Low Value: <Plant Used> (in this case 1000)

Page 32: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

32

High Value: only use if plants are in sequential order. If being used, enter the highest plant number here. Click ‘Create’ to add the plant to the list:

Page 33: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

33

18. If the plants used are not sequential, each individual plant must be added to the list. To add another plant to the list, click ‘Create’

19. Enter the applicable details:

DOF Rule Type: Static Value in Range Format Sign: Inclusive Option: = Low Value: <Plant Used> (in this case 1000) High Value: only use if plants are in sequential order. If being used, enter the highest plant number here.

Page 34: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

34

20. Repeat steps 18-19 for all plants that need to be added. 21. Once all plants are added, click ‘Save’ to save your changes.

22. Click Save. Use the Same customizing/transport request as before (if prompted). Equipment Classification set-up If Equipment classification is not used (or synchronized), set the Equipment Classification details so it is not included in data updates.

Page 35: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

35

23. Go to tcode /n/syclo/configpanel

24. Select Mobile Data object Configuration

25. From the Data Object Navigation Tree, select ‘DO-Standard Data Object’

Page 36: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

36

26. Select /EBEF/SWM53_CLASSIFICATION_GENERIC

27. In the details, select the Data filter tab, and select ‘Filter-CLASSTYPE’ from the ‘Defined Filters’ section

Page 37: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

37

28. Click the ‘Change’ button at the top of the screen to edit the filter

29. Edit the filter rules and Save changes.

DOF Rule Type: Static Value in Range Format Sign: Inclusive Option: = Low Value: ZZZ (this excludes all data for the initial and delta loads) Active Flag: <selected>

WORK ORDER CONFIGURATION

Overview

SAP Dynamic Edge Processing must be able to create work orders that are external to SAP ERP, and upload and integrate them with plant maintenance. This requires a custom work order type that uses external numbering. The work orders are generally either for maintenance or for external services. There are also requirements for user status profile. The following list is an overview of the steps to be completed; you must complete the first two items first.

- Create Plant Maintenance (PM) order type ZM01 (copy of PM01) - Assign order type ZM01 to maintenance plants - Create and assign external numbering - Maintain user status profile - Create control keys EXT2 (copy of PM03) and ZINT (copy of PM01) - Maintain default control key for order type ZM01

Page 38: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

38

- Create activity type for EBEF orders - Assign maintenance activity types to order type ZM01 - Maintain default activity type for order type ZM01 - Define control parameters for completion confirmations for order type ZM01

The setup for work orders is done primarily by customizing the ECC application (transaction SPRO). You may

also need to enter or change some Agentry parameters. Create PM Order type ZM01 Create order type ZM01 (a duplicate of PM01 order type). The ZM01 work order type is the order type used for work orders created on the remote site.

1. Go to SPRO (or transaction OIOA to skip steps 2 & 3)

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> Functions and Settings for Order types -> Configure Order Types

4. On the ‘Configure Order Types’ screen, select the PM01 item and click the ‘Copy As’ icon

Page 39: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

39

5. Change the Order type to ‘ZM01’ and edit the description

6. Save Changes. (you may need a new transport request for this) ZM01 item will now display in the list.

Assign Order type ZM01 to EBEF MTCE Plants Assign the order type ZM01 to the Plants that are being configured so that work orders created on the remote site can have order type ZM01.

1. Go to SPRO (or transaction OIOD to skip step 2)

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> Functions and Settings for Order types -> Assign Order Types to Maintenance Plants

4. If ZM01 has not already been assigned to configured plants, click to ‘Create New Entries’

Page 40: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

40

5. Enter the Planning Plant and Order type you want to add to it, then Save

6. New Record will be added to the list (with the order type assigned to the plant)

Create External Number Range – Add to Group Create an external number range of globally unique numbers that will be used for work orders created at the remote site. Assign order type ZM01 to that number range (and any other order types that are used for WO Create on the remote site). All work orders at the remote sites are created using this external number range.

1. Go to SPRO (or transaction OION to skip step 2)

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> Functions and Settings for Order types -> Configure Number Ranges

4. If there is no group for external numbering, Create one (for example, External A – ZZZZZZZZZZZZ)

Page 41: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

41

a. Click the ‘Maintain Groups icon

b. Click the ‘Create’ icon to create a new group

c. Enter a group title and a number range, then save. The Number range must be an available

range of globally unique numbers.

d. New number range will be added to the list and you can add order types to it

5. Assign order type ZM01 to the group you created with the corresponding number range you assigned (in the example, the group that supports numbers between VZZZZ0000001 and VZZZZ999999)

a. Go to t-code OION

b. Click ‘GoTo’, then ‘Groups’ then ‘Maintain’

c. The order type should display in the ‘Non-Assigned Elements’ section

Page 42: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

42

d. Select the desired order type (ZM01) and click the ‘Element/Group’ button in order to assign it to a specified number range

e. Select the appropriate number range and click the ‘Copy’ icon

f. The order type should now appear in the number range group you assigned it to

g. Save your changes

Maintain User Status Profile Maintain a user status profile that specifies a list of valid user statuses, then assign that user status profile to relevant order types that are used for work orders (in this case PM01 and ZM01)

1. Go to SPRO (or transaction OIBS to skip step 2,3)

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> General Data -> User Status for Orders -> Define Status Profile

4. Create a user status profile, for example EBEF_WO, that starts as a copy of the one used for order type

PM01. This sets the status options for work order create.

a. Copy the EBEF_WO Status profile and rename, OR if it doesn’t exist,

b. Click the ‘Create’ icon

Page 43: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

43

c. Fill in the details for the status profile and click ‘Continue’

d. The EBEF_WO entry will be added to the status profile list:

Page 44: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

44

e. Double click the entry, enter the following status details and Save

5. Assign this new user status to both PM01 and ZM01 order types

a. Go to SPRO (or transaction OIOG to skip step 2,3)

b. Click ‘SAP Reference IMG’ c. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> General Data -> User Status for Orders -> Define Status Profile, then select ‘Assign User Statuses to Order Types’ from the options displayed and click ‘Choose’

d. Add EBEF_WO as the Status profile (‘Stat.Prof.’) for PM01 and ZM01 Order Types, and Save.

Page 45: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

45

Create Control Keys EXT2 and ZINT Create control keys EXT2 (external) and ZINT (Internal) that can be used to specify external and internal work orders respectively. Any additional control keys used can also be specified here.

1. Go to SPRO

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> Functions and Settings for Order Types -> Control Key -> Maintain Control Keys

4. Select the control key PM01 from the menu bar and click the ‘Copy As’ icon. If there is no pre-existing PM01 control keys, click the ‘New Entries’ button to create a new control key

Page 46: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

46

5. Enter in the following data for control key ZINT, and Save. ZINT Control Key entry will be added to the list.

6. Select the control key PM03 from the menu bar and click the ‘Copy As’ icon. If there is no pre-

existing PM03 control keys, click the ‘New Entries’ button to create a new control key

7. Enter in the following data for control key EXT2, and Save. EXT2 Control Key entry will be added

to the list.

Maintain Default Control Key Order Type ZM01 Set the default control key for work orders with order type ZM01. In this case, we are setting it to ZINT.

1. Go to SPRO (or t-code OIO6 to skip steps 2&3)

Page 47: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

47

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> Functions and Settings for Order Types -> Control Key -> Maintain Default Values for Control Keys for Order Types

4. For each combination of Planning Plant and Order Type ZM01 assign control key ZINT and save: a. Double click the entry for the Planning Plant/Order Type ZM01

b. Make sure the form is in editable mode, enter the control key ‘ZINT’ and click ‘Save’

c. Do this for all combinations of Planning Plant and Order Type ZM01

Page 48: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

48

Create Activity Type for ZM01 Orders Create Activity types to be used for ZM01 Orders. Activity types specify the type of activity a work order is being created for (for example: Regular Maintenance, Inspection, etc.).

1. Go to SPRO

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> Functions and Settings for Order Types -> Maintenance Activity Type -> Define Maintenance Activity Types

4. Click the ‘New Entries’ to add a ‘Maintenance Order’ activity type 5. Enter the Maintenance Order activity type details and click ‘Save’

Page 49: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

49

6. The Maintenance order that was created will be added to the list

Assign Maintenance Activity Types to Order Type ZM01 The desired maintenance activity types to be used at the remote site must now be assigned to order type ZM01 (and any additional order types that are used for work order creation at the remote).

1. Go to SPRO (or t-code OIO5 to skip steps 2&3))

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> Functions and Settings for Order Types -> Maintenance Activity Type -> Assign Valid Maintenance Activity Types to Maintenance Order Types

4. To assign a maintenance activity type, click the ‘New Entries’ button

Page 50: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

50

5. Enter in the order type & the maintenance activity types being assigned to that order type

6. Click ‘Save’ to save the new entries 7. Activity types that have been assigned are added to the list

Maintain Default Activity Type for Order Type ZM01 Assign the default activity type (created in ‘Create Activity Type for ZM01 Orders’) to be used for each order type and save the assignment. Set the default activity type for all order types that are used in work order creation (see below for example using ZM01).

1. Go to SPRO (or go to transaction OIO4 to skip steps 2 &3)

2. Click ‘SAP Reference IMG’ 3. In the tree, navigate to Plant Maintenance and Customer service -> Maintenance and Service

Processing -> Maintenance and Service Orders -> Functions and Settings for Order Types -> Maintenance Activity Type -> Default Values for Maintenance Activity Type for Each Order Type

4. Click the ‘New Entries’ button. 5. Enter in the Order Type and Maintenance Activity type you want to assign to it. Add multiple line

items as desired. Click ‘Save’ to complete the assignment.

Page 51: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

51

6. The activity type is now assigned to the specified order type:

Configure Automatic Notification Creation During Work Order Creation For SAP Dynamic Edge Processing, a notification must be created automatically during work order creation. The details of the notification being created can be specified using SPRO.

1. Go to transaction SPRO and click ‘SAP Reference IMG’

2. Navigate to Plant Maintenance and Customer Service -> Maintenance and Service Processing -> Maintenance and Service Orders -> Functions and settings for Order Types -> Define Notification and Order Integration

3. Click the ‘New Entries’ button to add in a new order type entry

4. Enter in entries for ZM01 and any other work order type that will be used by SAP Dynamic Edge

Processing.

Page 52: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

52

Assign the appropriate notification type to the order (In this case we used M1 – Maintenance Order). Select the ‘Notification’ and ‘Long Text’ checkboxes for each order type

5. Save the entries

Define Control Parameters for Completion Confirmations Maintain Control parameters for completion confirmations for maintenance and service orders. You must configure the parameters for each plant and order type combination

1. Go to transaction SPRO (or transaction OIOR to skip steps 2 & 3)

2. Click ‘SAP Reference IMG’ 3. Navigate to Plant Maintenance and Customer Service -> Maintenance and Service Processing ->

Completion Confirmations -> Define Control Parameters for Completion Confirmations 4. A list of Plants and Order Types are displayed. Users can click a line item and view the

confirmation parameters

5. Click the ‘New Entries’ button to add a confirmation parameter to the list

Page 53: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

53

6. Enter the Plant and Order Type and click ‘Save’ to add the item to the list

Page 54: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

54

7. Ensure entries are created for order types ZM01 and any other work order type that will be used by SAP Dynamic Edge Processing.

PURCHASE REQUISITION SPECIFIC CONFIGURATION

Enhance CI_EBANDB and CI_EBANDBX Structures Since this is an offline solution and the user can create purchase requisitions at a remote site while disconnected, the request to create a requisition made by the solution interface must assign a temporary unique requisition number. When the requisition created on a remote site synchronizes with SAP ERP, a permanent purchase requisition number is generated by SAP ERP. To maintain the association between the local requisition number created at the remote site and the SAP ERP requisition number, enhance structures

CI_EBANDB and CI_EBANDBX with the zzpr_no_local field. The field zzfreight_mode is also added to the

structures to support the use of freight modes at the remote site. 1. Go to se11

Page 55: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

55

2. Enter table name ‘EBAN’ and click ‘Display’

3. Double click the data element ‘CI_EBANDB’

4. Pop-up appears asking if you want to create the structure. Click ‘Yes’ 5. Enter the following details and click ‘Save’

Page 56: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

56

6. Specify package $TMP and save

7. Click the ‘Activate’ icon to activate the structure:

The activation log is displayed

Page 57: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

57

8. Go back to the EBAN table and note that the ZPR_NO_LOCAL and ZFREIGHT_MODE1 items you added

to CI_EBANDB are displayed:

Add Components to Structure CI_EBANDBX

1. Go to se11

2. Enter ‘CI_EBANDBX’ under ‘Data Types’ and click ‘Create’

3. Select ‘Create Structure’ 4. Enter in the following details and save:

Page 58: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

58

5. Assign package $TMP

6. Click the ‘Activate’ icon to activate the structure. The Activation Log will be displayed

APPEND STRUCTURE CI_EBANDBX to table EBAN Implement BADI /EBEF/BADI_MM_PREQ_NUM_LC To pass the local assigned requisition number and freight mode from the solution interface to the newly added fields in CI_EBAN, implement the BAdI /EBEF/BADI_MM_PREQ_NUM_LC in your system and follow the

sample implementation class /EBEF/CL_BADI_IMPL_SAMPLE.

1. Go to se18

2. Enter BAdI /EBEF/BADI_MM_PREQ_NUM_LC and click ‘Display’

3. On the screen displayed click the ‘Create BADI Implementation’ icon

Page 59: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

59

4. On the screen that appears, enter the Enhancement Implementation name

‘ZBADI_MM_PREQ_NUM_LC_IMPL’, a short description and click ‘Continue’

5. Assign package $TMP and save

6. On the ‘Create BAdI Implementation’ screen enter the following details and click ‘Continue’:

7. Choose to ‘Copy Sample Class’ of /EBEF/CL_BADI_IMPL_SAMPLE

8. Assign package $TMP and Save:

Page 60: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

60

9. The Enhancement Implementation screen will now display:

10. Click the ‘Activate’ icon to activate the enhancement implementation

11. Select all objects to activate and click ‘Continue’ UNCOMMENT CODE IN COPIED CLASS Once the implementation class is copied, uncomment the code to pass the local assigned requisition number and freight mode from the solution interface to the newly added fields in

CI_EBAN.

Page 61: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

61

12. Go to the ‘Technical Details’ tab and double click the ‘Changed Object’ for the class:

13. On the Methods tab, select the first line item and click the ‘Source Code’ button:

14. Once the code displays, click the ‘Edit’ icon:

Page 62: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

62

15. Uncomment out the code and ensure the fields from the sample class match the newly added

fields in CI_EBAN (ZPR_NO_LOCAL for example). Save the changes.

16. Return to the previous page, select the 2nd method and click the ‘Code’ icon:

Page 63: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

63

17. Uncomment out the code and ensure the fields from the sample class match the newly added

fields in CI_EBAN. Save the changes.

18. Save the code changes. 19. Return to the previous page, select the 3rd method and click the ‘Code’ icon 20. Uncomment out the code and ensure the fields from the sample class match the newly added

fields in CI_EBAN. Save the changes

21. Click the ‘Activate’ icon to activate all the methods

Page 64: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

64

22. Select the Methods that were edited and click the ‘Continue’ icon

Change Purchase Requisition Order Type The default requisition order type in table /EBEF/CONF_SYNCM is NB. This forces all purchase requisitions to

be created as type NB.

If you do not want purchase requisitions to be created as requisition type NB (standard procurement), you

can configure it as follows: 1. Go to SPRO

2. Click the ‘SAP Reference IMG’ button 3. Navigate to IoT Edge Processing -> Dynamic Edge Processing -> Backend Configuration ->

Synchronization Parameter -> Maintain Synchronization Parameter Mapping

4. Find entries with Synch Key : PRCRT and PRUPD, and parameter field ‘PR_TYPE’.

Page 65: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

65

5. Double click the items to view the details:

6. Mapped field is defaulted to NB (standard procurement). Change this to a valid purchase

requisition order type (if desired) and Save. Do not change any other value.

Change Purchase Group The default requisition purchase group in table /EBEF/CONF_SYNCM is 001, which forces all purchase

requisitions created in purchasing group to be 001.

If you do not want to have 001 as the purchasing group, you can configure it as follows:

1. Go to SPRO

2. Click the ‘SAP Reference IMG’ button 3. Navigate to IoT Edge Processing -> Dynamic Edge Processing -> Backend Configuration ->

Synchronization Parameter -> Maintain Synchronization Parameter Mapping

Page 66: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

66

4. Find entries with Synch Key : PRCRT and PRUPD, and parameter field ‘PUR_GROUP’

5. Double click the items to view the details 6. Change the ‘mapped field’ if desired to a valid purchasing group type. Save the changes. Do not

change any other value.

CONFIGURATION OF FILE TRANSFER

SAP Dynamic Edge Processing requires a file folder on the underlying server (UNIX/Linux/Windows) for passing attachments files between SAP ERP and remote sites. You may need to request this from your system administrator if one doesn't already exist.

Page 67: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

67

The folder must be accessible from SAP ERP and from the MobiLink server. This section shows the setup for SAP ERP. File transfer setup for MobiLink can be found in Setting Up MobiLink Server. Note: The directory name should be at the same folder level as the ATTS files. Configure Attachment File Transfer Settings

Use the table /EBEF/A_DEF to maintain the directory for attachment file transfers. This table identifies the

directory and subdirectory locations for the folder used to transfer attachments between SAP ERP and

remote sites. Maintain the table using transaction /EBEF/DEF. To complete this task, complete the following

steps: Type SM30 into the transaction dropdown.

Type /ebef/a_def into the Table/View lookup, and click Display.

Make sure the configuration table has entries for each of the following business objects that use attachments:

o BUS2007 - Work Order attachments

o BUS2012 - Purchase Order attachments

o BUS2091 - Service Entry attachments

o BUS2105 - Purchase Requisition attachments

CLASSTYPE BO

CLASSNAME BUS2007

DIRPATH <the directory path from AL11>

SUBDIR Concatenate any subdirectory assigned with the business object, for example, RIGS/ATTS_BUS2007

RIGDEP 'N' (this is important - if 'Y', the program will look for another subdirectory)

CHANGED_TS Leave this blank - it will be used by programs

Note: You can set the directory path, however, the subdirectory for attachments folders must always match ATTS_<classname>, or the subdirectory won’t be recognized.

Configure Reports Management Settings Configuring reports management settings requires two tasks. First, configure intervals for the number range object /EBEF/REPO for use of the reports, then maintain a file share folder.

Configure Intervals for number range object /EBEF/REPO

The configuration of intervals for the number range object /EBEF/REPO is required for use of the reports. You

must create intervals in each system for this number range object using the transaction SNRO: 1. Go to transaction SNRO

2. Enter object /EBEF/REPO

3. Click the ‘Interval Editing’ button

Page 68: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

68

4. Click the ‘Change Intervals’ button to edit the interval

5. Add a line item (by clicking the ‘Insert Line’ icon) and enter the number range from 0000000001 to

1000000000, then Save.

Maintain a File share folder Create a file share folder for each remote site so that the relevant reports can be accessible on each remote.

6. Enter /n/ebef/manage_reps into the transaction dropdown.

7. Enter the remote sites you want to maintain a reporting schedule for

8. Create a folder for each remote site (for example, RPT_1000) so each has its own file share.

Create the Subdirectories on the SAP ERP server Create subdirectories in the shared file folder in order to facilitate the use of attachments on the Remote site. Attachments added (at the remote site or from ERP) are put into the folder of the relevant business object and accessible to all users of the system.

1. From the windows Explorer, access the share folder on the SAP ERP server 2. Create a subfolder for each business object that will use attachments. To do this, combine

‘ATTS_’ with the business object class name, for example, ATTS_BUS2007. Subdirectories: (ATTS_BUS2007, ATTS_BUS2012, ATTS_BUS2091, ATTS_BUS2105)

Page 69: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

69

The folder structure will display as follows:

Define the directories in SAP ERP Define the shared directory in ERP to facilitate the sharing of reports and attachments to/from ERP.

1. Go to transaction AL11

2. Click the ‘Configure User Directories’ icon:

3. Selected file-share directory

4. Save the new directory.

Page 70: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

70

Add entries to the EBEF configuration table /EBEF/A_DEF

Add entries to the table /EBEF/A_DEF so that attachments can be correctly mapped for each business

object. 1. Go to se11, and enter table name /EBEF/A_DEF to add entries to the table (for file transfer)

2. Click ‘Change’ to edit the table 3. Add the following fields to the table (/Verify that they are there) and save

4. Now go to transaction se16

Page 71: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

71

5. Enter table name /EBEF/A_DEF and click the ‘Create’ to add entries to the table

6. Click the ‘New Entries’ button to add a line

7. Add in a class for one of the sub-folders of the file directory and Save.

Page 72: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

72

8. Now add in an entry for each of the remaining sub-directories:

Page 73: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

73

9. Return to the se16 screen and view the ‘Table Contents’ for /EBEF/A_DEF

10. The added line items should be displayed

CONFIGURATION OF WEB DYNPRO SERVICE

This solution uses Web Dynpro to launch your application. Make sure the Web Dynpro service is enabled in each system using the transaction SICF. After configuration, you should have a service called ebef under

your Web Dynpro runtime service as shown below (make sure you also activate the SYCLO service) 1. Go to transaction SICF

Page 74: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

74

2. Click the ‘Execute’ icon on the search screen

3. Navigate to Default_host -> Sap -> bc -> webdynpro -> ebef in the file tree:

**note if ebef and TRANMON are deactivated

Page 75: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

75

4. If deactivated, select the ‘ebef’ item. Click the ‘Service/Host’ from the menu and click ‘Activate’

5. Do the same for the ‘TRANMON’ item if applicable RUN INITIAL LOAD

Before scheduling the background (delta) jobs, you need to run the initial load for the following tables: /EBEF/GET_DT - Get Data Tables

/EBEF/GET_CT - Get Complex Tables

/EBEF/GET_OBJ - Get Object Tables

/EBEF/ATTACHMENTS_DOWN - Download Attachments from SAP ERP Business Objects to Remote

Sites

Once the initial loads are complete, schedule your regular background jobs as per Error! Reference source not found.. The Initial load and the delta background jobs essentially run the same program (for CT, DT and OBJ tables), but the Initial Load must first run successfully to store a timestamp in the database. Any subsequent runs (background delta jobs) will leverage that timestamp to see if anything has changed and apply those changes. If the Initial load has not been completed before running the background jobs, the background jobs will basically be running an initial load again (on a scheduled basis) and will error. Data Tables - Initial Load Because the initial load is only run once, we do not need to define variants for the data loads.

1. Go to SE38

2. Enter program /EBEF/P_GET and click ‘Execute’

Page 76: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

76

3. On the screen that is displayed, click ‘Fill Data Tables’ and select the ‘Reset’ option

4. From the top menu, select ‘Program’ then ‘Execute in Background’

5. Click Continue on the ‘Background Print Parameters’ screen

Page 77: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

77

6. Select an Immediate Start Time and click ‘Save’

7. A notification will appear saying that the background job was scheduled

8. To check the job results, go to sm37

Page 78: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

78

9. Search for job name /EBEF/P_GET, and click ‘Execute’

10. The job details (and status) will be displayed. 11. Select the job and click ‘Job log’

12. The Job log will show each table executed and the corresponding data quantities:

Page 79: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

79

Complex Tables – Initial Load 13. Return to se38 to run the initial load for the complex tables.

14. Enter program /EBEF/P_GET and click ‘Execute’

15. On the screen that is displayed, click ‘Fill Complex Tables’ and scroll further down the screen to fill out the ‘Complex Table Options’

Page 80: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

80

16. Select ‘Reset – All Data Deleted’ in the Complex table Options. Select all the tables listed in the

reset option, and click the Icon beside the ‘Plant’ field to specify the plants you want to execute it for.

17. In the Plant Selection pop-up, enter the plants you want to run the complex initial load for. Then

click the ‘Copy’ icon to select them

Page 81: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

81

Note: after the values have been copied, only the first one from the list will be displayed in the Plant field:

18. From the top menu, select ‘Program’ then ‘Execute in Background’

Page 82: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

82

19. Click Continue on the ‘Background Print Parameters’ screen

20. Select an Immediate Start Time and click ‘Save’

21. A notification will appear saying that the background job was scheduled

22. To check the job results, go to sm37

Page 83: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

83

23. Search for job name /EBEF/P_GET, and click ‘Execute’

24. The job details (and status) will be displayed. If the job is still running, it’s status will display as

‘Active’

25. Select the job and click ‘Job log’

Page 84: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

84

26. The Job log will show each table executed and the corresponding data quantities. If the job is still running (status = Active), the log will show what has been executed up until the current point.

27. Wait until the job has finished before scheduling the run of the next initial load. This could take a

significant period of time depending on how much data is being loaded.

Object Tables – Initial Load 28. Return to se38 to run the initial load for the object tables.

29. Enter program /EBEF/P_GET and click ‘Execute’

Page 85: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

85

30. On the screen that is displayed, click ‘Fill Object Tables’ and scroll further down the screen to fill out the ‘Object Table Options’

31. Select ‘Reset – All Data Deleted’ in the Object Table Options. Select all the fetch options listed in the reset option, and click the plant selection Icon beside the ‘Plant’ field to specify the plants you want to execute it for.

32. In the Plant Selection pop-up, enter the plants you want to run the object table initial load for. Then

click the ‘Copy’ icon to select them

Page 86: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

86

Note: after the values have been copied, only the first one from the list will be displayed in the Plant field:

33. From the top menu, select ‘Program’ then ‘Execute in Background’

Page 87: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

87

34. Click Continue on the ‘Background Print Parameters’ screen

35. Select an Immediate Start Time and click ‘Save’

NOTE: If the previous Initial load has not finished you can select ‘After Job’ and run it after the previous job had finished.

36. A notification will appear saying that the background job was scheduled

37. To check the job results, go to sm37

Page 88: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

88

38. Search for job name /EBEF/P_GET, and click ‘Execute’

39. The job details (and status) will be displayed. If the job is still running, it’s status will display as

‘Active’

40. Select the most recent job and click ‘Job log’

Page 89: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

89

41. The Job log will show each table executed and the corresponding data quantities. If the job is still running (Status = Active), the log will show what has been executed up until the current point.

42. Wait until all initial load jobs have finished before moving onto the next configuration

steps. This could take a significant period of time depending on how much data is being loaded.

CONFIGURE RETENTION PERIOD FOR DATA PRIVACY AND PROTECTION PROCESSING

This configuration is required to maintain retention period (no. of days) for Read-only/O-tables and T-tables. This is required for processing of data for data protection and privacy. To maintain retention periods, follow steps given below:

1. Open transaction code /N/EBEF/GEN_CONF to maintain the following entries for the retention days for

the Read-only/O-tables and T-tables:

Syclo Data Table Key General Configuration Value

MasterRetenDays <Retention days for Read-only/O-tables>

TransRetenDays <Retention days for T-tables>

2. Example screen shot of the entries is as below:

Page 90: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

90

3. Execute program /EBEF/P_GET. On the selection screen, Uncheck ‘Fill Complex Tables’ and ‘Fill

Object Tables’ check boxes. Only ‘Fill Data tables’ checkbox should be checked from Table Options. Also, select the radio button ‘Standard’ from the Data Table Options:

4. Click execute to update the maintained retention days in table /EBEF/D_DATALL. Example screen shot

of the table entries is as below:

SET VARIANTS USED FOR BACKGROUND JOBS

Variants must be set up before documenting the background jobs in order to specify what each background job will run. Variant DT

(used for job /EBEF/GET_DT)

Page 91: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

91

A. Go to se38

B. Enter program /EBEF/P_GET and click ‘Execute’

C. Ensure ‘Fill Data Tables’ is selected and select ‘Standard’ under Data Table Options

D. Click ‘Save’ to save the selected options as a variant

E. Enter the following details and click ‘Save’ to save the Variant

Variant Name: DT_EBEF

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Get delta updates for data tables

ABAP /EBEF/P_GET DT_EBEF Yes

Page 92: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

92

Description: Data tables background run

Variant CT

(used for job /EBEF/GET_CT)

A. Go to se38

B. Enter program /EBEF/P_GET and click ‘Execute’

C. Ensure ‘Fill Complex Tables’ is selected and select ‘Standard’ under Complex Table Options

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Get delta updates for complex tables

ABAP /EBEF/P_GET CT_EBEF Yes

Page 93: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

93

D. Click ‘Save’ to save the selected options as a variant

E. Enter the following details and click ‘Save’ to save the Variant

Variant Name: CT_EBEF

Description: Complex tables background run

Variant OBJ

(used for job /EBEF/GET_OBJ)

A. Go to se38

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Get delta updates for object tables

ABAP /EBEF/P_GET OBJ_EBEF Yes

Page 94: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

94

B. Enter program /EBEF/P_GET and click ‘Execute’

C. Ensure ‘Fill Object Tables’ is selected and select ‘Standard’ under Object Table Options (with all

Fetch options selected as well)

D. Click ‘Save’ to save the selected options as a variant

Page 95: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

95

E. Enter the following details and click ‘Save’ to save the Variant

Variant Name: OBJ_EBEF

Description: Object tables background run

Variant Standard

(used for job /EBEF/TRN)

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Process all transactions uploaded from remote sites

ABAP /EBEF/P_TRN STANDARD_EBEF Yes

Variant Standard should be created with your entries based on the RFC connections and users created for your installation.

Go to se38

Enter program /EBEF/P_TRN and click ‘Execute’

Page 96: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

96

On the screen that displays, click the ‘Save’ icon to Save the details as a variant

Enter in the variant details and Save.

Variant Name: STANDARD_EBEF

Description: Background scheduled job

Page 97: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

97

Variant /EBEF/HOURLY

(used for job /EBEF/HOURLY_REPORTS)

A. Go to se38

B. Enter program /EBEF/P_JOB_START and click ‘Execute’

C. On the screen that displays, enter the following details and Save:

AL11 Directory to download Rep: <Directory created during the File Transfer Set-up section>

Sub-directory for report files: <Subdirectory created during the file transfer set-up section>

Use Plant Sub-directories: Y Run Schedule: H Prefix for reporting Jobs: /EBEF/RPT_ Max number of parallel jobs: 5

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Run hourly reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/HOURLY Yes

Page 98: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

98

Use the multi-select option for the ‘Rig’ field to add the desired plants (in this case, 1000 & 3000)

D. Enter in the variant details and Save.

Variant Name: /EBEF/HOURLY

Page 99: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

99

Description: Hourly Run of Mobile Reports

Variant /EBEF/DAILY

(for job /EBEF/DAILY_REPORTS)

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Run daily reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/DAILY Yes

A. Go to se38

B. Enter program /EBEF/P_JOB_START and click ‘Execute’

C. On the screen that displays, enter the following details and Save:

AL11 Directory to download Rep: <Directory created during the File Transfer Set-up section>

Sub-directory for report files: <Subdirectory created during the file transfer set-up section>

Use Plant Sub-directories: Y Run Schedule: D Prefix for reporting Jobs: Max number of parallel jobs: 5

Page 100: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

100

Use the multi-select option for the ‘Rig’ field to add the desired plants (in this case, 1000 & 3000)

D. Enter in the variant details and Save.

Variant Name: /EBEF/DAILY

Page 101: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

101

Description: Daily Run of Mobile Reports

Variant /EBEF/MONTHLY

(for job /EBEF/MONTHLY_REPORTS)

Perform the exact same steps as in /EBEF/HOURLY and /EBEF/DAILY except that in the /EBEF/P_JOB_START page the Run Schedule should be set to ‘M’ (Monthly)

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Run monthly reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/MONTHLY Yes

Page 102: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

102

Save the Variant Details as follows:

Variant /EBEF/YEARLY

(for job /EBEF/YEARLY_REPORTS)

Perform the exact same steps as in /EBEF/HOURLY and /EBEF/DAILY except that in the

/EBEF/P_JOB_START page the Run Schedule should be set to ‘Y’ (Yearly)

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Run yearly reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/YEARLY Yes

Page 103: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

103

Save the Variant Details as follows:

Variant /EBEF/ONDEMAND

Job Name: /EBEF/ONDEMAND_REPORTS Scheduler: Run on request

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Run on-demand reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/ONDEMAND Yes

Page 104: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

104

Perform the exact same steps as in /EBEF/HOURLY and /EBEF/DAILY except that in the /EBEF/P_JOB_START

page the Run Schedule should be set to ‘A’ (On Demand Reports)

Save the Variant Details as follows:

Variant UPLOADATTACH

(for job /EBEF/ATTACHMENTS_UP)

Page 105: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

105

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Attach documents uploaded from remote sites to SAP ERP business objects

ABAP /EBEF/P_ATTACHMENT_MANAGE

UPATTACH_EBEF Yes

A. Go to se38

B. Enter program /EBEF/P_ATTACHMENT_MANAGE and click ‘Execute’

C. On the screen that displays, select ‘Test Upload’ and click the Save icon to Save as a Variant

D. Enter in the variant details and Save.

Variant Name: UPATTACH_EBEF

Description: Upload attachments from unix

Variant DWNATTACH_EBEF (for job /EBEF/ATTACHMENTS_DOWN)

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Download attachments from ECC business objects to remote sites

ABAP /EBEF/P_ATTACHMENT_MANAGE

DWNATTACH_EBEF Yes

A. Go to se38

B. Enter program /EBEF/P_ATTACHMENT_MANAGE and click ‘Execute’

Page 106: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

106

C. On the screen that displays, select ‘Test Download’ and click the Save icon to Save as a Variant

D. Enter in the variant details and Save.

Variant Name: DWNATTACH_EBEF

Description: Download attachments from unix

Variant GET_MDKE

(for job /EBEF/GET_MDKE)

Job Step Description Program Value ABAP Program Name Variant Client-Specific

Download stock wanted list to remote sites

ABAP /EBEF/P_GET_MDKE GET_MDKE_EBEF Yes

A. Go to se38

B. Enter program /EBEF/P_GET_MDKE and click ‘Execute’

Page 107: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

107

C. On the screen that displays, click the Save icon to Save as a Variant

D. Enter in the variant details and Save.

Variant Name: GET_MDKE_EBEF

Description: Standard bkgrnd Stock Wanted

Variant TRANSACTION

(for job /EBEF/PERS_TRN)

Program /EBEF/P_DPP_USER_DTL has been provided to delete all transaction table record based on retention

period in /EBEF/D_DATALL table. Only the records with status ‘D’ or ‘S’ will be processed with this program.

Variant TRANSACTION needs to be used for this feature.

Output: If all relevant records in the T-tables are successfully deleted, success message ‘Data processed successfully’ will be thrown. Else, a report output will appear which will provide a list of un-processed transaction ids and a message.

Re-process transaction table: Program /EBEF/P_DPP_USER_DTL has a feature to re-process transaction

table records that were not deleted in Normal run. On the selection screen, the radio button ‘Re-process

Page 108: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

108

transaction table’ should be selected to use this feature. On selecting this radio button, the field ‘Transaction ID’ is enabled for input.

Output: If all relevant records in the T-tables are successfully deleted, success message ‘Data processed successfully’ will be thrown. Else, a report output will appear which will provide a list of un-processed transaction ids and a message. Variant MASTER

(for job /EBEF/PERS_MST)

Program /EBEF/P_DPP_USER_DTL has been provided to mask user related personal data from Read-only/O-

tables based on retention period maintained in /EBEF/D_DATALL table. Variant MASTER needs to be used for

this feature. Output: If all relevant user related personal data from ‘Read only/O tables’ is masked successfully, success message ‘Data processed successfully’ will be thrown. Else, a report output will appear which will provide list of un-processed tables, its key fields and a message.

Re-process master table: Program /EBEF/P_DPP_USER_DTL has a feature to re-process Read only/O table

records that were not successfully processed in Normal run. On the selection screen, the radio button ‘Re-process master table’ should be selected to use this feature. On selecting this radio button, the fields for ‘No. of rows in Excel’ and ‘File name’ are enabled for input.

Page 109: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

109

The field ‘File name’ has an F4 Help search option. If user clicks on F4 Help, then the drop down can be

used to identify and select the file for upload. In the field, ‘No. of rows in Excel’ the header row (having the field names) should not be considered. For the excel file format, note 2510572 should be referred. This feature can be used only in online mode. Output: If all relevant user related personal data from ‘Read only/O tables’ is masked successfully, success message ‘Data processed successfully’ will be thrown. Else, a report output will appear which will provide list of un-processed tables, its key fields and a message. DOCUMENTATION OF BACKGROUND JOBS

The following background jobs are used for SAP Dynamic Edge Processing. They are defined using transaction SM36. Before you run any batch jobs, make sure that all of the background jobs have been

defined and scheduled to run at the appropriate intervals. The scheduled background job ensures that changes in ERP are applied to the staging tables (for synchronization to the remote site), and new changes in the staging tables (from the remote site) are applied into ERP. The Initial load and the delta background jobs essentially run the same program (for CT, DT and OBJ tables), but the Initial Load must first run successfully to store a timestamp for the tables in the database. Any subsequent runs (background delta jobs) will leverage that timestamp to see if anything has changed and apply those changes. If the Initial load has not been completed before running the background jobs, the background jobs will basically be running an initial load again (on a scheduled basis) and will error.

/EBEF/GET_DT – Get Data Tables (3.1.2.1) Job Name: /EBEF/GET_DT

Scheduler: Run every 1 minute

1. Go to SM36

2. Enter job name /EBEF/GET_DT and click the ‘Step’ icon

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Get delta updates for data tables

ABAP /EBEF/P_GET DT_EBEF Yes

Page 110: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

110

3. Fill in the appropriate details as shown below (make sure that ‘abap program’ is selected). Use

user PMBATCH. Click Save

Page 111: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

111

4. Program will display on screen:

5. Click the back arrow to go back to the ‘Define Background Job’ screen

6. Click ‘Start Condition’ to specify the start conditions

7. Select ‘Immediate’ for the start time and then click the ‘Periodic Job’ checkbox

Page 112: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

112

8. Click the ‘Period Values’ button and select the ‘Other Period’ option (as we want to run this job

every minute).

9. Enter a 1 minute period and click ‘Save’

10. Click ‘Save’ on the ‘Period Values’ pop-up and on the ‘Start Time’ pop-up.

11. Once the Step has been created and the start time/period specified, you can save the

Background job

Page 113: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

113

12. Go to SM37

13. Enter in the job name /EBEF/GET_DT and click ‘Execute’. The job details should now be

displayed

14. Return to sm36

15. Create background jobs for all tables (specifying them using the process outlined above for

/EBEF/GET_DT but using the details below):

/EBEF/GET_CT - Get Complex Tables Job Name: /EBEF/GET_CT Scheduler: Run every 1 minute

Page 114: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

114

Variant CT_EBEF is created in above steps /EBEF/GET_OBJ - Get Object Tables Job Name: /EBEF/GET_OBJ

Scheduler: Run every 1 minute Variant OBJ_EBEF is created in above steps /EBEF/TRN - Process Uploaded Transactions Job Name: /EBEF/TRN Scheduler: Run every 1 minute

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Process all transactions uploaded from remote sites

ABAP /EBEF/P_TRN STANDARD_EBEF Yes

Variant STANDARD_EBEF is created in above steps /EBEF/HOURLY_REPORTS - Run Hourly Reports in Background and Send to Remote Sites Job Name: /EBEF/HOURLY_REPORTS Scheduler: Run once every hour

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Run hourly reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/HOURLY Yes

/EBEF/DAILY_REPORTS - Run Daily Reports in Background and Send to Remote Sites Job Name: /EBEF/DAILY_REPORTS Scheduler: Run once each day

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Run daily reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/DAILY Yes

/EBEF/MONTHLY_REPORTS - Run Monthly Reports in Background and Send to Remote Sites Job Name: /EBEF/MONTHLY_REPORTS Scheduler: Run once each month

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Run monthly reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/MONTHLY Yes

/EBEF/YEARLY_REPORTS - Run Yearly Reports in Background and Send to Remote Sites Job Name: /EBEF/YEARLY_REPORTS Scheduler: Run once each year

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Get delta updates for complex tables

ABAP /EBEF/P_GET CT_EBEF Yes

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Get delta updates for object tables

ABAP /EBEF/P_GET OBJ_EBEF Yes

Page 115: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

115

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Run yearly reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/YEARLY Yes

/EBEF/ONDEMAND_REPORTS - Run On-Demand Reports in Background and Send to Remote Sites Job Name: /EBEF/ONDEMAND_REPORTS Scheduler: Run on request

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Run on-demand reports in background and send to remote sites

ABAP /EBEF/P_JOB_START /EBEF/ONDEMAN

D Yes

/EBEF/ATTACHMENTS_UP - Attach Documents Uploaded from Remote Sites Job Name: /EBEF/ATTACHMENTS_UP Scheduler: Run every 1 minute

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Attach documents uploaded from remote sites to SAP ERP business objects

ABAP /EBEF/P_ATTACHMENT_M

ANAGE

UPATTACH_EBEF Yes

/EBEF/ATTACHMENTS_DOWN - Download Attachments from ECC Business Objects to Remote Sites Job Name: /EBEF/ATTACHMENTS_DOWN Scheduler: Run every 1 minute

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Download attachments from ECC business objects to remote sites

ABAP /EBEF/P_ATTACHMENT_M

ANAGE

DWNATTACH_EBEF Yes

/EBEF/GET_MDKE - Download Stock Wanted List to Remote Sites Job Name: /EBEF/GET_MDKE Scheduler: Run once every hour

Job Step Description Program Value

ABAP Program Name Variant Client-Specific

Download stock wanted list to remote sites

ABAP /EBEF/P_GET_MDKE GET_MDKE_EBEF Yes

/EBEF/PERS_TRN – Delete transaction record Job Name: /EBEF/PERS_TRN

Scheduler: Run once each day

/EBEF/PERS_MST – Mask user’s personal information for master data/read-only data Job Name: /EBEF/PERS_MST

Scheduler: Run once each day

Job Step Description Program Type

ABAP Program Name Variant Client-Specific

Delete transaction record ABAP /EBEF/P_DPP_USER_DTL TRANSACTION Yes

Page 116: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

116

Schedule parameters for maintenance orders

1. To prevent this error when creating work orders:

2. Go to transaction OPU7

3. Click ‘New Entries’ to add in scheduling parameters for specific order types:

4. Enter the following details, and click ‘Save’ to add the new entry.

Plant: <enter appropriate plant> Order Type: <enter appropriate order type> Prodn Superv: * Adjust Dates: ‘Do not adjust basic dates, dep. Reqmts to operation dates’ Scheduling Type: Forwards

Job Step Description Program Type

ABAP Program Name Variant Client-Specific

Mask user’s personal information for master data/read-only data

ABAP /EBEF/P_DPP_USER_DTL MASTER Yes

Page 117: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

117

Automatic Scheduling: <selected>

5. Add new entries for all applicable plant/order combinations

SECURITY INFORMATION

SAP Dynamic Edge Processing is based on SAP ERP 6.0 (EHP 4 and above) MM, IM, and PM components. Therefore, guides for these components also apply to SAP Dynamic Edge Processing. For more information about specific security-related topics, see the following resources on SAP Service Marketplace, SAP Support Portal, or SCN:

Topic Quicklink

Security http://service.sap.com/security http://scn.sap.com/community/security

Platforms http://service.sap.com/platforms

Infrastructure http://service.sap.com/securityguide → Infrastructure Security

SAP NetWeaver http://scn.sap.com/community/netweaver

For a complete list of available SAP Security Guides, see SAP Service Marketplace at http://service.sap.com/securityguide. Authorization Concept There are two types of authorizations for SAP Dynamic Edge Processing: Edge, and SAP ERP.

Page 118: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

118

Edge roles or work centers control the functionality accessible by users of the edge user interface. When users at the remote location submit work to synchronize in SAP ERP, standard SAP ERP authorization checks are used during the batch job.

Note

All edge users submitting work to be posted in SAP ERP need authorization to the S_RFC Object for all RFC function calls.

Roles The following table lists the functions that can be assigned to edge roles for use by SAP Dynamic Edge Processing.

Role Description

APPROVAL Purchase Requisition Approval

BOM_EDIT Bill of Material Edit

GITRANSF Goods Issue and Transfer

GIWRKORD Goods Issue for Work Order

INVTMNGR Inventory Manager

MATEDIT Material Edit

MEASPNTS Measurement Points

POGR Purchase Order and Goods Receipt

PREDIT Purchase Requisition Edit

REPORTIN Inventory Report

SERVENTS Service Entry Sheet

STATREDY Status Change to Ready

STATTECO Status Change to TECO

STOCKWNT Stock Wanted

WORKMNGR Work Manager

Mapping Remote Location Users with Roles Local Users

In the SAP GUI, go to /n/ebef/roles and enter the following roles data:

1) Select New Entries.

2) Enter the main work center (for example, SOMC, OIM, MS, CRAFT) representing front-end roles.

Page 119: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

119

3) Select functions to be performed by this role/work center. See Role/Function Assignments. 4) Enter a timestamp value in the following format:

o Approximately 5 minutes in the future, so that when you save the record, it will be picked up for synchronization.

o The format is YYYYMMDDHHMMSS (for example, 20160801134255 – which corresponds to August 1, 2016 at 1:42:55 PM)

o Select the Save icon on the top menu bar. 5) Repeat steps 1-4 for the remaining roles/functions.

Page 120: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

120

Role/Function Assignments

Corresponding Function Dropdown Values

Function Value

Permission Granted Permission Code

Approvals Control access to approvals data APPROVAL

Bill of Material edit Control access for editing BOM items from equipment BOM

BOM_EDIT

Goods Issue and Transfer

Control access to transfer out goods from a specified remote plant destined for another remote plant

GITRANSF

Goods Issue for Work Order

Control access for the issuing of materials to work orders

GIWRKORD

Inventory Manager Control access to viewing Inventory and Materials management capabilities

INVTMNGR

Material edit Control access to editing materials MAEDIT

Material Documents Reverse

Control access to perform material document reversals

MATDOCRV

Physical Inventory Edit

Control access for creating Physical Inventory Documents and performing counts of materials in inventory

PIEDIT

Physical Inventory Control access to post differences for a Physical Inventory Document count

PIPSTDIF

Purchase Order and Goods Receipt

Control access for retrieving goods for a Purchase Order

POGR

Purchase Requisition Edit

Control access to edit of Purchase Requisitions

PREDIT

Inventory Report Control access to reporting data REPORTIN

Service Entry Sheet

Control access to service entry sheet data SERVENTS

Status change to REDY

Ability to change user status of a work order to REDY

STATREDY

Page 121: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

121

Status change to TECO

Ability to change user status of a work order to TECO

STATTECO

Stock Wanted Control access to Stock Wanted data for creating Purchase Requisitions

STOCKWNT

Work Manager Control access to the Maintenance capabilities

WORKMNGR

Local User Setup

1) In the SAP GUI, go to transaction /n/ebef/localuser:

2) Select New Entries.

3) Add the plant user. o Example: SOMC 0102

4) Add the plant (remote site #) in the next column. o Example: 0102

5) Press tab, then enter the back-end SAP ERP user name that has been set up for the SOMC 0102 user. 6) Add the main workctr (that is, SOMC, OIM, MS, CRAFT, and so on; the ones set up in the Roles table

above). 7) Set the active user flag to True.

8) Set the create time stamp value using YYYYMMDDHHMMSS format, then click Save on the top menu. 9) Repeat steps 1-8 for the remaining users at the remote location.

Page 122: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

122

Privacy and Data Protection SAP Dynamic Edge Processing compliance planned for subsequent release to adhere to GDRP (EU). Security-Relevant Logging and Tracing Security-related logging uses standard logging for all actions in SAP ERP. This logging relates to the back-

end user ID that is linked to the edge user ID in table /EBEF/LOCALUSER. Edge security logging is handled

through an LDAP server. LDAP Setup LDAP (Lightweight Directory Access Protocol) is an open and vendor-neutral, industry-standard application protocol for querying and modifying items in directory services. In SAP Dynamic Edge Processing, LDAP verifies the credentials of a user at the edge site. There are three parts to authentication of credentials:

• Edge site authentication

• Synchronization transport

• SAP ERP transaction processing authorization Remote site authentication is processed via LDAP. Synchronization transport happens via the technical RDBMS user for the staging area (MobiLink user) within the SAP ERP database. Finally, processing of the transaction into SAP ERP occurs via the SAP ERP user.

At the remote site, the edge server/application authenticates against LDAP protocol. If Active Directory is being used (such as Windows environment), Active Directory needs to be exposed as LDAP protocol. To set up LDAP, complete the following steps: 1) Set up the back-end system (see Local User Setup) 2) Set up the edge configuration. We will be using only the search and compare feature of LDAP; we must

first set up the following items in the remote server database (SYNC_OPTIONS): o LDAP URL – a client starts an LDAP session by connecting to an LDAP server (DSA). This is

exposed as an URI with the default port as 389. o LDAP DOMAIN COMPONENT – a tree view organization in which the user can be located as a

DOMAIN COMPONENT (DC). Multiple tree views can be shown; the more concise the tree view, the quicker the lookup for pass or failure

o LDAP AUTHENTICATION TYPE – simple is currently the only authentication type that has been tested within the solution. Other methods may require unsupported LDAP attributes. Do not change the “simple” setting.

Page 123: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

123

o LDAP MATCH ATTRIBUTE – attribute that forms a distinguished name (DN). LDAP uses a unique DN to look up the directory. The uniqueness is constructed with this attribute as its DC. For example: if the matching attribute is UID and the domain component is “OU=people,DC=employee,DC=SAPGLOBAL,DC=com; “ looking up john.smith in LDAP would be the following “UID=john.smith,OU=people,DC=employee,DC=SAPGLOBAL,DC=com;”

Page 124: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

124

APPLYING SQL PATCH TO SAP DYNAMIC EDGE PROCESSING

Because SAP Dynamic Edge Processing contains SQL components, applying a patch differs from applying SAP notes for ABAP. The required components described below are downloaded from the SAP Dynamic Edge Processing Console. Step 1: From the Launchpad, select the ‘Downloads’ tile Step 2: Download Part 1 (Backend Integration Components) 1) The SQL patches are available for download from the SAP Dynamic Edge Processing Console

a) Step 1: From the Launchpad, select the ‘Downloads’ tile

b) Step 2: Download applicable patches from the ‘Update Packages’ section, to a temporary folderz

2) Unzip the patches and copy them to your remote server where you installed your SQL database as described in Remote SQL Anywhere 17.0 Database Server Setup Step-by-Step.

Page 125: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

125

3) Go to the destination in the new SQL folder where you copied the patch and edit the setlocalenv.cmd

file.

4) Change the highlighted sections below to match the local settings.

Page 126: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

126

5) Open the update.cmd file and modify the highlighted section of the file to match the remote site (0425 is

used in this example), DC (xxxx), user, and LDAP server.

6) Fix the path (in the same update.cmd) and copy the java folder into the bin directory.

Page 127: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

127

7) Disable the SAAP service in Web Services.

8) Once all setenvlocal.cmd and update.cmd files are modified, run the update.cmd in a command line.

9) Monitor the screen to make sure no errors are reported. You should see the following results:

Page 128: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

128

10) Reenable SAAP Web Services.

Page 129: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

129

MULTI-LANGUAGE SUPPORT

Due to technical limitations with the latest support packs SAP Dynamic Edge Processing currently supports only English. This means that you can configure back-end processing for only English, and data is retrieved in that language. All back-end batch jobs must run in English.

Page 130: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

130

APPENDIX A: SCANNING ATTACHMENTS FOR MALWARE

This section only applies if the remote system’s antivirus software does not watch the file system to scan files as they are saved. The DEP SQL Anywhere database can execute a command line script to instruct the antivirus software to check an attachment file for malicious content. Without any configuration, the default behavior is to rely on existing antivirus software and take no action against new attachments. In this situation the value of rem_saap_scanner_script in setlocalenv.cmd should be empty. If a script does need to be used to scan attachments, the value of rem_saap_scanner_script should be the path to the script. The script should be based on (or a modified version of) the sample at $SQL_FOLDER$\sqlanywhere\scanner\script.cmd. Of note is line 12, which is the actual command to run the scanner against the new attachment file. This will vary based on the antivirus software installed. Depending on how your antivirus software handles success or failure, line 15 may also need to be modified. A successful scan on a clean file should output a value of 0. Any other value will be seen as either an error or malicious content. Some antivirus software will simply return an error code if a malicious file is detected, others may have different behavior. Refer to your antivirus software’s documentation for information about scanning a target file from the command line, and how it provides return codes upon execution.

Page 131: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

131

APPENDIX B: RESTARTING THE DATABASE SERVER AND MOBILINK CLIENT ON LINUX

It is recommended to configure all SAP Dynamic Edge Processing processes to run as background processes that are autostarted when the Linux instance boots up. There are multiple ways of accomplishing this in Linux. This documentation will focus on using Systemd Linux services. Systemd is the new standard for Linux that is being adopted by most major Linux distributions. It allows configuring restarting processes if they fail, easy definition of dependencies between services, easier configuration. This section is not meant as an in-depth tutorial on Systemd but covers creating systemd services for SAP Dynamic Edge Processing, deploying and configuring them for auto-start. Please refer to systemd documentation for details on specific parameters and how systemd works in general.

Systemd services are defined by creating "unit" files in /lib/systemd/system directory. On some Linux

distributions such as Suse Enterprise Linux 12, /lib/systemd directory does not exist. In this case use

/etc/systemd/system directory. When both directories ie. /lib/systemd/system and

/etc/systemd/system are present use /lib/systemd/system directory. The unit files specify how to start

or stop services, any dependencies, what action to take if the process fails and if this service will be auto-started during Linux bootup at what point in the bootup process it should be started. Once the unit file is in the required location, you will need to execute the following command to get systemd to pick-up the new service definition. You will need to rerun this command any time you edit any unit file.

systemctl daemon-reload

Below are standard system commands to start and stop services

Command Description

systemctl status <servicename> Display the current status of the service

systemctl start <servicename> Start the service manually

systemctl stop <servicename> Stop the service manually

systemctl enable <servicename> Configure the service to auto-start on Linux bootup

systemctl disable <servicename> Configure the service to no-longer auto-start on Linux bootup

For each service systemctl start <servicename> and systemctl enable <servicename> need to be

run. Before starting the services the currently running database server and synchronization process may need to be stopped manually. Below is an example unit file for SQL Anywhere used by Business Essential Functions Service. It should be

called ebef.service and placed in /lib/systemd/system. The paths to SQL Anywhere 17 may need to be

changed if it was installed elsewhere.

[Unit]

Description=EBEF

[Service]

Type=simple

ExecStart=/bin/bash -c 'source /opt/sqlanywhere17/bin64/sa_config.sh && dbsrv17

@/home/SAP/SAAP/ebef_db_start.conf'

ExecStop=/bin/bash -c 'source /opt/sqlanywhere17/bin64/sa_config.sh && dbstop

@/home/SAP/SAAP/ebef_db_stop.conf && sleep 5'

Restart=always

RestartSec=15

[Install]

WantedBy=multi-user.target

Page 132: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

132

Below are the configuration files relavent to starting the database server and should match the name

specified in the unit file above. ebef_db_start.conf specifies the parameters needed to start the database

server and ebef_db_stop.conf specifies the parameters needed to stop the database server.

Example ebef_db_start.conf configuration file:

-n SAAPDB_RCS_SERVERNAME_1000

/home/SAP/SAAP/db/1000/DEP.db

-n

SAAP_RCS_rem_1000

-o

/home/SAP/SAAP/db/logs/eng_log_1000

-on

4M

-x

shmem

-x

tcpip(port=5657)

-xs

http(port=8080;dbn=DEP_RCS_rem_1000;MaxRequestSize=10M;log=/home/SAP/SAAP/db/logs/web_log

_1000.txt)

-gd

ALL

Example ebef_db_stop.conf configuration file:

-y

-c

"dsn=DEP_RCS_rem_1000"

Below is an example unit file for Mobilink used by SAP Dynamic Edge Processing . It should be called

ebef_sync.service and placed in /lib/systemd/system directory.

[Unit]

Description=sync

BindsTo= ebef.service

After= ebef.service

[Service]

Type=simple

ExecStart=/bin/bash -c 'source /opt/sqlanywhere17/bin64/sa_config.sh && dbmlsync

@/home/SAP/SAAP/mlsync.conf'

ExecStop=/bin/bash -c 'pkill -P $MAINPID && sleep 10'

Restart=always

RestartSec=30

[Install]

WantedBy=multi-user.target

The "After" parameter specifies that this service should be started after the "ebef" service has started. The

"BindsTo" service specifies that if the "ebef_sqlany" service stops then the streaminglite service should also

be stopped. This "After" and "BindsTo" parameters specific service dependency. All the commands specified for ebef.service will also apply to this service.

Below is an example configuration file for starting the MobiLink client and should match the name specified

in the unit file above in this example mlsync.conf.

-c

"dsn=DEP_RCS_rem_0293"

-os

4M

-o

/home/SAP/SAAP/db/logs/DEP_RCS_dbmlsync_0293

Page 133: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

BUSINESS ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public

133

-e

"sch=EVERY:00:02"

-x

4M

-sc

Page 134: SAP Dynamic Edge Processing ESSENTIAL FUNCTIONS SERVICE - CONFIGURATION GUIDE Public 2 Table of Contents ABOUT THIS DOCUMENT 4 Glossary

www.sap.com

© 2017 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.