GET_COST_DISPLAY SAP Method Returns Cost Estimate Selection
Below is documentation, parameters and attributes of ABAP Method GET_COST_DISPLAY within SAP class CL_GUI_COSTING_BUFFER_PPE_CK. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_GUI_COSTING_BUFFER_PPE_CK into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method GET_COST_DISPLAY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_COST_DISPLAY
.| Name | Type | Data Type | Description | Default Value |
| IM_COSTING_BUFFER_ONLY | Importing | TYPE XFLAG | Cost Estimates Not from DB | |
| IM_COST_DISPLAY_INPUT | Importing | TYPE CKTC_COST_DISPLAY_INPUT | Structure for Selection of Cost Estimates | |
| IM_DISPLAY_BUFFER_ONLY | Importing | TYPE XFLAG | Only from Display Buffer | |
| EX_ALV_GRID | Exporting | TYPE REF TO CL_GUI_ALV_GRID | ALV List Viewer | |
| EX_COST_DISPLAY_TABLE | Exporting | TYPE CKTC_COST_DISPLAY_TABLE | Table for Displaying Concurrent Costing Results | |
| EX_COST_ESTIMATES | Exporting | TYPE CKF_T_COST_ESTIMATE | PCP: Table with Object References |
Exceptions of Method GET_COST_DISPLAY
CL_GUI_ALV_GRID
CKTC_COST_DISPLAY_TABLE
CKF_T_COST_ESTIMATE
Example ABAP coding
DATA: lo_class TYPE REF TO CL_GUI_COSTING_BUFFER_PPE_CK.
DATA: lv_EX_ALV_GRID TYPE CL_GUI_ALV_GRID,
lv_EX_COST_DISPLAY_TABLE TYPE CKTC_COST_DISPLAY_TABLE,
lv_EX_COST_ESTIMATES TYPE CKF_T_COST_ESTIMATE,
lv_IM_COSTING_BUFFER_ONLY TYPE XFLAG,
lv_IM_COST_DISPLAY_INPUT TYPE CKTC_COST_DISPLAY_INPUT,
lv_IM_DISPLAY_BUFFER_ONLY TYPE XFLAG,
lv_other TYPE c.
CALL METHOD lo_class=>GET_COST_DISPLAY(
EXPORTING
IM_COSTING_BUFFER_ONLY = lv_IM_COSTING_BUFFER_ONLY
IM_COST_DISPLAY_INPUT = lv_IM_COST_DISPLAY_INPUT
IM_DISPLAY_BUFFER_ONLY = lv_IM_DISPLAY_BUFFER_ONLY
IMPORTING
EX_ALV_GRID = lv_EX_ALV_GRID
EX_COST_DISPLAY_TABLE = lv_EX_COST_DISPLAY_TABLE
EX_COST_ESTIMATES = lv_EX_COST_ESTIMATES ).
Links to Related Class(s)
CL_GUI_C...Full list of available SAP object classes
Search for further information about these or an SAP related objects