SAP Function Modules

ACE_READ_ACCRUALS_ALLDATE_EXT SAP Function module







ACE_READ_ACCRUALS_ALLDATE_EXT 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 ACE_READ_ACCRUALS_ALLDATE_EXT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: ACEIF1
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ACE_READ_ACCRUALS_ALLDATE_EXT - ACE READ ACCRUALS ALLDATE EXT





CALL FUNCTION 'ACE_READ_ACCRUALS_ALLDATE_EXT' "
  EXPORTING
    is_accrual_object =         " ace_ex_subkey
*   it_param_range =            " ace_param_name_range_t
  IMPORTING
    es_ace_ex_objkey =          " ace_ex_objkey
    et_ds_header =              " aceds_tb_header
    et_ds_items =               " aceds_tb_item
    et_ds_accounts =            " aceds_tb_accounts
    et_ds_parameter =           " ace_ds_method_parameter_t
    et_ds_params =              " aceds_tb_param
    et_ds_assgmt =              " aceds_assignments_interface_t
    et_return =                 " bapiret2_t
    .  "  ACE_READ_ACCRUALS_ALLDATE_EXT

ABAP code example for Function Module ACE_READ_ACCRUALS_ALLDATE_EXT





The ABAP code below is a full code listing to execute function module ACE_READ_ACCRUALS_ALLDATE_EXT 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).

DATA:
ld_es_ace_ex_objkey  TYPE ACE_EX_OBJKEY ,
ld_et_ds_header  TYPE ACEDS_TB_HEADER ,
ld_et_ds_items  TYPE ACEDS_TB_ITEM ,
ld_et_ds_accounts  TYPE ACEDS_TB_ACCOUNTS ,
ld_et_ds_parameter  TYPE ACE_DS_METHOD_PARAMETER_T ,
ld_et_ds_params  TYPE ACEDS_TB_PARAM ,
ld_et_ds_assgmt  TYPE ACEDS_ASSIGNMENTS_INTERFACE_T ,
ld_et_return  TYPE BAPIRET2_T .

DATA(ld_is_accrual_object) = 'Check type of data required'.
DATA(ld_it_param_range) = 'Check type of data required'. . CALL FUNCTION 'ACE_READ_ACCRUALS_ALLDATE_EXT' EXPORTING is_accrual_object = ld_is_accrual_object * it_param_range = ld_it_param_range IMPORTING es_ace_ex_objkey = ld_es_ace_ex_objkey et_ds_header = ld_et_ds_header et_ds_items = ld_et_ds_items et_ds_accounts = ld_et_ds_accounts et_ds_parameter = ld_et_ds_parameter et_ds_params = ld_et_ds_params et_ds_assgmt = ld_et_ds_assgmt et_return = ld_et_return . " ACE_READ_ACCRUALS_ALLDATE_EXT
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_es_ace_ex_objkey  TYPE ACE_EX_OBJKEY ,
ld_is_accrual_object  TYPE ACE_EX_SUBKEY ,
ld_et_ds_header  TYPE ACEDS_TB_HEADER ,
ld_it_param_range  TYPE ACE_PARAM_NAME_RANGE_T ,
ld_et_ds_items  TYPE ACEDS_TB_ITEM ,
ld_et_ds_accounts  TYPE ACEDS_TB_ACCOUNTS ,
ld_et_ds_parameter  TYPE ACE_DS_METHOD_PARAMETER_T ,
ld_et_ds_params  TYPE ACEDS_TB_PARAM ,
ld_et_ds_assgmt  TYPE ACEDS_ASSIGNMENTS_INTERFACE_T ,
ld_et_return  TYPE BAPIRET2_T .

ld_is_accrual_object = 'Check type of data required'.
ld_it_param_range = 'Check type of data required'.

Contribute (Add Comments)

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 ACE_READ_ACCRUALS_ALLDATE_EXT or its description.