SAP CSO_O_TEXT_INPUT_GET Function Module for Read Input-Ready Text from Text Buffer - Noncontextual
CSO_O_TEXT_INPUT_GET is a standard cso o text input 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 Read Input-Ready Text from Text Buffer - Noncontextual 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 cso o text input get FM, simply by entering the name CSO_O_TEXT_INPUT_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: WSST_TEXT
Program Name: SAPLWSST_TEXT
Main Program: SAPLWSST_TEXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CSO_O_TEXT_INPUT_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 'CSO_O_TEXT_INPUT_GET'"Read Input-Ready Text from Text Buffer - Noncontextual.
EXPORTING
PI_TEXT_KEY = "SAP Retail Store: Text Key
* PI_SY_STEPL = "
PI_TEXT_INP_NEW_INPUT = "Checkbox
IMPORTING
PE_TEXT_INP = "SAP Retail Store: Sales Order: Texts Input Fields
PE_TEXT_INP_EOF = "Checkbox
PE_RETURN = "SAP Retail Store: Sales Order: Return Structure
TABLES
PI_T_TEXT = "SAP Retail Store Sales Order: Texts
PIE_T_TEXT_INP = "SAP Retail Store: Sales Order: Texts Input Fields
* PE_T_TEXT_INP = "SAP Retail Store: Sales Order: Texts Input Fields
IMPORTING Parameters details for CSO_O_TEXT_INPUT_GET
PI_TEXT_KEY - SAP Retail Store: Text Key
Data type: WISO_TEXT_KEYOptional: No
Call by Reference: Yes
PI_SY_STEPL -
Data type: SY-STEPLOptional: Yes
Call by Reference: Yes
PI_TEXT_INP_NEW_INPUT - Checkbox
Data type: WISO_HNDL-XFIELDOptional: No
Call by Reference: Yes
EXPORTING Parameters details for CSO_O_TEXT_INPUT_GET
PE_TEXT_INP - SAP Retail Store: Sales Order: Texts Input Fields
Data type: WISO_TEXT_INPOptional: No
Call by Reference: Yes
PE_TEXT_INP_EOF - Checkbox
Data type: WISO_HNDL-XFIELDOptional: No
Call by Reference: Yes
PE_RETURN - SAP Retail Store: Sales Order: Return Structure
Data type: WISO_RETURNOptional: No
Call by Reference: Yes
TABLES Parameters details for CSO_O_TEXT_INPUT_GET
PI_T_TEXT - SAP Retail Store Sales Order: Texts
Data type: WISO_TEXTOptional: No
Call by Reference: Yes
PIE_T_TEXT_INP - SAP Retail Store: Sales Order: Texts Input Fields
Data type: WISO_TEXT_INPOptional: No
Call by Reference: Yes
PE_T_TEXT_INP - SAP Retail Store: Sales Order: Texts Input Fields
Data type: WISO_TEXT_INPOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CSO_O_TEXT_INPUT_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: | ||||
| lt_pi_t_text | TYPE STANDARD TABLE OF WISO_TEXT, " | |||
| lv_pe_text_inp | TYPE WISO_TEXT_INP, " | |||
| lv_pi_text_key | TYPE WISO_TEXT_KEY, " | |||
| lv_pi_sy_stepl | TYPE SY-STEPL, " | |||
| lt_pie_t_text_inp | TYPE STANDARD TABLE OF WISO_TEXT_INP, " | |||
| lv_pe_text_inp_eof | TYPE WISO_HNDL-XFIELD, " | |||
| lv_pe_return | TYPE WISO_RETURN, " | |||
| lt_pe_t_text_inp | TYPE STANDARD TABLE OF WISO_TEXT_INP, " | |||
| lv_pi_text_inp_new_input | TYPE WISO_HNDL-XFIELD. " |
|   CALL FUNCTION 'CSO_O_TEXT_INPUT_GET' "Read Input-Ready Text from Text Buffer - Noncontextual |
| EXPORTING | ||
| PI_TEXT_KEY | = lv_pi_text_key | |
| PI_SY_STEPL | = lv_pi_sy_stepl | |
| PI_TEXT_INP_NEW_INPUT | = lv_pi_text_inp_new_input | |
| IMPORTING | ||
| PE_TEXT_INP | = lv_pe_text_inp | |
| PE_TEXT_INP_EOF | = lv_pe_text_inp_eof | |
| PE_RETURN | = lv_pe_return | |
| TABLES | ||
| PI_T_TEXT | = lt_pi_t_text | |
| PIE_T_TEXT_INP | = lt_pie_t_text_inp | |
| PE_T_TEXT_INP | = lt_pe_t_text_inp | |
| . " CSO_O_TEXT_INPUT_GET | ||
ABAP code using 7.40 inline data declarations to call FM CSO_O_TEXT_INPUT_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 STEPL FROM SY INTO @DATA(ld_pi_sy_stepl). | ||||
| "SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pe_text_inp_eof). | ||||
| "SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_text_inp_new_input). | ||||
Search for further information about these or an SAP related objects