SAP CBIH_LB33_QS_QUEST_READ Function Module for









CBIH_LB33_QS_QUEST_READ is a standard cbih lb33 qs quest 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 lb33 qs quest read FM, simply by entering the name CBIH_LB33_QS_QUEST_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: CBIH_LB33
Program Name: SAPLCBIH_LB33
Main Program: SAPLCBIH_LB33
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CBIH_LB33_QS_QUEST_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_LB33_QS_QUEST_READ'"
EXPORTING
* I_COMPLETE_FLG = ESP1_TRUE "
I_REL_TYPE = "
* I_ONLY_ANSWER_FLG = 'X' "

TABLES
I_QRANGE_TAB = "
* I_DATRANGE_TAB = "
* I_QUEST_TYPE_TAB = "
E_QUEST_ANSW_TAB = "

EXCEPTIONS
EMPTY_TABLE_QRANGE = 1 INVALID_TYPE = 2 INVALID_COMPLETE = 3 INVALID_CRITFLAG = 4 EMPTY_TABLE = 5 INTERNAL_ERROR = 6 NO_AUTHORITY = 7
.



IMPORTING Parameters details for CBIH_LB33_QS_QUEST_READ

I_COMPLETE_FLG -

Data type: ESP1_BOOLEAN
Default: ESP1_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REL_TYPE -

Data type: EHS00_RELTYPE
Optional: No
Call by Reference: No ( called with pass by value option)

I_ONLY_ANSWER_FLG -

Data type: EHS00_YESCRIT
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CBIH_LB33_QS_QUEST_READ

I_QRANGE_TAB -

Data type: EHS00_QRANGE
Optional: No
Call by Reference: No ( called with pass by value option)

I_DATRANGE_TAB -

Data type: RSDATRANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_QUEST_TYPE_TAB -

Data type: EHS00_QTYPE_RANGE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_QUEST_ANSW_TAB -

Data type: EHS00_STRUCANSW
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

EMPTY_TABLE_QRANGE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INVALID_TYPE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INVALID_COMPLETE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INVALID_CRITFLAG -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EMPTY_TABLE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INTERNAL_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_AUTHORITY -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CBIH_LB33_QS_QUEST_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:
lt_i_qrange_tab  TYPE STANDARD TABLE OF EHS00_QRANGE, "   
lv_i_complete_flg  TYPE ESP1_BOOLEAN, "   ESP1_TRUE
lv_empty_table_qrange  TYPE ESP1_BOOLEAN, "   
lv_i_rel_type  TYPE EHS00_RELTYPE, "   
lv_invalid_type  TYPE EHS00_RELTYPE, "   
lt_i_datrange_tab  TYPE STANDARD TABLE OF RSDATRANGE, "   
lv_invalid_complete  TYPE RSDATRANGE, "   
lt_i_quest_type_tab  TYPE STANDARD TABLE OF EHS00_QTYPE_RANGE, "   
lv_i_only_answer_flg  TYPE EHS00_YESCRIT, "   'X'
lt_e_quest_answ_tab  TYPE STANDARD TABLE OF EHS00_STRUCANSW, "   
lv_invalid_critflag  TYPE EHS00_STRUCANSW, "   
lv_empty_table  TYPE EHS00_STRUCANSW, "   
lv_internal_error  TYPE EHS00_STRUCANSW, "   
lv_no_authority  TYPE EHS00_STRUCANSW. "   

  CALL FUNCTION 'CBIH_LB33_QS_QUEST_READ'  "
    EXPORTING
         I_COMPLETE_FLG = lv_i_complete_flg
         I_REL_TYPE = lv_i_rel_type
         I_ONLY_ANSWER_FLG = lv_i_only_answer_flg
    TABLES
         I_QRANGE_TAB = lt_i_qrange_tab
         I_DATRANGE_TAB = lt_i_datrange_tab
         I_QUEST_TYPE_TAB = lt_i_quest_type_tab
         E_QUEST_ANSW_TAB = lt_e_quest_answ_tab
    EXCEPTIONS
        EMPTY_TABLE_QRANGE = 1
        INVALID_TYPE = 2
        INVALID_COMPLETE = 3
        INVALID_CRITFLAG = 4
        EMPTY_TABLE = 5
        INTERNAL_ERROR = 6
        NO_AUTHORITY = 7
. " CBIH_LB33_QS_QUEST_READ




ABAP code using 7.40 inline data declarations to call FM CBIH_LB33_QS_QUEST_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.

 
DATA(ld_i_complete_flg) = ESP1_TRUE.
 
 
 
 
 
 
 
DATA(ld_i_only_answer_flg) = 'X'.
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!