SAP PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE Function Module for Exclude Delivery Channels per Item
PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE is a standard pia cso 1item dlv chan exclude SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Exclude Delivery Channels per Item 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 pia cso 1item dlv chan exclude FM, simply by entering the name PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE into the relevant SAP transaction such as SE37 or SE38.
Function Group: WSSI_LINE
Program Name: SAPLWSSI_LINE
Main Program: SAPLWSSI_LINE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE 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 'PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE'"Exclude Delivery Channels per Item.
EXPORTING
PI_ITEM = "Store WB: IAC Konsumentenauftrag Subscr Positionsanzeige
PI_PLANT_CURRENT = "Plant
PI_PLANT_SALES_OFF = "Plant
PI_TWIC0500 = "Store WB: Auftragserfassung Grunddaten
PI_REQ_DATE_H = "Requested Delivery Date
IMPORTING
PE_RETURN1 = "Return Parameter(s)
CHANGING
PIE_DLVCHN_XCL = "SAP Retail Store Sales Order: Selection Bar
PIE_PLANT_DLV = "Plant
IMPORTING Parameters details for PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE
PI_ITEM - Store WB: IAC Konsumentenauftrag Subscr Positionsanzeige
Data type: WISO_ITEMOptional: No
Call by Reference: Yes
PI_PLANT_CURRENT - Plant
Data type: STOREWB_EINSTIEG-WERKSOptional: No
Call by Reference: Yes
PI_PLANT_SALES_OFF - Plant
Data type: STOREWB_EINSTIEG-WERKSOptional: No
Call by Reference: Yes
PI_TWIC0500 - Store WB: Auftragserfassung Grunddaten
Data type: TWIC0500Optional: No
Call by Reference: Yes
PI_REQ_DATE_H - Requested Delivery Date
Data type: WISO_HEAD-REQ_DATE_HOptional: No
Call by Reference: Yes
EXPORTING Parameters details for PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE
PE_RETURN1 - Return Parameter(s)
Data type: BAPIRETURN1Optional: No
Call by Reference: Yes
CHANGING Parameters details for PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE
PIE_DLVCHN_XCL - SAP Retail Store Sales Order: Selection Bar
Data type: WISO_XLINEOptional: No
Call by Reference: Yes
PIE_PLANT_DLV - Plant
Data type: WISO_ITEM-PLANT_DLVOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE 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_pi_item | TYPE WISO_ITEM, " | |||
| lv_pe_return1 | TYPE BAPIRETURN1, " | |||
| lv_pie_dlvchn_xcl | TYPE WISO_XLINE, " | |||
| lv_pie_plant_dlv | TYPE WISO_ITEM-PLANT_DLV, " | |||
| lv_pi_plant_current | TYPE STOREWB_EINSTIEG-WERKS, " | |||
| lv_pi_plant_sales_off | TYPE STOREWB_EINSTIEG-WERKS, " | |||
| lv_pi_twic0500 | TYPE TWIC0500, " | |||
| lv_pi_req_date_h | TYPE WISO_HEAD-REQ_DATE_H. " |
|   CALL FUNCTION 'PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE' "Exclude Delivery Channels per Item |
| EXPORTING | ||
| PI_ITEM | = lv_pi_item | |
| PI_PLANT_CURRENT | = lv_pi_plant_current | |
| PI_PLANT_SALES_OFF | = lv_pi_plant_sales_off | |
| PI_TWIC0500 | = lv_pi_twic0500 | |
| PI_REQ_DATE_H | = lv_pi_req_date_h | |
| IMPORTING | ||
| PE_RETURN1 | = lv_pe_return1 | |
| CHANGING | ||
| PIE_DLVCHN_XCL | = lv_pie_dlvchn_xcl | |
| PIE_PLANT_DLV | = lv_pie_plant_dlv | |
| . " PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE | ||
ABAP code using 7.40 inline data declarations to call FM PIA_CSO_1ITEM_DLV_CHAN_EXCLUDE
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 PLANT_DLV FROM WISO_ITEM INTO @DATA(ld_pie_plant_dlv). | ||||
| "SELECT single WERKS FROM STOREWB_EINSTIEG INTO @DATA(ld_pi_plant_current). | ||||
| "SELECT single WERKS FROM STOREWB_EINSTIEG INTO @DATA(ld_pi_plant_sales_off). | ||||
| "SELECT single REQ_DATE_H FROM WISO_HEAD INTO @DATA(ld_pi_req_date_h). | ||||
Search for further information about these or an SAP related objects