SAP SD_COND_T686E_SELECT Function Module for NOTRANSL: Ermittlung des Freigabestatus aus dem Bearbeitungsstatus
SD_COND_T686E_SELECT is a standard sd cond t686e select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ermittlung des Freigabestatus aus dem Bearbeitungsstatus processing and below is the pattern details for this FM, 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 sd cond t686e select FM, simply by entering the name SD_COND_T686E_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: V15E
Program Name: SAPLV15E
Main Program: SAPLV15E
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SD_COND_T686E_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 'SD_COND_T686E_SELECT'"NOTRANSL: Ermittlung des Freigabestatus aus dem Bearbeitungsstatus.
EXPORTING
* I_KBSTAT = ' ' "
* I_KFRST = ' ' "Release Status
* I_DIRECTION_UNIQUE = 'X' "Checkbox
IMPORTING
E_KBSTAT = "Processing status for conditions
E_KFRST = "
EXCEPTIONS
KBSTAT_NOT_FOUND = 1 KFRST_NOT_FOUND = 2
IMPORTING Parameters details for SD_COND_T686E_SELECT
I_KBSTAT -
Data type: T686E-KBSTATDefault: ' '
Optional: Yes
Call by Reference: Yes
I_KFRST - Release Status
Data type: T686E-KFRSTDefault: ' '
Optional: Yes
Call by Reference: Yes
I_DIRECTION_UNIQUE - Checkbox
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SD_COND_T686E_SELECT
E_KBSTAT - Processing status for conditions
Data type: T686E-KBSTATOptional: No
Call by Reference: Yes
E_KFRST -
Data type: T686E-KFRSTOptional: No
Call by Reference: Yes
EXCEPTIONS details
KBSTAT_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
KFRST_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SD_COND_T686E_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_e_kbstat | TYPE T686E-KBSTAT, " | |||
| lv_i_kbstat | TYPE T686E-KBSTAT, " ' ' | |||
| lv_kbstat_not_found | TYPE T686E, " | |||
| lv_e_kfrst | TYPE T686E-KFRST, " | |||
| lv_i_kfrst | TYPE T686E-KFRST, " ' ' | |||
| lv_kfrst_not_found | TYPE T686E, " | |||
| lv_i_direction_unique | TYPE XFELD. " 'X' |
|   CALL FUNCTION 'SD_COND_T686E_SELECT' "NOTRANSL: Ermittlung des Freigabestatus aus dem Bearbeitungsstatus |
| EXPORTING | ||
| I_KBSTAT | = lv_i_kbstat | |
| I_KFRST | = lv_i_kfrst | |
| I_DIRECTION_UNIQUE | = lv_i_direction_unique | |
| IMPORTING | ||
| E_KBSTAT | = lv_e_kbstat | |
| E_KFRST | = lv_e_kfrst | |
| EXCEPTIONS | ||
| KBSTAT_NOT_FOUND = 1 | ||
| KFRST_NOT_FOUND = 2 | ||
| . " SD_COND_T686E_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM SD_COND_T686E_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 KBSTAT FROM T686E INTO @DATA(ld_e_kbstat). | ||||
| "SELECT single KBSTAT FROM T686E INTO @DATA(ld_i_kbstat). | ||||
| DATA(ld_i_kbstat) | = ' '. | |||
| "SELECT single KFRST FROM T686E INTO @DATA(ld_e_kfrst). | ||||
| "SELECT single KFRST FROM T686E INTO @DATA(ld_i_kfrst). | ||||
| DATA(ld_i_kfrst) | = ' '. | |||
| DATA(ld_i_direction_unique) | = 'X'. | |||
Search for further information about these or an SAP related objects