SAP KCD_SENDERSTRUC_LOGICAL_READ Function Module for
KCD_SENDERSTRUC_LOGICAL_READ is a standard kcd senderstruc logical read 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 kcd senderstruc logical read FM, simply by entering the name KCD_SENDERSTRUC_LOGICAL_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: KCD2
Program Name: SAPLKCD2
Main Program: SAPLKCD2
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function KCD_SENDERSTRUC_LOGICAL_READ 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 'KCD_SENDERSTRUC_LOGICAL_READ'".
EXPORTING
REPID = "
* MANDT = SY-MANDT "
IMPORTING
CLENG = "
RLENG = "
ILENG = "
PROGN = "
ESTRC = "
ANWDG = "
VALID = "
MAVAL = "
DKEY = "
TABLES
E_SEND = "
EXCEPTIONS
DDIC_NOT_FOUND = 1 NO_DDIC_STRUC = 2 SEND_STRUC_NOT_FOUND = 3
IMPORTING Parameters details for KCD_SENDERSTRUC_LOGICAL_READ
REPID -
Data type: KCDSM-REPIDOptional: No
Call by Reference: No ( called with pass by value option)
MANDT -
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for KCD_SENDERSTRUC_LOGICAL_READ
CLENG -
Data type: KCDDIFIE-OFFSTOptional: No
Call by Reference: No ( called with pass by value option)
RLENG -
Data type: KCDDIFIE-OFFSTOptional: No
Call by Reference: No ( called with pass by value option)
ILENG -
Data type: KCDDIFIE-OFFSTOptional: No
Call by Reference: No ( called with pass by value option)
PROGN -
Data type: KCDSM-PROGNOptional: No
Call by Reference: No ( called with pass by value option)
ESTRC -
Data type: KCDSM-ESTRCOptional: No
Call by Reference: No ( called with pass by value option)
ANWDG -
Data type: KCDSM-ANWDGOptional: No
Call by Reference: No ( called with pass by value option)
VALID -
Data type: KCDSM-VALIDOptional: No
Call by Reference: No ( called with pass by value option)
MAVAL -
Data type: KCDSM-MAVALOptional: No
Call by Reference: No ( called with pass by value option)
DKEY -
Data type: KCDSM-DKEYOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for KCD_SENDERSTRUC_LOGICAL_READ
E_SEND -
Data type: CFSEND_TABOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DDIC_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_DDIC_STRUC -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SEND_STRUC_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for KCD_SENDERSTRUC_LOGICAL_READ 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_cleng | TYPE KCDDIFIE-OFFST, " | |||
| lv_repid | TYPE KCDSM-REPID, " | |||
| lt_e_send | TYPE STANDARD TABLE OF CFSEND_TAB, " | |||
| lv_ddic_not_found | TYPE CFSEND_TAB, " | |||
| lv_mandt | TYPE SY-MANDT, " SY-MANDT | |||
| lv_rleng | TYPE KCDDIFIE-OFFST, " | |||
| lv_no_ddic_struc | TYPE KCDDIFIE, " | |||
| lv_ileng | TYPE KCDDIFIE-OFFST, " | |||
| lv_send_struc_not_found | TYPE KCDDIFIE, " | |||
| lv_progn | TYPE KCDSM-PROGN, " | |||
| lv_estrc | TYPE KCDSM-ESTRC, " | |||
| lv_anwdg | TYPE KCDSM-ANWDG, " | |||
| lv_valid | TYPE KCDSM-VALID, " | |||
| lv_maval | TYPE KCDSM-MAVAL, " | |||
| lv_dkey | TYPE KCDSM-DKEY. " |
|   CALL FUNCTION 'KCD_SENDERSTRUC_LOGICAL_READ' " |
| EXPORTING | ||
| REPID | = lv_repid | |
| MANDT | = lv_mandt | |
| IMPORTING | ||
| CLENG | = lv_cleng | |
| RLENG | = lv_rleng | |
| ILENG | = lv_ileng | |
| PROGN | = lv_progn | |
| ESTRC | = lv_estrc | |
| ANWDG | = lv_anwdg | |
| VALID | = lv_valid | |
| MAVAL | = lv_maval | |
| DKEY | = lv_dkey | |
| TABLES | ||
| E_SEND | = lt_e_send | |
| EXCEPTIONS | ||
| DDIC_NOT_FOUND = 1 | ||
| NO_DDIC_STRUC = 2 | ||
| SEND_STRUC_NOT_FOUND = 3 | ||
| . " KCD_SENDERSTRUC_LOGICAL_READ | ||
ABAP code using 7.40 inline data declarations to call FM KCD_SENDERSTRUC_LOGICAL_READ
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 OFFST FROM KCDDIFIE INTO @DATA(ld_cleng). | ||||
| "SELECT single REPID FROM KCDSM INTO @DATA(ld_repid). | ||||
| "SELECT single MANDT FROM SY INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
| "SELECT single OFFST FROM KCDDIFIE INTO @DATA(ld_rleng). | ||||
| "SELECT single OFFST FROM KCDDIFIE INTO @DATA(ld_ileng). | ||||
| "SELECT single PROGN FROM KCDSM INTO @DATA(ld_progn). | ||||
| "SELECT single ESTRC FROM KCDSM INTO @DATA(ld_estrc). | ||||
| "SELECT single ANWDG FROM KCDSM INTO @DATA(ld_anwdg). | ||||
| "SELECT single VALID FROM KCDSM INTO @DATA(ld_valid). | ||||
| "SELECT single MAVAL FROM KCDSM INTO @DATA(ld_maval). | ||||
| "SELECT single DKEY FROM KCDSM INTO @DATA(ld_dkey). | ||||
Search for further information about these or an SAP related objects