SAP STRJQ_LONGTEXT_PROOFREAD Function Module for Get Long Text Objects by User Selection
STRJQ_LONGTEXT_PROOFREAD is a standard strjq longtext proofread SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get Long Text Objects by User Selection 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 strjq longtext proofread FM, simply by entering the name STRJQ_LONGTEXT_PROOFREAD into the relevant SAP transaction such as SE37 or SE38.
Function Group: STRJ_Q
Program Name: SAPLSTRJ_Q
Main Program: SAPLSTRJ_Q
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function STRJQ_LONGTEXT_PROOFREAD 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 'STRJQ_LONGTEXT_PROOFREAD'"Get Long Text Objects by User Selection.
EXPORTING
FI_TLANG = "
FI_SLANG = "
FI_MAXHIT = "
TABLES
* FT_DATE = "
* FT_USER = "
* FT_ID = "
* FT_MARKED_DEVCS = "
EXCEPTIONS
NO_MAXHIT = 1
IMPORTING Parameters details for STRJQ_LONGTEXT_PROOFREAD
FI_TLANG -
Data type: LWRKOBJ-TARGETLANGOptional: No
Call by Reference: Yes
FI_SLANG -
Data type: LWRKOBJ-SOURCELANGOptional: No
Call by Reference: Yes
FI_MAXHIT -
Data type: LWRKOBJ-LINESTOTALOptional: No
Call by Reference: Yes
TABLES Parameters details for STRJQ_LONGTEXT_PROOFREAD
FT_DATE -
Data type: RSDATRANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
FT_USER -
Data type: RSNAMRANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
FT_ID -
Data type: STRJ1_RANGE_OBJTYPOptional: Yes
Call by Reference: Yes
FT_MARKED_DEVCS -
Data type: SLWX1_DEVC_PS_TEXT_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_MAXHIT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for STRJQ_LONGTEXT_PROOFREAD 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: | ||||
| lt_ft_date | TYPE STANDARD TABLE OF RSDATRANGE, " | |||
| lv_fi_tlang | TYPE LWRKOBJ-TARGETLANG, " | |||
| lv_no_maxhit | TYPE LWRKOBJ, " | |||
| lt_ft_user | TYPE STANDARD TABLE OF RSNAMRANGE, " | |||
| lv_fi_slang | TYPE LWRKOBJ-SOURCELANG, " | |||
| lt_ft_id | TYPE STANDARD TABLE OF STRJ1_RANGE_OBJTYP, " | |||
| lv_fi_maxhit | TYPE LWRKOBJ-LINESTOTAL, " | |||
| lt_ft_marked_devcs | TYPE STANDARD TABLE OF SLWX1_DEVC_PS_TEXT_TAB. " |
|   CALL FUNCTION 'STRJQ_LONGTEXT_PROOFREAD' "Get Long Text Objects by User Selection |
| EXPORTING | ||
| FI_TLANG | = lv_fi_tlang | |
| FI_SLANG | = lv_fi_slang | |
| FI_MAXHIT | = lv_fi_maxhit | |
| TABLES | ||
| FT_DATE | = lt_ft_date | |
| FT_USER | = lt_ft_user | |
| FT_ID | = lt_ft_id | |
| FT_MARKED_DEVCS | = lt_ft_marked_devcs | |
| EXCEPTIONS | ||
| NO_MAXHIT = 1 | ||
| . " STRJQ_LONGTEXT_PROOFREAD | ||
ABAP code using 7.40 inline data declarations to call FM STRJQ_LONGTEXT_PROOFREAD
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 TARGETLANG FROM LWRKOBJ INTO @DATA(ld_fi_tlang). | ||||
| "SELECT single SOURCELANG FROM LWRKOBJ INTO @DATA(ld_fi_slang). | ||||
| "SELECT single LINESTOTAL FROM LWRKOBJ INTO @DATA(ld_fi_maxhit). | ||||
Search for further information about these or an SAP related objects