Table of Contents

Open all
Close all
Preface
13
Objective of This Book
13
Target Audience
14
Structure of This Book
14
Acknowledgments
16
1 Introduction
19
1.1 Introduction to SAP S/4HANA
20
1.2 Architecture and Characteristics
25
1.2.1 Architecture Overview
25
1.2.2 Modern Technology
28
1.2.3 User Experience
30
1.2.4 Business Processes
32
1.2.5 Intelligence and Analytics with SAP Analytics Cloud
34
1.3 Deployment Options
36
1.4 Implementation Options
42
1.4.1 SAP Activate
43
1.4.2 Greenfield Approach
44
1.4.3 Brownfield Approach
45
1.4.4 Hybrid Approach
45
1.5 Summary
46
2 Integration Technologies
47
2.1 SAP Strategy and Recommendations for Integration
48
2.2 Technologies from SAP
50
2.3 New and Improved Technologies
56
2.3.1 OData
56
2.3.2 SAP Application Interface Framework
57
2.3.3 New Output Control
62
2.3.4 Business Rules Framework Plus
64
2.4 SAP Business Technology Platform
67
2.4.1 SAP Integration Suite
67
2.4.2 Cloud Connector
72
2.5 Summary
73
3 Electronic Data Interchange
75
3.1 Concept and Characteristics of EDI
76
3.1.1 EDI Process Flow
76
3.1.2 Key Components
79
3.1.3 Benefits and Limitations
80
3.1.4 EDI Integration with SAP S/4HANA
81
3.2 EDI Standards for Messages
82
3.2.1 Main Standards
84
3.2.2 UN/EDIFACT Standard in Detail
92
3.2.3 Syntax and Semantics
94
3.2.4 Transaction Messages for Sales and Distribution
95
3.3 EDI Standards for Communication
96
3.3.1 Value-Added Network
96
3.3.2 SSH File Transfer Protocol
98
3.3.3 Applicability Statement 2
99
3.3.4 Additional Security Aspects
102
3.4 Characteristics of the EDI Integration Pattern
103
3.5 Example Use Case for EDI
104
3.6 Summary
105
4 EDI Processing in the SAP S/4HANA Landscape
107
4.1 Business Process
107
4.1.1 Organizational Structure in Sales and Distribution
109
4.1.2 Business Partners
111
4.1.3 Material Master Record
112
4.1.4 Sales and Distribution Processes
113
4.1.5 Integration of Sales with External Buyers
119
4.1.6 Implementation Context
119
4.2 Technical Solution Design
120
4.2.1 Requirements
121
4.2.2 Diagram of the Landscape
123
4.3 Summary
136
5 Prerequisites
137
5.1 Prerequisites Checklist
137
5.1.1 Agreed-Upon Identifiers
138
5.1.2 SAP S/4HANA Sales Organization and Master Data
145
5.1.3 Material Master Data
147
5.2 Summary
148
6 Initial Setup of the Environment
149
6.1 Readiness of the Technical Components
149
6.1.1 Prerequisites for the Components
149
6.1.2 Assumptions
150
6.2 Deployment of the Trading Partner Management Package
150
6.3 Connecting SAP S/4HANA and SAP BTP
154
6.3.1 Overview
155
6.3.2 SAP S/4HANA Outbound Flows
156
6.3.3 SAP S/4HANA Inbound Flows
164
6.4 Summary
181
7 Configuration and Development in SAP S/4HANA
183
7.1 IDoc Fundamentals
183
7.2 IDoc Selections
185
7.2.1 Message Types and Basic Types
185
7.2.2 Segments and Fields
190
7.2.3 Sample IDocs
193
7.3 IDoc Processing
200
7.3.1 Inbound Processing
200
7.3.2 Outbound Processing
207
7.3.3 Business Rules Framework Plus
212
7.3.4 Adding Output Determination Rules via Business Rules Framework Plus
214
7.4 Handling External Identifiers during IDoc Processing
219
7.5 Summary
224
8 SAP Application Interface Framework
227
8.1 Enabling SAP Application Interface Framework
227
8.2 Customizing IDoc-Based Interfaces on SAP Application Interface Framework
230
8.2.1 Creating Index Tables and IDoc Structures
230
8.2.2 Interface Development
238
8.2.3 Error Handling
244
8.2.4 System Configuration
264
8.3 Summary
271
9 SAP Integration Suite
273
9.1 B2B EDI on SAP Integration Suite
273
9.2 Integration Advisor
274
9.2.1 Defining Message Implementation Guidelines for IDoc Messages
275
9.2.2 Defining Message Implementation Guidelines for EDIFACT Messages
300
9.2.3 Defining Mapping Guidelines
313
9.2.4 Generating Runtime Artifacts
337
9.3 Trading Partner Management
337
9.3.1 Creating the Company Profile
338
9.3.2 Creating a Trading Partner Profile
344
9.3.3 Creating Agreement Templates
352
9.3.4 Agreements
362
9.3.5 Partner Directory Data
368
9.3.6 Cross Actions
370
9.3.7 Configuration Manager
370
9.4 Summary
373
10 Checking the EDI Solution
375
10.1 Verifying Inbound Processing
375
10.1.1 Sales Order EDI Transaction
376
10.1.2 Tracing the Message on Cloud Integration: B2B Scenarios Monitoring
378
10.1.3 Tracing the Message on SAP S/4HANA: Message Monitoring
386
10.1.4 Checking the Sales Order Document via Manage Sales Orders App: Version 2
389
10.2 Verifying Outbound Processing
392
10.2.1 Sales Order Response EDI Transaction
392
10.2.2 Advanced Shipping Notification and Invoice EDI Transactions
399
10.3 Negative Testing, Alerting, and Error Handling
408
10.3.1 Receiving an EDI Message that Cannot Be Properly Identified by Trading Partner Management
408
10.3.2 Receiving UN/EDIFACT ORDERS D96A that Contains Invalid Data (Material Number)
410
10.4 Summary
414
11 Test Automation
415
11.1 Overcoming the Challenges of EDI Testing
415
11.2 The Value of and Approaches to EDI Testing
416
11.3 Automated Regression Testing for EDI with Int4 Suite
418
11.3.1 Int4 Suite Overview
418
11.3.2 Automated Component-Based Testing of EDI
419
11.3.3 Automated End-to-End EDI Business Process Testing
452
11.4 Summary
458
12 APIs
459
12.1 API Concept and Characteristics
459
12.1.1 Key Components and Types
460
12.1.2 Architectural and Protocol Styles
463
12.1.3 Benefits and Limitations
468
12.2 APIs in SAP S/4HANA
471
12.2.1 Overview
471
12.2.2 API Management
473
12.2.3 Graph
476
12.2.4 APIs in Other SAP Solutions
479
12.2.5 API Consumption
484
12.2.6 SAP Gateway
485
12.2.7 SAP Gateway Deployment Options
486
12.2.8 Sample API
489
12.3 Extending the EDI Scenario with APIs
491
12.3.1 SAP Gateway Activation
491
12.3.2 Enabling the Product API
494
12.3.3 SAP Gateway Client
498
12.3.4 Exposing the API: Security Aspects
501
12.3.5 Cloud Connector
502
12.3.6 API Management
504
12.4 Summary
524
13 Conclusion and Outlook
527
13.1 Component Versions
527
13.1.1 SAP S/4HANA
527
13.1.2 SAP Integration Suite
528
13.1.3 Cloud Connector
531
13.2 Topics Intentionally or Necessarily Overlooked
531
13.2.1 Custom Requirements and Enhancements
531
13.2.2 Monitoring Data and Archiving
535
13.3 Summary
536
The Authors
537
Contributor
537
Index
539