SAP DD_DOMA_ACTM Function Module for
DD_DOMA_ACTM is a standard dd doma actm SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 dd doma actm FM, simply by entering the name DD_DOMA_ACTM into the relevant SAP transaction such as SE37 or SE38.
Function Group: SDAD
Program Name: SAPLSDAD
Main Program: SAPLSDAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DD_DOMA_ACTM 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 'DD_DOMA_ACTM'".
EXPORTING
ACT_MODE = "Activation mode
* ACT_CTRL_PAR = "Settings for activation mode
* PRID = 0 "Log ID
* POINTER = ' ' "
* OFF = 0 "Offset of name field in DOMA_NAMES
* LEN = 0 "Length of the name field in DOMA_NAMES
* TIMER_ON = ' ' "Timer activated
* TRACE = 0 "Trace activated
IMPORTING
SEV_SUM = "Structure with the statistics of act. results
TABLES
DOMA_NAMES = "Table with the domains to be activated
DO_ACT_RESULTS = "Structure with the activation results
EXCEPTIONS
ILLEGAL_VALUE = 1 ACT_REFUSED = 2 READ_FAILURE = 3 PUT_FAILURE = 4 INTERNAL_FAILURE = 5
IMPORTING Parameters details for DD_DOMA_ACTM
ACT_MODE - Activation mode
Data type: DDREFSTRUC-MODEOptional: No
Call by Reference: No ( called with pass by value option)
ACT_CTRL_PAR - Settings for activation mode
Data type: DCDOMAACTPOptional: Yes
Call by Reference: No ( called with pass by value option)
PRID - Log ID
Data type: SY-TABIXOptional: Yes
Call by Reference: No ( called with pass by value option)
POINTER -
Data type: FNAM_____4Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
OFF - Offset of name field in DOMA_NAMES
Data type: SY-FDPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
LEN - Length of the name field in DOMA_NAMES
Data type: SY-FDPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
TIMER_ON - Timer activated
Data type: DDREFSTRUC-STATEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TRACE - Trace activated
Data type: SY-TABIXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for DD_DOMA_ACTM
SEV_SUM - Structure with the statistics of act. results
Data type: DDSEVSUMOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for DD_DOMA_ACTM
DOMA_NAMES - Table with the domains to be activated
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DO_ACT_RESULTS - Structure with the activation results
Data type: DDACTRESOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ILLEGAL_VALUE - Invalid activation mode
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ACT_REFUSED - Act. not permitted (only SAP devel. systems)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
READ_FAILURE - Error reading data from the database
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PUT_FAILURE - Error writing data to the database
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_FAILURE - Internal activation error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DD_DOMA_ACTM 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_sev_sum | TYPE DDSEVSUM, " | |||
| lv_act_mode | TYPE DDREFSTRUC-MODE, " | |||
| lt_doma_names | TYPE STANDARD TABLE OF DDREFSTRUC, " | |||
| lv_illegal_value | TYPE DDREFSTRUC, " | |||
| lv_act_refused | TYPE DDREFSTRUC, " | |||
| lv_act_ctrl_par | TYPE DCDOMAACTP, " | |||
| lt_do_act_results | TYPE STANDARD TABLE OF DDACTRES, " | |||
| lv_prid | TYPE SY-TABIX, " 0 | |||
| lv_read_failure | TYPE SY, " | |||
| lv_pointer | TYPE FNAM_____4, " ' ' | |||
| lv_put_failure | TYPE FNAM_____4, " | |||
| lv_off | TYPE SY-FDPOS, " 0 | |||
| lv_internal_failure | TYPE SY, " | |||
| lv_len | TYPE SY-FDPOS, " 0 | |||
| lv_timer_on | TYPE DDREFSTRUC-STATE, " ' ' | |||
| lv_trace | TYPE SY-TABIX. " 0 |
|   CALL FUNCTION 'DD_DOMA_ACTM' " |
| EXPORTING | ||
| ACT_MODE | = lv_act_mode | |
| ACT_CTRL_PAR | = lv_act_ctrl_par | |
| PRID | = lv_prid | |
| POINTER | = lv_pointer | |
| OFF | = lv_off | |
| LEN | = lv_len | |
| TIMER_ON | = lv_timer_on | |
| TRACE | = lv_trace | |
| IMPORTING | ||
| SEV_SUM | = lv_sev_sum | |
| TABLES | ||
| DOMA_NAMES | = lt_doma_names | |
| DO_ACT_RESULTS | = lt_do_act_results | |
| EXCEPTIONS | ||
| ILLEGAL_VALUE = 1 | ||
| ACT_REFUSED = 2 | ||
| READ_FAILURE = 3 | ||
| PUT_FAILURE = 4 | ||
| INTERNAL_FAILURE = 5 | ||
| . " DD_DOMA_ACTM | ||
ABAP code using 7.40 inline data declarations to call FM DD_DOMA_ACTM
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.| "SELECT single MODE FROM DDREFSTRUC INTO @DATA(ld_act_mode). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_prid). | ||||
| DATA(ld_pointer) | = ' '. | |||
| "SELECT single FDPOS FROM SY INTO @DATA(ld_off). | ||||
| "SELECT single FDPOS FROM SY INTO @DATA(ld_len). | ||||
| "SELECT single STATE FROM DDREFSTRUC INTO @DATA(ld_timer_on). | ||||
| DATA(ld_timer_on) | = ' '. | |||
| "SELECT single TABIX FROM SY INTO @DATA(ld_trace). | ||||
Search for further information about these or an SAP related objects