ABADR_DERIVE_CHARACTERISTICS 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 ABADR_DERIVE_CHARACTERISTICS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ABADR
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ABADR_DERIVE_CHARACTERISTICS' "Characteristic derivation
EXPORTING
i_appl = " tabadr-applclass Application class for DD objects (not used)
i_subclass = " tabadr-subclass Subgroup by Application Class
i_env = " tabadrs-abadrenv Environment for strategy
i_strategy_id = " tabadr-abadrstratid Strategy ID
i_identifier_1 = " abadr_identifier
i_record_1 = "
* i_identifier_2 = " abadr_identifier
* i_record_2 = "
* i_identifier_3 = " abadr_identifier
* i_record_3 = "
* i_identifier_4 = " abadr_identifier
* i_record_4 = "
* i_trace_mode = " abadr_trace_mode
* i_tab_exceptions = " abadr_tab_exceptions
* i_derivation_date = SY-DATUM " sy-datum Date and Time, Current (Application Server) Date
* i_version = "
* i_derive_anyway = " abadr_flag
* i_mass_processing = " abadr_flag
* i_force_derivation = " abadr_flag
* i_bal = " abadr_flag
IMPORTING
e_record_1 = "
e_record_2 = "
e_record_3 = "
e_record_4 = "
e_trace_handle = " abadr_trace_handle
e_tab_modified_fields = " abadr_tab_names
e_tab_used_source_fields = " abadr_tab_names
EXCEPTIONS
DERIVATION_FAILED = 1 "
ASSIGN_FAILED = 2 "
. " ABADR_DERIVE_CHARACTERISTICS
The ABAP code below is a full code listing to execute function module ABADR_DERIVE_CHARACTERISTICS 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_e_record_1 | TYPE STRING , |
| ld_e_record_2 | TYPE STRING , |
| ld_e_record_3 | TYPE STRING , |
| ld_e_record_4 | TYPE STRING , |
| ld_e_trace_handle | TYPE ABADR_TRACE_HANDLE , |
| ld_e_tab_modified_fields | TYPE ABADR_TAB_NAMES , |
| ld_e_tab_used_source_fields | TYPE ABADR_TAB_NAMES . |
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_e_record_1 | TYPE STRING , |
| ld_i_appl | TYPE TABADR-APPLCLASS , |
| ld_e_record_2 | TYPE STRING , |
| ld_i_subclass | TYPE TABADR-SUBCLASS , |
| ld_e_record_3 | TYPE STRING , |
| ld_i_env | TYPE TABADRS-ABADRENV , |
| ld_e_record_4 | TYPE STRING , |
| ld_i_strategy_id | TYPE TABADR-ABADRSTRATID , |
| ld_e_trace_handle | TYPE ABADR_TRACE_HANDLE , |
| ld_i_identifier_1 | TYPE ABADR_IDENTIFIER , |
| ld_e_tab_modified_fields | TYPE ABADR_TAB_NAMES , |
| ld_i_record_1 | TYPE STRING , |
| ld_e_tab_used_source_fields | TYPE ABADR_TAB_NAMES , |
| ld_i_identifier_2 | TYPE ABADR_IDENTIFIER , |
| ld_i_record_2 | TYPE STRING , |
| ld_i_identifier_3 | TYPE ABADR_IDENTIFIER , |
| ld_i_record_3 | TYPE STRING , |
| ld_i_identifier_4 | TYPE ABADR_IDENTIFIER , |
| ld_i_record_4 | TYPE STRING , |
| ld_i_trace_mode | TYPE ABADR_TRACE_MODE , |
| ld_i_tab_exceptions | TYPE ABADR_TAB_EXCEPTIONS , |
| ld_i_derivation_date | TYPE SY-DATUM , |
| ld_i_version | TYPE STRING , |
| ld_i_derive_anyway | TYPE ABADR_FLAG , |
| ld_i_mass_processing | TYPE ABADR_FLAG , |
| ld_i_force_derivation | TYPE ABADR_FLAG , |
| ld_i_bal | TYPE ABADR_FLAG . |
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 ABADR_DERIVE_CHARACTERISTICS or its description.