BAPI_RE_AT_CHANGE 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 BAPI_RE_AT_CHANGE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
REAJ_BAPI_ADJUSTMENT_TASK
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_RE_AT_CHANGE' "
EXPORTING
adjustmenttaskid = " bapi_re_adjust_task_key-adjustment_task_id
* adjust_task = " bapi_re_adjust_task_dat
* adjust_task_x = " bapi_re_adjust_task_datx
* trans = " bapi_re_additional_fields-trans
* test_run = SPACE " bapi_re_additional_fields-testrun
TABLES
* adjust_task_obj = " bapi_re_at_obj_datc
* obj_assign = " bapi_re_obj_assign_datc
* object_rel = " bapi_re_object_rel_datc
* partner = " bapi_re_partner_datc
* meas_cn = " bapi_re_meas_cn_datc
* prestage = " bapi_re_prestage_datc
* finplan = " bapi_re_finplan_datc
* expense = " bapi_re_expense_datc
* resubm_rule = " bapi_re_resubm_rule_datc
* resubm_date = " bapi_re_resubm_date_datc
* status = " bapi_re_status_datc
* extension_in = " bapiparex
return = " bapiret2
. " BAPI_RE_AT_CHANGE
The ABAP code below is a full code listing to execute function module BAPI_RE_AT_CHANGE 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).
| it_adjust_task_obj | TYPE STANDARD TABLE OF BAPI_RE_AT_OBJ_DATC,"TABLES PARAM |
| wa_adjust_task_obj | LIKE LINE OF it_adjust_task_obj , |
| it_obj_assign | TYPE STANDARD TABLE OF BAPI_RE_OBJ_ASSIGN_DATC,"TABLES PARAM |
| wa_obj_assign | LIKE LINE OF it_obj_assign , |
| it_object_rel | TYPE STANDARD TABLE OF BAPI_RE_OBJECT_REL_DATC,"TABLES PARAM |
| wa_object_rel | LIKE LINE OF it_object_rel , |
| it_partner | TYPE STANDARD TABLE OF BAPI_RE_PARTNER_DATC,"TABLES PARAM |
| wa_partner | LIKE LINE OF it_partner , |
| it_meas_cn | TYPE STANDARD TABLE OF BAPI_RE_MEAS_CN_DATC,"TABLES PARAM |
| wa_meas_cn | LIKE LINE OF it_meas_cn , |
| it_prestage | TYPE STANDARD TABLE OF BAPI_RE_PRESTAGE_DATC,"TABLES PARAM |
| wa_prestage | LIKE LINE OF it_prestage , |
| it_finplan | TYPE STANDARD TABLE OF BAPI_RE_FINPLAN_DATC,"TABLES PARAM |
| wa_finplan | LIKE LINE OF it_finplan , |
| it_expense | TYPE STANDARD TABLE OF BAPI_RE_EXPENSE_DATC,"TABLES PARAM |
| wa_expense | LIKE LINE OF it_expense , |
| it_resubm_rule | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_RULE_DATC,"TABLES PARAM |
| wa_resubm_rule | LIKE LINE OF it_resubm_rule , |
| it_resubm_date | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_DATE_DATC,"TABLES PARAM |
| wa_resubm_date | LIKE LINE OF it_resubm_date , |
| it_status | TYPE STANDARD TABLE OF BAPI_RE_STATUS_DATC,"TABLES PARAM |
| wa_status | LIKE LINE OF it_status , |
| it_extension_in | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extension_in | LIKE LINE OF it_extension_in , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
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_adjustmenttaskid | TYPE BAPI_RE_ADJUST_TASK_KEY-ADJUSTMENT_TASK_ID , |
| it_adjust_task_obj | TYPE STANDARD TABLE OF BAPI_RE_AT_OBJ_DATC , |
| wa_adjust_task_obj | LIKE LINE OF it_adjust_task_obj, |
| ld_adjust_task | TYPE BAPI_RE_ADJUST_TASK_DAT , |
| it_obj_assign | TYPE STANDARD TABLE OF BAPI_RE_OBJ_ASSIGN_DATC , |
| wa_obj_assign | LIKE LINE OF it_obj_assign, |
| ld_adjust_task_x | TYPE BAPI_RE_ADJUST_TASK_DATX , |
| it_object_rel | TYPE STANDARD TABLE OF BAPI_RE_OBJECT_REL_DATC , |
| wa_object_rel | LIKE LINE OF it_object_rel, |
| ld_trans | TYPE BAPI_RE_ADDITIONAL_FIELDS-TRANS , |
| it_partner | TYPE STANDARD TABLE OF BAPI_RE_PARTNER_DATC , |
| wa_partner | LIKE LINE OF it_partner, |
| ld_test_run | TYPE BAPI_RE_ADDITIONAL_FIELDS-TESTRUN , |
| it_meas_cn | TYPE STANDARD TABLE OF BAPI_RE_MEAS_CN_DATC , |
| wa_meas_cn | LIKE LINE OF it_meas_cn, |
| it_prestage | TYPE STANDARD TABLE OF BAPI_RE_PRESTAGE_DATC , |
| wa_prestage | LIKE LINE OF it_prestage, |
| it_finplan | TYPE STANDARD TABLE OF BAPI_RE_FINPLAN_DATC , |
| wa_finplan | LIKE LINE OF it_finplan, |
| it_expense | TYPE STANDARD TABLE OF BAPI_RE_EXPENSE_DATC , |
| wa_expense | LIKE LINE OF it_expense, |
| it_resubm_rule | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_RULE_DATC , |
| wa_resubm_rule | LIKE LINE OF it_resubm_rule, |
| it_resubm_date | TYPE STANDARD TABLE OF BAPI_RE_RESUBM_DATE_DATC , |
| wa_resubm_date | LIKE LINE OF it_resubm_date, |
| it_status | TYPE STANDARD TABLE OF BAPI_RE_STATUS_DATC , |
| wa_status | LIKE LINE OF it_status, |
| it_extension_in | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extension_in | LIKE LINE OF it_extension_in, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
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 BAPI_RE_AT_CHANGE or its description.