Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
<Name>
<Application/Service/System Manager>
<Organization>
<Name>
<Information Security Officer>
<Organization>
(Optional Approver – remove if not required)
<Name>
<IT Quality Manager>
<Organization>
(Optional Approver – remove if not required)
Technical Design Specification
Document History
2/16
Document1 last changed: 29.03.2019
Technical Design Specification
Table of contents
3/16
Document1 last changed: 29.03.2019
Technical Design Specification
1.2 References
Document ID Title
N/A
1.3 Figures
Figure 1: Class Diagram Simsession Handler ............................................................................. 9
Figure 2: Flow Diagram INSTANCE_GET ................................................................................. 10
Figure 3: Flow Diagram SIMSESSION_GET ............................................................................ 10
Figure 4: Flow Diagram SIMSESSION_LEAVE ........................................................................ 11
4/16
Document1 last changed: 29.03.2019
Technical Design Specification
2 Introduction
2.1 Purpose
The purpose of this development is to encapsulate the handling for SAP Simsessions within one
class.
2.2 Scope
Standardized SAP Simsession handling.
2.3.1 Prerequisites
N/A
2.3.2 Assumptions
N/A
N/A
Type Constraint
<Regulatory> N/A
<Hardware> N/A
<Operating system> N/A
<License> N/A
<Bandwidth> N/A
5/16
Document1 last changed: 29.03.2019
Technical Design Specification
6/16
Document1 last changed: 29.03.2019
Technical Design Specification
The purpose of this development is to encapsulate the handling for SAP Simsessions within one
class with the objective to standardize the handling SAP Simsessions. Due to this development
a reusable standardized way of SAP Simsession handling will be provided.
7/16
Document1 last changed: 29.03.2019
Technical Design Specification
4 Requirements
Encapsulate SAP Simsession handling within one single class. The implementation itself should
be reusable in general.
8/16
Document1 last changed: 29.03.2019
Technical Design Specification
5 Software Architecture
The basic idea is to encapsulate the handling of SAP Simsessions within one class which
provides methods to create and leave SAP Simsessions.
The class is implemented with Singleton Pattern to use the same context the same Object. E.g.
usage within custom transaction and BAdI within the same context.
9/16
Document1 last changed: 29.03.2019
Technical Design Specification
By calling method SIMSESSION_GET the calling program receives the current simsession. A new
simsession will be created in case there is no open simsession and the calling program requested
to open a new one.
10/16
Document1 last changed: 29.03.2019
Technical Design Specification
By calling method SIMSESSION_LEAVE the simsession merged and closed or a rollback will be
performed depending on the import parameters. If an error occurred during RRP Commit, a
rollback will be performed and an exception is raised to inform the calling program about the
rollback.
11/16
Document1 last changed: 29.03.2019
Technical Design Specification
6 Realization Specification
6.2.1 INSTANCE_GET
6.2.1.1 <Overview>
6.2.1.2 <Definition>
The static object reference SO_INSTANCE will be returned to the caller. In case the static object
reference is initial the constructor will be called first.
6.2.2 SIMSESSION_GET
6.2.2.1 <Overview>
6.2.2.2 <Definition>
12/16
Document1 last changed: 29.03.2019
Technical Design Specification
6.2.3 SIMSESSION_LEAVE
6.2.3.1 <Overview>
6.2.3.2 <Definition>
The current simsession will be merged in case the import parameter IV_ROLLBACK is initial. In
case of an error during the merge a rollback will be performed and exception
ERROR_DURING_COMMIT will be raised afterwards. Was the parameter IV_ROLLBACK set by the
caller to true, then a rollback will be performed.
13/16
Document1 last changed: 29.03.2019
Technical Design Specification
14/16
Document1 last changed: 29.03.2019
Technical Design Specification
7 Remarks
N/A
15/16
Document1 last changed: 29.03.2019
Technical Design Specification
Document ID Title
N/A
16/16
Document1 last changed: 29.03.2019