SAP NOTE_TYPE_SELECT Function Module for
NOTE_TYPE_SELECT is a standard note type select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for note type select FM, simply by entering the name NOTE_TYPE_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: DSYS
Program Name: SAPLDSYS
Main Program: SAPLDSYS
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function NOTE_TYPE_SELECT pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'NOTE_TYPE_SELECT'".
EXPORTING
* EDIT_FLAG = ' ' "'X': Edit; ' ': Read
* PROJECT = '000' "Project number for IMG/CATT
* DOK_CLASS = ' ' "
* DOK_NAME = ' ' "
IMPORTING
SELECTED_NOTE_TYPE = "selected note type
SELECTION_ABORTED = "
IMPORTING Parameters details for NOTE_TYPE_SELECT
EDIT_FLAG - 'X': Edit; ' ': Read
Data type: DSYSCR-H_ATT_16Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROJECT - Project number for IMG/CATT
Data type: TCUSR-PROJECTDefault: '000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
DOK_CLASS -
Data type: DSYAS-CHILD_CLSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DOK_NAME -
Data type: DSYAS-CHILD_OBJDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for NOTE_TYPE_SELECT
SELECTED_NOTE_TYPE - selected note type
Data type: DSYBA-NOTE_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
SELECTION_ABORTED -
Data type: DSYSCR-H_ATT_16Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for NOTE_TYPE_SELECT Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_edit_flag | TYPE DSYSCR-H_ATT_16, " ' ' | |||
| lv_selected_note_type | TYPE DSYBA-NOTE_TYPE, " | |||
| lv_project | TYPE TCUSR-PROJECT, " '000' | |||
| lv_selection_aborted | TYPE DSYSCR-H_ATT_16, " | |||
| lv_dok_class | TYPE DSYAS-CHILD_CLS, " SPACE | |||
| lv_dok_name | TYPE DSYAS-CHILD_OBJ. " SPACE |
|   CALL FUNCTION 'NOTE_TYPE_SELECT' " |
| EXPORTING | ||
| EDIT_FLAG | = lv_edit_flag | |
| PROJECT | = lv_project | |
| DOK_CLASS | = lv_dok_class | |
| DOK_NAME | = lv_dok_name | |
| IMPORTING | ||
| SELECTED_NOTE_TYPE | = lv_selected_note_type | |
| SELECTION_ABORTED | = lv_selection_aborted | |
| . " NOTE_TYPE_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM NOTE_TYPE_SELECT
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single H_ATT_16 FROM DSYSCR INTO @DATA(ld_edit_flag). | ||||
| DATA(ld_edit_flag) | = ' '. | |||
| "SELECT single NOTE_TYPE FROM DSYBA INTO @DATA(ld_selected_note_type). | ||||
| "SELECT single PROJECT FROM TCUSR INTO @DATA(ld_project). | ||||
| DATA(ld_project) | = '000'. | |||
| "SELECT single H_ATT_16 FROM DSYSCR INTO @DATA(ld_selection_aborted). | ||||
| "SELECT single CHILD_CLS FROM DSYAS INTO @DATA(ld_dok_class). | ||||
| DATA(ld_dok_class) | = ' '. | |||
| "SELECT single CHILD_OBJ FROM DSYAS INTO @DATA(ld_dok_name). | ||||
| DATA(ld_dok_name) | = ' '. | |||
Search for further information about these or an SAP related objects