SAP UIBW_CHVL_TXT_GET Function Module for
UIBW_CHVL_TXT_GET is a standard uibw chvl txt get 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 uibw chvl txt get FM, simply by entering the name UIBW_CHVL_TXT_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: UIBW
Program Name: SAPLUIBW
Main Program: SAPLUIBW
Appliation area: R
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function UIBW_CHVL_TXT_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 'UIBW_CHVL_TXT_GET'".
EXPORTING
I_RFCDEST = "
I_CHANM = "
I_CHAVLINT = "
* ITO_CHADEP = "
* I_DATETO = SY-DATUM "
* I_CHECK_EXISTANCE = 'X' "
IMPORTING
E_TXTSH = "
E_TXTMD = "
E_TXTLG = "
EXCEPTIONS
CHANM_NOT_FOUND = 1 CHAVAL_NOT_VALID = 2 INVALID_FORMAT = 3 RFC_ERROR = 4
IMPORTING Parameters details for UIBW_CHVL_TXT_GET
I_RFCDEST -
Data type: RFCDESTOptional: No
Call by Reference: Yes
I_CHANM -
Data type: UPC_Y_CHANMOptional: No
Call by Reference: Yes
I_CHAVLINT -
Data type: UPC_Y_CHAVLINTOptional: No
Call by Reference: Yes
ITO_CHADEP -
Data type: UPC_YTO_CHADEPOptional: Yes
Call by Reference: Yes
I_DATETO -
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: Yes
I_CHECK_EXISTANCE -
Data type: BOOLE_DDefault: 'X'
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for UIBW_CHVL_TXT_GET
E_TXTSH -
Data type: UPC_Y_TXTSHOptional: No
Call by Reference: Yes
E_TXTMD -
Data type: UPC_Y_TXTMDOptional: No
Call by Reference: Yes
E_TXTLG -
Data type: UPC_Y_TXTLGOptional: No
Call by Reference: Yes
EXCEPTIONS details
CHANM_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
CHAVAL_NOT_VALID -
Data type:Optional: No
Call by Reference: Yes
INVALID_FORMAT -
Data type:Optional: No
Call by Reference: Yes
RFC_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for UIBW_CHVL_TXT_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_e_txtsh | TYPE UPC_Y_TXTSH, " | |||
| lv_i_rfcdest | TYPE RFCDEST, " | |||
| lv_chanm_not_found | TYPE RFCDEST, " | |||
| lv_e_txtmd | TYPE UPC_Y_TXTMD, " | |||
| lv_i_chanm | TYPE UPC_Y_CHANM, " | |||
| lv_chaval_not_valid | TYPE UPC_Y_CHANM, " | |||
| lv_e_txtlg | TYPE UPC_Y_TXTLG, " | |||
| lv_i_chavlint | TYPE UPC_Y_CHAVLINT, " | |||
| lv_invalid_format | TYPE UPC_Y_CHAVLINT, " | |||
| lv_rfc_error | TYPE UPC_Y_CHAVLINT, " | |||
| lv_ito_chadep | TYPE UPC_YTO_CHADEP, " | |||
| lv_i_dateto | TYPE SY-DATUM, " SY-DATUM | |||
| lv_i_check_existance | TYPE BOOLE_D. " 'X' |
|   CALL FUNCTION 'UIBW_CHVL_TXT_GET' " |
| EXPORTING | ||
| I_RFCDEST | = lv_i_rfcdest | |
| I_CHANM | = lv_i_chanm | |
| I_CHAVLINT | = lv_i_chavlint | |
| ITO_CHADEP | = lv_ito_chadep | |
| I_DATETO | = lv_i_dateto | |
| I_CHECK_EXISTANCE | = lv_i_check_existance | |
| IMPORTING | ||
| E_TXTSH | = lv_e_txtsh | |
| E_TXTMD | = lv_e_txtmd | |
| E_TXTLG | = lv_e_txtlg | |
| EXCEPTIONS | ||
| CHANM_NOT_FOUND = 1 | ||
| CHAVAL_NOT_VALID = 2 | ||
| INVALID_FORMAT = 3 | ||
| RFC_ERROR = 4 | ||
| . " UIBW_CHVL_TXT_GET | ||
ABAP code using 7.40 inline data declarations to call FM UIBW_CHVL_TXT_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 DATUM FROM SY INTO @DATA(ld_i_dateto). | ||||
| DATA(ld_i_dateto) | = SY-DATUM. | |||
| DATA(ld_i_check_existance) | = 'X'. | |||
Search for further information about these or an SAP related objects