SAP /ACI/PM_CLASS_SYNC Function Module for Classification Sync









/ACI/PM_CLASS_SYNC is a standard /aci/pm class 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 Classification Sync 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 /aci/pm class sync FM, simply by entering the name /ACI/PM_CLASS_SYNC into the relevant SAP transaction such as SE37 or SE38.

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



Function /ACI/PM_CLASS_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 '/ACI/PM_CLASS_SYNC'"Classification Sync
EXPORTING
* IS_BAPI_INPUT = "Syclo BAPI Wrapper Standard Input Setting
* IV_OBJECT_TYPE = "Sync framework - Object Type
* IV_OBJECT_KEY = "Class Number
* IS_EXTERNAL_OBJECT_INFO = "Sync Framework - External sync object info
* IS_CONTROL_PARAMETER = "BAPI Wrapper Control Parameters
* IS_INBOUND_CHANGE_NOTIF_INFO = "Asset Central Data Change Notification

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
ET_SUBQ_TRANSACTION_REQ_INFO = "Table type for /SMFND/CORE_DEP_SYNC_INFO_STR
.



IMPORTING Parameters details for /ACI/PM_CLASS_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)

IV_OBJECT_TYPE - Sync framework - Object Type

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

IV_OBJECT_KEY - Class Number

Data type: CLINT
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)

IS_CONTROL_PARAMETER - BAPI Wrapper Control Parameters

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

IS_INBOUND_CHANGE_NOTIF_INFO - Asset Central Data Change Notification

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

EXPORTING Parameters details for /ACI/PM_CLASS_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 /ACI/PM_CLASS_SYNC

ET_RETURN - Return Parameter

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

ET_TRANSACTION_REQ_STATUS - Table type for /SMFND/IBQ_TRANS_REQ_STA_STR

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

IT_TRANSACTION_REQ_INFO - Table type for /SMFND/IBQ_TRANS_REQ_INFO_STR

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

ET_SUBQ_TRANSACTION_REQ_INFO - Table type for /SMFND/CORE_DEP_SYNC_INFO_STR

Data type: /SMFND/CORE_DEP_SYNC_INFO_TAB
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for /ACI/PM_CLASS_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_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 CLINT, "   
lt_it_transaction_req_info  TYPE STANDARD TABLE OF /SMFND/IBQ_TRANS_REQ_INFO_TAB, "   
lv_is_external_object_info  TYPE /SMFND/CORE_EXT_SYNC_INFO_STR, "   
lt_et_subq_transaction_req_info  TYPE STANDARD TABLE OF /SMFND/CORE_DEP_SYNC_INFO_TAB, "   
lv_is_control_parameter  TYPE /ACI/CORE_BAPI_CTRL_PARAM_STR, "   
lv_is_inbound_change_notif_info  TYPE /ACI/CA_CHANGE_NOTIF_STR. "   

  CALL FUNCTION '/ACI/PM_CLASS_SYNC'  "Classification Sync
    EXPORTING
         IS_BAPI_INPUT = lv_is_bapi_input
         IV_OBJECT_TYPE = lv_iv_object_type
         IV_OBJECT_KEY = lv_iv_object_key
         IS_EXTERNAL_OBJECT_INFO = lv_is_external_object_info
         IS_CONTROL_PARAMETER = lv_is_control_parameter
         IS_INBOUND_CHANGE_NOTIF_INFO = lv_is_inbound_change_notif_info
    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
         ET_SUBQ_TRANSACTION_REQ_INFO = lt_et_subq_transaction_req_info
. " /ACI/PM_CLASS_SYNC




ABAP code using 7.40 inline data declarations to call FM /ACI/PM_CLASS_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!