SAP /ISDFPS/RE_FORCE_TARGET_DATA Function Module for
/ISDFPS/RE_FORCE_TARGET_DATA is a standard /isdfps/re force target data 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 /isdfps/re force target data FM, simply by entering the name /ISDFPS/RE_FORCE_TARGET_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: /ISDFPS/RE_TARGET_ACT_COMP
Program Name: /ISDFPS/SAPLRE_TARGET_ACT_COMP
Main Program: /ISDFPS/SAPLRE_TARGET_ACT_COMP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function /ISDFPS/RE_FORCE_TARGET_DATA 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 '/ISDFPS/RE_FORCE_TARGET_DATA'".
EXPORTING
IT_HROBJECT = "
IT_STATUS = "
I_BEGDA = "
I_ENDDA = "
* I_DATA_MODEL = 'A' "
IMPORTING
ET_TARGET_MO_SUM = "
ET_TARGET_MO_MEAS_SUM = "
ET_TARGET_MO_CHAR_SUM = "
ET_TARGET_SO_SUM = "
ET_TARGET_SO_MEAS_SUM = "
ET_TARGET_SO_CHAR_SUM = "
IMPORTING Parameters details for /ISDFPS/RE_FORCE_TARGET_DATA
IT_HROBJECT -
Data type: HROBJECT_TOptional: No
Call by Reference: Yes
IT_STATUS -
Data type: /ISDFPS/ASSIGNSTAT_TABOptional: No
Call by Reference: Yes
I_BEGDA -
Data type: BEGDAOptional: No
Call by Reference: Yes
I_ENDDA -
Data type: ENDDAOptional: No
Call by Reference: Yes
I_DATA_MODEL -
Data type: CHAR1Default: 'A'
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for /ISDFPS/RE_FORCE_TARGET_DATA
ET_TARGET_MO_SUM -
Data type: /ISDFPS/TB_RE_FORCE_MO_SUOptional: No
Call by Reference: Yes
ET_TARGET_MO_MEAS_SUM -
Data type: /ISDFPS/TB_RE_FORCE_MO_MEAS_SUOptional: No
Call by Reference: Yes
ET_TARGET_MO_CHAR_SUM -
Data type: /ISDFPS/TB_RE_FORCE_MO_CHAR_SUOptional: No
Call by Reference: Yes
ET_TARGET_SO_SUM -
Data type: /ISDFPS/TB_RE_FORCE_SO_SUOptional: No
Call by Reference: Yes
ET_TARGET_SO_MEAS_SUM -
Data type: /ISDFPS/TB_RE_FORCE_SO_MEAS_SUOptional: No
Call by Reference: Yes
ET_TARGET_SO_CHAR_SUM -
Data type: /ISDFPS/TB_RE_FORCE_SO_CHAR_SUOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for /ISDFPS/RE_FORCE_TARGET_DATA 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_it_hrobject | TYPE HROBJECT_T, " | |||
| lv_et_target_mo_sum | TYPE /ISDFPS/TB_RE_FORCE_MO_SU, " | |||
| lv_it_status | TYPE /ISDFPS/ASSIGNSTAT_TAB, " | |||
| lv_et_target_mo_meas_sum | TYPE /ISDFPS/TB_RE_FORCE_MO_MEAS_SU, " | |||
| lv_i_begda | TYPE BEGDA, " | |||
| lv_et_target_mo_char_sum | TYPE /ISDFPS/TB_RE_FORCE_MO_CHAR_SU, " | |||
| lv_i_endda | TYPE ENDDA, " | |||
| lv_et_target_so_sum | TYPE /ISDFPS/TB_RE_FORCE_SO_SU, " | |||
| lv_i_data_model | TYPE CHAR1, " 'A' | |||
| lv_et_target_so_meas_sum | TYPE /ISDFPS/TB_RE_FORCE_SO_MEAS_SU, " | |||
| lv_et_target_so_char_sum | TYPE /ISDFPS/TB_RE_FORCE_SO_CHAR_SU. " |
|   CALL FUNCTION '/ISDFPS/RE_FORCE_TARGET_DATA' " |
| EXPORTING | ||
| IT_HROBJECT | = lv_it_hrobject | |
| IT_STATUS | = lv_it_status | |
| I_BEGDA | = lv_i_begda | |
| I_ENDDA | = lv_i_endda | |
| I_DATA_MODEL | = lv_i_data_model | |
| IMPORTING | ||
| ET_TARGET_MO_SUM | = lv_et_target_mo_sum | |
| ET_TARGET_MO_MEAS_SUM | = lv_et_target_mo_meas_sum | |
| ET_TARGET_MO_CHAR_SUM | = lv_et_target_mo_char_sum | |
| ET_TARGET_SO_SUM | = lv_et_target_so_sum | |
| ET_TARGET_SO_MEAS_SUM | = lv_et_target_so_meas_sum | |
| ET_TARGET_SO_CHAR_SUM | = lv_et_target_so_char_sum | |
| . " /ISDFPS/RE_FORCE_TARGET_DATA | ||
ABAP code using 7.40 inline data declarations to call FM /ISDFPS/RE_FORCE_TARGET_DATA
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.| DATA(ld_i_data_model) | = 'A'. | |||
Search for further information about these or an SAP related objects