SAP BAPI_DFS_PM_MEASUREMNTDOC_SYNC Function Module for BAPI Wrapper for Measurement Document









BAPI_DFS_PM_MEASUREMNTDOC_SYNC is a standard bapi dfs pm measuremntdoc 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 Measurement Document 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 pm measuremntdoc sync FM, simply by entering the name BAPI_DFS_PM_MEASUREMNTDOC_SYNC into the relevant SAP transaction such as SE37 or SE38.

Function Group: BAPI_DFS_PM
Program Name: SAPLBAPI_DFS_PM
Main Program: SAPLBAPI_DFS_PM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_DFS_PM_MEASUREMNTDOC_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_PM_MEASUREMNTDOC_SYNC'"BAPI Wrapper for Measurement Document
EXPORTING
* IS_BAPI_INPUT = "Syclo BAPI Wrapper Standard Input Setting
* IS_CONTROL_STRUCTURE = "BAPI Wrapper Control Parameters
* IV_SUBS_ID = "Subscription ID
* IV_OBJECT_TYPE = "Sync framework - Internal Object Type
* IV_OBJECT_KEY = "Sync Framework - Object Key
* IS_EXTERNAL_OBJECT_INFO = "Sync Framework - External sync object info
* IV_MEASUREMENTDOC = "Measurement Document
* IS_MEASUREMENTDOC_HEADER = "Measurement Document Header
* IS_LINEAR_DATA = "Measurement Document Linear Data
* IS_MEASURINGPOINT_HEADER = "Measuring Point Structure
* IV_MASS = "Indicator for Mass Processing

IMPORTING
ES_BAPI_OUTPUT = "Syclo BAPI Wrapper Standard Output Structure

TABLES
* ET_RETURN = "Return Parameter
* 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
* IT_MEASDOC_HEADER = "Measurement Document
* IT_MEASREAD_TRANSFER = "Table Type for Measurement Reading Transfer Reading
* IT_LONGTEXT = "DFS PM Object Long Texts
* IT_OBJECTS_LIST = "Table Type For Object List
.



IMPORTING Parameters details for BAPI_DFS_PM_MEASUREMNTDOC_SYNC

IS_BAPI_INPUT - Syclo BAPI Wrapper Standard Input Setting

Data type: /SYCLO/CORE_BAPI_INPUT_STR
Optional: 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_S
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_SUBS_ID - Subscription ID

Data type: DFS_SUBS_ID
Optional: 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_DTE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_OBJECT_KEY - Sync Framework - Object Key

Data type: /SMFND/SYNC_OBJECT_KEY_DTE
Optional: 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_STR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_MEASUREMENTDOC - Measurement Document

Data type: IMRC_MDOCM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_MEASUREMENTDOC_HEADER - Measurement Document Header

Data type: IMRG
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_LINEAR_DATA - Measurement Document Linear Data

Data type: EAML_S_LFE_DATA_API
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_MEASURINGPOINT_HEADER - Measuring Point Structure

Data type: IMPTT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_MASS - Indicator for Mass Processing

Data type: BOOLEAN_FLG
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BAPI_DFS_PM_MEASUREMNTDOC_SYNC

ES_BAPI_OUTPUT - Syclo BAPI Wrapper Standard Output Structure

Data type: /SYCLO/CORE_BAPI_OUTPUT_STR
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BAPI_DFS_PM_MEASUREMNTDOC_SYNC

ET_RETURN - Return Parameter

Data type: BAPIRET2
Optional: 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_TAB
Optional: 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_TAB
Optional: Yes
Call by Reference: Yes

IT_MEASDOC_HEADER - Measurement Document

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

IT_MEASREAD_TRANSFER - Table Type for Measurement Reading Transfer Reading

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

IT_LONGTEXT - DFS PM Object Long Texts

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

IT_OBJECTS_LIST - Table Type For Object List

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

Copy and paste ABAP code example for BAPI_DFS_PM_MEASUREMNTDOC_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:
lt_et_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_is_bapi_input  TYPE /SYCLO/CORE_BAPI_INPUT_STR, "   
lv_es_bapi_output  TYPE /SYCLO/CORE_BAPI_OUTPUT_STR, "   
lv_is_control_structure  TYPE DFS_CORE_BAPI_CTRL_PARAM_S, "   
lv_iv_subs_id  TYPE DFS_SUBS_ID, "   
lv_iv_object_type  TYPE /SMFND/SYNC_OBJECT_TYPE_DTE, "   
lt_et_transaction_req_status  TYPE STANDARD TABLE OF /SMFND/IBQ_TRANS_REQ_STA_TAB, "   
lv_iv_object_key  TYPE /SMFND/SYNC_OBJECT_KEY_DTE, "   
lt_it_transaction_req_info  TYPE STANDARD TABLE OF /SMFND/IBQ_TRANS_REQ_INFO_TAB, "   
lt_it_measdoc_header  TYPE STANDARD TABLE OF IMRG_TAB, "   
lv_is_external_object_info  TYPE /SMFND/CORE_EXT_SYNC_INFO_STR, "   
lv_iv_measurementdoc  TYPE IMRC_MDOCM, "   
lt_it_measread_transfer  TYPE STANDARD TABLE OF DFS_MEASREAD_TRANSFER_TT, "   
lt_it_longtext  TYPE STANDARD TABLE OF DFS_PM_LONGTEXT_TT, "   
lv_is_measurementdoc_header  TYPE IMRG, "   
lv_is_linear_data  TYPE EAML_S_LFE_DATA_API, "   
lt_it_objects_list  TYPE STANDARD TABLE OF DFS_OBJECT_LIST_TT, "   
lv_is_measuringpoint_header  TYPE IMPTT, "   
lv_iv_mass  TYPE BOOLEAN_FLG. "   

  CALL FUNCTION 'BAPI_DFS_PM_MEASUREMNTDOC_SYNC'  "BAPI Wrapper for Measurement Document
    EXPORTING
         IS_BAPI_INPUT = lv_is_bapi_input
         IS_CONTROL_STRUCTURE = lv_is_control_structure
         IV_SUBS_ID = lv_iv_subs_id
         IV_OBJECT_TYPE = lv_iv_object_type
         IV_OBJECT_KEY = lv_iv_object_key
         IS_EXTERNAL_OBJECT_INFO = lv_is_external_object_info
         IV_MEASUREMENTDOC = lv_iv_measurementdoc
         IS_MEASUREMENTDOC_HEADER = lv_is_measurementdoc_header
         IS_LINEAR_DATA = lv_is_linear_data
         IS_MEASURINGPOINT_HEADER = lv_is_measuringpoint_header
         IV_MASS = lv_iv_mass
    IMPORTING
         ES_BAPI_OUTPUT = lv_es_bapi_output
    TABLES
         ET_RETURN = lt_et_return
         ET_TRANSACTION_REQ_STATUS = lt_et_transaction_req_status
         IT_TRANSACTION_REQ_INFO = lt_it_transaction_req_info
         IT_MEASDOC_HEADER = lt_it_measdoc_header
         IT_MEASREAD_TRANSFER = lt_it_measread_transfer
         IT_LONGTEXT = lt_it_longtext
         IT_OBJECTS_LIST = lt_it_objects_list
. " BAPI_DFS_PM_MEASUREMNTDOC_SYNC




ABAP code using 7.40 inline data declarations to call FM BAPI_DFS_PM_MEASUREMNTDOC_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



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!