SAP CQI_SH_INBOUND Function Module for NOTRANSL: Queue-Display Interface Function für CMW_SH_INBOUND
CQI_SH_INBOUND is a standard cqi sh inbound 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: Queue-Display Interface Function für CMW_SH_INBOUND 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 cqi sh inbound FM, simply by entering the name CQI_SH_INBOUND into the relevant SAP transaction such as SE37 or SE38.
Function Group: CFQI
Program Name: SAPLCFQI
Main Program: SAPLCFQI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CQI_SH_INBOUND 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 'CQI_SH_INBOUND'"NOTRANSL: Queue-Display Interface Function für CMW_SH_INBOUND.
EXPORTING
IS_CTRLPARAMS = "Control Parameters for Data Transfers
TABLES
SHP_HDR = "Middleware: APO Core Interface: Shipment Header Data
SHP_VEH_OIL = "Middleware: APO Core Interface: Shipment Vehicle Data for Oil&Gas
SHP_HDR_X = "Middleware: APO Core Interface: Shipment Header Data
SHP_HDL_X = "Middleware: APO Core Interface: Shipment Deadlines Header Data (Enhancement)
SHP_IOS_X = "Middleware: APO Core Interface: Deliveries to Stages (Checklist)
SHP_ITM_X = "Middleware: APO Core Interface: Shipment Item Data (Checklist)
SHP_STG_X = "Middleware: APO Core Interface: Shipment Stages (Chkbox Bar)
SHP_STD_X = "MW: APO Core Interface: Shpmnt Deadlines Stages (Chkbox Bar)
SHP_VEH_X = "MW: APO Core Interface: Vehicle Data as HU (Checkbox Bar)
SHP_HDR_OIL_X = "Middleware: APO Core Interface: Shipment Header Data for Oil&Gas Check-Flags
SHP_ITM_OIL_X = "Middleware: APO Core Interface: Shipment Item Data for Oil&Gas Check-Flag
SHP_HDD = "Middleware: APO Core Interface: Shipment Deadlines Header Data
SHP_VEH_OIL_X = "Middleware: APO Core Interface: Shipment Vehicle Data for Oil&Gas Check-Flags
SHP_HDR_APP = "Middleware: APO Core Interface: Shipment Hdr Data (Enhancmt)
SHP_HDL_APP = "Middleware: APO Core Interface: Shipment Deadlines Header Data (Checklist)
SHP_IOS_APP = "Middleware: APO Core Interface: Deliveries to Stages (Enhancement)
SHP_ITM_APP = "Middleware: APO Core Interface: Shipment Item Data (Enhancement)
SHP_STG_APP = "Middleware: APO Core Interface: Shipment Stages (Enhancemnt)
SHP_STD_APP = "MW: APO Core Interface: Shipmt Deadlines Stages(Enhancement)
SHP_VEH_APP = "Middleware: APO Core Interface: Vehicle Data as HU(Enhncmnt)
SHP_HDR_OIL_APP = "Middleware: APO Core Interface: Shipment Header Data for Oil&Gas Appends
SHP_ITM_OIL_APP = "Middleware: APO Core Interface: Shipment Item Data for Oil&Gas Append
SHP_IOS = "Middleware: APO Core Interface: Deliveries to Stages
SHP_VEH_OIL_APP = "Middleware: APO Core Interface: Shipment Vehicle Data for Oil&Gas Appends
EXTENSIONIN = "Reference Structure for ExtensionIn and ExtensionOut BAPIs
RETURN = "
SHP_ITM = "Middleware: APO Core Interface: Shipment Item Data
SHP_STG = "Middleware: APO Core Interface: Shipment Stages
SHP_STD = "Middleware: APO Core Interface: Shipment Deadlines Stages
SHP_VEH = "Middleware: APO Core Interface: Vehicle Data as HU
SHP_HDR_OIL = "Middleware: APO Core Interface: Shipment Header Data for Oil&Gas
SHP_ITM_OIL = "Middleware: APO Core Interface: Shipment Item Data for Oil&Gas
IMPORTING Parameters details for CQI_SH_INBOUND
IS_CTRLPARAMS - Control Parameters for Data Transfers
Data type: CIFCTRLPAROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CQI_SH_INBOUND
SHP_HDR - Middleware: APO Core Interface: Shipment Header Data
Data type: CMWSHPHDROptional: No
Call by Reference: No ( called with pass by value option)
SHP_VEH_OIL - Middleware: APO Core Interface: Shipment Vehicle Data for Oil&Gas
Data type: CMWSHPVEHOILOptional: No
Call by Reference: No ( called with pass by value option)
SHP_HDR_X - Middleware: APO Core Interface: Shipment Header Data
Data type: CMWSHPHDROptional: No
Call by Reference: No ( called with pass by value option)
SHP_HDL_X - Middleware: APO Core Interface: Shipment Deadlines Header Data (Enhancement)
Data type: CMWSHPHDDXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_IOS_X - Middleware: APO Core Interface: Deliveries to Stages (Checklist)
Data type: CMWSHPIOSXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_ITM_X - Middleware: APO Core Interface: Shipment Item Data (Checklist)
Data type: CMWSHPITMXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_STG_X - Middleware: APO Core Interface: Shipment Stages (Chkbox Bar)
Data type: CMWSHPSTGXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_STD_X - MW: APO Core Interface: Shpmnt Deadlines Stages (Chkbox Bar)
Data type: CMWSHPSTDXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_VEH_X - MW: APO Core Interface: Vehicle Data as HU (Checkbox Bar)
Data type: CMWSHPVEHXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_HDR_OIL_X - Middleware: APO Core Interface: Shipment Header Data for Oil&Gas Check-Flags
Data type: CMWSHPHDROILXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_ITM_OIL_X - Middleware: APO Core Interface: Shipment Item Data for Oil&Gas Check-Flag
Data type: CMWSHPITMOILXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_HDD - Middleware: APO Core Interface: Shipment Deadlines Header Data
Data type: CMWSHPHDDOptional: No
Call by Reference: No ( called with pass by value option)
SHP_VEH_OIL_X - Middleware: APO Core Interface: Shipment Vehicle Data for Oil&Gas Check-Flags
Data type: CMWSHPVEHOILXOptional: No
Call by Reference: No ( called with pass by value option)
SHP_HDR_APP - Middleware: APO Core Interface: Shipment Hdr Data (Enhancmt)
Data type: CMWSHPHDRAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_HDL_APP - Middleware: APO Core Interface: Shipment Deadlines Header Data (Checklist)
Data type: CMWSHPHDDAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_IOS_APP - Middleware: APO Core Interface: Deliveries to Stages (Enhancement)
Data type: CMWSHPIOSAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_ITM_APP - Middleware: APO Core Interface: Shipment Item Data (Enhancement)
Data type: CMWSHPITMAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_STG_APP - Middleware: APO Core Interface: Shipment Stages (Enhancemnt)
Data type: CMWSHPSTGAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_STD_APP - MW: APO Core Interface: Shipmt Deadlines Stages(Enhancement)
Data type: CMWSHPSTDAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_VEH_APP - Middleware: APO Core Interface: Vehicle Data as HU(Enhncmnt)
Data type: CMWSHPVEHAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_HDR_OIL_APP - Middleware: APO Core Interface: Shipment Header Data for Oil&Gas Appends
Data type: CMWSHPHDROILAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_ITM_OIL_APP - Middleware: APO Core Interface: Shipment Item Data for Oil&Gas Append
Data type: CMWSHPITMOILAOptional: No
Call by Reference: No ( called with pass by value option)
SHP_IOS - Middleware: APO Core Interface: Deliveries to Stages
Data type: CMWSHPIOSOptional: No
Call by Reference: No ( called with pass by value option)
SHP_VEH_OIL_APP - Middleware: APO Core Interface: Shipment Vehicle Data for Oil&Gas Appends
Data type: CMWSHPVEHOILAOptional: No
Call by Reference: No ( called with pass by value option)
EXTENSIONIN - Reference Structure for ExtensionIn and ExtensionOut BAPIs
Data type: CIFBPAREXOptional: No
Call by Reference: No ( called with pass by value option)
RETURN -
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
SHP_ITM - Middleware: APO Core Interface: Shipment Item Data
Data type: CMWSHPITMOptional: No
Call by Reference: No ( called with pass by value option)
SHP_STG - Middleware: APO Core Interface: Shipment Stages
Data type: CMWSHPSTGOptional: No
Call by Reference: No ( called with pass by value option)
SHP_STD - Middleware: APO Core Interface: Shipment Deadlines Stages
Data type: CMWSHPSTDOptional: No
Call by Reference: No ( called with pass by value option)
SHP_VEH - Middleware: APO Core Interface: Vehicle Data as HU
Data type: CMWSHPVEHOptional: No
Call by Reference: No ( called with pass by value option)
SHP_HDR_OIL - Middleware: APO Core Interface: Shipment Header Data for Oil&Gas
Data type: CMWSHPHDROILOptional: No
Call by Reference: No ( called with pass by value option)
SHP_ITM_OIL - Middleware: APO Core Interface: Shipment Item Data for Oil&Gas
Data type: CMWSHPITMOILOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CQI_SH_INBOUND 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_shp_hdr | TYPE STANDARD TABLE OF CMWSHPHDR, " | |||
| lv_is_ctrlparams | TYPE CIFCTRLPAR, " | |||
| lt_shp_veh_oil | TYPE STANDARD TABLE OF CMWSHPVEHOIL, " | |||
| lt_shp_hdr_x | TYPE STANDARD TABLE OF CMWSHPHDR, " | |||
| lt_shp_hdl_x | TYPE STANDARD TABLE OF CMWSHPHDDX, " | |||
| lt_shp_ios_x | TYPE STANDARD TABLE OF CMWSHPIOSX, " | |||
| lt_shp_itm_x | TYPE STANDARD TABLE OF CMWSHPITMX, " | |||
| lt_shp_stg_x | TYPE STANDARD TABLE OF CMWSHPSTGX, " | |||
| lt_shp_std_x | TYPE STANDARD TABLE OF CMWSHPSTDX, " | |||
| lt_shp_veh_x | TYPE STANDARD TABLE OF CMWSHPVEHX, " | |||
| lt_shp_hdr_oil_x | TYPE STANDARD TABLE OF CMWSHPHDROILX, " | |||
| lt_shp_itm_oil_x | TYPE STANDARD TABLE OF CMWSHPITMOILX, " | |||
| lt_shp_hdd | TYPE STANDARD TABLE OF CMWSHPHDD, " | |||
| lt_shp_veh_oil_x | TYPE STANDARD TABLE OF CMWSHPVEHOILX, " | |||
| lt_shp_hdr_app | TYPE STANDARD TABLE OF CMWSHPHDRA, " | |||
| lt_shp_hdl_app | TYPE STANDARD TABLE OF CMWSHPHDDA, " | |||
| lt_shp_ios_app | TYPE STANDARD TABLE OF CMWSHPIOSA, " | |||
| lt_shp_itm_app | TYPE STANDARD TABLE OF CMWSHPITMA, " | |||
| lt_shp_stg_app | TYPE STANDARD TABLE OF CMWSHPSTGA, " | |||
| lt_shp_std_app | TYPE STANDARD TABLE OF CMWSHPSTDA, " | |||
| lt_shp_veh_app | TYPE STANDARD TABLE OF CMWSHPVEHA, " | |||
| lt_shp_hdr_oil_app | TYPE STANDARD TABLE OF CMWSHPHDROILA, " | |||
| lt_shp_itm_oil_app | TYPE STANDARD TABLE OF CMWSHPITMOILA, " | |||
| lt_shp_ios | TYPE STANDARD TABLE OF CMWSHPIOS, " | |||
| lt_shp_veh_oil_app | TYPE STANDARD TABLE OF CMWSHPVEHOILA, " | |||
| lt_extensionin | TYPE STANDARD TABLE OF CIFBPAREX, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_shp_itm | TYPE STANDARD TABLE OF CMWSHPITM, " | |||
| lt_shp_stg | TYPE STANDARD TABLE OF CMWSHPSTG, " | |||
| lt_shp_std | TYPE STANDARD TABLE OF CMWSHPSTD, " | |||
| lt_shp_veh | TYPE STANDARD TABLE OF CMWSHPVEH, " | |||
| lt_shp_hdr_oil | TYPE STANDARD TABLE OF CMWSHPHDROIL, " | |||
| lt_shp_itm_oil | TYPE STANDARD TABLE OF CMWSHPITMOIL. " |
|   CALL FUNCTION 'CQI_SH_INBOUND' "NOTRANSL: Queue-Display Interface Function für CMW_SH_INBOUND |
| EXPORTING | ||
| IS_CTRLPARAMS | = lv_is_ctrlparams | |
| TABLES | ||
| SHP_HDR | = lt_shp_hdr | |
| SHP_VEH_OIL | = lt_shp_veh_oil | |
| SHP_HDR_X | = lt_shp_hdr_x | |
| SHP_HDL_X | = lt_shp_hdl_x | |
| SHP_IOS_X | = lt_shp_ios_x | |
| SHP_ITM_X | = lt_shp_itm_x | |
| SHP_STG_X | = lt_shp_stg_x | |
| SHP_STD_X | = lt_shp_std_x | |
| SHP_VEH_X | = lt_shp_veh_x | |
| SHP_HDR_OIL_X | = lt_shp_hdr_oil_x | |
| SHP_ITM_OIL_X | = lt_shp_itm_oil_x | |
| SHP_HDD | = lt_shp_hdd | |
| SHP_VEH_OIL_X | = lt_shp_veh_oil_x | |
| SHP_HDR_APP | = lt_shp_hdr_app | |
| SHP_HDL_APP | = lt_shp_hdl_app | |
| SHP_IOS_APP | = lt_shp_ios_app | |
| SHP_ITM_APP | = lt_shp_itm_app | |
| SHP_STG_APP | = lt_shp_stg_app | |
| SHP_STD_APP | = lt_shp_std_app | |
| SHP_VEH_APP | = lt_shp_veh_app | |
| SHP_HDR_OIL_APP | = lt_shp_hdr_oil_app | |
| SHP_ITM_OIL_APP | = lt_shp_itm_oil_app | |
| SHP_IOS | = lt_shp_ios | |
| SHP_VEH_OIL_APP | = lt_shp_veh_oil_app | |
| EXTENSIONIN | = lt_extensionin | |
| RETURN | = lt_return | |
| SHP_ITM | = lt_shp_itm | |
| SHP_STG | = lt_shp_stg | |
| SHP_STD | = lt_shp_std | |
| SHP_VEH | = lt_shp_veh | |
| SHP_HDR_OIL | = lt_shp_hdr_oil | |
| SHP_ITM_OIL | = lt_shp_itm_oil | |
| . " CQI_SH_INBOUND | ||
ABAP code using 7.40 inline data declarations to call FM CQI_SH_INBOUND
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.Search for further information about these or an SAP related objects