SAP /ACCGO/CCK_SIMULATE_DPQS Function Module for Simulate DPQS
/ACCGO/CCK_SIMULATE_DPQS is a standard /accgo/cck simulate dpqs SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Simulate DPQS 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 /accgo/cck simulate dpqs FM, simply by entering the name /ACCGO/CCK_SIMULATE_DPQS into the relevant SAP transaction such as SE37 or SE38.
Function Group: /ACCGO/CCK_SIMULATE
Program Name: /ACCGO/SAPLCCK_SIMULATE
Main Program: /ACCGO/SAPLCCK_SIMULATE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function /ACCGO/CCK_SIMULATE_DPQS 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 '/ACCGO/CCK_SIMULATE_DPQS'"Simulate DPQS.
EXPORTING
IMT_CHAR_LIST = "Table Type for Characteristics ALV
IMT_DERV_CHAR_DETAILS = "DPQS Characteristics Details(Global Derived Characteristics)
IMT_CHAR_PARAMS = "Table Type for Derived Characteristics
IMT_RANGES = "DPQS Range for UI
IM_DPQS_H = "Structure for DPQS Header
IMPORTING
EXT_CHAR_RANGE_LINK = "Characteristic and Range Linkage
EX_DERV_CHAR_USED = "Checkbox
EXT_RETURN = "Simulate DPQS: Errors
CHANGING
CH_SIMULATE_HDR = "Header structure for Simulation of DPQS
CHT_SIMULATE_LIST = "Simulate DPQS: UI Table Type
IMPORTING Parameters details for /ACCGO/CCK_SIMULATE_DPQS
IMT_CHAR_LIST - Table Type for Characteristics ALV
Data type: /ACCGO/CMN_TT_DPQS_CHAR_UIOptional: No
Call by Reference: Yes
IMT_DERV_CHAR_DETAILS - DPQS Characteristics Details(Global Derived Characteristics)
Data type: /ACCGO/CMN_TT_DPQS_CHR_DATA_UIOptional: No
Call by Reference: Yes
IMT_CHAR_PARAMS - Table Type for Derived Characteristics
Data type: /ACCGO/CMN_TT_DERV_PARAM_UIOptional: No
Call by Reference: Yes
IMT_RANGES - DPQS Range for UI
Data type: /ACCGO/CMN_TT_DPQS_RANGE_UIOptional: No
Call by Reference: Yes
IM_DPQS_H - Structure for DPQS Header
Data type: /ACCGO/CMN_S_DPQS_HOptional: No
Call by Reference: Yes
EXPORTING Parameters details for /ACCGO/CCK_SIMULATE_DPQS
EXT_CHAR_RANGE_LINK - Characteristic and Range Linkage
Data type: /ACCGO/CMN_TT_CHAR_RANGE_LINKOptional: No
Call by Reference: Yes
EX_DERV_CHAR_USED - Checkbox
Data type: XFELDOptional: No
Call by Reference: Yes
EXT_RETURN - Simulate DPQS: Errors
Data type: /ACCGO/CMN_TT_SIMUL_DPQS_ERROROptional: No
Call by Reference: Yes
CHANGING Parameters details for /ACCGO/CCK_SIMULATE_DPQS
CH_SIMULATE_HDR - Header structure for Simulation of DPQS
Data type: /ACCGO/CMN_S_SIMULATE_DPQS_HDROptional: No
Call by Reference: Yes
CHT_SIMULATE_LIST - Simulate DPQS: UI Table Type
Data type: /ACCGO/CMN_TT_SIMULATE_DPQS_UIOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for /ACCGO/CCK_SIMULATE_DPQS 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_imt_char_list | TYPE /ACCGO/CMN_TT_DPQS_CHAR_UI, " | |||
lv_ch_simulate_hdr | TYPE /ACCGO/CMN_S_SIMULATE_DPQS_HDR, " | |||
lv_ext_char_range_link | TYPE /ACCGO/CMN_TT_CHAR_RANGE_LINK, " | |||
lv_cht_simulate_list | TYPE /ACCGO/CMN_TT_SIMULATE_DPQS_UI, " | |||
lv_ex_derv_char_used | TYPE XFELD, " | |||
lv_imt_derv_char_details | TYPE /ACCGO/CMN_TT_DPQS_CHR_DATA_UI, " | |||
lv_ext_return | TYPE /ACCGO/CMN_TT_SIMUL_DPQS_ERROR, " | |||
lv_imt_char_params | TYPE /ACCGO/CMN_TT_DERV_PARAM_UI, " | |||
lv_imt_ranges | TYPE /ACCGO/CMN_TT_DPQS_RANGE_UI, " | |||
lv_im_dpqs_h | TYPE /ACCGO/CMN_S_DPQS_H. " |
  CALL FUNCTION '/ACCGO/CCK_SIMULATE_DPQS' "Simulate DPQS |
EXPORTING | ||
IMT_CHAR_LIST | = lv_imt_char_list | |
IMT_DERV_CHAR_DETAILS | = lv_imt_derv_char_details | |
IMT_CHAR_PARAMS | = lv_imt_char_params | |
IMT_RANGES | = lv_imt_ranges | |
IM_DPQS_H | = lv_im_dpqs_h | |
IMPORTING | ||
EXT_CHAR_RANGE_LINK | = lv_ext_char_range_link | |
EX_DERV_CHAR_USED | = lv_ex_derv_char_used | |
EXT_RETURN | = lv_ext_return | |
CHANGING | ||
CH_SIMULATE_HDR | = lv_ch_simulate_hdr | |
CHT_SIMULATE_LIST | = lv_cht_simulate_list | |
. " /ACCGO/CCK_SIMULATE_DPQS |
ABAP code using 7.40 inline data declarations to call FM /ACCGO/CCK_SIMULATE_DPQS
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.Search for further information about these or an SAP related objects