SAP QIBP_GET_SAMPLE_VALUES Function Module for NOTRANSL: Ergebnisrückmeldung für Probenergebnisse(vereinf. QIRF_GET_SAMPL
QIBP_GET_SAMPLE_VALUES is a standard qibp get sample values SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ergebnisrückmeldung für Probenergebnisse(vereinf. QIRF_GET_SAMPL 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 qibp get sample values FM, simply by entering the name QIBP_GET_SAMPLE_VALUES into the relevant SAP transaction such as SE37 or SE38.
Function Group: QIBP
Program Name: SAPLQIBP
Main Program: SAPLQIBP
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function QIBP_GET_SAMPLE_VALUES 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 'QIBP_GET_SAMPLE_VALUES'"NOTRANSL: Ergebnisrückmeldung für Probenergebnisse(vereinf. QIRF_GET_SAMPL.
EXPORTING
* EXTERNAL_COMMIT = ' ' "
IMPORTING
RETURN2 = "Return Parameter(s)
TABLES
T_QAISRTAB = "Sample Results Table
* T_QIERRTAB = "Error Log
* RETURNTABLE = "Return Parameter(s)
IMPORTING Parameters details for QIBP_GET_SAMPLE_VALUES
EXTERNAL_COMMIT -
Data type: QM00-QKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for QIBP_GET_SAMPLE_VALUES
RETURN2 - Return Parameter(s)
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for QIBP_GET_SAMPLE_VALUES
T_QAISRTAB - Sample Results Table
Data type: QAISR3Optional: No
Call by Reference: Yes
T_QIERRTAB - Error Log
Data type: QIERROptional: Yes
Call by Reference: Yes
RETURNTABLE - Return Parameter(s)
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for QIBP_GET_SAMPLE_VALUES 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_return2 | TYPE BAPIRET2, " | |||
| lt_t_qaisrtab | TYPE STANDARD TABLE OF QAISR3, " | |||
| lv_external_commit | TYPE QM00-QKZ, " SPACE | |||
| lt_t_qierrtab | TYPE STANDARD TABLE OF QIERR, " | |||
| lt_returntable | TYPE STANDARD TABLE OF BAPIRET2. " |
|   CALL FUNCTION 'QIBP_GET_SAMPLE_VALUES' "NOTRANSL: Ergebnisrückmeldung für Probenergebnisse(vereinf. QIRF_GET_SAMPL |
| EXPORTING | ||
| EXTERNAL_COMMIT | = lv_external_commit | |
| IMPORTING | ||
| RETURN2 | = lv_return2 | |
| TABLES | ||
| T_QAISRTAB | = lt_t_qaisrtab | |
| T_QIERRTAB | = lt_t_qierrtab | |
| RETURNTABLE | = lt_returntable | |
| . " QIBP_GET_SAMPLE_VALUES | ||
ABAP code using 7.40 inline data declarations to call FM QIBP_GET_SAMPLE_VALUES
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 QKZ FROM QM00 INTO @DATA(ld_external_commit). | ||||
| DATA(ld_external_commit) | = ' '. | |||
Search for further information about these or an SAP related objects