BAPI_INSPLOT_STATINTERFACE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_INSPLOT_STATINTERFACE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
QIST
Released Date:
22.09.1997
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_INSPLOT_STATINTERFACE' "QM-STI Interface
IMPORTING
return = " bapireturn1 Standard BAPI Return Parameter
mime_type = " bapiqci-cont_type HTML content type
* mime_length = " bapiqci-cont_len HTML content length
* TABLES
* report_header = " bapiqmsti1 Evaluation Header Data
* material_data = " bapiqmsti2 Material
* vendor_data = " bapiqmsti3 Vendor
* characteristic_header = " bapiqmsti4 Characteristic Header Data
* characteristic_quantitative = " bapiqmsti5 Quantitative Characteristics
* characteristic_qualitative = " bapiqmsti6 Qualitative Characteristics
* sample_header = " bapiqmsti7 Samples
* results_quantitative = " bapiqmsti9 Quantitative Inspection Results
* results_qualitative = " bapiqmsti0 Qualitative Inspection Results
* results_additional_data = " bapiqmsti8 Additional Data: Inspection Results
* method_data = " bapiqmstia Evaluation Steps
* sample_quantitative = " bapiqmsti71 Summarized Quantitative Results for Characteristic
* sample_qualitative = " bapiqmsti72 Summarized Qualitative Results
* mime = " bapiqgmime File Content
* xml = " bapiqgmime Data in XML Format
. " BAPI_INSPLOT_STATINTERFACE
The ABAP code below is a full code listing to execute function module BAPI_INSPLOT_STATINTERFACE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_return | TYPE BAPIRETURN1 , |
| ld_mime_type | TYPE BAPIQCI-CONT_TYPE , |
| ld_mime_length | TYPE BAPIQCI-CONT_LEN , |
| it_report_header | TYPE STANDARD TABLE OF BAPIQMSTI1,"TABLES PARAM |
| wa_report_header | LIKE LINE OF it_report_header , |
| it_material_data | TYPE STANDARD TABLE OF BAPIQMSTI2,"TABLES PARAM |
| wa_material_data | LIKE LINE OF it_material_data , |
| it_vendor_data | TYPE STANDARD TABLE OF BAPIQMSTI3,"TABLES PARAM |
| wa_vendor_data | LIKE LINE OF it_vendor_data , |
| it_characteristic_header | TYPE STANDARD TABLE OF BAPIQMSTI4,"TABLES PARAM |
| wa_characteristic_header | LIKE LINE OF it_characteristic_header , |
| it_characteristic_quantitative | TYPE STANDARD TABLE OF BAPIQMSTI5,"TABLES PARAM |
| wa_characteristic_quantitative | LIKE LINE OF it_characteristic_quantitative , |
| it_characteristic_qualitative | TYPE STANDARD TABLE OF BAPIQMSTI6,"TABLES PARAM |
| wa_characteristic_qualitative | LIKE LINE OF it_characteristic_qualitative , |
| it_sample_header | TYPE STANDARD TABLE OF BAPIQMSTI7,"TABLES PARAM |
| wa_sample_header | LIKE LINE OF it_sample_header , |
| it_results_quantitative | TYPE STANDARD TABLE OF BAPIQMSTI9,"TABLES PARAM |
| wa_results_quantitative | LIKE LINE OF it_results_quantitative , |
| it_results_qualitative | TYPE STANDARD TABLE OF BAPIQMSTI0,"TABLES PARAM |
| wa_results_qualitative | LIKE LINE OF it_results_qualitative , |
| it_results_additional_data | TYPE STANDARD TABLE OF BAPIQMSTI8,"TABLES PARAM |
| wa_results_additional_data | LIKE LINE OF it_results_additional_data , |
| it_method_data | TYPE STANDARD TABLE OF BAPIQMSTIA,"TABLES PARAM |
| wa_method_data | LIKE LINE OF it_method_data , |
| it_sample_quantitative | TYPE STANDARD TABLE OF BAPIQMSTI71,"TABLES PARAM |
| wa_sample_quantitative | LIKE LINE OF it_sample_quantitative , |
| it_sample_qualitative | TYPE STANDARD TABLE OF BAPIQMSTI72,"TABLES PARAM |
| wa_sample_qualitative | LIKE LINE OF it_sample_qualitative , |
| it_mime | TYPE STANDARD TABLE OF BAPIQGMIME,"TABLES PARAM |
| wa_mime | LIKE LINE OF it_mime , |
| it_xml | TYPE STANDARD TABLE OF BAPIQGMIME,"TABLES PARAM |
| wa_xml | LIKE LINE OF it_xml . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_return | TYPE BAPIRETURN1 , |
| it_report_header | TYPE STANDARD TABLE OF BAPIQMSTI1 , |
| wa_report_header | LIKE LINE OF it_report_header, |
| ld_mime_type | TYPE BAPIQCI-CONT_TYPE , |
| it_material_data | TYPE STANDARD TABLE OF BAPIQMSTI2 , |
| wa_material_data | LIKE LINE OF it_material_data, |
| ld_mime_length | TYPE BAPIQCI-CONT_LEN , |
| it_vendor_data | TYPE STANDARD TABLE OF BAPIQMSTI3 , |
| wa_vendor_data | LIKE LINE OF it_vendor_data, |
| it_characteristic_header | TYPE STANDARD TABLE OF BAPIQMSTI4 , |
| wa_characteristic_header | LIKE LINE OF it_characteristic_header, |
| it_characteristic_quantitative | TYPE STANDARD TABLE OF BAPIQMSTI5 , |
| wa_characteristic_quantitative | LIKE LINE OF it_characteristic_quantitative, |
| it_characteristic_qualitative | TYPE STANDARD TABLE OF BAPIQMSTI6 , |
| wa_characteristic_qualitative | LIKE LINE OF it_characteristic_qualitative, |
| it_sample_header | TYPE STANDARD TABLE OF BAPIQMSTI7 , |
| wa_sample_header | LIKE LINE OF it_sample_header, |
| it_results_quantitative | TYPE STANDARD TABLE OF BAPIQMSTI9 , |
| wa_results_quantitative | LIKE LINE OF it_results_quantitative, |
| it_results_qualitative | TYPE STANDARD TABLE OF BAPIQMSTI0 , |
| wa_results_qualitative | LIKE LINE OF it_results_qualitative, |
| it_results_additional_data | TYPE STANDARD TABLE OF BAPIQMSTI8 , |
| wa_results_additional_data | LIKE LINE OF it_results_additional_data, |
| it_method_data | TYPE STANDARD TABLE OF BAPIQMSTIA , |
| wa_method_data | LIKE LINE OF it_method_data, |
| it_sample_quantitative | TYPE STANDARD TABLE OF BAPIQMSTI71 , |
| wa_sample_quantitative | LIKE LINE OF it_sample_quantitative, |
| it_sample_qualitative | TYPE STANDARD TABLE OF BAPIQMSTI72 , |
| wa_sample_qualitative | LIKE LINE OF it_sample_qualitative, |
| it_mime | TYPE STANDARD TABLE OF BAPIQGMIME , |
| wa_mime | LIKE LINE OF it_mime, |
| it_xml | TYPE STANDARD TABLE OF BAPIQGMIME , |
| wa_xml | LIKE LINE OF it_xml. |
The QM-STI interface provides the QM application component with an open
interface for the integration of inspection result evaluations, using
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_INSPLOT_STATINTERFACE or its description.
BAPI_INSPLOT_STATINTERFACE - QM-STI Interface BAPI_INSPLOT_SETUSAGEDECISION - Automatic Usage Decision BAPI_INSPLOT_GETSTATUS - Get Current Status Information for Inspection Lot BAPI_INSPLOT_GETOPERATIONS - Select Inspection Operations for Inspection Lots BAPI_INSPLOT_GETLIST - Select Inspection Lots BAPI_INSPLOT_GETDETAIL - Load Detail Data and Usage Decision for Inspection Lot