SAP FMDT_WRITE_ABADR_CHANGEDOC Function Module for Write change history for TABADRH, TABADRS etc









FMDT_WRITE_ABADR_CHANGEDOC is a standard fmdt write abadr changedoc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Write change history for TABADRH, TABADRS etc processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for fmdt write abadr changedoc FM, simply by entering the name FMDT_WRITE_ABADR_CHANGEDOC into the relevant SAP transaction such as SE37 or SE38.

Function Group: FM_DERIVE_TOOLS
Program Name: SAPLFM_DERIVE_TOOLS
Main Program: SAPLFM_DERIVE_TOOLS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FMDT_WRITE_ABADR_CHANGEDOC pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'FMDT_WRITE_ABADR_CHANGEDOC'"Write change history for TABADRH, TABADRS etc
EXPORTING
I_APPLCLASS = "Application class for DD objects (not used)
I_SUBCLASS = "Subgroup by Application Class
I_STRATID = "Strategy ID
* I_ENV = "Environment for strategy
IT_NEW_STEPS = "ABADR: Table Type Derivation Steps
IT_OLD_STEPS = "ABADR: Table Type Derivation Steps
I_NEW_VERSION = "Characteristic Derivation: Version
I_OLD_VERSION = "Characteristic Derivation: Version
.



IMPORTING Parameters details for FMDT_WRITE_ABADR_CHANGEDOC

I_APPLCLASS - Application class for DD objects (not used)

Data type: APPLCLASS
Optional: No
Call by Reference: Yes

I_SUBCLASS - Subgroup by Application Class

Data type: ABADRSUBCLASS
Optional: No
Call by Reference: Yes

I_STRATID - Strategy ID

Data type: ABADRSTRATID
Optional: No
Call by Reference: Yes

I_ENV - Environment for strategy

Data type: ABADRENV
Optional: Yes
Call by Reference: Yes

IT_NEW_STEPS - ABADR: Table Type Derivation Steps

Data type: ABADR_T_TAB_STEPS
Optional: No
Call by Reference: Yes

IT_OLD_STEPS - ABADR: Table Type Derivation Steps

Data type: ABADR_T_TAB_STEPS
Optional: No
Call by Reference: Yes

I_NEW_VERSION - Characteristic Derivation: Version

Data type: ABADRVERSION
Optional: No
Call by Reference: Yes

I_OLD_VERSION - Characteristic Derivation: Version

Data type: ABADRVERSION
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FMDT_WRITE_ABADR_CHANGEDOC Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_i_applclass  TYPE APPLCLASS, "   
lv_i_subclass  TYPE ABADRSUBCLASS, "   
lv_i_stratid  TYPE ABADRSTRATID, "   
lv_i_env  TYPE ABADRENV, "   
lv_it_new_steps  TYPE ABADR_T_TAB_STEPS, "   
lv_it_old_steps  TYPE ABADR_T_TAB_STEPS, "   
lv_i_new_version  TYPE ABADRVERSION, "   
lv_i_old_version  TYPE ABADRVERSION. "   

  CALL FUNCTION 'FMDT_WRITE_ABADR_CHANGEDOC'  "Write change history for TABADRH, TABADRS etc
    EXPORTING
         I_APPLCLASS = lv_i_applclass
         I_SUBCLASS = lv_i_subclass
         I_STRATID = lv_i_stratid
         I_ENV = lv_i_env
         IT_NEW_STEPS = lv_it_new_steps
         IT_OLD_STEPS = lv_it_old_steps
         I_NEW_VERSION = lv_i_new_version
         I_OLD_VERSION = lv_i_old_version
. " FMDT_WRITE_ABADR_CHANGEDOC




ABAP code using 7.40 inline data declarations to call FM FMDT_WRITE_ABADR_CHANGEDOC

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!