SAP CSO_P_DLVRIES_OPEN_HANDLE Function Module for Deliveries Without Goods Issue: Billing Documents









CSO_P_DLVRIES_OPEN_HANDLE is a standard cso p dlvries open handle SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Deliveries Without Goods Issue: Billing Documents 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 cso p dlvries open handle FM, simply by entering the name CSO_P_DLVRIES_OPEN_HANDLE into the relevant SAP transaction such as SE37 or SE38.

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



Function CSO_P_DLVRIES_OPEN_HANDLE 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 'CSO_P_DLVRIES_OPEN_HANDLE'"Deliveries Without Goods Issue: Billing Documents
EXPORTING
* PI_MODE_REFRESH = "Checkbox
* PI_MODE_OPEN_ANALYSE = "Checkbox
* PI_MODE_OPEN_SET_NXT = "Checkbox
* PI_MODE_DO_NEW_DLV = "Checkbox
* PI_NEW_DLV_IMPOSSIBLE = "Checkbox
* PI_MODE_NEW_CREATED = "Checkbox
* PI_MODE_GI_OK = "Checkbox
* PI_MODE_BILL_OK = "Checkbox
* PI_DLV_OPEN_CURRENT = "Delivery

IMPORTING
PE_DLVHD_OPEN = "SAP Retail Store Consumer Order:
PE_MORE_OPEN_DLV = "Checkbox
PE_NEW_DLV_IMPOSSIBLE = "Checkbox
PE_LIKP = "SD Document: Delivery Header Data
PE_WARN_OPEN_DLV = "SAP Retail Store Sales Order: Warnings
PE_DLVHD_NEW = "SAP Retail Store Consumer Order:
PE_RETURN1 = "Return Parameter(s)

TABLES
* PE_T_LIPS = "SD Document: Delivery: Item Data
* PE_T_DLVHD_OPEN = "SAP Retail Store Consumer Order:
.



IMPORTING Parameters details for CSO_P_DLVRIES_OPEN_HANDLE

PI_MODE_REFRESH - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: Yes
Call by Reference: Yes

PI_MODE_OPEN_ANALYSE - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: Yes
Call by Reference: Yes

PI_MODE_OPEN_SET_NXT - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: Yes
Call by Reference: Yes

PI_MODE_DO_NEW_DLV - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: Yes
Call by Reference: Yes

PI_NEW_DLV_IMPOSSIBLE - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: Yes
Call by Reference: Yes

PI_MODE_NEW_CREATED - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: Yes
Call by Reference: Yes

PI_MODE_GI_OK - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: Yes
Call by Reference: Yes

PI_MODE_BILL_OK - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: Yes
Call by Reference: Yes

PI_DLV_OPEN_CURRENT - Delivery

Data type: WISO_DLVHD-DELIV_NUMB
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CSO_P_DLVRIES_OPEN_HANDLE

PE_DLVHD_OPEN - SAP Retail Store Consumer Order:

Data type: WISO_DLVHD
Optional: No
Call by Reference: Yes

PE_MORE_OPEN_DLV - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: No
Call by Reference: Yes

PE_NEW_DLV_IMPOSSIBLE - Checkbox

Data type: WISO_HNDL-XFIELD
Optional: No
Call by Reference: Yes

PE_LIKP - SD Document: Delivery Header Data

Data type: LIKP
Optional: No
Call by Reference: Yes

PE_WARN_OPEN_DLV - SAP Retail Store Sales Order: Warnings

Data type: WISO_WARN
Optional: No
Call by Reference: Yes

PE_DLVHD_NEW - SAP Retail Store Consumer Order:

Data type: WISO_DLVHD
Optional: No
Call by Reference: Yes

PE_RETURN1 - Return Parameter(s)

Data type: BAPIRETURN1
Optional: No
Call by Reference: Yes

TABLES Parameters details for CSO_P_DLVRIES_OPEN_HANDLE

PE_T_LIPS - SD Document: Delivery: Item Data

Data type: LIPS
Optional: Yes
Call by Reference: Yes

