SAP MAM25_ML_030_GETDETAIL_SD Function Module for NOTRANSL: ML Module for Function Location Getdetail SD
MAM25_ML_030_GETDETAIL_SD is a standard mam25 ml 030 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 Function Location 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 030 getdetail sd FM, simply by entering the name MAM25_ML_030_GETDETAIL_SD into the relevant SAP transaction such as SE37 or SE38.
Function Group: ALM_MEREP_030
Program Name: SAPLALM_MEREP_030
Main Program: SAPLALM_MEREP_030
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function MAM25_ML_030_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_030_GETDETAIL_SD'"NOTRANSL: ML Module for Function Location Getdetail SD.
EXPORTING
FUNCTIONAL_LOCATION = "Functional Location
IMPORTING
FUNCLOC_HEADER = "Header Data for Technical Object
TABLES
* INSTALLATION_CHANGE = "
* X2_FUNCLOC_CLASSVAL = "
* CE_FLOC_HEADER = "
* CE_FLOC_INST_EQUIS = "
* CE_FLOC_NOTIF_HISTORY = "
* CE_FLOC_ORDER_HISTORY = "
* CE_FLOC_CONTRACTS = "
* CE_FLOC_WARRANTY = "
* X3_CE_FLOC_CLASSVAL = "
* RETURN = "Return Parameters
* WSAP_EXTENSION = "
* FUNCLOC_INST_EQUIS = "
* Y1_ML_FLOC_HEADER = "
* Y1_ML_FLOC_INST_EQUIS = "
* Y1_ML_FLOC_NOTIF_HISTORY = "
* Y1_ML_FLOC_ORDER_HISTORY = "
* Y1_ML_FLOC_PARTNERS = "
* Y1_ML_FLOC_X1_USER_STAT = "
* Y1_ML_FLOC_X1_CLASSVAL = "
* Y1_ML_CE_FLOC_HEADER = "
* Y1_ML_CE_FLOC_INST_EQUIS = "
* Y1_ML_CE_FLOC_NOTIF_HISTORY = "
* FUNCLOC_NOTIF_HISTORY = "
* Y1_ML_CE_FLOC_ORDER_HISTORY = "
* Y1_ML_CE_FLOC_CONTRACTS = "
* Y1_ML_CE_FLOC_WARRANTY = "
* Y1_ML_X3_CE_FLOC_CLASSVAL = "
* Y1_ML_WSAP_EXTENSION = "
* FUNCLOC_ORDER_HISTORY = "
* FUNCLOC_MEAS_POINTS = "
* FUNCLOC_CONTRACTS = "
* FUNCLOC_PARTNERS = "Partner Key
* FUNCLOC_WARRANTY = "
* X1_FUNCLOC_USER_STAT = "
IMPORTING Parameters details for MAM25_ML_030_GETDETAIL_SD
FUNCTIONAL_LOCATION - Functional Location
Data type: MAM_25_TOB_HEADER_SD-TPLNROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for MAM25_ML_030_GETDETAIL_SD
FUNCLOC_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_030_GETDETAIL_SD
INSTALLATION_CHANGE -
Data type: ALM_ME_TOB_INST_UNINSTOptional: Yes
Call by Reference: Yes
X2_FUNCLOC_CLASSVAL -
Data type: MAM_25_CLASSVALUESOptional: Yes
Call by Reference: Yes
CE_FLOC_HEADER -
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_INST_EQUIS -
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_NOTIF_HISTORY -
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_ORDER_HISTORY -
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_CONTRACTS -
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
CE_FLOC_WARRANTY -
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
X3_CE_FLOC_CLASSVAL -
Data type: ALM_ME_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
RETURN - Return Parameters
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
WSAP_EXTENSION -
Data type: ALM_ME_SAP_EXTENSIONOptional: Yes
Call by Reference: Yes
FUNCLOC_INST_EQUIS -
Data type: MAM_25_INSTALLED_EQUIOptional: Yes
Call by Reference: Yes
Y1_ML_FLOC_HEADER -
Data type: ALM_ME_ML_FLOC_HEADEROptional: Yes
Call by Reference: Yes
Y1_ML_FLOC_INST_EQUIS -
Data type: ALM_ME_ML_FLOC_INST_EQUISOptional: Yes
Call by Reference: Yes
Y1_ML_FLOC_NOTIF_HISTORY -
Data type: ALM_ME_ML_FLOC_NOTIF_HISTORYOptional: Yes
Call by Reference: Yes
Y1_ML_FLOC_ORDER_HISTORY -
Data type: ALM_ME_ML_FLOC_ORDER_HISTORYOptional: Yes
Call by Reference: Yes
Y1_ML_FLOC_PARTNERS -
Data type: ALM_ME_ML_FLOC_PARTNERSOptional: Yes
Call by Reference: Yes
Y1_ML_FLOC_X1_USER_STAT -
Data type: ALM_ME_ML_FLOC_USER_STATOptional: Yes
Call by Reference: Yes
Y1_ML_FLOC_X1_CLASSVAL -
Data type: ALM_ME_ML_FLOC_CLASSVALOptional: Yes
Call by Reference: Yes
Y1_ML_CE_FLOC_HEADER -
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_CE_FLOC_INST_EQUIS -
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_CE_FLOC_NOTIF_HISTORY -
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
FUNCLOC_NOTIF_HISTORY -
Data type: MAM_25_TOB_NOTIF_HISTORYOptional: Yes
Call by Reference: Yes
Y1_ML_CE_FLOC_ORDER_HISTORY -
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_CE_FLOC_CONTRACTS -
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_CE_FLOC_WARRANTY -
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_X3_CE_FLOC_CLASSVAL -
Data type: ALM_ME_ML_CUSTOMER_ENHANCEMENTOptional: Yes
Call by Reference: Yes
Y1_ML_WSAP_EXTENSION -
Data type: ALM_ME_ML_SAP_EXTENSIONOptional: Yes
Call by Reference: Yes
FUNCLOC_ORDER_HISTORY -
Data type: MAM_25_TOB_ORDER_HISTORYOptional: Yes
Call by Reference: Yes
FUNCLOC_MEAS_POINTS -
Data type: ALM_ME_MEASMNT_PT_KEYOptional: Yes
Call by Reference: Yes
FUNCLOC_CONTRACTS -
Data type: MAM_25_CONTRACT_HEADEROptional: Yes
Call by Reference: Yes
FUNCLOC_PARTNERS - Partner Key
Data type: ALM_ME_PARTNER_KEY_STRUCTOptional: Yes
Call by Reference: Yes
FUNCLOC_WARRANTY -
Data type: MAM_25_TOB_WARRANTYOptional: Yes
Call by Reference: Yes
X1_FUNCLOC_USER_STAT -
Data type: ALM_ME_USER_STATUS_CHANGESOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for MAM25_ML_030_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_funcloc_header | TYPE MAM_25_TOB_HEADER_SD, " | |||
| lv_functional_location | TYPE MAM_25_TOB_HEADER_SD-TPLNR, " | |||
| lt_installation_change | TYPE STANDARD TABLE OF ALM_ME_TOB_INST_UNINST, " | |||
| lt_x2_funcloc_classval | TYPE STANDARD TABLE OF MAM_25_CLASSVALUES, " | |||
| lt_ce_floc_header | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_inst_equis | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_notif_history | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_order_history | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_contracts | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_ce_floc_warranty | TYPE STANDARD TABLE OF ALM_ME_CUSTOMER_ENHANCEMENT, " | |||
| lt_x3_ce_floc_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_funcloc_inst_equis | TYPE STANDARD TABLE OF MAM_25_INSTALLED_EQUI, " | |||
| lt_y1_ml_floc_header | TYPE STANDARD TABLE OF ALM_ME_ML_FLOC_HEADER, " | |||
| lt_y1_ml_floc_inst_equis | TYPE STANDARD TABLE OF ALM_ME_ML_FLOC_INST_EQUIS, " | |||
| lt_y1_ml_floc_notif_history | TYPE STANDARD TABLE OF ALM_ME_ML_FLOC_NOTIF_HISTORY, " | |||
| lt_y1_ml_floc_order_history | TYPE STANDARD TABLE OF ALM_ME_ML_FLOC_ORDER_HISTORY, " | |||
| lt_y1_ml_floc_partners | TYPE STANDARD TABLE OF ALM_ME_ML_FLOC_PARTNERS, " | |||
| lt_y1_ml_floc_x1_user_stat | TYPE STANDARD TABLE OF ALM_ME_ML_FLOC_USER_STAT, " | |||
| lt_y1_ml_floc_x1_classval | TYPE STANDARD TABLE OF ALM_ME_ML_FLOC_CLASSVAL, " | |||
| lt_y1_ml_ce_floc_header | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_ce_floc_inst_equis | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_ce_floc_notif_history | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_funcloc_notif_history | TYPE STANDARD TABLE OF MAM_25_TOB_NOTIF_HISTORY, " | |||
| lt_y1_ml_ce_floc_order_history | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_ce_floc_contracts | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_ce_floc_warranty | TYPE STANDARD TABLE OF ALM_ME_ML_CUSTOMER_ENHANCEMENT, " | |||
| lt_y1_ml_x3_ce_floc_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_funcloc_order_history | TYPE STANDARD TABLE OF MAM_25_TOB_ORDER_HISTORY, " | |||
| lt_funcloc_meas_points | TYPE STANDARD TABLE OF ALM_ME_MEASMNT_PT_KEY, " | |||
| lt_funcloc_contracts | TYPE STANDARD TABLE OF MAM_25_CONTRACT_HEADER, " | |||
| lt_funcloc_partners | TYPE STANDARD TABLE OF ALM_ME_PARTNER_KEY_STRUCT, " | |||
| lt_funcloc_warranty | TYPE STANDARD TABLE OF MAM_25_TOB_WARRANTY, " | |||
| lt_x1_funcloc_user_stat | TYPE STANDARD TABLE OF ALM_ME_USER_STATUS_CHANGES. " |
|   CALL FUNCTION 'MAM25_ML_030_GETDETAIL_SD' "NOTRANSL: ML Module for Function Location Getdetail SD |
| EXPORTING | ||
| FUNCTIONAL_LOCATION | = lv_functional_location | |
| IMPORTING | ||
| FUNCLOC_HEADER | = lv_funcloc_header | |
| TABLES | ||
| INSTALLATION_CHANGE | = lt_installation_change | |
| X2_FUNCLOC_CLASSVAL | = lt_x2_funcloc_classval | |
| CE_FLOC_HEADER | = lt_ce_floc_header | |
| CE_FLOC_INST_EQUIS | = lt_ce_floc_inst_equis | |
| CE_FLOC_NOTIF_HISTORY | = lt_ce_floc_notif_history | |
| CE_FLOC_ORDER_HISTORY | = lt_ce_floc_order_history | |
| CE_FLOC_CONTRACTS | = lt_ce_floc_contracts | |
| CE_FLOC_WARRANTY | = lt_ce_floc_warranty | |
| X3_CE_FLOC_CLASSVAL | = lt_x3_ce_floc_classval | |
| RETURN | = lt_return | |
| WSAP_EXTENSION | = lt_wsap_extension | |
| FUNCLOC_INST_EQUIS | = lt_funcloc_inst_equis | |
| Y1_ML_FLOC_HEADER | = lt_y1_ml_floc_header | |
| Y1_ML_FLOC_INST_EQUIS | = lt_y1_ml_floc_inst_equis | |
| Y1_ML_FLOC_NOTIF_HISTORY | = lt_y1_ml_floc_notif_history | |
| Y1_ML_FLOC_ORDER_HISTORY | = lt_y1_ml_floc_order_history | |
| Y1_ML_FLOC_PARTNERS | = lt_y1_ml_floc_partners | |
| Y1_ML_FLOC_X1_USER_STAT | = lt_y1_ml_floc_x1_user_stat | |
| Y1_ML_FLOC_X1_CLASSVAL | = lt_y1_ml_floc_x1_classval | |
| Y1_ML_CE_FLOC_HEADER | = lt_y1_ml_ce_floc_header | |
| Y1_ML_CE_FLOC_INST_EQUIS | = lt_y1_ml_ce_floc_inst_equis | |
| Y1_ML_CE_FLOC_NOTIF_HISTORY | = lt_y1_ml_ce_floc_notif_history | |
| FUNCLOC_NOTIF_HISTORY | = lt_funcloc_notif_history | |
| Y1_ML_CE_FLOC_ORDER_HISTORY | = lt_y1_ml_ce_floc_order_history | |
| Y1_ML_CE_FLOC_CONTRACTS | = lt_y1_ml_ce_floc_contracts | |
| Y1_ML_CE_FLOC_WARRANTY | = lt_y1_ml_ce_floc_warranty | |
| Y1_ML_X3_CE_FLOC_CLASSVAL | = lt_y1_ml_x3_ce_floc_classval | |
| Y1_ML_WSAP_EXTENSION | = lt_y1_ml_wsap_extension | |
| FUNCLOC_ORDER_HISTORY | = lt_funcloc_order_history | |
| FUNCLOC_MEAS_POINTS | = lt_funcloc_meas_points | |
| FUNCLOC_CONTRACTS | = lt_funcloc_contracts | |
| FUNCLOC_PARTNERS | = lt_funcloc_partners | |
| FUNCLOC_WARRANTY | = lt_funcloc_warranty | |
| X1_FUNCLOC_USER_STAT | = lt_x1_funcloc_user_stat | |
| . " MAM25_ML_030_GETDETAIL_SD | ||
ABAP code using 7.40 inline data declarations to call FM MAM25_ML_030_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 TPLNR FROM MAM_25_TOB_HEADER_SD INTO @DATA(ld_functional_location). | ||||
Search for further information about these or an SAP related objects