SAP BAPI_DFS_CMN_FORCEELEMENT_SYNC Function Module for BAPI Wrapper for Force Element
BAPI_DFS_CMN_FORCEELEMENT_SYNC is a standard bapi dfs cmn forceelement sync SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BAPI Wrapper for Force Element 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 bapi dfs cmn forceelement sync FM, simply by entering the name BAPI_DFS_CMN_FORCEELEMENT_SYNC into the relevant SAP transaction such as SE37 or SE38.
Function Group: BAPI_DFS_COMMON
Program Name: SAPLBAPI_DFS_COMMON
Main Program: SAPLBAPI_DFS_COMMON
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_DFS_CMN_FORCEELEMENT_SYNC 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 'BAPI_DFS_CMN_FORCEELEMENT_SYNC'"BAPI Wrapper for Force Element.
EXPORTING
* IS_BAPI_INPUT = "Syclo BAPI Wrapper Standard Input Setting
* IV_OBJECT_TYPE = "Sync framework - Internal Object Type
* IV_OBJECT_KEY = "Sync Framework - Object Key
* IV_MASS = "Indicator for mass processing
* IV_SUBS_ID = "Subscription ID
* IS_EXTERNAL_OBJECT_INFO = "Sync Framework - External sync object info
* IS_CONTROL_STRUCTURE = "BAPI Wrapper Control Parameters
IMPORTING
ES_BAPI_OUTPUT = "Syclo BAPI Wrapper Standard Output Structure
TABLES
* IT_OBJECTS_LIST = "Table Type For Objects List
* IT_FORCE_PRIO = "Table Structure: Threshold Values for Readiness Levels
* IT_NAME = "Table Type for HRP1000
* IT_CHARACTERISTICS = "DB Table for Infotype 1950
* IT_ORGSTR = "Table Type: HRP1001
* IT_WAR_PEACE_STR = "DB Table for Infotype 1955
* IT_DESCRIPTION = "Table type for HRP1002
* IT_ACCOUNT_ASSIGNMENT = "Table type for hrp1008
* IT_OP_EX_RELSHP = "Table type for HRP1985
* IT_READINESS = "Table type for HRP1951
* IT_OPER_EXER = "Table type for HRP1956
* ET_RETURN = "Return Parameter
* IT_OP_EX_ROTATION = "Table type for HRT1956
* IT_ADDRESS = "Table type for HRP1952
* IT_OWNERS_LIST = "Owner flag pointer
* ET_TRANSACTION_REQ_STATUS = "Table type for /SMFND/IBQ_TRANS_REQ_STA_STR
* IT_TRANSACTION_REQ_INFO = "Table type for /SMFND/IBQ_TRANS_REQ_INFO_STR
* ET_SUBQ_TRANSACTION_REQ_INFO = "Table type for /SMFND/CORE_DEP_SYNC_INFO_STR
* IT_FORCE = "Table Structure: Force Element
* IT_DESCRIPTION_LINE = "Table Section for Infotype 1002
* IT_STAFF = "Table type for PA0748
* IT_INDEX = "PLOGI
IMPORTING Parameters details for BAPI_DFS_CMN_FORCEELEMENT_SYNC
IS_BAPI_INPUT - Syclo BAPI Wrapper Standard Input Setting
Data type: /SYCLO/CORE_BAPI_INPUT_STROptional: Yes
Call by Reference: No ( called with pass by value option)
IV_OBJECT_TYPE - Sync framework - Internal Object Type
Data type: /SMFND/SYNC_OBJECT_TYPE_DTEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_OBJECT_KEY - Sync Framework - Object Key
Data type: /SMFND/SYNC_OBJECT_KEY_DTEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_MASS - Indicator for mass processing
Data type: CHAR01Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_SUBS_ID - Subscription ID
Data type: CHAR10Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_EXTERNAL_OBJECT_INFO - Sync Framework - External sync object info
Data type: /SMFND/CORE_EXT_SYNC_INFO_STROptional: Yes
Call by Reference: No ( called with pass by value option)
IS_CONTROL_STRUCTURE - BAPI Wrapper Control Parameters
Data type: DFS_CORE_BAPI_CTRL_PARAM_SOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_DFS_CMN_FORCEELEMENT_SYNC
ES_BAPI_OUTPUT - Syclo BAPI Wrapper Standard Output Structure
Data type: /SYCLO/CORE_BAPI_OUTPUT_STROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_DFS_CMN_FORCEELEMENT_SYNC
IT_OBJECTS_LIST - Table Type For Objects List
Data type: DFS_OBJECT_LIST_TTOptional: Yes
Call by Reference: Yes
IT_FORCE_PRIO - Table Structure: Threshold Values for Readiness Levels
Data type: /ISDFPS/FORCE_PROptional: Yes
Call by Reference: Yes
IT_NAME - Table Type for HRP1000
Data type: CRMT_BSP_HRP1000_TTYPOptional: Yes
Call by Reference: Yes
IT_CHARACTERISTICS - DB Table for Infotype 1950
Data type: HRP1950Optional: Yes
Call by Reference: Yes
IT_ORGSTR - Table Type: HRP1001
Data type: HRP1001_TOptional: Yes
Call by Reference: Yes
IT_WAR_PEACE_STR - DB Table for Infotype 1955
Data type: HRP1955Optional: Yes
Call by Reference: Yes
IT_DESCRIPTION - Table type for HRP1002
Data type: DFS_HRP1002_TTOptional: Yes
Call by Reference: Yes
IT_ACCOUNT_ASSIGNMENT - Table type for hrp1008
Data type: DFS_HRP1008_TTOptional: Yes
Call by Reference: Yes
IT_OP_EX_RELSHP - Table type for HRP1985
Data type: DFS_HRP1985_TTOptional: Yes
Call by Reference: Yes
IT_READINESS - Table type for HRP1951
Data type: DFS_HRP1951_TTOptional: Yes
Call by Reference: Yes
IT_OPER_EXER - Table type for HRP1956
Data type: DFS_HRP1956_TTOptional: Yes
Call by Reference: Yes
ET_RETURN - Return Parameter
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
IT_OP_EX_ROTATION - Table type for HRT1956
Data type: DFS_HRT1956_TTOptional: Yes
Call by Reference: Yes
IT_ADDRESS - Table type for HRP1952
Data type: DFS_HRP1952_TTOptional: Yes
Call by Reference: Yes
IT_OWNERS_LIST - Owner flag pointer
Data type: DFS_OWNER_FLAG_CNTRL_TTOptional: Yes
Call by Reference: Yes
ET_TRANSACTION_REQ_STATUS - Table type for /SMFND/IBQ_TRANS_REQ_STA_STR
Data type: /SMFND/IBQ_TRANS_REQ_STA_TABOptional: Yes
Call by Reference: Yes
IT_TRANSACTION_REQ_INFO - Table type for /SMFND/IBQ_TRANS_REQ_INFO_STR
Data type: /SMFND/IBQ_TRANS_REQ_INFO_TABOptional: Yes
Call by Reference: Yes
ET_SUBQ_TRANSACTION_REQ_INFO - Table type for /SMFND/CORE_DEP_SYNC_INFO_STR
Data type: /SMFND/CORE_DEP_SYNC_INFO_TABOptional: Yes
Call by Reference: Yes
IT_FORCE - Table Structure: Force Element
Data type: /ISDFPS/FORCEOptional: Yes
Call by Reference: Yes
IT_DESCRIPTION_LINE - Table Section for Infotype 1002
Data type: HRT1002_TABOptional: Yes
Call by Reference: Yes
IT_STAFF - Table type for PA0748
Data type: DFS_PA0748_TTOptional: Yes
Call by Reference: Yes
IT_INDEX - PLOGI
Data type: PLOGITOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BAPI_DFS_CMN_FORCEELEMENT_SYNC 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_is_bapi_input | TYPE /SYCLO/CORE_BAPI_INPUT_STR, " | |||
| lv_es_bapi_output | TYPE /SYCLO/CORE_BAPI_OUTPUT_STR, " | |||
| lt_it_objects_list | TYPE STANDARD TABLE OF DFS_OBJECT_LIST_TT, " | |||
| lt_it_force_prio | TYPE STANDARD TABLE OF /ISDFPS/FORCE_PR, " | |||
| lt_it_name | TYPE STANDARD TABLE OF CRMT_BSP_HRP1000_TTYP, " | |||
| lt_it_characteristics | TYPE STANDARD TABLE OF HRP1950, " | |||
| lt_it_orgstr | TYPE STANDARD TABLE OF HRP1001_T, " | |||
| lt_it_war_peace_str | TYPE STANDARD TABLE OF HRP1955, " | |||
| lt_it_description | TYPE STANDARD TABLE OF DFS_HRP1002_TT, " | |||
| lt_it_account_assignment | TYPE STANDARD TABLE OF DFS_HRP1008_TT, " | |||
| lt_it_op_ex_relshp | TYPE STANDARD TABLE OF DFS_HRP1985_TT, " | |||
| lt_it_readiness | TYPE STANDARD TABLE OF DFS_HRP1951_TT, " | |||
| lt_it_oper_exer | TYPE STANDARD TABLE OF DFS_HRP1956_TT, " | |||
| lt_et_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_iv_object_type | TYPE /SMFND/SYNC_OBJECT_TYPE_DTE, " | |||
| lt_it_op_ex_rotation | TYPE STANDARD TABLE OF DFS_HRT1956_TT, " | |||
| lt_it_address | TYPE STANDARD TABLE OF DFS_HRP1952_TT, " | |||
| lt_it_owners_list | TYPE STANDARD TABLE OF DFS_OWNER_FLAG_CNTRL_TT, " | |||
| lv_iv_object_key | TYPE /SMFND/SYNC_OBJECT_KEY_DTE, " | |||
| lt_et_transaction_req_status | TYPE STANDARD TABLE OF /SMFND/IBQ_TRANS_REQ_STA_TAB, " | |||
| lv_iv_mass | TYPE CHAR01, " | |||
| lt_it_transaction_req_info | TYPE STANDARD TABLE OF /SMFND/IBQ_TRANS_REQ_INFO_TAB, " | |||
| lv_iv_subs_id | TYPE CHAR10, " | |||
| lt_et_subq_transaction_req_info | TYPE STANDARD TABLE OF /SMFND/CORE_DEP_SYNC_INFO_TAB, " | |||
| lt_it_force | TYPE STANDARD TABLE OF /ISDFPS/FORCE, " | |||
| lv_is_external_object_info | TYPE /SMFND/CORE_EXT_SYNC_INFO_STR, " | |||
| lt_it_description_line | TYPE STANDARD TABLE OF HRT1002_TAB, " | |||
| lv_is_control_structure | TYPE DFS_CORE_BAPI_CTRL_PARAM_S, " | |||
| lt_it_staff | TYPE STANDARD TABLE OF DFS_PA0748_TT, " | |||
| lt_it_index | TYPE STANDARD TABLE OF PLOGIT. " |
|   CALL FUNCTION 'BAPI_DFS_CMN_FORCEELEMENT_SYNC' "BAPI Wrapper for Force Element |
| EXPORTING | ||
| IS_BAPI_INPUT | = lv_is_bapi_input | |
| IV_OBJECT_TYPE | = lv_iv_object_type | |
| IV_OBJECT_KEY | = lv_iv_object_key | |
| IV_MASS | = lv_iv_mass | |
| IV_SUBS_ID | = lv_iv_subs_id | |
| IS_EXTERNAL_OBJECT_INFO | = lv_is_external_object_info | |
| IS_CONTROL_STRUCTURE | = lv_is_control_structure | |
| IMPORTING | ||
| ES_BAPI_OUTPUT | = lv_es_bapi_output | |
| TABLES | ||
| IT_OBJECTS_LIST | = lt_it_objects_list | |
| IT_FORCE_PRIO | = lt_it_force_prio | |
| IT_NAME | = lt_it_name | |
| IT_CHARACTERISTICS | = lt_it_characteristics | |
| IT_ORGSTR | = lt_it_orgstr | |
| IT_WAR_PEACE_STR | = lt_it_war_peace_str | |
| IT_DESCRIPTION | = lt_it_description | |
| IT_ACCOUNT_ASSIGNMENT | = lt_it_account_assignment | |
| IT_OP_EX_RELSHP | = lt_it_op_ex_relshp | |
| IT_READINESS | = lt_it_readiness | |
| IT_OPER_EXER | = lt_it_oper_exer | |
| ET_RETURN | = lt_et_return | |
| IT_OP_EX_ROTATION | = lt_it_op_ex_rotation | |
| IT_ADDRESS | = lt_it_address | |
| IT_OWNERS_LIST | = lt_it_owners_list | |
| ET_TRANSACTION_REQ_STATUS | = lt_et_transaction_req_status | |
| IT_TRANSACTION_REQ_INFO | = lt_it_transaction_req_info | |
| ET_SUBQ_TRANSACTION_REQ_INFO | = lt_et_subq_transaction_req_info | |
| IT_FORCE | = lt_it_force | |
| IT_DESCRIPTION_LINE | = lt_it_description_line | |
| IT_STAFF | = lt_it_staff | |
| IT_INDEX | = lt_it_index | |
| . " BAPI_DFS_CMN_FORCEELEMENT_SYNC | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_DFS_CMN_FORCEELEMENT_SYNC
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