SAP CSO_P_DLVHD_PROVIDE_NEXT Function Module for Read Next for Item Table









CSO_P_DLVHD_PROVIDE_NEXT is a standard cso p dlvhd provide next SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Next for Item Table 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 dlvhd provide next FM, simply by entering the name CSO_P_DLVHD_PROVIDE_NEXT into the relevant SAP transaction such as SE37 or SE38.

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



Function CSO_P_DLVHD_PROVIDE_NEXT 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_DLVHD_PROVIDE_NEXT'"Read Next for Item Table
EXPORTING
* PI_IX_START = 0 "
* PI_GET_PREVIOUS = "Checkbox

IMPORTING
PE_DLVHD = "SAP Retail Store: Consumer Order, Delivery Items
PE_DLVHDS_EOF = "Checkbox
PE_RETURN1 = "Return Parameter(s)

TABLES
* PE_T_DLVHD = "SAP Retail Store Consumer Order:
.



IMPORTING Parameters details for CSO_P_DLVHD_PROVIDE_NEXT

PI_IX_START -

Data type: SY-STEPL
Optional: Yes
Call by Reference: Yes

PI_GET_PREVIOUS - Checkbox

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

EXPORTING Parameters details for CSO_P_DLVHD_PROVIDE_NEXT

PE_DLVHD - SAP Retail Store: Consumer Order, Delivery Items

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

PE_DLVHDS_EOF - Checkbox

Data type: WISO_HNDL-XFIELD
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_DLVHD_PROVIDE_NEXT

PE_T_DLVHD - SAP Retail Store Consumer Order:

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

Copy and paste ABAP code example for CSO_P_DLVHD_PROVIDE_NEXT 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_pe_dlvhd  TYPE WISO_DLVHD, "   
lt_pe_t_dlvhd  TYPE STANDARD TABLE OF WISO_DLVHD, "   
lv_pi_ix_start  TYPE SY-STEPL, "   0
lv_pe_dlvhds_eof  TYPE WISO_HNDL-XFIELD, "   
lv_pi_get_previous  TYPE WISO_HNDL-XFIELD, "   
lv_pe_return1  TYPE BAPIRETURN1. "   

  CALL FUNCTION 'CSO_P_DLVHD_PROVIDE_NEXT'  "Read Next for Item Table
    EXPORTING
         PI_IX_START = lv_pi_ix_start
         PI_GET_PREVIOUS = lv_pi_get_previous
    IMPORTING
         PE_DLVHD = lv_pe_dlvhd
         PE_DLVHDS_EOF = lv_pe_dlvhds_eof
         PE_RETURN1 = lv_pe_return1
    TABLES
         PE_T_DLVHD = lt_pe_t_dlthd
. " CSO_P_DLVHD_PROVIDE_NEXT




ABAP code using 7.40 inline data declarations to call FM CSO_P_DLVHD_PROVIDE_NEXT

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 STEPL FROM SY INTO @DATA(ld_pi_ix_start).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pe_dlvhds_eof).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_get_previous).
 
 


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!