SAP CBIH_LB22_PHRSEL_SET_READ Function Module for
CBIH_LB22_PHRSEL_SET_READ is a standard cbih lb22 phrsel set 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 cbih lb22 phrsel set read FM, simply by entering the name CBIH_LB22_PHRSEL_SET_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: CBIH_LB22
Program Name: SAPLCBIH_LB22
Main Program: SAPLCBIH_LB22
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CBIH_LB22_PHRSEL_SET_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 'CBIH_LB22_PHRSEL_SET_READ'".
EXPORTING
I_ADDINF = "
I_TABLENAME = "
I_FIELDNAME = "
I_OBJCAT = "
I_OBJTYPE = "
* I_LANGUAGE = SY-LANGU "
IMPORTING
E_PHRSEL_WA = "
TABLES
* I_PARAM_TAB = "
E_VALUE_TAB = "
* E_PHRASE_HEAD_TAB = "
* E_PHRASE_TEXT_TAB = "
* E_PHRASE_LTEXT_TAB = "
EXCEPTIONS
NO_PHRSEL_JOINED = 1 PHRSEL_DOES_NOT_EXIST = 2 NO_PHRASES_JOINED = 3 ERROR_CATALOGUE_CUSTOMIZING = 4 NO_AWM_CUST = 5
IMPORTING Parameters details for CBIH_LB22_PHRSEL_SET_READ
I_ADDINF -
Data type: RCGADDINFOptional: No
Call by Reference: No ( called with pass by value option)
I_TABLENAME -
Data type: ESP1_TAB_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_FIELDNAME -
Data type: ESP1_TAB_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJCAT -
Data type: CCIHC_IHOBJ-OBJCATOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJTYPE -
Data type: CCIHC_IHTYPE-OBJTYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_LANGUAGE -
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CBIH_LB22_PHRSEL_SET_READ
E_PHRSEL_WA -
Data type: RCGPSIOTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CBIH_LB22_PHRSEL_SET_READ
I_PARAM_TAB -
Data type: RCGSTDPARAMOptional: Yes
Call by Reference: No ( called with pass by value option)
E_VALUE_TAB -
Data type: RCGATF4PHROptional: No
Call by Reference: No ( called with pass by value option)
E_PHRASE_HEAD_TAB -
Data type: ESPPH_APIPH_TAB_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_PHRASE_TEXT_TAB -
Data type: ESPPH_APIPP_TAB_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_PHRASE_LTEXT_TAB -
Data type: ESPPH_APIPL_TAB_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_PHRSEL_JOINED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PHRSEL_DOES_NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PHRASES_JOINED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_CATALOGUE_CUSTOMIZING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AWM_CUST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CBIH_LB22_PHRSEL_SET_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_i_addinf | TYPE RCGADDINF, " | |||
| lv_e_phrsel_wa | TYPE RCGPSIOT, " | |||
| lt_i_param_tab | TYPE STANDARD TABLE OF RCGSTDPARAM, " | |||
| lv_no_phrsel_joined | TYPE RCGSTDPARAM, " | |||
| lt_e_value_tab | TYPE STANDARD TABLE OF RCGATF4PHR, " | |||
| lv_i_tablename | TYPE ESP1_TAB_NAME, " | |||
| lv_phrsel_does_not_exist | TYPE ESP1_TAB_NAME, " | |||
| lv_i_fieldname | TYPE ESP1_TAB_NAME, " | |||
| lt_e_phrase_head_tab | TYPE STANDARD TABLE OF ESPPH_APIPH_TAB_TYPE, " | |||
| lv_no_phrases_joined | TYPE ESPPH_APIPH_TAB_TYPE, " | |||
| lv_i_objcat | TYPE CCIHC_IHOBJ-OBJCAT, " | |||
| lt_e_phrase_text_tab | TYPE STANDARD TABLE OF ESPPH_APIPP_TAB_TYPE, " | |||
| lv_error_catalogue_customizing | TYPE ESPPH_APIPP_TAB_TYPE, " | |||
| lv_i_objtype | TYPE CCIHC_IHTYPE-OBJTYPE, " | |||
| lv_no_awm_cust | TYPE CCIHC_IHTYPE, " | |||
| lt_e_phrase_ltext_tab | TYPE STANDARD TABLE OF ESPPH_APIPL_TAB_TYPE, " | |||
| lv_i_language | TYPE SY-LANGU. " SY-LANGU |
|   CALL FUNCTION 'CBIH_LB22_PHRSEL_SET_READ' " |
| EXPORTING | ||
| I_ADDINF | = lv_i_addinf | |
| I_TABLENAME | = lv_i_tablename | |
| I_FIELDNAME | = lv_i_fieldname | |
| I_OBJCAT | = lv_i_objcat | |
| I_OBJTYPE | = lv_i_objtype | |
| I_LANGUAGE | = lv_i_language | |
| IMPORTING | ||
| E_PHRSEL_WA | = lv_e_phrsel_wa | |
| TABLES | ||
| I_PARAM_TAB | = lt_i_param_tab | |
| E_VALUE_TAB | = lt_e_value_tab | |
| E_PHRASE_HEAD_TAB | = lt_e_phrase_head_tab | |
| E_PHRASE_TEXT_TAB | = lt_e_phrase_text_tab | |
| E_PHRASE_LTEXT_TAB | = lt_e_phrase_ltext_tab | |
| EXCEPTIONS | ||
| NO_PHRSEL_JOINED = 1 | ||
| PHRSEL_DOES_NOT_EXIST = 2 | ||
| NO_PHRASES_JOINED = 3 | ||
| ERROR_CATALOGUE_CUSTOMIZING = 4 | ||
| NO_AWM_CUST = 5 | ||
| . " CBIH_LB22_PHRSEL_SET_READ | ||
ABAP code using 7.40 inline data declarations to call FM CBIH_LB22_PHRSEL_SET_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 OBJCAT FROM CCIHC_IHOBJ INTO @DATA(ld_i_objcat). | ||||
| "SELECT single OBJTYPE FROM CCIHC_IHTYPE INTO @DATA(ld_i_objtype). | ||||
| "SELECT single LANGU FROM SY INTO @DATA(ld_i_language). | ||||
| DATA(ld_i_language) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects