SAP SD_WORD_PROCESSING_GET Function Module for NOTRANSL: Textverarbeitung im Dialog
SD_WORD_PROCESSING_GET is a standard sd word processing get 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: Textverarbeitung im Dialog 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 word processing get FM, simply by entering the name SD_WORD_PROCESSING_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: V70T
Program Name: SAPLV70T
Main Program: SAPLV70T
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SD_WORD_PROCESSING_GET 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_WORD_PROCESSING_GET'"NOTRANSL: Textverarbeitung im Dialog.
EXPORTING
* FI_FCODE_BEFORE_RETURN = "Function Code
IMPORTING
FE_CHANGE_FLAG = "Texts changed
FE_FCODE_ON_RETURN = "
FE_TEXTNAME = "
FE_SUBSCREEN_NUMBER = "
FET_XVBUV = "Incompleteness
CHANGING
FET_XTHEAD = "Texts
EXCEPTIONS
ERROR_OCCURED = 1
IMPORTING Parameters details for SD_WORD_PROCESSING_GET
FI_FCODE_BEFORE_RETURN - Function Code
Data type: T185-FFCODEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SD_WORD_PROCESSING_GET
FE_CHANGE_FLAG - Texts changed
Data type:Optional: No
Call by Reference: Yes
FE_FCODE_ON_RETURN -
Data type: T185-FFCODEOptional: No
Call by Reference: Yes
FE_TEXTNAME -
Data type: THEAD-TDNAMEOptional: No
Call by Reference: Yes
FE_SUBSCREEN_NUMBER -
Data type: SY-DYNNROptional: No
Call by Reference: Yes
FET_XVBUV - Incompleteness
Data type: LV70T_TY_XVBUV_TABLEOptional: No
Call by Reference: Yes
CHANGING Parameters details for SD_WORD_PROCESSING_GET
FET_XTHEAD - Texts
Data type: LV70T_TY_XTHEAD_TABLEOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR_OCCURED - Errors
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SD_WORD_PROCESSING_GET 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_fet_xthead | TYPE LV70T_TY_XTHEAD_TABLE, " | |||
| lv_error_occured | TYPE LV70T_TY_XTHEAD_TABLE, " | |||
| lv_fe_change_flag | TYPE LV70T_TY_XTHEAD_TABLE, " | |||
| lv_fi_fcode_before_return | TYPE T185-FFCODE, " | |||
| lv_fe_fcode_on_return | TYPE T185-FFCODE, " | |||
| lv_fe_textname | TYPE THEAD-TDNAME, " | |||
| lv_fe_subscreen_number | TYPE SY-DYNNR, " | |||
| lv_fet_xvbuv | TYPE LV70T_TY_XVBUV_TABLE. " |
|   CALL FUNCTION 'SD_WORD_PROCESSING_GET' "NOTRANSL: Textverarbeitung im Dialog |
| EXPORTING | ||
| FI_FCODE_BEFORE_RETURN | = lv_fi_fcode_before_return | |
| IMPORTING | ||
| FE_CHANGE_FLAG | = lv_fe_change_flag | |
| FE_FCODE_ON_RETURN | = lv_fe_fcode_on_return | |
| FE_TEXTNAME | = lv_fe_textname | |
| FE_SUBSCREEN_NUMBER | = lv_fe_subscreen_number | |
| FET_XVBUV | = lv_fet_xvbuv | |
| CHANGING | ||
| FET_XTHEAD | = lv_fet_xthead | |
| EXCEPTIONS | ||
| ERROR_OCCURED = 1 | ||
| . " SD_WORD_PROCESSING_GET | ||
ABAP code using 7.40 inline data declarations to call FM SD_WORD_PROCESSING_GET
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 FFCODE FROM T185 INTO @DATA(ld_fi_fcode_before_return). | ||||
| "SELECT single FFCODE FROM T185 INTO @DATA(ld_fe_fcode_on_return). | ||||
| "SELECT single TDNAME FROM THEAD INTO @DATA(ld_fe_textname). | ||||
| "SELECT single DYNNR FROM SY INTO @DATA(ld_fe_subscreen_number). | ||||
Search for further information about these or an SAP related objects