PE_T_DLVHD_OPEN - SAP Retail Store Consumer Order:

Data type: WISO_DLVHD
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for CSO_P_DLVRIES_OPEN_HANDLE 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_pe_t_lips  TYPE STANDARD TABLE OF LIPS, "   
lv_pe_dlvhd_open  TYPE WISO_DLVHD, "   
lv_pi_mode_refresh  TYPE WISO_HNDL-XFIELD, "   
lt_pe_t_dlvhd_open  TYPE STANDARD TABLE OF WISO_DLVHD, "   
lv_pe_more_open_dlv  TYPE WISO_HNDL-XFIELD, "   
lv_pi_mode_open_analyse  TYPE WISO_HNDL-XFIELD, "   
lv_pi_mode_open_set_nxt  TYPE WISO_HNDL-XFIELD, "   
lv_pe_new_dlv_impossible  TYPE WISO_HNDL-XFIELD, "   
lv_pe_likp  TYPE LIKP, "   
lv_pi_mode_do_new_dlv  TYPE WISO_HNDL-XFIELD, "   
lv_pe_warn_open_dlv  TYPE WISO_WARN, "   
lv_pi_new_dlv_impossible  TYPE WISO_HNDL-XFIELD, "   
lv_pe_dlvhd_new  TYPE WISO_DLVHD, "   
lv_pi_mode_new_created  TYPE WISO_HNDL-XFIELD, "   
lv_pe_return1  TYPE BAPIRETURN1, "   
lv_pi_mode_gi_ok  TYPE WISO_HNDL-XFIELD, "   
lv_pi_mode_bill_ok  TYPE WISO_HNDL-XFIELD, "   
lv_pi_dlv_open_current  TYPE WISO_DLVHD-DELIV_NUMB. "   

  CALL FUNCTION 'CSO_P_DLVRIES_OPEN_HANDLE'  "Deliveries Without Goods Issue: Billing Documents
    EXPORTING
         PI_MODE_REFRESH = lv_pi_mode_refresh
         PI_MODE_OPEN_ANALYSE = lv_pi_mode_open_analyse
         PI_MODE_OPEN_SET_NXT = lv_pi_mode_open_set_nxt
         PI_MODE_DO_NEW_DLV = lv_pi_mode_do_new_dlv
         PI_NEW_DLV_IMPOSSIBLE = lv_pi_new_dlv_impossible
         PI_MODE_NEW_CREATED = lv_pi_mode_new_created
         PI_MODE_GI_OK = lv_pi_mode_gi_ok
         PI_MODE_BILL_OK = lv_pi_mode_bill_ok
         PI_DLV_OPEN_CURRENT = lv_pi_dlv_open_current
    IMPORTING
         PE_DLVHD_OPEN = lv_pe_dlvhd_open
         PE_MORE_OPEN_DLV = lv_pe_more_open_dlv
         PE_NEW_DLV_IMPOSSIBLE = lv_pe_new_dlv_impossible
         PE_LIKP = lv_pe_likp
         PE_WARN_OPEN_DLV = lv_pe_warn_open_dlv
         PE_DLVHD_NEW = lv_pe_dlvhd_new
         PE_RETURN1 = lv_pe_return1
    TABLES
         PE_T_LIPS = lt_pe_t_lips
         PE_T_DLVHD_OPEN = lt_pe_t_dlthd_open
. " CSO_P_DLVRIES_OPEN_HANDLE




ABAP code using 7.40 inline data declarations to call FM CSO_P_DLVRIES_OPEN_HANDLE

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 XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_mode_refresh).
 
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pe_more_open_dlv).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_mode_open_analyse).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_mode_open_set_nxt).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pe_new_dlv_impossible).
 
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_mode_do_new_dlv).
 
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_new_dlv_impossible).
 
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_mode_new_created).
 
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_mode_gi_ok).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_mode_bill_ok).
 
"SELECT single DELIV_NUMB FROM WISO_DLVHD INTO @DATA(ld_pi_dlv_open_current).
 


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!