ACE_ACCRUALOBJECT_MODIFY 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_ACCRUALOBJECT_MODIFY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ACE_DS_OBJECTS_MAINTAIN
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ACE_ACCRUALOBJECT_MODIFY' "
EXPORTING
is_accrual_object = " aceds_ref
* is_assignments = " ace_assignments
* it_accounts = " aceds_accounts_t
* it_object_paramters = " aceds_param_t
* id_effdate = " ace_effdate
* is_post_params = " aceps_manual_posting_params
* it_suppr_drvd_acrtypes = " aceds_suppr_drvd_acrtype_t
* id_revers_periodic_postings = " flag
* id_delay_accposting = " flag
* id_testrun = SPACE " ace_testrun Switch to Simulation Mode for Write BAPIs
* id_cobl_check = SPACE " ace_cobl_check Flag for Validating Accrual Engine Account Assignments
IMPORTING
ed_data_created = " flag
ed_data_changed = " flag
et_docitems = " aceps_ace_doc_extended_t Accrual Engine Line Items with Error Handling
et_return = " bapiret2_t Return Parameter(s)
et_acedoc_return = " ace_acedoc_return_t Table with Messages About Specific ACE Documents
et_accdoc_return = " ace_accdoc_return_t
CHANGING
ct_object_items = " aceds_items_t
. " ACE_ACCRUALOBJECT_MODIFY
The ABAP code below is a full code listing to execute function module ACE_ACCRUALOBJECT_MODIFY 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_ed_data_created | TYPE FLAG , |
| ld_ed_data_changed | TYPE FLAG , |
| ld_et_docitems | TYPE ACEPS_ACE_DOC_EXTENDED_T , |
| ld_et_return | TYPE BAPIRET2_T , |
| ld_et_acedoc_return | TYPE ACE_ACEDOC_RETURN_T , |
| ld_et_accdoc_return | TYPE ACE_ACCDOC_RETURN_T . |
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_ct_object_items | TYPE ACEDS_ITEMS_T , |
| ld_ed_data_created | TYPE FLAG , |
| ld_is_accrual_object | TYPE ACEDS_REF , |
| ld_ed_data_changed | TYPE FLAG , |
| ld_is_assignments | TYPE ACE_ASSIGNMENTS , |
| ld_et_docitems | TYPE ACEPS_ACE_DOC_EXTENDED_T , |
| ld_it_accounts | TYPE ACEDS_ACCOUNTS_T , |
| ld_et_return | TYPE BAPIRET2_T , |
| ld_it_object_paramters | TYPE ACEDS_PARAM_T , |
| ld_et_acedoc_return | TYPE ACE_ACEDOC_RETURN_T , |
| ld_id_effdate | TYPE ACE_EFFDATE , |
| ld_et_accdoc_return | TYPE ACE_ACCDOC_RETURN_T , |
| ld_is_post_params | TYPE ACEPS_MANUAL_POSTING_PARAMS , |
| ld_it_suppr_drvd_acrtypes | TYPE ACEDS_SUPPR_DRVD_ACRTYPE_T , |
| ld_id_revers_periodic_postings | TYPE FLAG , |
| ld_id_delay_accposting | TYPE FLAG , |
| ld_id_testrun | TYPE ACE_TESTRUN , |
| ld_id_cobl_check | TYPE ACE_COBL_CHECK . |
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_ACCRUALOBJECT_MODIFY or its description.