SAP MAM25_ML_031_GETDETAIL_SD Function Module for NOTRANSL: ML Module for Equipment Getdetail SD
MAM25_ML_031_GETDETAIL_SD is a standard mam25 ml 031 getdetail sd SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: ML Module for Equipment Getdetail SD 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 mam25 ml 031 getdetail sd FM, simply by entering the name MAM25_ML_031_GETDETAIL_SD into the relevant SAP transaction such as SE37 or SE38.
Function Group: ALM_MEREP_031
Program Name: SAPLALM_MEREP_031
Main Program: SAPLALM_MEREP_031
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function MAM25_ML_031_GETDETAIL_SD 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 'MAM25_ML_031_GETDETAIL_SD'"NOTRANSL: ML Module for Equipment Getdetail SD.
EXPORTING
EQUIPMENT = "Equipment Number
IMPORTING
EQUIPMENT_HEADER = "Header Data for Technical Object
TABLES
* INSTALLATION_CHANGE = "Installation / Dismantling of Equipment in Technical Object
* X2_EQUIPMENT_CLASSVAL = "Evaluations for Characteristics
* CE_EQUI_HEADER = "Copy user-speific fields to the mobile device
* CE_EQUI_INST_EQUIS = "Copy user-speific fields to the mobile device
* CE_EQUI_NOTIF_HISTORY = "Copy user-speific fields to the mobile device
* CE_EQUI_ORDER_HISTORY = "Copy user-speific fields to the mobile device
* CE_EQUI_CONTRACTS = "Copy user-speific fields to the mobile device
* CE_EQUI_WARRANTY = "Copy user-speific fields to the mobile device
* X3_CE_EQUI_CLASSVAL = "Copy user-speific fields to the mobile device
* RETURN = "Return Parameters
* WSAP_EXTENSION = "SAP SyncBO Enhancement
* EQUIPMENT_INST_EQUIS = "Installed Equipment
* Y1_ML_EQUI_HEADER = "Multilanguage Data for Equipment Header
* Y1_ML_EQUI_INST_EQUIS = "Multilanguage for Installed Equipments
* Y1_ML_EQUI_NOTIF_HIST = "Multilanguage for Notification History of Technical Object
* Y1_ML_EQUI_ORDER_HIST = "Multilanguage for Order History of Equipment
* Y1_ML_EQUI_PARTNERS = "Multilanguage for Partners
* Y1_ML_EQUI_USER_STATUS = "Multilanguage with Status Changes for User Status
* Y1_ML_X2_EQUI_CLASSVAL = "Multilanguage Evaluations for Characteristics
* Y1_ML_CE_EQUI_HEADER = "Customer enhancement multi language data
* Y1_ML_CE_EQUI_INST_EQUIS = "Customer enhancement multi language data
* Y1_ML_CE_EQUI_NOTIF_HISTORY = "Customer enhancement multi language data
* EQUIPMENT_NOTIF_HIST = "Notification History for Technical Object
* Y1_ML_CE_EQUI_ORDER_HISTORY = "Customer enhancement multi language data
* Y1_ML_CE_EQUI_CONTRACTS = "Customer enhancement multi language data
* Y1_ML_CE_EQUI_WARRANTY = "Customer enhancement multi language data
* Y1_ML_X3_CE_EQUI_CLASSVAL = "Customer enhancement multi language data
* Y1_ML_WSAP_EXTENSION = "Multilanguage for SAP SyncBO Enhancement
* EQUIPMENT_ORDER_HIST = "Order History for Technical Object
* EQUIPMENT_MEAS_POINTS = "Measuring Point Key
* EQUIPMENT_CONTRACTS = "Contract Header
* EQUIPMENT_PARTNERS = "Partner Key
* EQUIPMENT_WARRANTY = "Warranty Data for Technical Object
* EQUIPMENT_USER_STATUS = "Table with Status Changes for User Status
IMPORTING Parameters details for MAM25_ML_031_GETDETAIL_SD
EQUIPMENT - Equipment Number
Data type: MAM_25_TOB_HEADER_SD-EQUNROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MAM25_ML_031_GETDETAIL_SD
EQUIPMENT_HEADER - Header Data for Technical Object
Data type: MAM_25_TOB_HEADER_SDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for MAM25_ML_031_GETDETAIL_SD
INSTALLATION_CHANGE - Installation / Dismantling of Equipment in Technical Object
Data type: ALM_ME_TOB_INST_UNINSTOptional: Yes
Call by Reference: Yes
X2_EQUIPMENT_CLASSVAL - Evaluations for Characteristics
Data type: MAM_25_CLASSVALUESOptional: Yes
Call by Reference: Yes
CE_EQUI_HEADER - Copy user-speific fields to the mobile device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_EQUI_INST_EQUIS - Copy user-speific fields to the mobile device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_EQUI_NOTIF_HISTORY - Copy user-speific fields to the mobile device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_EQUI_ORDER_HISTORY - Copy user-speific fields to the mobile device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_EQUI_CONTRACTS - Copy user-speific fields to the mobile device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_EQUI_WARRANTY - Copy user-speific fields to the mobile device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
X3_CE_EQUI_CLASSVAL - Copy user-speific fields to the mobile device
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
RETURN - Return Parameters
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
WSAP_EXTENSION - SAP SyncBO Enhancement
Data type: ALM_ME_SAP_EXTENSIONOptional: Yes
Call by Reference: Yes
EQUIPMENT_INST_EQUIS - Installed Equipment
Data type: MAM_25_INSTALLED_EQUIOptional: Yes
Call by Reference: Yes
Y1_ML_EQUI_HEADER - Multilanguage Data for Equipment Header
Data type: ALM_ME_ML_EQUI_HEADEROptional: Yes
Call by Reference: Yes
Y1_ML_EQUI_INST_EQUIS - Multilanguage for Installed Equipments
Data type: ALM_ME_ML_EQUI_INST_EQUISOptional: Yes
Call by Reference: Yes
Y1_ML_EQUI_NOTIF_HIST - Multilanguage for Notification History of Technical Object
Data type: ALM_ME_ML_EQUI_NOTIF_HISTORYOptional: Yes
Call by Reference: Yes
Y1_ML_EQUI_ORDER_HIST - Multilanguage for Order History of Equipment
Data type: ALM_ME_ML_EQUI_ORDER_HISTORYOptional: Yes
Call by Reference: Yes
Y1_ML_EQUI_PARTNERS - Multilanguage for Partners
Data type: ALM_ME_ML_EQUI_PARTNERSOptional: Yes
Call by Reference: Yes
Y1_ML_EQUI_USER_STATUS - Multilanguage with Status Changes for User Status
Data type: ALM_ME_ML_EQUI_USER_STATOptional: Yes
Call by Reference: Yes
Y1_ML_X2_EQUI_CLASSVAL - Multilanguage Evaluations for Characteristics
Data type: ALM_ME_ML_EQUI_CLASSVALOptional: Yes
Call by Reference: Yes
Y1_ML_CE_EQUI_HEADER - Customer enhancement multi language data
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_CE_EQUI_INST_EQUIS - Customer enhancement multi language data
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_CE_EQUI_NOTIF_HISTORY - Customer enhancement multi language data
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
EQUIPMENT_NOTIF_HIST - Notification History for Technical Object
Data type: MAM_25_TOB_NOTIF_HISTORYOptional: Yes
Call by Reference: Yes
Y1_ML_CE_EQUI_ORDER_HISTORY - Customer enhancement multi language data
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_CE_EQUI_CONTRACTS - Customer enhancement multi language data
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_CE_EQUI_WARRANTY - Customer enhancement multi language data
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_X3_CE_EQUI_CLASSVAL - Customer enhancement multi language data
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_WSAP_EXTENSION - Multilanguage for SAP SyncBO Enhancement
Data type: ALM_ME_ML_SAP_EXTENSIONOptional: Yes
Call by Reference: Yes
EQUIPMENT_ORDER_HIST - Order History for Technical Object
Data type: MAM_25_TOB_ORDER_HISTORYOptional: Yes
Call by Reference: Yes
EQUIPMENT_MEAS_POINTS - Measuring Point Key
Data type: ALM_ME_MEASMNT_PT_KEYOptional: Yes
Call by Reference: Yes
EQUIPMENT_CONTRACTS - Contract Header
Data type: MAM_25_CONTRACT_HEADEROptional: Yes
Call by Reference: Yes
EQUIPMENT_PARTNERS - Partner Key
Data type: ALM_ME_PARTNER_KEY_STRUCTOptional: Yes
Call by Reference: Yes
EQUIPMENT_WARRANTY - Warranty Data for Technical Object
Data type: MAM_25_TOB_WARRANTYOptional: Yes
Call by Reference: Yes
EQUIPMENT_USER_STATUS - Table with Status Changes for User Status
Data type: ALM_ME_USER_STATUS_CHANGESOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for MAM25_ML_031_GETDETAIL_SD 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_equipment | TYPE MAM_25_TOB_HEADER_SD-EQUNR, " | |||
| lv_equipment_header | TYPE MAM_25_TOB_HEADER_SD, " | |||
| lt_installation_change | TYPE STANDARD TABLE OF ALM_ME_TOB_INST_UNINST, " | |||
| lt_x2_equipment_classval | TYPE STANDARD TABLE OF MAM_25_CLASSVALUES, " | |||
| lt_ce_equi_header | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_equi_inst_equis | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_equi_notif_history | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_equi_order_history | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_equi_contracts | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_equi_warranty | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_x3_ce_equi_classval | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_wsap_extension | TYPE STANDARD TABLE OF ALM_ME_SAP_EXTENSION, " | |||
| lt_equipment_inst_equis | TYPE STANDARD TABLE OF MAM_25_INSTALLED_EQUI, " | |||
| lt_y1_ml_equi_header | TYPE STANDARD TABLE OF ALM_ME_ML_EQUI_HEADER, " | |||
| lt_y1_ml_equi_inst_equis | TYPE STANDARD TABLE OF ALM_ME_ML_EQUI_INST_EQUIS, " | |||
| lt_y1_ml_equi_notif_hist | TYPE STANDARD TABLE OF ALM_ME_ML_EQUI_NOTIF_HISTORY, " | |||
| lt_y1_ml_equi_order_hist | TYPE STANDARD TABLE OF ALM_ME_ML_EQUI_ORDER_HISTORY, " | |||
| lt_y1_ml_equi_partners | TYPE STANDARD TABLE OF ALM_ME_ML_EQUI_PARTNERS, " | |||
| lt_y1_ml_equi_user_status | TYPE STANDARD TABLE OF ALM_ME_ML_EQUI_USER_STAT, " | |||
| lt_y1_ml_x2_equi_classval | TYPE STANDARD TABLE OF ALM_ME_ML_EQUI_CLASSVAL, " | |||
| lt_y1_ml_ce_equi_header | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_ce_equi_inst_equis | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_ce_equi_notif_history | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_equipment_notif_hist | TYPE STANDARD TABLE OF MAM_25_TOB_NOTIF_HISTORY, " | |||
| lt_y1_ml_ce_equi_order_history | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_ce_equi_contracts | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_ce_equi_warranty | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_x3_ce_equi_classval | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_wsap_extension | TYPE STANDARD TABLE OF ALM_ME_ML_SAP_EXTENSION, " | |||
| lt_equipment_order_hist | TYPE STANDARD TABLE OF MAM_25_TOB_ORDER_HISTORY, " | |||
| lt_equipment_meas_points | TYPE STANDARD TABLE OF ALM_ME_MEASMNT_PT_KEY, " | |||
| lt_equipment_contracts | TYPE STANDARD TABLE OF MAM_25_CONTRACT_HEADER, " | |||
| lt_equipment_partners | TYPE STANDARD TABLE OF ALM_ME_PARTNER_KEY_STRUCT, " | |||
| lt_equipment_warranty | TYPE STANDARD TABLE OF MAM_25_TOB_WARRANTY, " | |||
| lt_equipment_user_status | TYPE STANDARD TABLE OF ALM_ME_USER_STATUS_CHANGES. " |
|   CALL FUNCTION 'MAM25_ML_031_GETDETAIL_SD' "NOTRANSL: ML Module for Equipment Getdetail SD |
| EXPORTING | ||
| EQUIPMENT | = lv_equipment | |
| IMPORTING | ||
| EQUIPMENT_HEADER | = lv_equipment_header | |
| TABLES | ||
| INSTALLATION_CHANGE | = lt_installation_change | |
| X2_EQUIPMENT_CLASSVAL | = lt_x2_equipment_classval | |
| CE_EQUI_HEADER | = lt_ce_equi_header | |
| CE_EQUI_INST_EQUIS | = lt_ce_equi_inst_equis | |
| CE_EQUI_NOTIF_HISTORY | = lt_ce_equi_notif_history | |
| CE_EQUI_ORDER_HISTORY | = lt_ce_equi_order_history | |
| CE_EQUI_CONTRACTS | = lt_ce_equi_contracts | |
| CE_EQUI_WARRANTY | = lt_ce_equi_warranty | |
| X3_CE_EQUI_CLASSVAL | = lt_x3_ce_equi_classval | |
| RETURN | = lt_return | |
| WSAP_EXTENSION | = lt_wsap_extension | |
| EQUIPMENT_INST_EQUIS | = lt_equipment_inst_equis | |
| Y1_ML_EQUI_HEADER | = lt_y1_ml_equi_header | |
| Y1_ML_EQUI_INST_EQUIS | = lt_y1_ml_equi_inst_equis | |
| Y1_ML_EQUI_NOTIF_HIST | = lt_y1_ml_equi_notif_hist | |
| Y1_ML_EQUI_ORDER_HIST | = lt_y1_ml_equi_order_hist | |
| Y1_ML_EQUI_PARTNERS | = lt_y1_ml_equi_partners | |
| Y1_ML_EQUI_USER_STATUS | = lt_y1_ml_equi_user_status | |
| Y1_ML_X2_EQUI_CLASSVAL | = lt_y1_ml_x2_equi_classval | |
| Y1_ML_CE_EQUI_HEADER | = lt_y1_ml_ce_equi_header | |
| Y1_ML_CE_EQUI_INST_EQUIS | = lt_y1_ml_ce_equi_inst_equis | |
| Y1_ML_CE_EQUI_NOTIF_HISTORY | = lt_y1_ml_ce_equi_notif_history | |
| EQUIPMENT_NOTIF_HIST | = lt_equipment_notif_hist | |
| Y1_ML_CE_EQUI_ORDER_HISTORY | = lt_y1_ml_ce_equi_order_history | |
| Y1_ML_CE_EQUI_CONTRACTS | = lt_y1_ml_ce_equi_contracts | |
| Y1_ML_CE_EQUI_WARRANTY | = lt_y1_ml_ce_equi_warranty | |
| Y1_ML_X3_CE_EQUI_CLASSVAL | = lt_y1_ml_x3_ce_equi_classval | |
| Y1_ML_WSAP_EXTENSION | = lt_y1_ml_wsap_extension | |
| EQUIPMENT_ORDER_HIST | = lt_equipment_order_hist | |
| EQUIPMENT_MEAS_POINTS | = lt_equipment_meas_points | |
| EQUIPMENT_CONTRACTS | = lt_equipment_contracts | |
| EQUIPMENT_PARTNERS | = lt_equipment_partners | |
| EQUIPMENT_WARRANTY | = lt_equipment_warranty | |
| EQUIPMENT_USER_STATUS | = lt_equipment_user_status | |
| . " MAM25_ML_031_GETDETAIL_SD | ||
ABAP code using 7.40 inline data declarations to call FM MAM25_ML_031_GETDETAIL_SD
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 EQUNR FROM MAM_25_TOB_HEADER_SD INTO @DATA(ld_equipment). | ||||
Search for further information about these or an SAP related objects