SAP CSO_P_CONDS_INPUT_GET Function Module for Update Condition Entries from Global Buffer









CSO_P_CONDS_INPUT_GET is a standard cso p conds input get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Update Condition Entries from Global Buffer 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 conds input get FM, simply by entering the name CSO_P_CONDS_INPUT_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function CSO_P_CONDS_INPUT_GET 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_CONDS_INPUT_GET'"Update Condition Entries from Global Buffer
EXPORTING
* PI_SY_STEPL = "Screens: Index of Current Table Line
* PI_ITM_NUMBER = "Condition Item Number
* PI_FOR_HEAD = "Checkbox
* PI_FOR_ITEMS = "Checkbox
* PI_FOR_ITEM = "Checkbox
* PI_TYPED_IN_ONLY = "Checkbox
* PI_GET_BUFFER = "Checkbox
* PI_UNIT_PRICE_ONLY = "Checkbox

IMPORTING
PE_COND_INP = "SAP Retail Store: Input Fields for Conditions
PE_COND_NUMB_OPEN = "Internal tables, current number of lines
PE_COND_INP_EOF = "Checkbox
PE_RETURN = "SAP Retail Store: Sales Order: Return Structure

TABLES
* PE_T_COND_INP = "SAP Retail Store: Input Fields for Conditions
.



IMPORTING Parameters details for CSO_P_CONDS_INPUT_GET

PI_SY_STEPL - Screens: Index of Current Table Line

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

PI_ITM_NUMBER - Condition Item Number

Data type: WISO_COND-ITM_NUMBER
Optional: Yes
Call by Reference: Yes

PI_FOR_HEAD - Checkbox

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

PI_FOR_ITEMS - Checkbox

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

PI_FOR_ITEM - Checkbox

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

PI_TYPED_IN_ONLY - Checkbox

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

PI_GET_BUFFER - Checkbox

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

PI_UNIT_PRICE_ONLY - Checkbox

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

EXPORTING Parameters details for CSO_P_CONDS_INPUT_GET

PE_COND_INP - SAP Retail Store: Input Fields for Conditions

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

PE_COND_NUMB_OPEN - Internal tables, current number of lines

Data type: SY-TFILL
Optional: No
Call by Reference: Yes

PE_COND_INP_EOF - Checkbox

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

PE_RETURN - SAP Retail Store: Sales Order: Return Structure

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

TABLES Parameters details for CSO_P_CONDS_INPUT_GET

PE_T_COND_INP - SAP Retail Store: Input Fields for Conditions

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

Copy and paste ABAP code example for CSO_P_CONDS_INPUT_GET 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_cond_inp  TYPE WISO_COND_INP, "   
lv_pi_sy_stepl  TYPE SY-STEPL, "   
lt_pe_t_cond_inp  TYPE STANDARD TABLE OF WISO_COND_INP, "   
lv_pi_itm_number  TYPE WISO_COND-ITM_NUMBER, "   
lv_pe_cond_numb_open  TYPE SY-TFILL, "   
lv_pi_for_head  TYPE WISO_HNDL-XFIELD, "   
lv_pe_cond_inp_eof  TYPE WISO_HNDL-XFIELD, "   
lv_pe_return  TYPE WISO_RETURN, "   
lv_pi_for_items  TYPE WISO_HNDL-XFIELD, "   
lv_pi_for_item  TYPE WISO_HNDL-XFIELD, "   
lv_pi_typed_in_only  TYPE WISO_HNDL-XFIELD, "   
lv_pi_get_buffer  TYPE WISO_HNDL-XFIELD, "   
lv_pi_unit_price_only  TYPE WISO_HNDL-XFIELD. "   

  CALL FUNCTION 'CSO_P_CONDS_INPUT_GET'  "Update Condition Entries from Global Buffer
    EXPORTING
         PI_SY_STEPL = lv_pi_sy_stepl
         PI_ITM_NUMBER = lv_pi_itm_number
         PI_FOR_HEAD = lv_pi_for_head
         PI_FOR_ITEMS = lv_pi_for_items
         PI_FOR_ITEM = lv_pi_for_item
         PI_TYPED_IN_ONLY = lv_pi_typed_in_only
         PI_GET_BUFFER = lv_pi_get_buffer
         PI_UNIT_PRICE_ONLY = lv_pi_unit_price_only
    IMPORTING
         PE_COND_INP = lv_pe_cond_inp
         PE_COND_NUMB_OPEN = lv_pe_cond_numb_open
         PE_COND_INP_EOF = lv_pe_cond_inp_eof
         PE_RETURN = lv_pe_return
    TABLES
         PE_T_COND_INP = lt_pe_t_cond_inp
. " CSO_P_CONDS_INPUT_GET




ABAP code using 7.40 inline data declarations to call FM CSO_P_CONDS_INPUT_GET

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_sy_stepl).
 
 
"SELECT single ITM_NUMBER FROM WISO_COND INTO @DATA(ld_pi_itm_number).
 
"SELECT single TFILL FROM SY INTO @DATA(ld_pe_cond_numb_open).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_for_head).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pe_cond_inp_eof).
 
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_for_items).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_for_item).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_typed_in_only).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_get_buffer).
 
"SELECT single XFIELD FROM WISO_HNDL INTO @DATA(ld_pi_unit_price_only).
 


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!