Determination Applications Core
Determination Applications Core
Determination Applications
Softproviding Core
User Documentation
Version: 1.00
Release v6.00
2024/02 Public
Think ahead. Go there.
Softproviding AG
Dornacherstr. 210
CH-4053 Basel
Switzerland
+41 (0)61 508 21 21
[email protected]
www.softproviding.com
Contents
1 Overview 4
2 Customizing 6
2.1 Z Namespace for Generated Objects 6
2.2 Maintain Fields 7
2.3 Maintain Field Groups 8
2.4 Determination Groups 11
2.5 Determination Applications 12
3 Application 16
3.1 Authorizations for Determination Applications 16
3.2 Maintain Determination Data Records 17
3.3 Display Determination Records 19
3.4 User Settings 20
3.5 Execute Determination Application 21
3.6 Evaluate Determination Trace 23
3.7 Enhancements for Determination Applications 24
1 Overview
The Determination Application functionality allows you to manage customer-specific master data in
dependence of a time interval and different search accesses.
In dependence of the time interval means that each master data record (determination data record) is
supplemented with a time interval for which the former is exclusively valid. If someone tries to access
the determination record with a date lying outside the defined time interval, no result will be output.
In dependence of different search accesses means that within the scope of a determination procedure
the different accesses (field groups) are represented in a sort order. One access (field group) consists
of at least one key (field), e.g. the plant. The field group is used to search for the first valid determina-
tion data record in the determination procedure. The field group sequence of the determination pro-
cedure is searched in a sequentially descending order for a valid determination data record. Since the
field groups are sequentially searched from the top down, the field group with the most search criteria
(fields) must be situated at the topmost position of the determination procedure sequence. The access
(field group) with the least search criteria must stand at the bottommost position in the determina-
tion procedure sequence.
Example
The terms used above are explained using the example of printer management.
Fiori-Apps – Instructions
SAP Fiori is the design concept for user interfaces within SAP applications. With this approach, Fiori
apps can be simplified and personalized, and made available in the Launchpad based on user roles.
SAP Fiori were created for the various applications of Softproviding Core and can be executed in the
Fiori Launchpad. Please compare the following documents for the prerequisites and the procedure re-
garding the configuration of SAP Fiori apps:
— Softproviding Core Security-Guide
The Security Guide documents for which Softproviding Core Applications SAP Fiori apps were created
and which roles are required for this.
2 Customizing
Prerequisites
The SAP username of the person performing the customizing must have a valid SAP developer key.
Procedure
An application determination may only be created if the following settings in Customizing have been
made:
SAP Menu Tools > Customizing > IMG > Edit Project
Transaction SPRO
1. Call Customizing using one of the above options and select Display SAP Reference IMG.
IMG Menu Softproviding Core > Baseline > Determination > Determination Ap-
plication > Determination Application > Set Z-Namespace for Gener-
ated Objects
2. Call the Z namespace customizing table and enter a Z namespace prefix and an SAP package.
Note – Package
Related objects in the ABAP Workbench are grouped together in a package. The assignment of an object
to a package is entered in the object catalog (TADIR). The package determines the transport layer that
defines the transport attributes of an object.
For a detailed description of the object package please refer to the respective SAP standard documenta-
tion.
Caution
SAP package must be initial. This package must not have any assigned objects. If this is not the case
the package will not be accepted, and the table entry cannot be saved.
Example
FldNZNSpce ZNamespace Package
FIELDNAME – Field name for Z namespace ZFIND_ Z_Test
Result
With the settings that were made you are able to create all necessary SAP objects of the application
determination.
Prerequisites
A Z namespace must have been created.
Procedure
IMG Menu Softproviding Core > Baseline > Determination > Determination Ap-
plication > Fields > Maintain Fields
The following fields and indicators are available for each new object Field. Fill all the fields with
values:
Example
Field Name Description Reference Table Reference Field
WERKS Plant ZDGS_S_FINDUNG WERKS
LAGER Warehouse ZDGS_S_FINDUNG LAGER
TERMINAL Terminal ID ZDGS_S_FINDUNG TERMINAL_ID
DRUCKER Printer ZDGS_S_FINDUNG DRUCKER_ID
Result
With the settings that were made it is now possible to create the necessary objects, Field groups, for
the search keys and data fields of the determination data records.
Prerequisites
The fields of the field groups to be created must exist.
Procedure
IMG Menu Softproviding Core > Baseline > Determination > Determination Ap-
plication > Fields > Maintain Field Groups
1. Select Field Groups for Determination Applications in the explorer to the left of the screen.
The following fields are available for each new Field Group object:
Example
PRT_I_010
— PRT = Abbreviation for the printer determination
— I = Field group with search fields
— 010 = Field group situated at the topmost position in the de-
termination procedure
Example
PRT_O
— PRT = Abbreviation for the printer determination
— O = Field group with data fields
Description Description of object Field Group, which is showed during data
maintenance.
The following fields are available for each new Field Group object. Fill all the fields with values:
Result
With the settings that were made it is now possible to create object Determination Application.
Prerequisites
None.
Procedure
IMG Menu Softproviding Core > Baseline > Determination > Determination Ap-
plications > Determination Applications > Determination Groups
The following fields are available for input per new Field Group object:
Example
Determination Groups
Determination Group Description
Result
The determination groups have been created and may now be assigned to determinations.
Prerequisites
The fields groups for the search keys are defined.
Procedure
IMG-Menu Softproviding Core > Baseline > Determination > Determination Ap-
plications > Determination Applications > Determination Applica-
tions
1. Call the customizing table for the maintenance of the determination application.
The following fields and indicators are available for each new Determination Application object.
Only fill the fields Appl, Inactive and Description with values:
Use
The use of determination applications is intended for developers.
Caution
The Gen.Struct. indicator can only be used after the determination procedure of the determination ap-
plication was maintained. If no determination procedure was created, an error message might be is-
sued when the structure is created. The structure which is created is empty.
4. In customizing table Determination Application, mark the determination application you created
and select the Determination Procedure menu tree item.
The following fields and indicators are available for each new Determination Procedure step:
Entry fields A field group with entry fields, which are searched for during de-
termination.
Output fields A field group with output fields which represent the result of the
determination.
Generated table The name of the generated table for a step (sequence) of a deter-
mination application.
Inactive If this indicator is set, the objects for this determination applica-
tion (or sequence) are not generated and maintenance is not al-
lowed.
Customizing sequence This flag controls whether the level is to be considered as Custom-
izing. If the level is flagged as Customizing, a transport request is
required for maintenance. The changed data are included in the
transport request and transferred to the downstream system.
Data class Optional field to influence the technical property Data Class of the
generated table.
Size category Optional field to influence the technical property Size Category of
the generated table.
Buffering allowed Optional field to influence the technical property Buffering Al-
lowed of the generated table.
Buffering type Optional field to influence the technical property Buffering Type of
the generated table.
NoKeyFields Optional field to influence the technical property Number of Key
Fields of the generated table.
Log Optional flag to influence the technical property Log Data Changes
of the generated table.
JavaOnly Optional flag to influence the technical property Write Access
Only with Java of the generated table.
Store type Optional field to influence the technical property Store Type of the
generated table.
Note
The optional fields and indicators used to influence the technical properties are partly interdependent and,
if to filled, must be sufficiently consistent. If the settings are not consistent, the table cannot be generated
correctly, meaning it cannot be activated, and an error message is displayed when the user tries to save
the data.
Example
Determination Procedure
Sequence Description Entry Fields Output Fields Generated Table Inactive
10 Plant/warehouse/ter- PRT_I_010 PRT_O ZFIND_PRT010
minal
20 Plant/warehouse/ PRT_I_020 PRT_O ZFIND_PRT020
Note
The generated table per step of the determination procedure is only displayed after the user again accesses
IMG activity Determination Applications.
Result
All the necessary determination application objects were created, and the data records of the deter-
mination application may now be maintained.
3 Application
Note
For more information on the SAP authorization concept, please refer to the Softproviding Core Security
Guide.
Prerequisites
None.
Procedure
This is the authorization object /SPDGS/FD in which generally or specifically activities may be re-
leased per determination application.
Result
The activities of determination applications can be restricted specifically.
Prerequisites
A determination application was created in Customizing.
Procedure
IMG Menu Softproviding Core > Baseline > Determination Applications > Main-
tain Determination Data Records
Transaction /SPDGS/FIND_M_TABLES
1. Start the Maintain Determination Data Records transaction via one of the options listed above.
The Maintain Determination Records entry screen is displayed.
2. If not already preset In the Application field, enter the desired determination, or select it using
the search help.
3. If not already preset, In the Sequence field, enter the desired sequence step of the determination
application or select it using the search help.
4. Select the Execute button. The selection screen of the sequence step is displayed
The fields of field group Entry Fields which in the determination will be searched for are dis-
played as selection parameters. The additional selection parameter Valid On specifies for which
date the search result shall be valid.
Note
When a determination data record is initially created, the selection parameters need not be restricted. Re-
stricting parameters makes sense as soon as there are existing determination data records.
Example
Selection Screen for Sequence step
Plant 0001
Storage Location 0001
Terminal ID TERM01
Valid On 13.10.2020
5. Select the Execute button. The screen where the determination data records are maintains is dis-
played. It features fields of field group Entry Fields and Output Fields with the added fields Valid
From and Valid To.
6. Select the Append Row or Insert Row button to create a new or a further determination data rec-
ord and enter the respective field values.
The Delete Row button allows you to delete existing determination data records.
Changes must be confirmed with the Enter key. This will check the field values and, if neces-
sary, display messages.
Note
Without an entry in the Valid From and Valid TO the system will automatically fill the Valid From date
with today’s date and the Valid To date with “31.12.9999”.
Example
Maintenance Screen for Sequence steps
Plant 0001
Storage Location 0001
Terminal ID TERM01
Valid From 13.10.2020
Valid TO 31.13.9999
Printer Name LABELPRT01
If data were changed, a popup is displayed asking you whether want to save the data when you
exit the determination records data maintenance screen.
8. Select Yes. You will return the sequence step selection screen.
Result
You created determination data records for the determination application.
Note
When data records for determination applications are maintained, entries with overlapping validity peri-
ods are possible but not allowed. This must be guaranteed by organizational means. When a determination
application is executed for a period with overlap, it is not defined which of the valid entries is found. For
this reason, do select entries the validity of which does not overlap (not even partially) with identical key
fields. Key fields are Plant and Work area.
On the database, the input fields of the sequence step as well as, for technical reasons, the valid-to
date are the key fields of the table. It follows that if in two or more entries all input fields as well as
the valid-to date are identical, only the first entry is stored.
Example
Plant Material Valid from Valid to Description
0001 123 01.03.2020 31.12.9999 Test
0001 123 01.05.2020 31.12.9999 Test
When the second data record is maintained, the information message “A data record with the same
key is already being processed”, is displayed. If the data record is saved the message “Data were
saved” may be displayed. In reality the data record is not stored.
Procedure
IMG Menu Softproviding Core > Baseline > Determination Applications > Dis-
play Determination Data Records
Transaction /SPDGS/FIND_D_TABLES
1. Start the transaction using one of the above options. The start screen for displaying determina-
tion records is shown.
2. Enter the desired values in the Application and Sequence fields and confirm the selection with
the Execute button.
Result
The determination records for the Determination Application are displayed.
Note
On the selection screen for displaying determination records, user settings can be called up with the User
settings button.
On the results screen, you can branch to editing these data records with the Maintain determination data
records button.
Prerequisites
In order to be able to use determinations, these must already have been created.
Procedure
SAP Menu Softproviding Core > Baseline > Determination Applications > User
Settings
Transaction /SPDGS/FIND_UST
1. Start the User Settings transaction using one of the two options above.
The following fields and indicators are available for input for every new User object. Fill in val-
ues in the desired fields:
The values for said parameter IDs can be maintained in the SAP
menu bar via System > User Profile > User Data.
Show preset det. apps. If this indicator is set, only the preset determinations are shown
in the search help (see following steps).
Only active det. apps This flag allows you to control that only active determination ap-
plications are shown in the search help.
Determ. Trace active Activates the determination trace for the user.
Note
If a determination application is preset (possibly with sequence step and the Param ID f. det. appl. flag is
active, the values from the parameter IDs will take priority. This may also be “empty” or SPACE.
4. In order to assign preset determination applications to the user (only necessary or useful in con-
nection with the Show preset det. apps. indicator), select the Determination Applications for Dis-
play folder in the explorer tree to the left. Otherwise, maintenance of the user settings is com-
pleted.
The following fields are available for input for each new Determination Applications for Display
object:
Note
The search help sorts the determination applications in ascending order by the Visual Order field. “Empty”
or SPACE is the equivalent of zero and therefore always stands at the beginning of a list.
Result
Depending on the settings, the determination application is filled automatically with data stemming
from the user settings or the parameter IDs when display/maintenance transaction of the determina-
tion data records. In the search help, the determination application is displayed according to the set-
tings (i.e. possibly only determinations assigned to the user and/or no inactive determination).
ter data if they are meant to be processed in any way, executing, or calling the determination appli-
cations without subsequent processing is useless. Determination applications are therefore almost
exclusively called directly in the program code. A transaction is therefore superfluous.
Prerequisites
The determination application to be executed must have been and determination data records possi-
bly had to have been maintained.
The executing user needs the authorization to execute the determination application.
Procedure
The execution of the determination applications is written in the program code. For this, function
module /SPDGS/FIND_VALUES is executed.
Note
The import parameter IS_INPUT is used to determine the search field values for all sequence steps. For
each search field, the parameter is searched for structure fields with identical names. If found, this value
is used for data selection.
The same goes for the Changing parameter CS_OUTPUT. For the output fields of any found data record,
the parameter is searched for structure fields with identical names. If found, this value is transferred. This
parameter is optional – in case only the existence of an entry needs to be verified.
The SAP Standard conversion rules apply to both of the above-mentioned parameters as long as the types
of the relevant fields in the parameters differ from those of the determination fields.
It is recommended to have the main structure generated for each determination application. It will auto-
matically contain all relevant fields of the determination application and may be used for IS_INPUT as
well as for CS_OUTPUT. In general, however, any data field may be transferred to these parameters.
Result
After function module /SPDGS/FIND_VALUES is called the result of the search is available in the
parameters EV_NOT_FOUND, EV_SEQUENCE_NUMBER and CS_OUTPUT. EV_NOT_FOUND will
show whether a data record was found. If a data record was found, the sequence step is located in
EV_SEQUENCE_NUMBER and the values of the determined data record in CS_OUTPUT. If messages
occur, they can be found in ET_RETURN
Prerequisites
The Determination Trace functionality must be activated in the user settings. Determination appli-
cations must have been executed.
Procedure
SAP Menu Softproviding Core > Baseline > Determination Applications > Show
Trace
Transaction /SPDGS/FIND_TRC
1. Start the Show Trace transaction using one of the two options above.
2. If necessary, make restrictions in the selection screen or change the default settings.
3. Select the Execute button. A list with the respective accesses to determination applications is
displayed
Result
Accesses to determination applications can be analyzed in detail.
Caution
Active determination trace may create a great amount of data. Also, the additional data base cooper-
ation needed to write the trace entry will influence performance negatively. For these reasons you
should only activate determination trace if needed.
Prerequisites
The SAP username of the user carrying out the enhancement needs to have a valid SA developer key.
Procedure
IMG Menu Softproviding Core > Baseline > Determination > Determination Ap-
plications > Determination Applications >System Modifications >
Enhancements for Determination Applications
1. Start the Enhancements for Determination Application customizing activity via the above-men-
tioned path.
A list with the existing BAdI implementation with which to enhance determination applications
is displayed. In case none exists, the dialog with which to create a BAdI implementation is
started directly.
This corresponds to the SAP Standard dialog with which to create a BAdI implementation,
which is documented in the respective SAP documentation.
Note
This BAdI implementation may also be carried out in the SAP Standard transactions SE18 and SE19. The
appropriate enhancement spot and BAdI name is each time /SPDGS/FIND
Method Description
execute) this method is called first. You may imple-
ment your own authorization check and, if necessary,
inactivate the standard authorization check.
Result
There are active enhancements for determination applications.
Non-ABAP software components are NOT qualified by SAP, they are provided directly by Softproviding (via the
Softproviding Extranet). Customers who install and operate these components do so on their own responsibility. They
are not part of the SAP license agreement but are still maintained by Softproviding.
4.3 Conclusion