DMC_ACPLAN_BTC_CALC_SERVER is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name DMC_ACPLAN_BTC_CALC_SERVER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CNV0
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'DMC_ACPLAN_BTC_CALC_SERVER' "Server für die Hintergrundberechnung von Zugriffsplänen
EXPORTING
im_admin_data = " dmccalcadm function module access plan calculator
* im_start_calculation = " sy-debug function: start of calculation
* im_get_calculation = " sy-debug function: read the calculation data
* i_delete_job = " sy-debug Intern
IMPORTING
ex_admin_data = " dmccalcadm return structure: errors
et_messages = " dmc_bal_t_msg Application Log: Table with Messages
* TABLES
* ex_it_interval_boundaries = " dmcintervl interval boundaries
* ex_it_reccounts = " dmcreccnt table with record counts
* ex_it_tabwidths = " dmctabwidt table width
* im_it_sel_criteria = " dmc_qry table of selection criteria
EXCEPTIONS
IMPORT_FAILED = 1 " import from cluster table failed
WRONG_CALL = 2 "
EXPORT_FAILED = 3 " export to cluster table failed
. " DMC_ACPLAN_BTC_CALC_SERVER
The ABAP code below is a full code listing to execute function module DMC_ACPLAN_BTC_CALC_SERVER including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_ex_admin_data | TYPE DMCCALCADM , |
| ld_et_messages | TYPE DMC_BAL_T_MSG , |
| it_ex_it_interval_boundaries | TYPE STANDARD TABLE OF DMCINTERVL,"TABLES PARAM |
| wa_ex_it_interval_boundaries | LIKE LINE OF it_ex_it_interval_boundaries , |
| it_ex_it_reccounts | TYPE STANDARD TABLE OF DMCRECCNT,"TABLES PARAM |
| wa_ex_it_reccounts | LIKE LINE OF it_ex_it_reccounts , |
| it_ex_it_tabwidths | TYPE STANDARD TABLE OF DMCTABWIDT,"TABLES PARAM |
| wa_ex_it_tabwidths | LIKE LINE OF it_ex_it_tabwidths , |
| it_im_it_sel_criteria | TYPE STANDARD TABLE OF DMC_QRY,"TABLES PARAM |
| wa_im_it_sel_criteria | LIKE LINE OF it_im_it_sel_criteria . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ex_admin_data | TYPE DMCCALCADM , |
| ld_im_admin_data | TYPE DMCCALCADM , |
| it_ex_it_interval_boundaries | TYPE STANDARD TABLE OF DMCINTERVL , |
| wa_ex_it_interval_boundaries | LIKE LINE OF it_ex_it_interval_boundaries, |
| ld_et_messages | TYPE DMC_BAL_T_MSG , |
| ld_im_start_calculation | TYPE SY-DEBUG , |
| it_ex_it_reccounts | TYPE STANDARD TABLE OF DMCRECCNT , |
| wa_ex_it_reccounts | LIKE LINE OF it_ex_it_reccounts, |
| ld_im_get_calculation | TYPE SY-DEBUG , |
| it_ex_it_tabwidths | TYPE STANDARD TABLE OF DMCTABWIDT , |
| wa_ex_it_tabwidths | LIKE LINE OF it_ex_it_tabwidths, |
| ld_i_delete_job | TYPE SY-DEBUG , |
| it_im_it_sel_criteria | TYPE STANDARD TABLE OF DMC_QRY , |
| wa_im_it_sel_criteria | LIKE LINE OF it_im_it_sel_criteria. |
Access plan calculation in batch mode
EXAMPLE
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name DMC_ACPLAN_BTC_CALC_SERVER or its description.