SAP SOTR_LINK_MAINTAIN_ENTRY Function Module for
SOTR_LINK_MAINTAIN_ENTRY is a standard sotr link maintain entry 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 sotr link maintain entry FM, simply by entering the name SOTR_LINK_MAINTAIN_ENTRY into the relevant SAP transaction such as SE37 or SE38.
Function Group: SOTR_LINK
Program Name: SAPLSOTR_LINK
Main Program: SAPLSOTR_LINK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SOTR_LINK_MAINTAIN_ENTRY 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 'SOTR_LINK_MAINTAIN_ENTRY'".
EXPORTING
PAKET = "Packages Allowed in the OTR
* START_COL = '5' "Screens, vertical cursor position at PAI
* START_ROW = '5' "Screens, horizontal cursor position at PAI
* FLAG_CORRECTION_ENTRY = "
OBJECT = "Object Type Supported by the OTR
CONCEPT_1 = "
* FLAG_STR_1 = "
* FLAG_STR_2 = 'X' "
* LANGU = SY-LANGU "SAP R/3 System, Current Language
* DISPLAY = "
* WITH_ALIAS = "
* WITH_PACKAGE = "
IMPORTING
CONCEPT_2 = "
EXCEPTIONS
USER_CANCELLED = 1 NO_ENTRY_FOUND = 2 WRONG_TYPE = 3 ERROR_IN_CORRECTION = 4 BTFR_ERROR = 5
IMPORTING Parameters details for SOTR_LINK_MAINTAIN_ENTRY
PAKET - Packages Allowed in the OTR
Data type: SOTR_PACKOptional: No
Call by Reference: Yes
START_COL - Screens, vertical cursor position at PAI
Data type: SY-CUROWDefault: '5'
Optional: Yes
Call by Reference: Yes
START_ROW - Screens, horizontal cursor position at PAI
Data type: SY-CUCOLDefault: '5'
Optional: Yes
Call by Reference: Yes
FLAG_CORRECTION_ENTRY -
Data type: AS4FLAGOptional: Yes
Call by Reference: Yes
OBJECT - Object Type Supported by the OTR
Data type: SOTR_OBJECOptional: No
Call by Reference: Yes
CONCEPT_1 -
Data type: SOTR_CONCOptional: No
Call by Reference: Yes
FLAG_STR_1 -
Data type: AS4FLAGOptional: Yes
Call by Reference: Yes
FLAG_STR_2 -
Data type: AS4FLAGDefault: 'X'
Optional: Yes
Call by Reference: Yes
LANGU - SAP R/3 System, Current Language
Data type: SYLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
DISPLAY -
Data type: AS4FLAGOptional: Yes
Call by Reference: Yes
WITH_ALIAS -
Data type: AS4FLAGOptional: Yes
Call by Reference: Yes
WITH_PACKAGE -
Data type: AS4FLAGOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SOTR_LINK_MAINTAIN_ENTRY
CONCEPT_2 -
Data type: SOTR_CONCOptional: No
Call by Reference: Yes
EXCEPTIONS details
USER_CANCELLED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ENTRY_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_TYPE -
Data type:Optional: No
Call by Reference: Yes
ERROR_IN_CORRECTION -
Data type:Optional: No
Call by Reference: Yes
BTFR_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SOTR_LINK_MAINTAIN_ENTRY 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_paket | TYPE SOTR_PACK, " | |||
| lv_concept_2 | TYPE SOTR_CONC, " | |||
| lv_user_cancelled | TYPE SOTR_CONC, " | |||
| lv_start_col | TYPE SY-CUROW, " '5' | |||
| lv_start_row | TYPE SY-CUCOL, " '5' | |||
| lv_flag_correction_entry | TYPE AS4FLAG, " | |||
| lv_object | TYPE SOTR_OBJEC, " | |||
| lv_no_entry_found | TYPE SOTR_OBJEC, " | |||
| lv_concept_1 | TYPE SOTR_CONC, " | |||
| lv_wrong_type | TYPE SOTR_CONC, " | |||
| lv_flag_str_1 | TYPE AS4FLAG, " | |||
| lv_error_in_correction | TYPE AS4FLAG, " | |||
| lv_btfr_error | TYPE AS4FLAG, " | |||
| lv_flag_str_2 | TYPE AS4FLAG, " 'X' | |||
| lv_langu | TYPE SYLANGU, " SY-LANGU | |||
| lv_display | TYPE AS4FLAG, " | |||
| lv_with_alias | TYPE AS4FLAG, " | |||
| lv_with_package | TYPE AS4FLAG. " |
|   CALL FUNCTION 'SOTR_LINK_MAINTAIN_ENTRY' " |
| EXPORTING | ||
| PAKET | = lv_paket | |
| START_COL | = lv_start_col | |
| START_ROW | = lv_start_row | |
| FLAG_CORRECTION_ENTRY | = lv_flag_correction_entry | |
| OBJECT | = lv_object | |
| CONCEPT_1 | = lv_concept_1 | |
| FLAG_STR_1 | = lv_flag_str_1 | |
| FLAG_STR_2 | = lv_flag_str_2 | |
| LANGU | = lv_langu | |
| DISPLAY | = lv_display | |
| WITH_ALIAS | = lv_with_alias | |
| WITH_PACKAGE | = lv_with_package | |
| IMPORTING | ||
| CONCEPT_2 | = lv_concept_2 | |
| EXCEPTIONS | ||
| USER_CANCELLED = 1 | ||
| NO_ENTRY_FOUND = 2 | ||
| WRONG_TYPE = 3 | ||
| ERROR_IN_CORRECTION = 4 | ||
| BTFR_ERROR = 5 | ||
| . " SOTR_LINK_MAINTAIN_ENTRY | ||
ABAP code using 7.40 inline data declarations to call FM SOTR_LINK_MAINTAIN_ENTRY
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 CUROW FROM SY INTO @DATA(ld_start_col). | ||||
| DATA(ld_start_col) | = '5'. | |||
| "SELECT single CUCOL FROM SY INTO @DATA(ld_start_row). | ||||
| DATA(ld_start_row) | = '5'. | |||
| DATA(ld_flag_str_2) | = 'X'. | |||
| DATA(ld_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects